emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problems exporting simple LaTeX math to HTML


From: Nick Dokos
Subject: Re: [O] Problems exporting simple LaTeX math to HTML
Date: Tue, 14 Feb 2017 15:13:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Richard Stanton <address@hidden> writes:

> [My apologies if this is a repeat. I tried posting this 4 days ago and didn’t 
> see if appear on the list.]
>
> I created the following very simple org file:
>
> ————
>
> #+TITLE: *Math example*
>
> \[ w_j = \nu_j \prod_{l<j} (1-\nu_l), \]
>
>
> ————
>
> This exports to LaTeX fine, but when I export to HTML, the equation comes out 
> as plain text
>
> <p>
> \[ w_j = \nu_j \prod_{l<j} (1-\nu_l), \]
> </p>
>

That's the way it should be if Mathjax is enabled (which it is by
default): Mathjax should then interpret that and print out a nicely
formatted equation when you view it in the browser. *However*, Mathjax
has a limitation with "<": one workaround is to surround the < with
spaces:

 \[ w_j = \nu_j \prod_{l < j} (1-\nu_l), \]

See:
   http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]