[Blindmath] answer about LaTeX to html

Lucas Radaelli lucasradaelli at gmail.com
Thu Feb 16 16:42:13 UTC 2017


wow! pandoc sseems to be super cool, thanks for the tip!
On 16/02/2017 08:20, Mathieu Barbe via Blindmath wrote:
> 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/lucasradaelli%40gmail.com 
>
> BlindMath Gems can be found at 
> <http://www.blindscience.org/blindmath-gems-home>





More information about the BlindMath mailing list