Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF and display of mathematical formulas ? Options
JujairV
Posted: Friday, November 18, 2022 6:09:07 AM
Rank: Newbie
Groups: Member

Joined: 2/10/2017
Posts: 5
Hi,

I have a project in which I have to print reports containing mathematical formulas (with MathML syntax).
With my 2013 release of EO.PDF, it was fine, but with my recent update to the last release, formulas are not printed correctly in the PDF (but it's OK on screen preview with Firefox).
The code inside my html file is like this :
Code: HTML/ASPX
<td>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mstyle>
<mrow>
<mtable columnspacing="0.167em" columnalign="right center left" displaystyle="true">
<mrow><msub><mi>MB</mi><mn>F</mn></msub><mo>=</mo><mfrac><mrow><mrow><msub><mi>V</mi><mn>1</mn></msub></mrow><mo>-</mo><mi>V</mi><mo>ʹ</mo></mrow>
<mrow><mrow><msub><mi>M</mi><mn>1</mn></msub></mrow></mrow></mfrac>
<mo>.</mo><mn>1</mn><mn>0</mn></mrow>
</mtable></mrow></mstyle></math>
</td>


Is there something I can do to display my formulas correctly in my PDF ?

Thanks
eo_support
Posted: Friday, November 18, 2022 11:28:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 23,541
Hi,

The latest version uses Chromium browser engine and MathML is not yet supported by the Chromium browser engine (as a result event Google Chrome browser can't display the above HTML properly). Support for MathML has been in development by the Chromium team though and is expected to be released next year. Once that becomes available we will update our browser engine and support this feature. In the mean time, you can use JavaScript solution such as this one:

https://www.mathjax.org/

Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.