Fix problem with changes and xcolor packages.

parent 11614302
......@@ -121,7 +121,10 @@
\RequirePackage[\ifiseries@inputencOptions]{inputenc}
\RequirePackage[T1]{fontenc}
\ififiseries@xcolor
\@ifclassloaded{beamer}{}{\@ifclassloaded{dinbrief}{}{\RequirePackage[rgb,svgnames]{xcolor}}}
% The changes package will load xcolor, which clashes with the beamer and dinbrief classes.
% We thus refrain from loading both if one of those classes is active, and simply load the changes package
% which loads xcolor if everything is alright.
\@ifclassloaded{beamer}{}{\@ifclassloaded{dinbrief}{}{\RequirePackage[xcolor={rgb,svgnames}]{changes}}}
\fi
\RequirePackage[\ifiseries@babelOptions]{babel}
......@@ -266,7 +269,6 @@
\RequirePackage{placeins}
\RequirePackage[draft]{fixme}
\fxsetup{theme=color}
\RequirePackage{changes}
\normalem
\ExplSyntaxOn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment