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 on windows: tex and paths #3823

Closed
rhewett opened this issue Jul 29, 2013 · 0 comments
Closed

nbconvert on windows: tex and paths #3823

rhewett opened this issue Jul 29, 2013 · 0 comments
Milestone

Comments

@rhewett
Copy link

rhewett commented Jul 29, 2013

When nbconvert is used to produce latex files (either through format=latex or format=sphinx_*) on Windows, the paths that are put into the file are of the form:

\documentclass[letterpaper,10pt,english]{C:\Anaconda\lib\site-packages\sphinx\texinputs/sphinxhowto}

The problem is those backslashes are treated as latex commands, which produces errors.

Latex accepts forward slashes on windows just fine. I'm not sure if there is a way to force python's os.path tools to produce the right thing for this case, and I can't find in the code where these things are set, so I have not been able to muck about with it.

@ivanov ivanov closed this as completed in af50eb6 Aug 4, 2013
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant