Sagemath in virtual box and latex

asked 2017-06-22 15:57:07 +0200

Johan gravatar image

When running sagemath 2.7 in virtual box and export a notebook (using jupyter) to pdf I get an error message that pdflatex could not be found. By installing texlive, pdflatex was found but not all the latex packages.

How can I use the latex install on my window machine when export the notebook (in jupyter) to pdf?

edit retag flag offensive close merge delete


By definition a virtual machine simulates a completely new environment to run an operative system. Nothing are shared between the host (windows in your case) and the virtual machine. You can possibly share files but certainly not programs (latex in your case).

One possibility that might work is

  1. install jupyter on windows
  2. download your worksheet in ipynb format on the host
  3. Use the windows command line to convert in pdf format $ jupyter nbconvert --to pdf my_worksheet.ipynb
vdelecroix gravatar imagevdelecroix ( 2017-07-13 23:47:03 +0200 )edit