Katex In PDF/CHM (Robohelp 2020, latest update)
I am creating online documentation using Katex to render maths formulas (similar to MathJax, only faster and smaller weight/less dependencies). The Frameless HTML5 export of the doc looks like this when using Katex:

However, I need to be able to create CHM and PDF as well, and when I generate those outputs that same page looks like this:

The CHM output also gives me a script error when loading the page. I'm assuming this is because of basic incompatibility between the formats, as I assume PDF would need to pre-render the JS elements before being created (which it can't/doesn't, obviously), and CHM just doesn't like JS stuff in general from my experience.
I know I can use images instead of generating the maths, but that makes it a lot more painful to maintain and update. So, any suggestions on how I can work around this or even resolve the situation? Or any better tools that would be cross platform compatible to create these maths formulas?
