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
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)
click on "File > Save and Export As ... > PDF"
Expected behavior
it's possible to export the notebook
Context
Operating System and version: Windows 11
Browser and version: 101
JupyterLab version: 3.3.2
Troubleshoot Output
$PATH:
C:\Users\[..]\anaconda3
C:\Users\[..]\anaconda3\Library\mingw-w64\bin
C:\Users\[..]\anaconda3\Library\usr\bin
C:\Users\[..]\anaconda3\Library\bin
C:\Users\[..]\anaconda3\Scripts
C:\Users\[..]\anaconda3\bin
C:\Users\[..]\anaconda3\condabin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\WINDOWS\System32\OpenSSH
C:\Program Files\Pandoc
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\WINDOWS\System32\OpenSSH
C:\Users\[..]\AppData\Local\Microsoft\WindowsApps
C:\Users\[..]\AppData\Local\Programs\MiKTeX\miktex\bin\x64
.
[.. some more which were not relevant ..]
originally posted here, but turned out that was the wrong place to report it: jupyterlab/jupyterlab#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
The text was updated successfully, but these errors were encountered: