Magnus G?fvert wrote:
> 
> It seems that also when producing xhtml any mathml content is
> transformed to png images. Some browsers (Firefox etc.) does a very good
> (better than this png output, in my opinion) in rendering MathML. 

Unfortunately, we have found MathML support by browsers to be either
totally absent or weak (Firefox).
Please check that by yourself by browsing
http://www.w3.org/Math/testsuite/mml2-testsuite/index.html




> Is there any way to make xxe pass the mathml elements "as is" to the xhtml
> output?

The answer is for sure, *yes*. However we currently don't know how to do
it. That is, we need to experiment for at least a couple of hours in
order to learn how to do it, and this is clearly out of the scope of
normal support. Therefore we cannot answer this question.




> 
> I also wonder if it is possible to tweak the png generation. 

Yes, but there is no easy way to do so. You need to modify the following
process command:

* db5.convertStep1 found in
XXE_install_dir/addon/config/docbook5/xslMenu.incl.

---
      <convertImage from="raw" to="resources" format="png" />
---

must be replaced by:

---
      <convertImage from="raw/*.mml" to="resources" format="png">
        <parameter name="MATHSIZE">16</parameter>
      </convertImage>
      <convertImage from="raw" skip="mml" to="resources" format="png" />
---
(Other parameters are documented in the "Options|Install Add-ons" dialog
box when you select Install or Uninstall, then "JEuclid image toolkit
plug-in".)



> To be precise, many equations are rendered so small that indices and other
> small typographic elements are difficult to read.
> 

Of course, you are right. Forget about the above modifications and
simply upgrade the "JEuclid image toolkit plug-in" add-on using
"Options|Install Add-ons". We'll make the necessary changes this
*morning* and release the "JEuclid image toolkit plug-in" add-on version
3.1.8_01 for XXE v4.5.1. We'll send you a private email when this add-on
will be online.



Reply via email to