From de5e7c1b65dbfd11476b515156d88384e1d1d3f3 2013-09-23 17:57:21 From: Jonathan Frederic Date: 2013-09-23 17:57:21 Subject: [PATCH] Fixed missing latex escape --- diff --git a/IPython/nbconvert/templates/latex/latex_base.tplx b/IPython/nbconvert/templates/latex/latex_base.tplx index 2c698c5..171795d 100644 --- a/IPython/nbconvert/templates/latex/latex_base.tplx +++ b/IPython/nbconvert/templates/latex/latex_base.tplx @@ -109,7 +109,7 @@ This template does not define a docclass, the inheriting class must define this. % Display stream ouput with coloring ((* block stream *)) \begin{Verbatim}[commandchars=\\\{\}] -((( output.text | ansi2latex ))) +((( output.text | escape_latex | ansi2latex ))) \end{Verbatim} ((* endblock stream *))