[Blindmath] answer about LaTeX to html

Deleon, Maria de Los Angeles mladeleon at sbcisd.net
Thu Feb 16 15:24:20 UTC 2017


unsubscribe





On Feb 16, 2017, at 9:22 AM, Łukasz Grabowski via Blindmath <blindmath at nfbnet.org<mailto:blindmath at nfbnet.org>> wrote:

Hi Russell,

I speak as someone who has tried different approaches to converting
latex to accessible html this year - pandoc is not good for this
purpuse, you should really use latexml if you have a tex file which you
need to convert to an accessible version.

What pandoc is absolutely great for is writing new documents. Also if I
had a blind maths student which I needed to teach to write mathematical
documents, I would go with pandoc.

The point is that pandoc very intelligently restricts what you can do
in a document, allowng to focus on the content, lowering the numberof
typos, etc.. But converting existing latex documents to pandoc (or
should I say "pandoc markdown" to be completely correct) is a pain.

Best,
Łukasz

On Thu, 16 Feb 2017 08:13:34 -0700
Russell Solowoniuk via Blindmath <blindmath at nfbnet.org<mailto:blindmath at nfbnet.org>> wrote:

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<mailto:solowoniukr at macewan.ca>
T:  780-497-5826
F:  780-497-4018
macewan.ca<http://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<mailto: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>


_______________________________________________
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/graboluk%40gmail.com
BlindMath Gems can be found at
<http://www.blindscience.org/blindmath-gems-home>


_______________________________________________
Blindmath mailing list
Blindmath at nfbnet.org<mailto: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/mladeleon%40sbcisd.net
BlindMath Gems can be found at <http://www.blindscience.org/blindmath-gems-home>

Miss M. DeLeon, Teacher
San Benito CISD-Berta Cabaza
2901 Shafer Rd., San Benito, Tx 78586
(956) 361-6600 x2358
mladeleon at sbcisd.net<mailto:achapa at sbcisd.net>











More information about the BlindMath mailing list