What's the difference with jgm's similar package?
This is to inform the Pandoc community that the math2svg Lua filter is now available from:math2svg converts LaTeX math to MathJax generated scalable vector graphics (SVG) for insertion into the output document in a standalone manner. SVG output is in any of the available MathJax fonts.
This is useful when a CSS paged media engine (such as Prince XML) cannot process complex JavaScript as required by MathJax. See: https://www.print-css.rocks for information about CSS paged media, a W3C standard.
No Internet connection is required when generating or viewing SVG formulas, resulting in both absolute privacy and offline, standalone robustness.
Personally, I have been using it for quite some time to generate PDFs with MathJax generated formulas in an unattended typesetting workflow using Prince XML.
Here is a brief sample document:
https://hamwaves.com/zc.measuring/en/zc.measuring.letter.pdf
More intricate documents with Markdown source, makefile and CSS are available from the same web site.
Kind regards,
Serge Y. Stroobandt