[IPython-dev] small nbconvert glitch?
Zoltán Vörös
zvoros at gmail.com
Thu Jan 23 17:16:17 EST 2014
Hi All,
For some reason, I can't compile the latex output from the markdown entry
\begin{equation}
\langle k | = 0
\end{equation}
When I pass the notebook to nbconvert, and try to compile, I get the
following error:
! LaTeX Error: Command \ttfamily invalid in math mode.
However,
\begin{equation}
\langle k \rangle = 0
\end{equation}
compiles properly. From here
https://groups.google.com/forum/#!topic/pandoc-discuss/oj8WxUFtU6E
I learned that the problem is that | is not escaped properly in math
environments. (NB: $\langle k \vert = 0$ also compiles without errors.)
However, given that my pandoc version is 1.11.1, and according to the
release notes (http://johnmacfarlane.net/pandoc/releases.html), this
issue was addressed in version 1.10, I am a bit baffled.
Is there something that could be done in nbconvert? Or might this
problem be related to this open issue:
https://github.com/ipython/ipython/issues/4251 ?
Thanks,
Zoltán
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140123/1352777f/attachment.html>
More information about the IPython-dev
mailing list