[Blindmath] answer about LaTeX to html
Russell Solowoniuk
SolowoniukR at macewan.ca
Thu Feb 16 15:13:34 UTC 2017
Hi Mathieu,
Assuming one could obtain a math or physics textbook in LaTeX format, would it be possible to run the textbook file through Pandoc and end up with a screen reader accessible version of the text? Or, would a lot of editing need to be done before using Pandoc, i.e. removing images, diagrams, etc.?
Thanks,
Russell
Russell Solowoniuk
AT Educational Assistant, Services to Students with Disabilities
MacEwan University
7-198 D4, 10700-104 Ave.
Edmonton, AB T5J 4S2
E: solowoniukr at macewan.ca
T: 780-497-5826
F: 780-497-4018
macewan.ca
This communication is intended for the use of the recipient to whom it is addressed and may contain confidential, personal, and/or privileged information. Please contact me immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed.
Please consider the environment before printing this email.
>>> Mathieu Barbe via Blindmath <blindmath at nfbnet.org> 2017-02-16 3:20 AM >>>
Hi all,
pandoc is a good solution to convert math.
Pandoc can convert markdown to html with mathml or mathjax.
For instance :
code markdown :
% My title
% My name
% 16 Feb 2017
# My equation and level 1
This is a sum :
$\sum_{i=0}^n i^2$
End markdown code
type in the command line :
pandoc -s --mathml source.markdown -o out.html
if you want mathjax instead of mathml, replace --mathml by --mathjax!
If you have LaTeX source you also convert in html web page.
however, if tex source contains specials commands, there may be errors.
command line :
pandoc -s --mathml source.tex -o out.html
The -s option ask to pandoc to generate header before your texte.
++ Mathieu
_______________________________________________
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/solowoniukr%40macewan.ca
BlindMath Gems can be found at <http://www.blindscience.org/blindmath-gems-home>
More information about the BlindMath
mailing list