diff --git a/IPython/nbconvert/templates/latex/latex_article.tplx b/IPython/nbconvert/templates/latex/latex_article.tplx index 80d0c1d..3ff4804 100644 --- a/IPython/nbconvert/templates/latex/latex_article.tplx +++ b/IPython/nbconvert/templates/latex/latex_article.tplx @@ -1,7 +1,7 @@ % Default to the notebook output style ((* if not cell_style is defined *)) - ((* set cell_style = 'notebook_style.tplx' *)) + ((* set cell_style = 'ipython_style.tplx' *)) ((* endif *)) % Inherit from the specified cell style. diff --git a/IPython/nbconvert/templates/latex/latex_book.tplx b/IPython/nbconvert/templates/latex/latex_report.tplx similarity index 90% rename from IPython/nbconvert/templates/latex/latex_book.tplx rename to IPython/nbconvert/templates/latex/latex_report.tplx index 757264a..c8e76e4 100644 --- a/IPython/nbconvert/templates/latex/latex_book.tplx +++ b/IPython/nbconvert/templates/latex/latex_report.tplx @@ -1,7 +1,7 @@ % Default to the notebook output style ((* if not cell_style is defined *)) - ((* set cell_style = 'notebook_style.tplx' *)) + ((* set cell_style = 'ipython_style.tplx' *)) ((* endif *)) % Inherit from the specified cell style. @@ -18,7 +18,7 @@ ((* endblock predoc *)) ((* block docclass *)) -\documentclass{book} +\documentclass{report} ((* endblock docclass *)) ((* block h1 -*))\part((* endblock h1 -*)) diff --git a/IPython/nbconvert/templates/latex/latex_sphinx_article.tplx b/IPython/nbconvert/templates/latex/latex_sphinx_article.tplx index 01ef5e5..203a1c1 100644 --- a/IPython/nbconvert/templates/latex/latex_sphinx_article.tplx +++ b/IPython/nbconvert/templates/latex/latex_sphinx_article.tplx @@ -1,9 +1,3 @@ - -% Default to the python output style -((* if not cell_style is defined *)) - ((* set cell_style = 'python_style.tplx' *)) -((* endif *)) - ((* extends 'latex_article.tplx' *)) %=============================================================================== diff --git a/IPython/nbconvert/templates/latex/latex_sphinx_book.tplx b/IPython/nbconvert/templates/latex/latex_sphinx_report.tplx similarity index 93% rename from IPython/nbconvert/templates/latex/latex_sphinx_book.tplx rename to IPython/nbconvert/templates/latex/latex_sphinx_report.tplx index ae383f8..bf84a03 100644 --- a/IPython/nbconvert/templates/latex/latex_sphinx_book.tplx +++ b/IPython/nbconvert/templates/latex/latex_sphinx_report.tplx @@ -1,9 +1,3 @@ - -% Default to the python output style -((* if not cell_style is defined *)) - ((* set cell_style = 'python_style.tplx' *)) -((* endif *)) - ((* extends 'latex_book.tplx' *)) %===============================================================================