You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On distributions with TeX Live >= 2023 building locally make pdf-local fails. This is an issue if one wants to use new-ish LaTeX packages.
Error Message
$ make pdf-local
# some output omitted ...
(./inc/tumcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
! LaTeX Error: Unknown option 'pgfplots'for package xcolor.
For immediate helptype H <return>.
...
l.266 \edef
\Gin@driver{\Gin@driver}
? H
LaTeX has been asked to set an option called 'pgfplots' but the package
"xcolor" has not created an option with this name.
It appears something in the xcolor package has changed so it doesn't accept the pdfplots option anymore? However, I don't see anything about that specifically in their changelog so I'm not sure if this was ever a valid option?
Problem Description
On distributions with TeX Live >= 2023 building locally
make pdf-local
fails. This is an issue if one wants to use new-ish LaTeX packages.Error Message
It appears something in the
xcolor
package has changed so it doesn't accept thepdfplots
option anymore? However, I don't see anything about that specifically in their changelog so I'm not sure if this was ever a valid option?Affected Distributions
Workaround
The offending lines are here:
tum-dissertation-latex/inc/tumcolor.sty
Lines 26 to 30 in 9b425cf
My knowledge about
sty
files is very limited. Both of the following workarounds seem to work but I guess they have undesired side effects:\usepackag{xcolor}
before\RequirePackageWithOptions{xcolor}
\RequirePackageWithOptions{xcolor}
with\RequirePackage{xcolor}
So please someone who understands this better stand up and provide a good solution :)
The text was updated successfully, but these errors were encountered: