[IPython-dev] nbconvert to latex fails on notebooks with spaces in file name
Gregor Thalhammer
gregor.thalhammer at gmail.com
Sun Aug 4 14:46:11 EDT 2013
Dear all,
first, thanks for the great work on ipython, I enjoy using the ipython notebook every day.
With latest ipython (from git) I discovered a problem when converting a notebook with spaces in the file name and containing inline figures to latex and further to pdf. pdflatex chokes on the \includegraphics command if the image file name, which is derived from the notebook file name, contains spaces.
As a possible fix I found that adding '\usepackage{grffile}' (after \usepackage{graphicx}) to the tex file solves this problem, at least when using pdflatex, see http://www.ctan.org/pkg/grffile
Gregor
More information about the IPython-dev
mailing list