if a notebook contains a markdown cell with an embedded image (just copy & paste any image into a markdown cell and you'll have one) it's not possible to export the document as a PDF anymore.
the export shows an error message like this instead:
nbconvert failed: PDF creating failed, captured latex output:
Failed to run "xelatex notebook.tex -quiet" command:
notebook.tex:805: Unable to load picture or PDF file '
notebook.tex:882: Unable to load picture or PDF file '
dvipdfmx:fatal: Image inclusion failed. Could not find file: attachment:64c05d05-bea6-4103-9faa-b5eec3915533.png
No output PDF file written.
Sorry, but xelatex did not succeed.
Reproduce
create a notebook
create a markdown cell
copy any image you want into your clipboard
paste the image into the markdown cell (you'll now see something like ![image.png](attachment:274c8ef8-9b03-4dac-99e4-51f11a07debc.png) in your cell)
originally posted here, but turned out that was the wrong place to report it: https://github.com/jupyterlab/jupyterlab/issues/12739
Description
if a notebook contains a markdown cell with an embedded image (just copy & paste any image into a markdown cell and you'll have one) it's not possible to export the document as a PDF anymore.
the export shows an error message like this instead:
Reproduce
![image.png](attachment:274c8ef8-9b03-4dac-99e4-51f11a07debc.png)
in your cell)Expected behavior
it's possible to export the notebook
Context
Troubleshoot Output
Command Line Output
Browser Output