Bioconductor / BiocStyle

Issues and pull requests for BiocStyle should go here.
12 stars 20 forks source link

Package xcolor Error: Undefined color `fgcolor'. #109

Open mtmorgan opened 5 months ago

mtmorgan commented 5 months ago

These reports on the Bioc-devel mailing list https://stat.ethz.ch/pipermail/bioc-devel/2024-June/020463.html suggest a recent change in xcolor (???) that needs to be addressed in BiocStyle::latex()

acinostroza commented 5 months ago

The issue persist if I use texlive 2023 (which has the old xcolor package from 2022). It seems to me that the highr update from 0.10 from 0.11 created the problem. knitr released 1.4.7 to address some the compatibility issues.

Downgrading highr to 0.10 and knitr to 1.4.6 also fixes the issue posted on Bioc-devel.

mtmorgan commented 5 months ago

I see this commit https://github.com/yihui/knitr/commit/4c6978ef070fb1c0a105fcce9e2265b22470692e from several years ago; perhaps this is a regression?