[Tex/LaTex] Texmaker pdflatex compile error with libertine font after updating Texlive 2012


After updating the texlive 2012 in Ubuntu 12.04 by

# tlmgr update --all

I found pdflatex (within Texmaker) cannot compile a TeX file with the Libertine font

\usepackage{libertine}                        % libertine

However, in Terminal the tex file can be compiled by the command

$ pdflatex  thesis.tex

I even uninstalled and reinstalled Texmaker, the problem still persists.

Best Answer

This is actually a path problem.

If you have installed the "vanilla" TeXLive, it is not enough to add the new PATH in your.profile file (or any configuration fill used by your shell like cshrc or .zshrc...) because this configuration file is not used by your graphic environment (gnome, kde, xfce...).

For graphic environment, there is no such file for each user (omission in freedesktop?)!

In Debian/Ubuntu distribution, you can add the new PATH in the /etc/environment file (via sudo). Replace:




(where /usr/local/texlive/2012/bin/x86_64-linux is the TeXLive path on x86_64 architecture. On i386 architecture, choose /usr/local/texlive/2012/bin/i386-linux.)

Related Question