Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Lawrence Bottorff <borg...@gmail.com> writes: > >> Consider this markup: >> >> ------------ >> * MATHEMATICS AUXILIARY >> >> ** deriving sines and cosines >> >> #+caption: Right triangle with two $\pi\big/4$ angles. >> [[file:images/45-45-triangle.png]] >> >> $\big/$ >> ------------ >> >> If I remove the second $\big/$, the first latex, $\pi\big/4$, in the >> caption will not properly render on export to html. Include it and both >> render just fine. Without the second, the first looks like this: >> >> Figure 1: Right triangle with two \(\pi\big/4\) angles. >> >> Is this a bug? > > If you use > > #+options: tex:dvipng > > the symbol in the caption is correctly rendered. It may be a bug in Mathjax. >
I looked at the diff between html files produced with and without the $\big/$ addition. The one without does not include any of the mathjax configuration code at all. Is that code included conditionally perhaps when a latex construct is seen? Maybe the latex construct in the caption does not trigger the inclusion? -- Nick