MathJax equations not parsed when generating PDF

Phoca PDF - creating PDF documents in Joomla! CMS
desoxire
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 25 Sep 2017, 17:59

MathJax equations not parsed when generating PDF

Post 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
desoxire
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 25 Sep 2017, 17:59

Re: MathJax equations not parsed when generating PDF

Post by desoxire »

Any ideas? I'd appreciate your help! Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: MathJax equations not parsed when generating PDF

Post 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.
If you find Phoca extensions useful, please support the project
Post Reply