From: saf sied <saf_itpro@yahoo.com>

Date: Thu, 1 Jan 2015 19:59:59 +0000 (UTC)

To: "www-math@w3.org" <www-math@w3.org>

Message-ID: <2069029626.2042674.1420142399603.JavaMail.yahoo@jws10081.mail.ne1.yahoo.com>

Date: Thu, 1 Jan 2015 19:59:59 +0000 (UTC)

To: "www-math@w3.org" <www-math@w3.org>

Message-ID: <2069029626.2042674.1420142399603.JavaMail.yahoo@jws10081.mail.ne1.yahoo.com>

The XSL file from Dr. Carlisle seems to be doing some advanced LaTeX. Using this XSL, how can I get, for example, the output in the following form (quadratic formula) \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} of the input shown below: Input:<math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mfrac> <mrow> <mo>−</mo> <mi>b</mi> <mo>±</mo> <msqrt> <mrow> <msup> <mi>b</mi> <mn>2</mn> </msup> <mo>−</mo> <mn>4</mn> <mi>a</mi> <mi>c</mi> </mrow> </msqrt> </mrow> <mrow> <mn>2</mn> <mi>a</mi> </mrow> </mfrac> </mrow> </math> What I am getting now is the following output: \[\let\par\empty { {\frac{{ \unicode{8722} b \unicode{177} \sqrt{ { {\msup{b}{{2}}} \unicode{8722} {4} a c } } }}{{ {2} a }}} } \] Thank..Saf On Tuesday, December 30, 2014 7:59 PM, saf sied <saf_itpro@yahoo.com> 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>Received on Thursday, 1 January 2015 20:03:31 UTC

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