-
-
Notifications
You must be signed in to change notification settings - Fork 139
Using Linux
João M. Lourenço edited this page Mar 14, 2021
·
11 revisions
Tex-Live distributions are outdated in most (if not all) of the Linux distributions.
Iy is strongly advised to:
- Remove the tex-live packages instaled with your Linux distribution
- Install TeX-Live from their site with the “netinstall” script.
Check this video illustrating instalation of TeX Live in Ubuntu 18.
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
Thanks for using this template and for contributing with your suggestions. We really appreciate it. If you may, please don't send us emails directly. Post your question in the GitHub Discussions page or the Facebook Group and you will get your answer there — perhaps even faster.