Friday, June 10, 2016

Anaconda2 jupyter notebook fix to export to pdf

Under Linux Mint, the problem arises when issuing:
 $ ~/anaconda2/bin/jupyter nbconvert my_notebook.ipynb --to pdf
During the conversion, LaTeX fails with the error:
! LaTeX Error: File `ulem.sty' not found.
This is solved by installing the texlive-generic-recommended package:
 $ sudo apt-get install texlive-generic-recommended

No comments: