TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working off a template. I recently updated my TeXLive from 2009 to 2012. One issue I am having is with the following like


When I use this I get now numerous errors. Errors that didn't exist when I use xeLaTeX in TeXLive 2009. The errors look like:

) (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty

! LaTeX Error: Option clash for package color.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.

If I change the package name color to xcolor it fixes the issue. Why is this?


% compile with xelatex
\usepackage{fancyhdr}                   % url not needed if hyperref used
\usepackage{hyperref}                   % added to generate the error message
share|improve this question

closed as too localized by Stefan Kottwitz Feb 2 '13 at 15:08

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

This question is very similar to When to use the xcolor package instead of the color package?. Please take a look at it as the information there might help you. If so, that's great, and we'll probably close this question as a duplicate just to keep the place tidy and to help people find answers quickly. – doncherry Jan 11 '13 at 3:04
That questions answers one of my questions. I still would like to learn if possible why it fails with color but works fine with xcolor. – Bobdul Jan 11 '13 at 3:11
@Bobdul can you provide a complete MWE for folks to play with? – cmhughes Jan 11 '13 at 3:36
@cmhughes please see OP. I added it there for formatting – Bobdul Jan 11 '13 at 3:48
Probably, one of the packages implicitly loads color package before you load it explicitly and that creates an option clash. – percusse Jan 11 '13 at 3:59

Browse other questions tagged or ask your own question.