-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
: Final output file should be in same directory as input file
#3701
Comments
I think we will probably have to discuss this at the dev meeting next week On Fri, Jul 19, 2013 at 7:38 PM, David Sanders notifications@github.comwrote:
Brian E. Granger |
Will it be possible to participate remotely in some way? Via hipchat / video? |
We can arrange for you to participate in the relevant parts - especially On Fri, Jul 19, 2013 at 8:33 PM, David Sanders notifications@github.comwrote:
Brian E. Granger |
OK, great. Or you can just invite me to SF ;) |
Where are you located? On Fri, Jul 19, 2013 at 8:36 PM, David Sanders notifications@github.comwrote:
Brian E. Granger |
Mexico City... |
I don't totally agree with you, placing the .tex file in the same folder as the original .ipynb (source folder). |
Right, I agree with you. What I want
I do not want to know what complicated mess is going on to get from (a) to (b) -- this should be completely invisible to me, unless I set a flag which makes it visible (for example, because I want to keep the individual PDFs of each figure generated, which I would definitely want inside a subdirectory called |
closed by #3734 |
nbconvert
acts, in the end, as a filter to process one format (.ipynb) to another, e.g..html
or.pdf
As such, the output should, by default, be placed in the same directory as the original input file, whatever machinations have to go on in between. I am sure most users would expect this.
For this reason, the current
nbconvert
system is fundamentally flawed, in my opinion, since one has to manually change directories, and the .html, .tex and .pdf outputs end up inside thenbconvert_build
directory, mixed up with the miscellaneous "garbage" that gets produced in the conversion process.As an end user, I should not clear about what goes on in this process, and certainly should not be forced to contemplate this garbage. The
.aux
,.log
etc. nonsense from LaTeX is bad enough.The solution is clear: the
.tex
,.pdf
and.html
files should end up in the original directory. In the case of LaTeX processing, this is easily accomplished using the\graphicspath{{nbconvert_build}}
specification.There should, finally, be an option to remove the
nbconvert_build
directory. Or rather, the flag should be to leave it there once finished, and the default should be to delete it.Probably the conversion process should also not clobber a pre-existing
nbconvert_build
directory, but rather generatenbconvert_build1
etc.It would also be necessary, in this point of view to have options to leave just the final PDF in either the
sphinx_howto
method or thelatex
method. In fact, this should rather be the default, so thatnbconvert
becomes the converter that everybody really wants.From my point of view, this should be in 1.0 to avoid a lot of problems with people not understanding how to get out their PDF at the end...
The text was updated successfully, but these errors were encountered: