Shifting from the LaTeX Pressbooks Plugin to MathJax
If you have created your book using the LaTeX Plugin in Pressbooks, and you wish to convert to MathJax, you can do the following:
- Disabled the WP Latex plugin in the plugins menu. Once you disable this plugin, MathJax is automatically enabled.
- Under “Tools” select “Search and Replace.”
- First, replace the beginning code.
- In “search for” type in: \)
- In “replace with” type in: [latex]
- Then “previewed replacements” to make sure there are not any add in spaces accidentally.
- Click “Replace and Save.”
- Next, replace the end code.
- In “search for” type in: \)
- In “replace with” type in:[/latex]
- You should select “previewed replacements” to make sure there are not any additional spaces accidentally.
- Next click “Replace and Save.”
- Check a chapter to make sure the math is rendering properly.
- Then remove the [latexpage] from the beginning of each chapter.
- In “search for” type in: [latexpage]
- In “replace with” , leave blank
- Then click “Replace and Save.”