From 3036aa57424a43256dd87a0d7f1faa3f5e007e7d 2015-03-01 14:08:32 From: jakobgager Date: 2015-03-01 14:08:32 Subject: [PATCH] Enable chapters for latex report class --- diff --git a/IPython/nbconvert/templates/latex/report.tplx b/IPython/nbconvert/templates/latex/report.tplx index d15831d..3a32310 100644 --- a/IPython/nbconvert/templates/latex/report.tplx +++ b/IPython/nbconvert/templates/latex/report.tplx @@ -20,3 +20,7 @@ ((* block docclass *)) \documentclass{report} ((* endblock docclass *)) + +((* block markdowncell scoped *)) +((( cell.source | citation2latex | strip_files_prefix | markdown2latex(extra_args=["--chapters"]) ))) +((* endblock markdowncell *))