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

under Windows, "ipython3 nbconvert "C:/blabla/first_try.ipynb" --to latex" write "\" instead of "/" to reference file path in the .tex file #3885

Closed
stonebig opened this issue Aug 3, 2013 · 2 comments · Fixed by #3888
Labels
Milestone

Comments

@stonebig
Copy link
Contributor

stonebig commented Aug 3, 2013

Hello,

I tried the new nbconvert feature of IPython1.0.0rc1 this morning on a Windows Vista PC.
The .TEX generated file is perfect EXCEPT the directory separator character, which is unfortunately written as "" instead of "/".

Example (abstract) :
**** instruction used to create the .TEX file ****
ipython3 nbconvert "C:/blabla/bla/first_try.ipynb" --to latex

gives (First 5 lines) :
**(begining of abstract) ***
% Header, overrides base
% Make sure that the sphinx doc style knows who it inherits from.
\def\sphinxdocclass{article}
% Declare the document class
\documentclass[letterpaper,10pt,english]{C:\blabla\winpython\WinPython-32bit-3.3.2.1rc1\python-3.3.2\lib\site-packages\sphinx\texinputs/sphinxhowto}
*** (..., then a reference to another document, also with a "" instead of a "/") ***
\begin{center}
\includegraphics[max size={\textwidth}{\textheight}]{first_try_files\first_try_3_0.png}
\par
\end{center}
*** (end of abstract) *****

@stonebig
Copy link
Contributor Author

stonebig commented Aug 3, 2013

I tested and confirm that #3888 will fix the issue I detected.
Thank you very much

@stonebig stonebig closed this as completed Aug 3, 2013
@stonebig stonebig reopened this Aug 3, 2013
@stonebig
Copy link
Contributor Author

stonebig commented Aug 3, 2013

and it will even works with french accents , Chapeau !

@stonebig stonebig closed this as completed Aug 3, 2013
@stonebig stonebig reopened this Aug 3, 2013
ivanov added a commit that referenced this issue Aug 4, 2013
posixify paths for Windows latex

closes #3823, #3885
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant