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

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.

  • 4
    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
  • 1
    @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
  • 1
    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.