I’m working on getting a statistics text from word into Pressbooks. The text was authored in word and has thousands of equations in Word’s equation format. I’ve done some test imports and I haven’t had success getting the equations to import correctly.
Any suggestions for getting the word equations into a format that will import cleanly? If it were just a few equations we could manually convert them to LaTeX, but with so many I’m looking for a tech fix. I ultimately want the equations to display with MathJax on the Pressbook side.
Hi @lrm6 this sounds gnarly! I haven’t had to do this conversion previously, but you might try the equation conversion tool described here: https://tex.stackexchange.com/a/235363. I don’t have Microsoft Word so I’m unable to test/verify myself. If you do convert equations to LaTeX, you’d then need to ensure that you use one of the Pressbooks support LaTeX syntax delimiters: https://guide.pressbooks.com/chapter/equations-and-formulas/#MathJaxLaTeX. You may have better success converting the equations to MathML, which should work directly on import without having to fiddle with math delimiters, though again, I haven’t tested/confirmed myself.
Thanks for this, @SteelWagstaff! Mathtype sounds promising. It looks like it’s not currently compatible with Mac OS, but I know a few windows users who may be able to test. Will report back!