[Bioc-devel] Build fail due to "undefined color `fgcolor`"

Xiangyu Luo xy|uo1991 @end|ng |rom gm@||@com
Tue Jun 11 04:09:14 CEST 2024


I also received the same error email for my packages BUScorrect and
HIREewas. I don't know how to fix these "undefined color" issues.

Thank you very much for all your help and replies!

Best regards,

Xiangyu

On Sun, Jun 9, 2024 at 11:05 PM Martin Morgan <mtmorgan.xyz using gmail.com>
wrote:

> This seems to me like a change in the xcolor package, but I'm not sure. I
> opened an issue on the BiocStyle package at
> https://github.com/Bioconductor/BiocStyle/issues/109.
>
> Martin
>
> From: Bioc-devel <bioc-devel-bounces using r-project.org> on behalf of Alvaro
> Cuadros <acuadros+bioc-devel using gmail.com>
> Date: Sunday, June 9, 2024 at 5:00 AM
> To: bioc-devel using r-project.org <bioc-devel using r-project.org>
> Subject: Re: [Bioc-devel] Build fail due to "undefined color `fgcolor`"
> On Fri, Jun 7, 2024 at 10:23 PM Christian Mertes <mertes using in.tum.de> wrote:
> >
> > Dear Bioc Team,
> >
> > I got today a build error from OUTRIDER and FRASER with:
> >
> > LaTeX errors:
> > ! Package xcolor Error: Undefined color `fgcolor'.
> >
> > The same errror also pops up at other packages such as ggbio:
> >
> > output file: ggbio.tex
> > ! Package xcolor Error: Undefined color `fgcolor'.
>
> I have the same error. I suppose there's an issue with BiocStyle.
> After some debugging I found out that adding
>
> \definecolor{fgcolor}{rgb}{0.345, 0.345, 0.345}
> \newcommand{\hlsng}[1]{\textcolor[rgb]{0.192,0.494,0.8}{#1}}%
> \newcommand{\hldef}[1]{\textcolor[rgb]{0.345,0.345,0.345}{#1}}%
>
> right after the `BiocStyle::latex()` chunk fixes the issue.
>
> _______________________________________________
> Bioc-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list