Nick Dokos <ndo...@gmail.com> writes: > Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > >> Hello, >> >> Eric Schulte <schulte.e...@gmail.com> writes: >> >>> I noticed equations with "<"'s weren't displaying correctly in HTML >>> export using mathjax. The attached patch fixes this by html-encoding >>> latex fragments for mathjax HTML export. I imagine this change would be >>> generally useful and could be applied to master. >> >> I am a bit puzzled. I just tried exporting the following buffer: >> >> \(1 < 2\) >> >> and the result looked good. Could you provide an example of a failed >> export? >> >> > > See > > http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents > > for some gotchas.
Thanks, the link does describe the problem well. My particular problem formula included "i<d" in part of a larger equation. >From the link above it sounds like replacing just "<", ">" and "&" should be sufficient, if the full html encoding in my previous patch was too heavy weight. Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)