From f623ce6b2e3aa346c400a43b7fbe19ae56a7328e Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 20 Feb 2017 12:01:46 +0000 Subject: [PATCH] Don't pass Latex output through md->tex conversion for latex output Closes gh-534 --- nbconvert/templates/latex/document_contents.tplx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbconvert/templates/latex/document_contents.tplx b/nbconvert/templates/latex/document_contents.tplx index c32c39c55..9998e6a26 100644 --- a/nbconvert/templates/latex/document_contents.tplx +++ b/nbconvert/templates/latex/document_contents.tplx @@ -30,7 +30,7 @@ % Display latex ((* block data_latex -*)) - ((( output.data['text/latex'] | citation2latex | strip_files_prefix | convert_pandoc('markdown', 'latex')))) + ((( output.data['text/latex'] | strip_files_prefix ))) ((* endblock data_latex *)) % Display markdown