Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx")
\documentclass{article} \usepackage{ifpdf} \ifpdf \usepackage[T1]{fontenc} \usepackage{libertine} % Linux Libertine. This gives an error %\usepackage{lmodern} % this works fine \usepackage[pdftex,usenames,dvipsnames]{color} \usepackage[pdftex]{graphicx} \else \bye \fi \begin{document} Hello, world! \end{document}
I get this error:
! LaTeX Error: Option clash for package color. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.8 \usepackage [pdftex]{graphicx}
Can anyone explain this? I can't for the life of me understand why a font package would mess with color and graphicx.