Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Jupyter Notebook and "File/Download as/pdf" not working

I can run jupyter > nbconvert SageTest.ipynb --to pdf without any problem from a terminal window. But if I start Jupyter from the Sagamath app and using then File -> Download as -> pdf this will not work: nbconvert failed: xelatex not found on PATH.

I have also no problem if I start Jupyter notebook from a terminal session. It seems that the app is not recognizing my TeX-path. Sage 9.5 itself is working without any issue.

My environment: macOS Monterey 12.1, TeXLive2021, Safari 15.3, Sage-Math-9.5 app

click to hide/show revision 2
None

Jupyter Notebook and "File/Download as/pdf" not working

I can run jupyter > nbconvert SageTest.ipynb --to pdf without any problem from a terminal window. But if I start Jupyter from the Sagamath Sagemath app and using then File -> Download as -> pdf this will not work: nbconvert failed: xelatex not found on PATH.

I have also no problem if I start Jupyter notebook from a terminal session. It seems that the app is not recognizing my TeX-path. Sage 9.5 itself is working without any issue.

My environment: macOS Monterey 12.1, TeXLive2021, Safari 15.3, Sage-Math-9.5 app