# Re: Issue on converting MathML to LaTeX using third party parser for XSLT2.0

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 31 Dec 2014 01:26:32 +0000
Message-ID: <54A350C8.3040103@nag.co.uk>
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>
> [/itex]
>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:48 UTC