Jupyter's default export to PDF, like the command-line NBconvert tool, are telling me that I can't convert my notebook to PDF because the PDF conversion goes via xelatex
. The error message refers me to this help page, so I installed MiKTeX. I have a xelatex
folder in AppData\Local\Programs\MiKTeX 2.9\tex
, but I'm not sure what exactly I should add to my PATH.
If it's helpful, here is some of the code in nbconvert's pdf.py:
def run_latex(self, filename):
"""Run xelatex self.latex_count times."""
def log_error(command, out):
self.log.critical(u"%s failed: %s\n%s", command[0], command, out)
return self.run_command(self.latex_command, filename,
self.latex_count, log_error)