Math Formulae with MathJax
mPDF does not support MathML or LaTeX math formulae directly. However you can include math in a PDF document making use of MathJax following the steps below.
1) Open the HTML page in your browser (allowing MathJax to render the equations).
2) Right click over one of the equations and select: Math Settings >> Math Renderer >> SVG (This re-renders all the equations n the page in SVG format),
4) Edit the file to make any necessary changes e.g. CSS stylesheets.
5) Run the following script to produce your PDF document (assumes you saved the file as TeXSample.htm). This adjusts the SVG code produced to allow mPDF to display it:
See an example of output: http://mpdf1.com/common/mpdf/examples/MathJaxSample.htm