jupyter / nbconvert

Jupyter Notebook Conversion
https://nbconvert.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.72k stars 564 forks source link

Stuck in running xelatex 3 times process #1533

Open Abdel-Nasser-Ateeq opened 3 years ago

Abdel-Nasser-Ateeq commented 3 years ago

I already installed MikTex and nbconvert, but when I tried to convert the notebook file to pdf using the command:

jupyter nbconvert --to pdf file.ipynb

The CLI is stuck in running xelatex process, and this message appeared in the CLI: [NbConvertApp] Running xelatex 3 times: ['xelatex', '.\notebook.tex', '-quiet']

Also, multiple times a dialog box appeared that asking about the retrieved package from the source as shown below. But the file was never installed as a pdf.

image

MSeal commented 3 years ago

MikTex can be annoying about package installations. Try running through it again a few time until all the package dependencies are installed. If I recall from testing on my windows machine back a long while ago it took a few full 3-time retries to get them all installed.