# [Athen] LaTEX MathML Translators

John Gardner john.gardner at orst.edu
Tue Mar 16 11:29:30 PDT 2010

Hi Ron, we have used Tex4HT andfound it about as good as anything,
better than most.
http://www.cse.ohio-state.edu/~gurari/TeX4ht/

Converting Latex to XHTML+MathML will nearly always need some human
correction. Because it is fairly easy to compose Latex equations that
look right but really are not. For example there are several kinds of
vertical bars in Latex, and if you use the wrong ones to create
determinants, the MathML will just be wrong. Really wrong.

There are also usualy problems wit Macros. If you have the orginal
styles defining those macros, you can do the translation. If you don't,
then some mathematician is gonna have to figure out what they mean inb
order to do the translation.

So conversion is not trivial, but it's a whole lot easier than
re-creating the files.

John

On 3/16/2010 9:20 AM, Ron Stewart wrote:

> Thanks I appreciate it. Let me clarify what I am needing to do is go

> directly from the LaTEX original document. For future content we can design

> it into the various workflow, this is legacy content in fact some very

> legacy content. I had looked at this a few years back but none of the tools

> we worked with in relation to the

>

>

> Ron

>

> -----Original Message-----

> From: athen-bounces at athenpro.org [mailto:athen-bounces at athenpro.org] On

> Behalf Of Jeffrey Dell

> Sent: Tuesday, March 16, 2010 11:10 AM

> To: Access Technology Higher Education Network

> Subject: Re: [Athen] LaTEX MathML Translators

>

> Mathtype can do it.

> In the Preferences menu select Translator and change it to MathML 2.0.

> then go to the Preferences menu and select Workspac Preferences and

> check the box to allow Tex input from the keyboard. then you can cut

> and paste code fro the document into MathType and copy the text from

> MathType to Paste the MathML into the document that you are working

> on. It isn't as simple as processing the whole document at once but

> it works.

> Here is a sample.

> \alpha + 2^2 = \theta

>> From MathType

> <m:math display='block'>

> <m:semantics>

> <m:mrow>

> <m:mi>&#x03B1;</m:mi><m:mo>+</m:mo><m:msup>

> <m:mn>2</m:mn>

> <m:mn>2</m:mn>

> </m:msup>

> <m:mo>=</m:mo><m:mi>&#x03B8;</m:mi>

> </m:mrow>

> <m:annotation encoding='MathType-MTEF'>

> </m:annotation>

> </m:semantics>

> </m:math>

>

> Jeff

>

> On 3/16/10, Ron Stewart<ron at altformatsolutions.com> wrote:

>> Hi all, I am working with a campus where we are working with their locally

>> produced curriculum and have decided that MathML is preferable to LaTEX in

>> this particular context. Is anyone aware of any "easy" and reliable LaTEX

>> to MathML translators? Low or no cost is preferred but a reasonable

>> commercial solution would also be worth taking a look at.

>>

>>

>>

>> Ron Stewart

>>

>>

>>

>>

> ****************************************************************************

>> ***

>>

>> Ron Stewart

>>

>> Managing Consultant

>>

>> Altformat Solutions LLC

>>

>>

>>

>> 8300 West Weller St

>>

>> Yorktown, IN 47396

>>

>> Mobile: 609 213-2190

>>

>> Fax: 765 405-1484

>>

>>

>>

>> ron at altformatsolutions.com

>>

>> www.altformatsolutions.com

>>

>>

>>

>>

>

> _______________________________________________

> Athen mailing list

> Athen at athenpro.org

> http://athenpro.org/mailman/listinfo/athen_athenpro.org

>

>

> _______________________________________________

> Athen mailing list

> Athen at athenpro.org

> http://athenpro.org/mailman/listinfo/athen_athenpro.org

>