-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding a space to notebook title breaks conversion to pdf #633
Comments
If you go to tex directly and then convert it does this work? |
I am also observing this issue with jupyter-core 4.3.0. Running:
produces a truncated, single-page pdf whereas
Yes, this workflow seems to produce the same output as the browser export:
|
Seems to be xelatex related, as far as I understand
throws the same error as |
this is related to spaces in the filename when calling the |
See my closing comment here. |
Work perfectly for me if we enclose the file name in double quotes jupyter nbconvert --to pdf --TemplateExporter.exclude_input=True "Note book with spaces.ipynb" |
Hi there,
not sure if it qualifies as an issue.
I've just noticed that if the notebook title contains a space, then
fails if the notebook contains image output.
The error given by xelatex is
The issue is not present with Markdown-embedded images, but only with output images (e.g. generated by matplotlib.pyplot).
Please note that exporting to pdf via File > Download as > PDF via LaTeX works fine. Perhaps this is because spaces are replaced by +'s?
Anyway, a very simple solution is to avoid spaces in the notebook name and use a template for having a nicely formatted title when exporting to pdf.
Jupyter v. 4.3.0
Python 3.6.2 :: Anaconda custom (x86_64)
macOS 10.12.6
The text was updated successfully, but these errors were encountered: