[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#914729: texlive-latex-recommended: fancyvrb/xcolor "Option clash for package xcolor"



On Mon, Nov 26, 2018 at 10:38:24PM +0100, Hilmar Preuße wrote:
> On 26.11.18 19:53, Adrian Bunk wrote:
> 
> Hi Adrian,

Hi Hilmar,

> > 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

I need an RC bug somewhere for a FTBFS.

> \usepackage[svgnames]{xcolor} before \usepackage{fancyvrb}

Thanks.

> The issue is caused by the fact that fancyvrb loads xcolor,

This seems to be the relevant recent change.

> but w/
> options by default. AFAICT this example is not the only one where the
> load order of the packages does matter.

My LaTeX knowledge is extremely rusty.

Is there some way to fix this in fancyvrb, or is the only way forward
to change pycorrfit (and potentially other affected packages)?

> Hilmar

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


Reply to: