Bug#914729: texlive-latex-recommended: fancyvrb/xcolor "Option clash for package xcolor"
On 26.11.18 19:53, Adrian Bunk wrote:
Hi Adrian,
> https://buildd.debian.org/status/package.php?p=pycorrfit&suite=sid
>
> This FTBFS in pycorrfit boils down to the following regression:
>
> $ cat test.tex
> \documentclass{article}
> \usepackage{fancyvrb}
> \usepackage[svgnames]{xcolor}
> \begin{document}
> Hello world
> \end{document}
> $ latex test
>
<snip>
> ! LaTeX Error: Option clash for package xcolor.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.4 \begin
> {document}
> ?
>
Not sure if a single minimal example makes a bug to state RC. There is
currently no solution form upstream bug a simple work around: load
\usepackage[svgnames]{xcolor} before \usepackage{fancyvrb}
The issue is caused by the fact that fancyvrb loads xcolor, but w/
options by default. AFAICT this example is not the only one where the
load order of the packages does matter.
Hilmar
--
#206401 http://counter.li.org
Reply to: