Page 1 of 1

MathJax equations not parsed when generating PDF

Posted: 25 Sep 2017, 18:19
by desoxire
Hello!

I am using the latest version of Phoca PDF on a Joomla 3.7.5 website, where I implement "MathJax" (http://docs.mathjax.org/en/latest/start.html) via following code in my <head> - section:

Code: Select all

<script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_SVG"></script>
The problem is, that the formulas are not parsed through Phoca PDF as you can see e.g. under https://quant.joomla-demo.at/userguide/ ... fuegen-neu.

Is there any possibility, that the java script is parsed when making the pdf?

Thank you for your support & have a nice day

Re: MathJax equations not parsed when generating PDF

Posted: 28 Sep 2017, 16:04
by desoxire
Any ideas? I'd appreciate your help! Thank you.

Re: MathJax equations not parsed when generating PDF

Posted: 29 Sep 2017, 13:55
by Jan
Hi, see the red box here: https://www.phoca.cz/phocapdf and here:
https://www.phoca.cz/documents/47-phoca ... f-document

PDF is static document, HTML with javascript or other script function is a dynamic document.

In Phoca PDF you can transform plugins into the PDF document but of course, the plugin output code should be simple html output - not dynamic output, even including javascript.