When converting a  Docbook5 document containing MathML markup to Html
XMLMind will generate images showing embedded equations within the
generated html markup.

I'd like to keep the mathml code during the transformation and use
mathjax. So generated Html output should look like:

> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml";> <head> 
> <title></title>
> 
> <script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax:
> {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>
> 
> <script
> src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";></script>
>
> 
</head>
> 
> <body><p> When <math xmlns="http://www.w3.org/1998/Math/MathML";> 
> <mi>a</mi>
> 
> <mo>≠</mo>
> 
> <mn>0</mn> </math> ...


So I'll have to inhibit XMLMind converting MathML markup to images and
supply extra <script> tags to the generated Html <head> section. The
latter may be achieved by modifying the XSL templates. But how do I
achive the first part in a simple and effective mannner? Both the
MathML related documentation and the Mail archives didn't give me a
real clue.

Martin Goik

-- 
Martin Goik  Tel.  +49-711-8923-2164  http://www.HdM-Stuttgart.de/~goik
GnuPG public key: https://www.hdm-stuttgart.de/~goik/goik.asc

Wherever there is a man who exercises authority,
there is a man who resists authority.                   Oscar Wilde

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to