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

2017-02-14 Thread Richard Stanton
That works. Thanks.

> On Feb 14, 2017, at 12:24 PM, Charles C. Berry  wrote:
> 
> On Tue, 14 Feb 2017, Richard Stanton wrote:
> 
>> [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> 
>> 
>> 
>> 
>> This exports to LaTeX fine, but when I export to HTML, the equation comes 
>> out as plain text
> 
> Seems like a bug.
> 
> To work around it, put a space between `<' and `j'.
> 
> HTH,
> 
> Chuck




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

2017-02-14 Thread Charles C. Berry

On Tue, 14 Feb 2017, Richard Stanton wrote:


[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

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

2017-02-14 Thread Nick Dokos
Richard Stanton  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
>
> 
>
> This exports to LaTeX fine, but when I export to HTML, the equation comes out 
> as plain text
>
> 
> \[ w_j = \nu_j \prod_{l 
>

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




[O] Problems exporting simple LaTeX math to HTML

2017-02-14 Thread Richard Stanton
[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