summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xcolor
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-16 03:01:15 +0000
committerNorbert Preining <norbert@preining.info>2023-11-16 03:01:15 +0000
commite0db3f0709a737e7258fd40a7cbfe9a461ea0756 (patch)
treee81cfc35b6602ffceefa73b8971ce3b94312820a /macros/latex/contrib/xcolor
parentf5460c92605f1b3b17448b27ce53375157c3e4b1 (diff)
CTAN sync 202311160301
Diffstat (limited to 'macros/latex/contrib/xcolor')
-rw-r--r--macros/latex/contrib/xcolor/ChangeLog5
-rw-r--r--macros/latex/contrib/xcolor/README.md2
-rw-r--r--macros/latex/contrib/xcolor/xcolor.dtx45
-rw-r--r--macros/latex/contrib/xcolor/xcolor.pdfbin863950 -> 864842 bytes
-rw-r--r--macros/latex/contrib/xcolor/xcolor2.pdfbin91691 -> 91845 bytes
5 files changed, 34 insertions, 18 deletions
diff --git a/macros/latex/contrib/xcolor/ChangeLog b/macros/latex/contrib/xcolor/ChangeLog
index 7608690902..a85977fdd0 100644
--- a/macros/latex/contrib/xcolor/ChangeLog
+++ b/macros/latex/contrib/xcolor/ChangeLog
@@ -3,12 +3,15 @@ https://github.com/latex3/xcolor/issues
History
=======
+2023/11/15 v3.01
+* only warn and not error if obsolete option usenames is used, issue #31
+
2023/11/11 v3.00
* If a LaTeX older than 2022-06-01 is detected a frozen version is used.
All new features apply only if LaTeX 2022-06-01 or newer is detected.
The frozen version can also be requested with \usepackage{xcolor}[=v2].
* The new LaTeX key/val handler is used for the package options. That means there
- will be less option clash errors, issue #29
+ will be fewer option clash errors, issue #29
* The \rowcolors command has moved to the colortbl package
* The fixpdftex option is obsolete and does nothing at all (issue #20)
* Extended \normalcolor to set also the "dot" color, issue #19
diff --git a/macros/latex/contrib/xcolor/README.md b/macros/latex/contrib/xcolor/README.md
index b7702951cc..2e89dafed9 100644
--- a/macros/latex/contrib/xcolor/README.md
+++ b/macros/latex/contrib/xcolor/README.md
@@ -1,6 +1,6 @@
## Package `xcolor` by Dr. Uwe Kern
-Version 2023-11-11 v3.00
+Version 2023-11-15 v3.01
Maintained by the LaTeX Project https://github.com/latex3/xcolor/issues
diff --git a/macros/latex/contrib/xcolor/xcolor.dtx b/macros/latex/contrib/xcolor/xcolor.dtx
index 8e914bc889..5af5459682 100644
--- a/macros/latex/contrib/xcolor/xcolor.dtx
+++ b/macros/latex/contrib/xcolor/xcolor.dtx
@@ -18,8 +18,8 @@
%%
%</package>
%<*extract|driver|test1|test2|test3|test4>
-\def\XCfileversion{v3.00}%
-\def\XCfiledate{2023/11/11}%
+\def\XCfileversion{v3.01}%
+\def\XCfiledate{2023/11/15}%
%</extract|driver|test1|test2|test3|test4>
%
% This file may be distributed and/or modified under the
@@ -3143,11 +3143,15 @@
%
% \subsection*{History}
% \addcontentsline{toc}{subsection}{History}
+% \subsubsection*{2023/11/15 v3.01}
+% \begin{itemize}
+% \item only warn and not error if obsolete option usenames is used (issue \#31)
+% \end{itemize}
% \subsubsection*{2023/11/11 v3.00}
% \begin{itemize}
% \item if a \LaTeX{} older than 2022-06-01 is detected a frozen version is used.
% All new features apply only if LaTeX 2022-06-01 or newer is detected.
-% The frozen version can also be requested with \verb+\usepackage{xcolor}[=v2]+
+% The frozen version can also be requested with \verb+\usepackage{xcolor}[=v2]+
% \item The new LaTeX key/val handler is used for the package options.
% That means there will be fewer option clash errors (issue \#29).
% item The |\rowcolors| command has moved to the |colortbl| package and is no longer
@@ -3156,15 +3160,15 @@
% \item Extended |\normalcolor| to set also the dot color, issue \#19
% \item Fix Gray color model, issue \#23
% \end{itemize}
-%
+%
% \subsubsection*{2022/06/12 v2.14}
% \begin{itemize}
% \item Load code from \LaTeX\ to define |\mathcolor| if it is available.
% \item Bug fixes:
% \begin{itemize}
% \item Modify |\XC@info| to avoid spurious error from |\colorlet{foo}{}|, issue \#12
-% \item make |\normalcolor|, |\colorbox|, |\fcolorbox|, |\textcolor|, |\pagecolor|,
-% |\nopagecolor|, |\definecolor|, |\DefineNamedColor|
+% \item make |\normalcolor|, |\colorbox|, |\fcolorbox|, |\textcolor|, |\pagecolor|,
+% |\nopagecolor|, |\definecolor|, |\DefineNamedColor|
% protected as in |color.sty|, issue \#17
% \end{itemize}
% \end{itemize}
@@ -4031,17 +4035,9 @@
{
table .code ={\AddToHook{package/xcolor/after}{\RequirePackage{colortbl}}}
,table .usage = preamble
-% \end{macrocode}
-%
-% These options are obsolete and only added for compatibility.
-% \begin{macrocode}
- ,hyperref .code = {}
- ,fixpdftex .code = {}
}
% \end{macrocode}
%
-%
-%
% \subsubsection{Driver options}
%
% \begin{macro}{\Gin@driver}
@@ -4115,7 +4111,25 @@
}
% \end{macrocode}
%
-% All other options (including \LC's \oOption{usenames}, \oOption{nodvipsnames}) error.
+% \subsubsection{Obsolete options}
+% The following options are obsolete but perhaps still around in the wild,
+% so we generate a warning.
+% \begin{macrocode}
+\DeclareKeys
+ {
+ ,usenames .code =
+ {\PackageWarning{xcolor}{Package option `usenames' is obsolete and ignored}}
+ ,usename .usage = preamble
+ ,hyperref .code =
+ {\PackageWarning{xcolor}{Package option `hyperref' is obsolete and ignored}}
+ ,hyperref .usage = preamble
+ ,fixpdftex .code =
+ {\PackageWarning{xcolor}{Package option `fixpdftex' is obsolete and ignored}}
+ ,fixpdftex .usage = preamble
+ }
+% \end{macrocode}
+%
+% All other options (including \LC's \oOption{nodvipsnames}) error.
%
% Choose default options:
% \begin{macrocode}
@@ -4125,7 +4139,6 @@
\SetKeys{natural,showerrors}
% \end{macrocode}
%
-%
% \subsubsection{Processing options}
%
% A local configuration file may declare more options.
diff --git a/macros/latex/contrib/xcolor/xcolor.pdf b/macros/latex/contrib/xcolor/xcolor.pdf
index 2df8ee2081..c9ab96b507 100644
--- a/macros/latex/contrib/xcolor/xcolor.pdf
+++ b/macros/latex/contrib/xcolor/xcolor.pdf
Binary files differ
diff --git a/macros/latex/contrib/xcolor/xcolor2.pdf b/macros/latex/contrib/xcolor/xcolor2.pdf
index 88a91d6a35..07d228343c 100644
--- a/macros/latex/contrib/xcolor/xcolor2.pdf
+++ b/macros/latex/contrib/xcolor/xcolor2.pdf
Binary files differ