If you're using an up-to-date system and you're having trouble with using the Linux Libertine fonts, you should probably check out Linux Libertine package and fonts not working anymore (fall 2012), which deals with the current situation. The situation described in this question and its answer do not apply anymore to current systems.
Ever since an update in December 2011, libertine
doesn't work anymore at all, the standard Computer Modern fonts are used instead. The minimal
\documentclass{article}
\usepackage{libertine}
\usepackage[T1]{fontenc}
\begin{document}
Hello World.
\end{document}
produces the error message
! Package libertine Error: Package is deprecated, use libertineotf!.
If I proceed accordingly and use libertineotf
instead of libertine
, I get 11 errors and no output:
! Package libertineotf Error: runs only with xelatex and lualatex!.
...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Fatal fontspec error: "cannot-use-pdftex" ! ! The fontspec package requires either XeTeX or LuaTeX to function. ! ! You must change your typesetting engine to, e.g., "xelatex" or "lualatex" ! instead of plain "latex" or "pdflatex". ! ! See the fontspec documentation for further information. ! ! For immediate help type H . !...............................................
I am indeed compiling with pdfLaTeX, but I don't want to switch to Xe/LuaLaTeX. Is there any way to get back the Linux Libertine fonts with pdfLaTeX?
I know the answer to this question, but I thought this matter is worth sharing -- expecting some Googlers looking for help. I've seen the answer in a couple of comments on here, so I'll wait a bit, assuming the answer will pop up.
pdflatex
. As Herbert points out, the old package has been restored.