Replies: 1 comment 3 replies
|
If you don't mind SVG images you could try FormatWP but without MathJax. In fact I should ensure that MathJax is off if FormatWP is on, or at least issue a warning. I don't think I ever tried it with both on at the same time. For command-line tools, check: |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am interested in converting the html generated with
lwarpto a Microsoft Word (docx) document (or rather, I am interested in converting latex to MS Word). This can in theory be done by simply opening the html document in MS Word and then saving it asdocxor using saypandocto do the conversion.Unfortunately, the equations get transformed in "raw latex" in the process (this is using the
mathjaxoption). I tried using\booltrue{FormatWP}but this didn't solve the equation problem.When using
tex4htotlatexmlinstead oflwarp(both of which have other issues compared tolwarp), equations are transformed in mathml within the html and these are converted well to MS Word.Looking at the mathjax equations, there is a right click to show mathml so there must be a standard way to convert to mathml. I couldn't find a command line tool for it though. Is it possible for
lwarpto directly output mathml? Or is there a well known tool taht I missed to do this?P.S.: Sorry for the multiple questions in a few days.
P.P.S.: For the record, my tex4ht+pandoc conversion script can be found here: https://github.com/cai4cai/XCLThesisTemplate/blob/main/tools/convertlatex2word
All reactions