From 9a8741c8062c65df2dff3e6cc1d8e67668bf72eb 2013-08-05 22:35:54 From: Paul Ivanov Date: 2013-08-05 22:35:54 Subject: [PATCH] use grffile to support notebooks with spaces --- diff --git a/IPython/nbconvert/templates/latex/sphinx.tplx b/IPython/nbconvert/templates/latex/sphinx.tplx index 099829e..adeeb49 100644 --- a/IPython/nbconvert/templates/latex/sphinx.tplx +++ b/IPython/nbconvert/templates/latex/sphinx.tplx @@ -95,6 +95,9 @@ Note: For best display, use latex syntax highlighting. =)) \graphicspath{ {figs/} } \usepackage[Export]{adjustbox} % To resize + % used so that images for notebooks which have spaces in the name can still be included + \usepackage{grffile} + % For formatting output while also word wrapping. \usepackage{listings} @@ -463,4 +466,4 @@ Note: For best display, use latex syntax highlighting. =)) \includegraphics[max size={\textwidth}{\textheight}]{((( path )))} \par \end{center} -((*- endmacro *)) \ No newline at end of file +((*- endmacro *))