Skip to content
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

nbconvert: backslashes are not escaped when converting to LaTeX #3588

Closed
rossant opened this issue Jul 9, 2013 · 1 comment
Closed

nbconvert: backslashes are not escaped when converting to LaTeX #3588

rossant opened this issue Jul 9, 2013 · 1 comment
Assignees
Milestone

Comments

@rossant
Copy link
Contributor

rossant commented Jul 9, 2013

If a cell contains a backslash, say, the following line in output:

Opening "C:\path\myfile"...

then the conversion to LaTeX fails: "\path is an undefined control sequence". This especially happens on Windows!

@jdfreder
Copy link
Member

This doesn't seem to be a problem anymore (tested on master).

I used

print 'Opening "\\home\\path\\nb.ipynb"...'

to print the output which was then converted using

$ ipython nbconvert i3588 --to latex --post pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants