Mhchem latex pack in pandoc for docx

I am trying to convert html containing math (represented by MathJax) to docx using pandoc. Normal math is fine, but equations that use the mhchem package are not displayed. Is there a way to force pandoc to use specific LaTeX packages during conversion?

I am using this command:

pandoc -f html + tex_math_single_backslash lab4.html -o lab4.docx

+3


source to share





All Articles