I have an option clash between package xcolor
and another package, but I don't know which. Here is my MWE
\documentclass[10pt]{beamer}
\setbeamertemplate{navigation symbols}{}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{url}
\usepackage{color}
\usepackage[usenames]{xcolor}
\author{The author}
\title{Package conflicts}
\date{October 3rd, 2012}
\begin{document}
This is supposed to be \textcolor{olivegreen}{olivegreen}
\end{document}
And the error message is :
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./error_xcolor.tex
LaTeX2e <2009/09/24>
<blablabla>
! LaTeX Error: Option clash for package xcolor.
I hope this is enough log
for you guys. At this time of the day, I'm hoping for America to save my french ass … again : )
Best Answer
The
beamer
class loadsxcolor
per default. You can issue the option via abeamer
-optionolivegreen
on the other hand needs thedvipsnames
option and is calledOliveGreen
:You could do
but don't (
usenames
is obsolete).TeXLive 2009 is old …