- From: David Carlisle <davidc@nag.co.uk>
- Date: Wed, 31 Dec 2014 01:26:32 +0000
- To: <www-math@w3.org>
On 31/12/2014 00:59, saf sied wrote:
> I am using a stylesheet from Dr. Carlisle mentioned here:
> http://tex.stackexchange.com/questions/85639/i-want-to-convert-mathml-to-latex
>
> When I use the Saxon-HE 9.6, both the Java and .NET version of the Saxon
> give me the following output for the xml file shown below. The output
> does not look right - is it because of the version of Saxon I am using?
> Has anyone used Saxon-HE on the stylesheet mentioned above and got the
> correct LaTeX? Is there anything else I may be missing? I've latest
> versions of Java and .NET installed on my windows 8.1 machine.
>
> *Output*:
> \[\let\par\empty
>
> {\msup{a}{{2}}}
>
> \]
>
> *Source*:
> <?xml version="1.0"?>
> <math xmlns="http://www.w3.org/1998/Math/MathML">
> <msup>
> <mi>a</mi>
> <mn>2</mn>
> </msup>
> </math>
>
That's the intended output as far as I recall.
there is a latex package pmml-new.sty included
in the pmml2tex distribution that defines the latex commands
such as \msup used in the output.
David
Received on Wednesday, 31 December 2014 01:26:58 UTC