Skip to content
João M. Lourenço edited this page Mar 14, 2021 · 11 revisions

NOVAthesis and Linux

Update your TeX-Live distribution

Tex-Live distributions are outdated in most (if not all) of the Linux distributions.

Iy is strongly advised to:

  1. Remove the tex-live packages instaled with your Linux distribution
  2. Install TeX-Live from their site with the “netinstall” script.

Check this video illustrating instalation of TeX Live in Ubuntu 18.

Tips and Tricks for Linux

LuaTeX & xelatex do not work in Ubuntu 20.04 (suggested by @jmg-duarte/José Duarte)

Ubuntu 20.04 does NOT ship kpfonts-otf and thus LuaTeX/xelatex will not work out of the box. https://packages.ubuntu.com/focal/all/texlive-fonts-extra/filelist

It seems to me that fixing it can be done as follows:

wget http://mirrors.ctan.org/fonts/kpfonts-otf.zip
unzip kpfonts-otf.zip
sudo cp -r kpfonts-otf/tex/ $(kpsewhich -var-value=TEXMFDIST)/tex/latex/kpfonts-otf/
sudo cp -r kpfonts-otf/doc/ $(kpsewhich -var-value=TEXMFDIST)/doc/fonts/kpfonts-otf
sudo cp -r kpfonts-otf/fonts/ $(kpsewhich -var-value=TEXMFDIST)/fonts/kpfonts-otf/
sudo ln -s "$(kpsewhich -var-value=TEXMFDIST)/fonts/kpfonts-otf" "$HOME/.fonts/OTF/kpfonts-otf"
sudo fc-cache -svf