GitbookIO / plugin-mathjax

MathJAX plugin for GitBook
Apache License 2.0
89 stars 53 forks source link

Prod Limit Issue #4

Closed ntldrake closed 10 years ago

ntldrake commented 10 years ago

The first code renders fine, but when I try to change j to {j=1}, it fails.

Code:

j as second lower limit

$$\begin{aligned} \Pr(D \mid \textbf{W,S}) & = \ {\prod\limits_{i=1}^{I} \Pr(S_j \mid D) \Pr(D) \; \ \prod\limits_j^J \Pr(S_j \mid D) \Pr(D) \over \Pr(\textbf{W,S})} \end{aligned}$$

j=1 as second lower limit

$$\begin{aligned} \Pr(D \mid \textbf{W,S}) & = \ {\prod\limits_{i=1}^{I} \Pr(Sj \mid D) \Pr(D) \; \ \prod\limits{j=1}^J \Pr(S_j \mid D) \Pr(D) \over \Pr(\textbf{W,S})} \end{aligned}$$

Screenshot of Rendering: http://cl.ly/image/151H1x180c2d

ntldrake commented 10 years ago

It looks as though the rendering of <em> tags from using two _ is taking precedence.

https://github.com/mathjax/MathJax/issues/329

pkra commented 10 years ago

A duplicate of #3, I suppose. See my comments on potential improvements this plugin.

SamyPesse commented 10 years ago

Fixed with version 0.7.0 of gitbook