From e6e5d0259aa5b94e61e137ddb32b78b95600c969 2013-03-19 16:04:41 From: Jonathan Frederic Date: 2013-03-19 16:04:41 Subject: [PATCH] Simplified custom verbaatim block, alltt used. --- diff --git a/templates/tex/latex_sphinx_base.tplx b/templates/tex/latex_sphinx_base.tplx index b7529da..3d9495a 100644 --- a/templates/tex/latex_sphinx_base.tplx +++ b/templates/tex/latex_sphinx_base.tplx @@ -356,15 +356,9 @@ Note: For best display, use latex syntax highlighting. =)) % Purpose: This macro creates a verbatim style block that fits the existing % sphinx style more readily than standard verbatim blocks. ((* macro custom_verbatim(text) -*)) - ((* if resources.sphinx.outputstyle == 'simple' *)) - \begin{lstlisting} -((( text | wrap(wrap_size) ))) - \end{lstlisting} - ((* elif resources.sphinx.outputstyle == 'notebook' *)) \begin{alltt} ((( text | wrap(wrap_size) ))) - \end{alltt} - ((* endif *)) + \end{alltt} ((*- endmacro *)) % Name: insert_graphics