[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Docbook + MathML .. html output ? PDF problem
Hi (again), I have tried to make a docbook document using MathML (following a tutorial). This seems to work rather fine, *but* - although rendering through passivetex produces fine output, some equations are not rendered correctly. Eg a sum over i does show the i not below the sum but next to it, although verification of the MathML code with amaya confirms that it should be below. - <inlineequation> does not seem to work with those equations - the html output does not show any equations, but the raw mathml code. is there a way around this. Also given that only very few browsers understand mathml, is it eg possible to rather generate images to include for html ? Maybe it is the way I included the mathml, so here is what I use: Main document goes <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ <!ENTITY % MATHML.prefixed "INCLUDE"> <!ENTITY % MATHML.prefix "mml"> <!ENTITY % equation.content "(alt?, (grahic+|mediaobject+|mml:math))"> <!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"> %mathml; [..] <equation> <xi:include href="eqn/rgyr.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> </equation> [..] And eqn/rgyr.xml would go <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mml:math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" [ <!ENTITY % MATHML.prefixed "INCLUDE"> <!ENTITY % MATHML.prefix "mml"> ]> <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="rgyr"> <mml:msub> [..] Thanks for any hints, Marc Baaden
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]