You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sphinx latexpdf builder is failing due to an inability to find .png files that are generated when executing notebooks.
Here's the last line prior to failure from the latex .log file:
./networkx_reference.tex:90523: Unable to load picture or PDF file 'build/jupyt
er_execute/reference/tutorial_82_0.png'.
<to be read again>
}
Which seems to indicate that the latex builder is looking for the tutorial_82_0.png image in the jupyter_execute/reference directory. However, the tutorial_82_0.png file does exist one directory up (i.e. jupyter_execute/tutorial_82_0.png). Note also that the tutorial.md that is being executed to generate these images lives in the top-level directory, not in the reference/ subdirectory:
Note this may now be fixed with #380: rendering of code outputs is now handled at a much earlier stage, meaning that we no longer have to do any "hacky" stuff to reverse-engineer how sphinx usually handles images
Describe the problem
The sphinx latexpdf builder is failing due to an inability to find
.png
files that are generated when executing notebooks.Here's the last line prior to failure from the latex
.log
file:Which seems to indicate that the latex builder is looking for the
tutorial_82_0.png
image in thejupyter_execute/reference
directory. However, thetutorial_82_0.png
file does exist one directory up (i.e.jupyter_execute/tutorial_82_0.png
). Note also that thetutorial.md
that is being executed to generate these images lives in the top-level directory, not in thereference/
subdirectory:Link to your repository or website
networkx/networkx#5221
Steps to reproduce
The version of Python you're using
3.9.9
Your operating system
Linux 5.15.6-arch2-1
Versions of your packages
Output of
pip list
:Additional context
jupyterbook-latex
installed - this had no effect.The text was updated successfully, but these errors were encountered: