W3C home > Mailing lists > Public > www-math@w3.org > February 2011

Re: Converting MathML to text (and TeX/LaTeX)

From: Paul Libbrecht <paul@hoplahup.net>
Date: Sun, 13 Feb 2011 21:05:59 +0100
Cc: Vasil Yaroshevich <vyaroshevich@gmail.com>, "www-math@w3.org" <www-math@w3.org>
Message-Id: <6225508F-B692-4C7C-87A8-E3E1190A5A04@hoplahup.net>
To: J.Fine <j.fine@open.ac.uk>
Jonathan,

ActiveMath also has an "svn variant" documented at:
	http://eds.activemath.org/?q=en/AMinstallation/svn-stable
Maybe that gives you easier access.

The code in ActiveMath is multipurpose (it aims at doing MathML (!), HTML+CSS, and TeX) and is really oriented towards stylesheet generation. But maybe something is doable. I would have to ask the team there. Please make the intents more precise.

paul

Le 11 f谷vr. 2011 角 17:41, J.Fine a 谷crit :
> I've been running some tests with Vasil's code and found that with input MathML generated by blahTeX is can produce the always illegal construction "{\right)}^{2}".  For this reason I looked for and found the customisation that Paul referred to.  (A bit hard to find, and I didn't see how to get it without an 82Mb download.)
>    http://www.activemath.org/downloads/activemath-1.0.1-src.tgz
> 
> Anyway, I'll be doing further work in this area and would be delighted if Vasil, Paul and anyone else who's interested would join me.  Most likely I'll do this by starting an open-source project on bitbucket.
> 
> Jonathan
> 
>> -----Original Message-----
>> From: www-math-request@w3.org
>> [mailto:www-math-request@w3.org] On Behalf Of Paul Libbrecht
>> Sent: 22 January 2011 09:02
>> To: Vasil Yaroshevich
>> Cc: www-math@w3.org
>> Subject: Re: Converting MathML to text (and TeX/LaTeX)
>> 
>> Vasil,
>> 
>> just for your information, ActiveMath's rendering is based on
>> this stylesheet.
>> It has been strongly adjusted, since it is used to process
>> notations that contain mathml and that generate stylesheets
>> that generate html+css, tex, and mathml. See, e.g.:
>>      http://www.activemath.org/Software/Notations
>> 
>> paul
>> 
>> 
>> Le 21 janv. 2011 角 13:01, Vasil Yaroshevich a 谷crit :
>> 
>>> I've written stylesheets for converting mathml formulas
>> into latex notation:
>>> xsltml.sourceforge.net
>>> 
>>> but now I don't support it.
>>> 
>>> May be it will be iteresting for you.
>>> 
>>> 
>>> On Fri, Jan 21, 2011 at 2:51 PM, J.Fine <j.fine@open.ac.uk> wrote:
>>>> Hi
>>>> 
>>>> I've got another question.  Unless it's already done I
>> need to write tools that convert MathML to text (for reading
>> out loud) and to TeX/LaTeX (for typesetting).
>>>> 
>>>> If possible I'd like to make use of existing work.  Please
>> let me know of any errors or omissions (especially omissions)
>> in the following list.
>>>> 
>>>> http://golem.ph.utexas.edu/~distler/blog/archives/000306.html ("I
>>>> guess I've asked this before, but are you aware of any tools for
>>>> converting itex/LaTeX/MathML to text?")
>>>> 
>>>> 
>>>> 
>> http://devblog.cnx.org/2010/08/epub-development-details.html ("EPUB
>>>> readers do not support MathML, so the obvious solution was
>> to convert
>>>> simple MathML to text and convert all of the more complex
>> MathML to
>>>> images.")
>>>> 
>>>> (And see also
>>>> 
>> https://trac.rhaptos.org/trac/rhaptos/wiki/TechnicalDocumentation/Cod
>>>> e/EPUB
>>>> 
>> https://trac.rhaptos.org/trac/rhaptos/browser/mathml2/trunk/README.tx
>>>> t
>>>> ).
>>>> 
>>>> 
>>>> http://www.mathstore.ac.uk/headocs/6429_mathsteachinginclusive.pdf
>>>> ("MathML to text to voice If MathML in a Web page is
>> transformed to
>>>> text, and this is not a trivial problem (particularly when
>> the more
>>>> commonly used presentation mark-up is used alone), then
>> this text in
>>>> turn can be transformed to voice, if it is passed to a
>> screen-reader,
>>>> in the same way that other text is read in the Web page.")
>>>> 
>>>> 
>> http://www.biglist.com/lists/xsl-list/archives/200607/msg00675.html
>>>> ("XSLT [...] is ideally suited for this [convert MathML to text].")
>>>> 
>>>> http://www.orcca.on.ca/MathML/texmml/mmltotex.html
>> ("MathML to TeX Online Translator" [the backend seems to have
>> disappeared]).
>>>> 
>>>> (And see also http://www.orcca.on.ca/MathML/, which does not offer
>>>> the MathML to TeX translator for download.)
>>>> 
>>>> Finally, although not mathml, there is
>> http://emacspeak.sourceforge.net/ by T.V. Raman.
>>>> 
>>>> (See also
>>>> http://www.cs.cornell.edu/home/raman/aster/aster-toplevel.html
>>>> "Notice that AsTeR produces good intonational structure
>> when speaking
>>>> text that is intermixed with mathematics.")
>>>> 
>>>> 
>>>> So, please let me know if I've missed anything out.
>>>> 
>>>> 
>>>> Jonathan
>>>> 
>>>> --
>>>> The Open University is incorporated by Royal Charter (RC
>> 000391), an exempt charity in England & Wales and a charity
>> registered in Scotland (SC 038302).
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> 妊 批志忘忪快扶我快技
>> http://www.yaroshevich.ru
>>>  岐把抉扮快志我折 圾忘扼我抖抆
>> mailto:vyaroshevich@gmail.com
>>> 
>>> 
>> 
>> 
>> 
Received on Sunday, 13 February 2011 20:06:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 13 February 2011 20:06:40 GMT