[Blindmath] LaTeX to MathML
Godfrey, Jonathan
A.J.Godfrey at massey.ac.nz
Wed Mar 23 23:50:42 UTC 2016
Hello,
In addition to the new app mentioned in another reply, I would note a few comments.
You can try the conversion tool at
http://convertlatex.com/
which will create three files (all HTML) using different formats for the output math content.
The excellent pandoc tool also generates these same three styles of presentation for the math content.
Those three presentations are MathML, MathJax, and webTex which is the Wikipedia style graphic with alt tag. Neither interface can handle all styles of LaTeX input, especially the user defined functions found in the preamble of a document. These user defined functions create all sorts of havoc for conversion tools, but as an author they are ultra-convenient.
To control pandoc's conversion, create a foo.pandoc file alongside your foo.tex file. You may need to search for the right things to put into that options file, but the following is a start for conversion from foo.md to all manner of other file formats.
<starts>
s:
number-sections:
bibliography: foo.bib
toc:
t: html5
mathjax:
o: foo_MathJax.html
t: html
webtex:
o: foo_WebTeX.html
t: latex
no-tex-ligatures:
o: foo.pdf
t: docx
mathml:
o: foo.docx
<ends>
You'll need to edit the foo.* lines for the various output file formats.
Hope all this helps.
Jonathan
-----Original Message-----
From: Blindmath [mailto:blindmath-bounces at nfbnet.org] On Behalf Of Dzhovani via Blindmath
Sent: Thursday, 24 March 2016 12:34 a.m.
To: Blind Math list for those interested in mathematics
Cc: Dzhovani
Subject: [Blindmath] LaTeX to MathML
Hi all,
Is there a way to convert large files from LaTeX to MathML or some other more user friendly format? What I have in mind right now is the texts from arxiv.org, but it could be generalized, I suppose.
So far I have used Pandoc to turn .tex to markdown; however, it does not affect the math equations, only allowing for smoother reading of the normal text.
TIA,
Dzhovani
---
Този имейл е проверен за вируси от Avast.
https://www.avast.com/antivirus
_______________________________________________
Blindmath mailing list
Blindmath at nfbnet.org
http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
To unsubscribe, change your list options or get your account info for Blindmath:
http://nfbnet.org/mailman/options/blindmath_nfbnet.org/a.j.godfrey%40massey.ac.nz
BlindMath Gems can be found at <http://www.blindscience.org/blindmath-gems-home>
More information about the BlindMath
mailing list