texlive[73636] Master/texmf-dist: pagecolor (29jan25)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 29 21:30:29 CET 2025


Revision: 73636
          https://tug.org/svn/texlive?view=revision&revision=73636
Author:   karl
Date:     2025-01-29 21:30:29 +0100 (Wed, 29 Jan 2025)
Log Message:
-----------
pagecolor (29jan25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pagecolor/README
    trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-crop-example.pdf
    trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf
    trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex
    trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf
    trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv
    trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
    trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
    trunk/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty

Modified: trunk/Master/texmf-dist/doc/latex/pagecolor/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pagecolor/README	2025-01-29 20:30:20 UTC (rev 73635)
+++ trunk/Master/texmf-dist/doc/latex/pagecolor/README	2025-01-29 20:30:29 UTC (rev 73636)
@@ -1,4 +1,4 @@
-README for pagecolor package, 2023-04-18, v1.2c
+README for pagecolor package, 2025-01-28, v1.2d
 
 
 TABLE OF CONTENTS
@@ -107,10 +107,9 @@
 4 ADDITIONAL PACKAGES
 =====================
 
-pagecolor loads other packages:
-- kvoptions
-- xcolor, if the color package has not been loaded before pagecolor
-which again load other packages
+pagecolor loads another package: xcolor,
+if the color package has not been loaded before pagecolor
+which again loads other packages
 (see the result of the \listfiles command in the log-file
  of the example).
 

Modified: trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-crop-example.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex	2025-01-29 20:30:20 UTC (rev 73635)
+++ trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex	2025-01-29 20:30:29 UTC (rev 73636)
@@ -9,10 +9,10 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2023-04-18 v1.2c
+%% Version: 2025-01-28 v1.2d
 %% Info: Provides thepagecolor
 %% 
-%% Copyright (C) 2011 - 2023 by
+%% Copyright (C) 2011 - 2025 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -40,8 +40,8 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\documentclass[british]{article}[2022/07/02]% v1.4n Standard LaTeX document class
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
+\documentclass[british]{article}[2024/06/29]% v1.4n Standard LaTeX document class
 \usepackage[extension=pdf,%
  plainpages=false,%
  pdfpagelabels=true,%
@@ -53,18 +53,18 @@
  pdfkeywords={LaTeX, pagecolor, thepagecolor, page color, page colour},%
  pdfview=Fit,pdfstartview=Fit,%
  pdfpagelayout=SinglePage%
-]{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX
+]{hyperref}[2024-11-05]% v7.01l Hypertext links for LaTeX
 
-\usepackage[x11names]{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
+\usepackage[x11names]{xcolor}[2024/09/29]% v3.02 LaTeX color extensions (UK)
  % The xcolor package would not be needed for just using the base colors.
  % The color package would be sufficient for that.
 
- % \usepackage[cam,center,a3]{crop}[2017/11/19]% 1.10
+ % \usepackage[cam,center,a3]{crop}[2017/11/19]% v1.10
 
 \usepackage[pagecolor={LightGoldenrod1},%
-  nopagecolor={none}]{pagecolor}[2023-04-18]% v1.2c Provides thepagecolor (HMM)
+  nopagecolor={none}]{pagecolor}[2025-01-28]% v1.2d Provides thepagecolor (HMM)
 
-\usepackage{afterpage}[2014/10/28]% v1.08 After-Page Package (DPC)
+\usepackage{afterpage}[2023/07/04]% v1.08 After-Page Package (DPC)
  % The afterpage package is generally not needed,
  % but the |\newpagecolor{somecolor}\afterpage{\restorepagecolor}|
  % construct shall be demonstrated.
@@ -79,7 +79,7 @@
 \section*{Example for pagecolor}
 
 This example demonstrates the use of package\newline
-\textsf{pagecolor}, v1.2c as of 2023-04-18 (HMM).\newline
+\textsf{pagecolor}, v1.2d as of 2025-01-28 (HMM).\newline
 The used options were\newline
 \verb|pagecolor={LightGoldenrod1}|\newline
 (\verb|pagecolor={none}| would be the default), and\newline

Modified: trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv
===================================================================
--- trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv	2025-01-29 20:30:20 UTC (rev 73635)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv	2025-01-29 20:30:29 UTC (rev 73636)
@@ -9,10 +9,10 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2023-04-18 v1.2c
+%% Version: 2025-01-28 v1.2d
 %% Info: Provides thepagecolor
 %% 
-%% Copyright (C) 2011 - 2023 by
+%% Copyright (C) 2011 - 2025 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -40,11 +40,11 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
 \ProvidesFile{pagecolor.drv}%
-  [2023-04-18 v1.2c Provides thepagecolor (HMM)]
-\documentclass{ltxdoc}[2022/06/22]% v2.1i Standard LaTeX documentation class
-\usepackage{xcolor}[2022/06/12]%    v2.14 LaTeX color extensions (UK)
+  [2025-01-28 v1.2d Provides thepagecolor (HMM)]
+\documentclass{ltxdoc}[2024/02/08]% v2.1j Standard LaTeX documentation class
+\usepackage{xcolor}[2024/09/29]%    v3.02 LaTeX color extensions (UK)
 \usepackage{holtxdoc}[2019/12/09]%  v0.30 Private additional ltxdoc support (HO)
 \hypersetup{%
  pdfsubject={Providing the thepagecolor command (HMM)},%

Modified: trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx	2025-01-29 20:30:20 UTC (rev 73635)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx	2025-01-29 20:30:29 UTC (rev 73636)
@@ -1,10 +1,10 @@
 % \iffalse meta-comment
 %
 % File: pagecolor.dtx
-% Version: 2023-04-18 v1.2c
+% Version: 2025-01-28 v1.2d
 % Info: Provides thepagecolor
 %
-% Copyright © 2011 - 2023 by
+% Copyright © 2011 - 2025 by
 %    H.-Martin Münch <Martin dot Muench at Uni-Bonn dot de>
 %
 % This work may be distributed and/or modified under the
@@ -49,7 +49,7 @@
 \input docstrip.tex
 \Msg{******************************************************************}
 \Msg{* Installation                                                   *}
-\Msg{* Package: pagecolor 2023-04-18 v1.2c Provides thepagecolor (HMM)*}
+\Msg{* Package: pagecolor 2025-01-28 v1.2d Provides thepagecolor (HMM)*}
 \Msg{******************************************************************}
 
 \keepsilent
@@ -61,10 +61,10 @@
 This is a generated file.
 
 Project: pagecolor
-Version: 2023-04-18 v1.2c
+Version: 2025-01-28 v1.2d
 Info: Provides thepagecolor
 
-Copyright (C) 2011 - 2023 by
+Copyright (C) 2011 - 2025 by
     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 
 This work may be distributed and/or modified under the
@@ -145,11 +145,11 @@
 %
 %    \begin{macrocode}
 %<*driver>
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
 \ProvidesFile{pagecolor.drv}%
-  [2023-04-18 v1.2c Provides thepagecolor (HMM)]
-\documentclass{ltxdoc}[2022/06/22]% v2.1i Standard LaTeX documentation class
-\usepackage{xcolor}[2022/06/12]%    v2.14 LaTeX color extensions (UK)
+  [2025-01-28 v1.2d Provides thepagecolor (HMM)]
+\documentclass{ltxdoc}[2024/02/08]% v2.1j Standard LaTeX documentation class
+\usepackage{xcolor}[2024/09/29]%    v3.02 LaTeX color extensions (UK)
 \usepackage{holtxdoc}[2019/12/09]%  v0.30 Private additional ltxdoc support (HO)
 \hypersetup{%
  pdfsubject={Providing the thepagecolor command (HMM)},%
@@ -194,24 +194,24 @@
 %     }%^^A
 %   \expandafter\endgroup\x
 %
-% \DoNotIndex{\,,\@bsphack,\@esphack,\\}
-% \DoNotIndex{\documentclass,\usepackage,\begin,\end,\pagenumbering,\bigskip,\smallskip}
-% \DoNotIndex{\space,\newline,\noindent,\linebreak,\pagebreak,\section,\textbf,\textsf,\textit}
-% \DoNotIndex{\GenerateLogMacros,\holtxdoc,\Oberdiek,\hyperref,\kvoptions,\options,\OCG}
-% \DoNotIndex{\color,\gdef,\lipsum,\ifdefined,\IfPackageAtLeastTF,\IfFormatAtLeastTF}
-% \DoNotIndex{\IfPackageLoadedTF,\ifx,\MessageBreak}
-% \DoNotIndex{\Alternatives,\transparent,\newcommand,\verb,\listfiles,\newpage}
-% \DoNotIndex{\AddToHook,\afterpage,\Alternatives,\DeclareStringOption,\holtxdoc,\hyperref}
-% \DoNotIndex{\kvoptions,\NeedsTeXFormat,\Oberdiek,\OCG,\options}
-% \DoNotIndex{\PackageInfo,\PackageNoteNoLine,\PackageWarning,\PackageWarningNoLine}
-% \DoNotIndex{\pagecolortmpa,\pagecolortmpb,\pagecolortmpc,\pagecolortmpd,\pagecolortmpe,\pagecolortmpf}
-% \DoNotIndex{\ProcessKeyvalOptions,\ProvidesPackage,\renewcommand,\RequirePackage}
-% \DoNotIndex{\setkeys,\SetupKeyvalOptions,\transparent,\@ifl at t@r,\fmtversion,\PackageError}
+% \DoNotIndex{\ ,\,,\@bsphack,\@esphack,\\,\DeclareKeys,\NewCommandCopy,%
+% \documentclass,\usepackage,\begin,\end,\pagenumbering,\bigskip,\smallskip,%
+% \space,\newline,\noindent,\linebreak,\pagebreak,\section,\textbf,\textsf,\textit,%
+% \GenerateLogMacros,\holtxdoc,\Oberdiek,\hyperref,\kvoptions,\options,\OCG,%
+% \color,\gdef,\lipsum,\ifdefined,\IfPackageAtLeastTF,\IfFormatAtLeastTF,%
+% \IfPackageLoadedT,\IfPackageLoadedTF,\ifx,\MessageBreak,%
+% \Alternatives,\transparent,\newcommand,\verb,\listfiles,\newpage,%
+% \AddToHook,\afterpage,\Alternatives,\DeclareStringOption,\holtxdoc,\hyperref,%
+% \kvoptions,\NeedsTeXFormat,\Oberdiek,\OCG,\options,\orignopagecolor,\origpagecolor,%
+% \pagecolor at cl,\pagecolor at nopagecolor,\pagecolor at pagecolor,\ProcessKeyOptions,%
+% \providecommand,\PackageInfo,\PackageNoteNoLine,\PackageWarning,\PackageWarningNoLine,%
+% \pagecolortmpa,\pagecolortmpb,\pagecolortmpc,\pagecolortmpd,\pagecolortmpe,\pagecolortmpf,%
+% \ProcessKeyvalOptions,\ProvidesPackage,\renewcommand,\RequirePackage,%
+% \SetKeys,\SetupKeyvalOptions,\transparent,\@ifl at t@r,\fmtversion,\PackageError}
 %
 % \title{The \xpackage{pagecolor} package}
-% \date{2023-04-18 v1.2c}
 % \author{H.-Martin Münch\\\xemail{Martin.Muench at Uni-Bonn.de}}
-%
+% \date{2025-01-28 v1.2d}
 % \maketitle
 %
 % \begin{abstract}
@@ -221,12 +221,12 @@
 % The command |\thepagecolornone| gives the same color as |\thepagecolor|,
 % except when the page background color is
 % \textquotedblleft|none|\textquotedblright. In that case |\thepagecolor| is
-% |white| and |\thepagecolornone| is |none|.\\
+% |white| and |\thepagecolornone| is |none|.\newline
 % When |\nopagecolor| is unknown or in case of the \xpackage{crop} package
-% broken, this package provides a replacement.\\
+% broken, this package provides a replacement.\newline
 % Similar to |\newgeometry| and |\restoregeometry| of the \xpackage{geometry}
 % package |\newpagecolor{<|\textit{some color}|>}| and |\restorepagecolor|
-% are provided.\\
+% are provided.\newline
 % For use with the \xpackage{crop} package |\backgroundpagecolor{<|\textit{some color}|>}|
 % as well as |\newbackgroundpagecolor{<|\textit{some color}|>}| and \newline
 % |\restorebackgroundpagecolor| are provided.
@@ -264,7 +264,7 @@
 % Commands to change the background/outer/physical page color when using
 % \xpackage{crop} are provided. Similar to |\newgeometry| and |\restoregeometry|
 % of the \xpackage{geometry} package |\newpagecolor{<|\textit{some color}|>}|
-% and |\restorepagecolor| are provided.\\
+% and |\restorepagecolor| are provided.\newline
 % For use with the \xpackage{crop} package |\backgroundpagecolor{<|\textit{some color}|>}|
 % as well as |\newbackgroundpagecolor{<|\textit{some color}|>}| and
 % |\restorebackgroundpagecolor| are provided.
@@ -278,29 +278,26 @@
 % This should be done before another package uses |\pagecolor|.
 % Afterwards |\pagecolor{...}| can be used to change the page (background)
 % color as usual. Then |\thepagecolor| gives the current page (background)
-% color (in the same format as given with |\pagecolor{...}|).\\
+% color (in the same format as given with |\pagecolor{...}|).\newline
 % Similar to |\newgeometry| and |\restoregeometry| of the \xpackage{geometry}
-% package\\
+% package\newline
 % |\newpagecolor{<|\textit{some color}|>}| and |\restorepagecolor|
-% are provided:\\
+% are provided:\newline
 % |\newpagecolor{<|\textit{some color}|>}| will execute
 % |\pagecolor{<|\textit{some color}|>}| and remember the page color used before.
 % |\restorecolor| (without argument) restores the page color to the one used before
 %  use of the |\newpagecolor{...}| command. When you want to change the color for
-%  just one page and do not want to (or cannot) manually determine where that page ends,\\
-% |\newpagecolor{<|\textit{some color}|>}\afterpage{\restorepagecolor}|\\
+%  just one page and do not want to (or cannot) manually determine where that page ends,\newline
+% |\newpagecolor{<|\textit{some color}|>}\afterpage{\restorepagecolor}|\newline
 % does the trick (and requires a |\usepackage{afterpage}| in the document's
-% preamble), or for short
-%
-% \newpage
-%
-% \noindent|\newcommand{\onepagecolor}[1]{%|\\
-% |  \newpagecolor{#1}\afterpage{\restorepagecolor}}|\\
-% in the preamble and |\onepagecolor{<|\textit{some color}|>}| in the document.\\
+% preamble), or for short\newline
+% |\newcommand{\onepagecolor}[1]{%|\newline
+% |  \newpagecolor{#1}\afterpage{\restorepagecolor}}|\newline
+% in the preamble and |\onepagecolor{<|\textit{some color}|>}| in the document.\newline
 % When the \xpackage{crop} package is used, |\backgroundpagecolor{<|\textit{some color}|>}|
-% can be used to change the background/outer/physical page color and\\
-% |\newbackgroundpagecolor{<|\textit{some color}|>}%|\\
-% |\afterpage{\restorebackgroundpagecolor}%|\\
+% can be used to change the background/outer/physical page color and\newline
+% |\newbackgroundpagecolor{<|\textit{some color}|>}%|\newline
+% |\afterpage{\restorebackgroundpagecolor}%|\newline
 % for changing just one background/outer/physical page color.
 % There is \textbf{no} special command |\nobackgroundpagecolor|,
 %  but |\backgroundpagecolor{none}| and |\backgroundpagecolor{white}| can be used.
@@ -336,7 +333,7 @@
 %
 % As I neither know what exactly you want to accomplish
 % when using this package (e.\,g.~hiding text), nor what resources you have
-% (e.\,g.~\pdfTeX{} version), here is a list of possible alternatives:\\
+% (e.\,g.~\pdfTeX{} version), here is a list of possible alternatives:\bigskip
 %
 % \begin{description}
 %  \item[-] \xpackage{transparent} package: With it some object can be made
@@ -361,8 +358,8 @@
 % \section{Example}
 %    \begin{macrocode}
 %<*example>
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\documentclass[british]{article}[2022/07/02]% v1.4n Standard LaTeX document class
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
+\documentclass[british]{article}[2024/06/29]% v1.4n Standard LaTeX document class
 \usepackage[extension=pdf,%
  plainpages=false,%
  pdfpagelabels=true,%
@@ -374,18 +371,18 @@
  pdfkeywords={LaTeX, pagecolor, thepagecolor, page color, page colour},%
  pdfview=Fit,pdfstartview=Fit,%
  pdfpagelayout=SinglePage%
-]{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX
+]{hyperref}[2024-11-05]% v7.01l Hypertext links for LaTeX
 
-\usepackage[x11names]{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
+\usepackage[x11names]{xcolor}[2024/09/29]% v3.02 LaTeX color extensions (UK)
  % The xcolor package would not be needed for just using the base colors.
  % The color package would be sufficient for that.
 
- % \usepackage[cam,center,a3]{crop}[2017/11/19]% 1.10
+ % \usepackage[cam,center,a3]{crop}[2017/11/19]% v1.10
 
 \usepackage[pagecolor={LightGoldenrod1},%
-  nopagecolor={none}]{pagecolor}[2023-04-18]% v1.2c Provides thepagecolor (HMM)
+  nopagecolor={none}]{pagecolor}[2025-01-28]% v1.2d Provides thepagecolor (HMM)
 
-\usepackage{afterpage}[2014/10/28]% v1.08 After-Page Package (DPC)
+\usepackage{afterpage}[2023/07/04]% v1.08 After-Page Package (DPC)
  % The afterpage package is generally not needed,
  % but the |\newpagecolor{somecolor}\afterpage{\restorepagecolor}|
  % construct shall be demonstrated.
@@ -400,7 +397,7 @@
 \section*{Example for pagecolor}
 
 This example demonstrates the use of package\newline
-\textsf{pagecolor}, v1.2c as of 2023-04-18 (HMM).\newline
+\textsf{pagecolor}, v1.2d as of 2025-01-28 (HMM).\newline
 The used options were\newline
 \verb|pagecolor={LightGoldenrod1}|\newline
 (\verb|pagecolor={none}| would be the default), and\newline
@@ -512,8 +509,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\ProvidesPackage{pagecolor}[2023-04-18 v1.2c Provides thepagecolor (HMM)]
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
+\ProvidesPackage{pagecolor}[2025-01-28 v1.2d Provides thepagecolor (HMM)]
 %    \end{macrocode}
 %
 % A short description of the \xpackage{pagecolor} package:
@@ -526,33 +523,25 @@
 
 \providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
 
-\IfFormatAtLeastTF{2022/11/01}{\relax}{%
+\IfFormatAtLeastTF{2024/11/01}{}{%
   \PackageError{pagecolor}{Newer LaTeX format needed or older pagecolor package%
-    }{Needed LaTeX format version: 2022-11-01 or newer.\MessageBreak%
+    }{Needed LaTeX format version: 2024-11-01 or newer.\MessageBreak%
       Found\space\space LaTeX format version: \fmtversion.\MessageBreak%
-      Either update your TeX distribution\MessageBreak%
-      or use an archived version of pagecolor\MessageBreak%
-      (see section History in the documentation).\MessageBreak%
+      Please update your TeX distribution.%
      }
   }
 
 %    \end{macrocode}
 %
-% We need the \xpackage{kvoptions} package:
+% We need the \xpackage{color} or the \xpackage{xcolor} package:
 %
 %    \begin{macrocode}
-\RequirePackage{kvoptions}[2022-06-15]% v3.15 Key value format for package options (HO)
-%    \end{macrocode}
-%
-% and either the \xpackage{color} or the \xpackage{xcolor} package:
-%
-%    \begin{macrocode}
 %% \RequirePackage{ either color or xcolor }:
 \IfPackageLoadedTF{xcolor}{% xcolor loaded
-   \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
+   \RequirePackage{xcolor}[2024/09/29]% v3.02 LaTeX color extensions (UK)
  }{% xcolor not loaded
    \IfPackageLoadedTF{color}{%
-      \RequirePackage{color}[2022-01-06]% v1.3d Standard LaTeX Color (DPC)
+      \RequirePackage{color}[2024-06-23]% v1.3e Standard LaTeX Color (DPC)
     }{\PackageWarningNoLine{pagecolor}{%
         The pagecolor package must be loaded after either\MessageBreak%
         package color or after package xcolor (at your\MessageBreak%
@@ -564,19 +553,25 @@
         option for xcolor package, this will not work%
        }
      }
-   \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
+   \RequirePackage{xcolor}[2024/09/29]% v3.02 LaTeX color extensions (UK)
   }
 
 %    \end{macrocode}
 %
-% We process the options:
+% For the handling of the options we use the kernel commands:
 %
 %    \begin{macrocode}
-\SetupKeyvalOptions{family=pagecolor,prefix=pagecolor@}
-\DeclareStringOption[none]{pagecolor}%   \pagecolor at pagecolor
-\DeclareStringOption[none]{nopagecolor}% \pagecolor at nopagecolor
-\ProcessKeyvalOptions*
+\DeclareKeys[pagecolor]
+ {pagecolor   .store = \pagecolor at pagecolor ,
+  pagecolor   .usage = preamble ,
+  nopagecolor .store = \pagecolor at nopagecolor ,
+  nopagecolor .usage = preamble
+ }
 
+\SetKeys[pagecolor]{pagecolor=white,nopagecolor=none}
+
+\ProcessKeyOptions[pagecolor]
+
 %    \end{macrocode}
 %    \begin{macro}{\nopagecolor}\label{nopagecolor}
 %
@@ -593,12 +588,12 @@
       Option nopagecolor=none requested but \string\nopagecolor\space unknown:\MessageBreak%
       By option nopagecolor the "color" to be used with \string\nopagecolor\MessageBreak%
       is set. The current value is "none" (maybe by default),\MessageBreak%
-      but command \string\nopagecolor\ is undefined.\MessageBreak%
+      but command \string\nopagecolor\space is undefined.\MessageBreak%
       Therefore the color cannot be "none".\MessageBreak%
       Please change the option accordingly! -\MessageBreak%
       As first aid nopagecolor is now set to white%
      }
-    \setkeys{pagecolor}{nopagecolor=white}
+    \SetKeys[pagecolor]{nopagecolor=white}
   \fi
   \edef\pagecolortmpa{\pagecolor at pagecolor}
   \ifx\pagecolortmpa\pagecolortmpb\relax
@@ -608,7 +603,7 @@
       Please use another option value;\MessageBreak%
       \pagecolor at nopagecolor\ will be used now%
      }
-    \setkeys{pagecolor}{pagecolor={\pagecolor at nopagecolor}}
+    \SetKeys[pagecolor]{pagecolor={\pagecolor at nopagecolor}}
   \fi
   \newcommand{\nopagecolor}{\pagecolor{\pagecolor at nopagecolor}}
 \fi
@@ -620,7 +615,7 @@
 %    \begin{macro}{\pagecolor}
 % We save the original |\pagecolor| command,
 %    \begin{macrocode}
-\let\origpagecolor\pagecolor
+\NewCommandCopy{\origpagecolor}{\pagecolor}
 
 %    \end{macrocode}
 % before we redefine it to include a definition of |\thepagecolor|
@@ -661,7 +656,7 @@
 % see page~\pageref{nopagecolor}. But additionally |\nopagecolor| does not work
 % if the \xpackage{crop} package is used. A workaround needs to be defined:
 %    \begin{macrocode}
-\let\orignopagecolor\nopagecolor\relax
+\NewCommandCopy{\orignopagecolor}{\nopagecolor}
 
 \gdef\pagecolor at cl{0}
 \IfPackageLoadedTF{crop}{% crop loaded
@@ -684,7 +679,7 @@
       Please change the option accordingly!\MessageBreak%
       As first aid nopagecolor is now set to white%
      }
-    \setkeys{pagecolor}{nopagecolor=white}
+    \SetKeys[pagecolor]{nopagecolor=white}
   \fi
   \renewcommand{\nopagecolor}{\pagecolor{\pagecolor at nopagecolor}}
  }{% crop not loaded
@@ -708,7 +703,7 @@
 
 %    \end{macrocode}
 %
-% Now the page (background) color as well as |\thepagecolor| are\\
+% Now the page (background) color as well as |\thepagecolor| are\newline
 % |\pagecolor at pagecolor|. |\thepagecolornone| is |none|, if that color is known,
 % otherwise it is |\pagecolor at nopagecolor|, and if that was |none| (but that unknown),
 % it is |white|. If |\pagecolor at pagecolor| was |none|,
@@ -754,8 +749,8 @@
 % was used before it.
 %
 % When you want to change the color for just one page and do not want to
-% (or cannot) manually determine where the page ends,\\
-% |\newpagecolor{<|\textit{some color}|>}\afterpage{\restorepagecolor}|\\
+% (or cannot) manually determine where the page ends,\newline
+% |\newpagecolor{<|\textit{some color}|>}\afterpage{\restorepagecolor}|\newline
 % does the trick (and requires an additional |\usepackage{afterpage}| in the
 % document's preamble).
 %
@@ -837,7 +832,7 @@
   \def\pagecolortmpb{0}%
   \ifx\pagecolor at cl\pagecolortmpb\relax%
     % crop not loaded before pagecolor, but maybe afterwards:
-    \IfPackageLoadedTF{crop}{% crop indeed loaded afterwards.
+    \IfPackageLoadedT{crop}{% crop indeed loaded afterwards.
       \gdef\pagecolor at cl{1}%
       \PackageInfo{pagecolor}{\string\nopagecolor\space did not work with the crop package\MessageBreak%
         2017/11/19 v1.10. Using\MessageBreak%
@@ -856,17 +851,13 @@
           Please change the option accordingly!\MessageBreak%
           As first aid nopagecolor is now set to white%
          }%
-        \setkeys{pagecolor}{nopagecolor=white}%
+        \SetKeys[pagecolor]{nopagecolor=white}%
       \fi%
       \renewcommand{\nopagecolor}{\pagecolor{\pagecolor at nopagecolor}}%
-     }{% crop neither loaded afterwards.
       }%
   \fi%
   }
 
-%    \end{macrocode}
-%
-%    \begin{macrocode}
 %</package>
 %    \end{macrocode}
 %
@@ -873,15 +864,15 @@
 % \section{Installation}
 % \subsection{Downloads}
 % Everything is available at \url{https://ctan.org},
-% but may need additional packages themselves.\\
+% but may need additional packages themselves.\bigskip
 %
 % \DescribeMacro{pagecolor.dtx}
 % For unpacking the |pagecolor.dtx| file and constructing the documentation
 % it is required:
 % \begin{description}
-% \item[-] \TeX-format \LaTeXe{} 2022-11-01 or newer: \url{https://www.CTAN.org/}
+% \item[-] \TeX-format \LaTeXe{} 2024-11-01 or newer: \url{https://www.CTAN.org/}
 %
-% \item[-] document class \xclass{ltxdoc}, 2022/06/22, v2.1i,
+% \item[-] document class \xclass{ltxdoc}, 2024/02/08, v2.1j,
 %   \url{https://ctan.org/pkg/ltxdoc}
 %
 % \item[-] package \xpackage{holtxdoc}, 2019/12/09, v0.30,
@@ -892,13 +883,10 @@
 % The |pagecolor.sty| for \LaTeXe{} (i.\,e.~each document using
 % the \xpackage{pagecolor} package) requires:
 % \begin{description}
-% \item[-] \TeX{}-format \LaTeXe{} 2022-11-01 or newer, \url{https://www.CTAN.org/}
+% \item[-] \TeX{}-format \LaTeXe{} 2024-11-01 or newer, \url{https://www.CTAN.org}
 %
-% \item[-] package \xpackage{kvoptions}, 2022-06-15, v3.15,
-%   \url{https://ctan.org/pkg/kvoptions}
-%
-% \item[-] package \xpackage{pagecolor}, 2023-04-18, v1.2c,
-%   \url{https://ctan.org/pkg/pagecolor}\\
+% \item[-] package \xpackage{pagecolor}, 2025-01-28, v1.2d,
+%   \url{https://ctan.org/pkg/pagecolor}\newline
 %   (Because you are reading the documentation for the
 %    \xpackage{pagecolor} package, it can be assumed that you already
 %    have some version of it~-- is it the current one?)
@@ -905,13 +893,13 @@
 % \end{description}
 % and either
 % \begin{description}
-% \item[-] package \xpackage{xcolor}, 2022/06/12, v2.14,
+% \item[-] package \xpackage{xcolor}, 2024/09/29, v3.02,
 %           \url{https://ctan.org/pkg/xcolor}
 % \end{description}
 % or
 % \begin{description}
-% \item[-] package \xpackage{color}, 2022-01-06, v1.3d,
-%           \url{https://ctan.org/pkg/color} (from the\\
+% \item[-] package \xpackage{color}, 2024-06-23, v1.3e,
+%           \url{https://ctan.org/pkg/color} (from the\newline
 %           \xpackage{graphics} package bundle).
 % \end{description}
 %
@@ -920,21 +908,21 @@
 % documents using the \xpackage{pagecolor} package
 % (see preceding paragraph |pagecolor.sty|) and additionally:
 % \begin{description}
-% \item[-] class \xpackage{article}, 2022/07/02, v1.4n, from \xpackage{classes}:\\
+% \item[-] class \xpackage{article}, 2024/06/29, v1.4n, from \xpackage{classes}:\newline
 %           \url{https://ctan.org/pkg/classes}
 %
-% \item[-] package \xpackage{xcolor}, 2022/06/12, v2.14,
-%           \url{https://ctan.org/pkg/xcolor}\\
+% \item[-] package \xpackage{xcolor}, 2024/09/29, v3.02,
+%           \url{https://ctan.org/pkg/xcolor}\newline
 %           This package would not be needed for the use of just base colors only,
 %           the \xpackage{color} package would be sufficient for that.
 %
-% \item[-] package \xpackage{afterpage}, 2014/10/28, v1.08,
-%           \url{https://ctan.org/pkg/afterpage}\\
-%           This package is only needed for demonstrating the\\
+% \item[-] package \xpackage{afterpage}, 2023/07/04, v1.08,
+%           \url{https://ctan.org/pkg/afterpage}\newline
+%           This package is only needed for demonstrating the\newline
 %           |\newpagecolor{somecolor}\afterpage{\restorepagecolor}| construct.
 %
 % \item[-] package \xpackage{lipsum}, 2021-09-20, v2.7,
-%           \url{https://ctan.org/pkg/lipsum}\\
+%           \url{https://ctan.org/pkg/lipsum}\newline
 %           This package is only needed for some blind text.
 % \end{description}
 %
@@ -944,31 +932,29 @@
 % As possible alternatives in section~\ref{s:Alternatives}, Alternatives,
 % there are listed (newer versions might be available):
 % \begin{description}
-% \item[-] package \xpackage{transparent}, 2022-10-27, v1.5,\\
+% \item[-] package \xpackage{transparent},\newline
 %           \url{https://ctan.org/pkg/transparent}
 %
-% \item[-] OCG (Optional Content Groups),\\
+% \item[-] OCG (Optional Content Groups),\newline
 %           \url{https://ctan.org/search?phrase=ocg}
 % \end{description}
 %
 % \DescribeMacro{Oberdiek}
 % \DescribeMacro{holtxdoc}
-% \DescribeMacro{kvoptions}
-% All packages of the `oberdiek' bundle
-% (especially \xpackage{holtxdoc} and \xpackage{kvoptions})
-% are also available in a TDS compliant ZIP archive:\\
-% \url{https://mirror.ctan.org/install/macros/latex/contrib/oberdiek.tds.zip}.\\
+% All packages of the `oberdiek' bundle (especially \xpackage{holtxdoc})
+% are also available in a TDS compliant ZIP archive:\newline
+% \url{https://mirror.ctan.org/install/macros/latex/contrib/oberdiek.tds.zip}.\newline
 % It is probably best to download and use this, because the packages in there
-% are quite probably both recent and compatible among themselves.\\
+% are quite probably both recent and compatible among themselves.\bigskip
 %
 % \DescribeMacro{hyperref}
 % \noindent \xpackage{hyperref} is not included in that bundle and needs to be
-% downloaded separately,\\
-% \url{https://mirror.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\\
+% downloaded separately,\newline
+% \url{https://mirror.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\bigskip
 %
 % \DescribeMacro{Münch}
 % A hyperlinked list of my (other) packages can be found at
-% \url{https://ctan.org/author/muench-hm}.\\
+% \url{https://ctan.org/author/muench-hm}.\bigskip
 %
 % \subsection{Package, unpacking TDS}
 % \paragraph{Package.} This package is available on \url{https://www.CTAN.org}.
@@ -979,7 +965,7 @@
 %       The documentation.
 % \item[\url{https://mirror.ctan.org/macros/latex/contrib/pagecolor/pagecolor-example.pdf}]\hspace*{0.1cm}
 %       The compiled example file, as it should look like.
-% \item[\url{https://mirror.ctan.org/macros/latex/contrib/pagecolor/README}]\hspace*{0.1cm}\\
+% \item[\url{https://mirror.ctan.org/macros/latex/contrib/pagecolor/README}]\hspace*{0.1cm}\newline
 %       \hspace*{1em}The README file.
 % \end{description}
 %
@@ -988,7 +974,7 @@
 % \item[\url{https://mirror.ctan.org/install/macros/latex/contrib/pagecolor.tds.zip}]\hspace*{0.1cm}
 %       Everything in TDS compliant, compiled format.
 % \end{description}
-% which additionally contains\\
+% which additionally contains\newline
 % \begin{tabular}{ll}
 % pagecolor.ins & The installation file.\\
 % pagecolor.drv & The driver to generate the documentation.\\
@@ -1007,7 +993,7 @@
 %   \verb|tex pagecolor.dtx|
 % \end{quote}
 %
-% About generating the documentation see paragraph~\ref{GenDoc} below.\\
+% About generating the documentation see paragraph~\ref{GenDoc} below.\bigskip
 %
 % \paragraph{TDS.} Now the different files must be moved into
 % the different directories in your installation TDS tree
@@ -1019,7 +1005,7 @@
 %   pagecolor.pdf & doc/latex/pagecolor/pagecolor.pdf\\
 %   pagecolor-example.tex & doc/latex/pagecolor/pagecolor-example.tex\\
 %   pagecolor-example.pdf & doc/latex/pagecolor/pagecolor-example.pdf\\
-%   pagecolor.dtx & source/latex/pagecolor/pagecolor.dtx\\
+%   pagecolor.dtx & source/latex/pagecolor/pagecolor.dtx
 % \end{tabular}^^A
 % }^^A
 % \sbox0{\t}^^A
@@ -1132,12 +1118,11 @@
 %
 % \subsection{Compiling the example}
 %
-% The example file, \textsf{pagecolor-example.tex}, can be compiled via\\
-% |(pdf)latex pagecolor-example.tex|\\
+% The example file, \textsf{pagecolor-example.tex}, can be compiled via\newline
+% |(pdf)latex pagecolor-example.tex|\newline
 % and needs at least two compilation runs.
 %
 % \section{Acknowledgements}
-%
 % I would like to thank \textsc{Heiko Oberdiek} for providing a lot of
 % useful packages (from which I also got everything I know about creating
 % a file in \xext{dtx} format, ok, say it: copying), and the
@@ -1145,9 +1130,9 @@
 % for their help in all things \TeX{}, especially all contributors to the
 % discussion at
 % \url{https://groups.google.com/g/comp.text.tex/c/UzV26-RNYPY}%
-% \ (\textsc{H.~Oberdiek} \& \textsc{Gouailles}).\\
+% \ (\textsc{H.~Oberdiek} \& \textsc{Gouailles}).\newline
 % I thank \textsc{haoyun\_tex} for suggesting the |\newpagecolor|/|\restorepagecolor|
-% pair of commands and everyone at \url{https://tex.stackexchange.com/q/25137/6865}
+% pair of commands and everyone at \url{https://tex.stackexchange.com/q/25137}
 % for their contributions there. Thanks go to \textsc{Heiner Richter}
 % for finding a bug, to \textsc{Johannes Böttcher} for reporting it,
 % and to \textsc{Reuben Thomas} for suggestions for improvements
@@ -1162,7 +1147,7 @@
 %     \item Changed version uploaded to the CTAN.
 %   \end{Version}
 %   \begin{Version}{2011/08/08 v1.0c}
-%     \item Fixed a |\setkeys|.
+%     \item Fixed a |\SetKeys|.
 %   \end{Version}
 %   \begin{Version}{2012/02/01 v1.0d}
 %     \item Bugfix: Obsolete installation path given in the documentation, updated.
@@ -1172,8 +1157,8 @@
 %   \begin{Version}{2012/02/23 v1.0e}
 %     \item Fixed an error in the documentation.
 %     \item Check for loading of \xpackage{color} or \xpackage{xcolor} package
-%             and their versions has been changed, because \xpackage{xcolor} sets\\
-%             |\@namedef{ver at color.sty}{1999/02/16}|\\
+%             and their versions has been changed, because \xpackage{xcolor} sets\newline
+%             |\@namedef{ver at color.sty}{1999/02/16}|\newline
 %             which gave a warning about old \xpackage{color} package even if a new
 %             version was used.
 %   \end{Version}
@@ -1195,8 +1180,6 @@
 %   \begin{Version}{2017/05/29 v1.0i}
 %     \item Documentation update following suggestions for improvements by
 %             \textsc{Reuben Thomas}, thanks!
-%     \item This version has been archived at\\
-%             \url{https://web.archive.org/web/20220120221237/https://mirror.ctan.org/install/macros/latex/contrib/pagecolor.tds.zip}
 %   \end{Version}
 %   \begin{Version}{2022-11-20 v1.1a}
 %     \item Replaced all |colour| (with |u|) by |color| (without |u|).
@@ -1222,6 +1205,10 @@
 %     \item Bug fix: There was an |undolabl| where a |pagecolor| belongs.
 %     \item Documentation and README updates.
 %   \end{Version}
+%   \begin{Version}{2025-01-28 v1.2d}
+%     \item No longer uses the \xpackage{kvoptions} package but kernel methods.
+%     \item Documentation update.
+%   \end{Version}
 % \end{History}
 %
 % \bigskip

Modified: trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins	2025-01-29 20:30:20 UTC (rev 73635)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins	2025-01-29 20:30:29 UTC (rev 73636)
@@ -9,10 +9,10 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2023-04-18 v1.2c
+%% Version: 2025-01-28 v1.2d
 %% Info: Provides thepagecolor
 %% 
-%% Copyright (C) 2011 - 2023 by
+%% Copyright (C) 2011 - 2025 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -43,7 +43,7 @@
 \input docstrip.tex
 \Msg{******************************************************************}
 \Msg{* Installation                                                   *}
-\Msg{* Package: pagecolor 2023-04-18 v1.2c Provides thepagecolor (HMM)*}
+\Msg{* Package: pagecolor 2025-01-28 v1.2d Provides thepagecolor (HMM)*}
 \Msg{******************************************************************}
 
 \keepsilent
@@ -55,10 +55,10 @@
 This is a generated file.
 
 Project: pagecolor
-Version: 2023-04-18 v1.2c
+Version: 2025-01-28 v1.2d
 Info: Provides thepagecolor
 
-Copyright (C) 2011 - 2023 by
+Copyright (C) 2011 - 2025 by
     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 
 This work may be distributed and/or modified under the

Modified: trunk/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty	2025-01-29 20:30:20 UTC (rev 73635)
+++ trunk/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty	2025-01-29 20:30:29 UTC (rev 73636)
@@ -9,10 +9,10 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2023-04-18 v1.2c
+%% Version: 2025-01-28 v1.2d
 %% Info: Provides thepagecolor
 %% 
-%% Copyright (C) 2011 - 2023 by
+%% Copyright (C) 2011 - 2025 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -40,8 +40,8 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\ProvidesPackage{pagecolor}[2023-04-18 v1.2c Provides thepagecolor (HMM)]
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
+\ProvidesPackage{pagecolor}[2025-01-28 v1.2d Provides thepagecolor (HMM)]
 %% Provides the \thepagecolor, \thepagecolornone, \newpagecolor{...},
 %% \restorepagecolor, \backgroundpagecolor, \newbackgroundpagecolor{...},
 %% and \restorebackgroundpagecolor commands and a replacement for the
@@ -49,23 +49,20 @@
 
 \providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
 
-\IfFormatAtLeastTF{2022/11/01}{\relax}{%
+\IfFormatAtLeastTF{2024/11/01}{}{%
   \PackageError{pagecolor}{Newer LaTeX format needed or older pagecolor package%
-    }{Needed LaTeX format version: 2022-11-01 or newer.\MessageBreak%
+    }{Needed LaTeX format version: 2024-11-01 or newer.\MessageBreak%
       Found\space\space LaTeX format version: \fmtversion.\MessageBreak%
-      Either update your TeX distribution\MessageBreak%
-      or use an archived version of pagecolor\MessageBreak%
-      (see section History in the documentation).\MessageBreak%
+      Please update your TeX distribution.%
      }
   }
 
-\RequirePackage{kvoptions}[2022-06-15]% v3.15 Key value format for package options (HO)
 %% \RequirePackage{ either color or xcolor }:
 \IfPackageLoadedTF{xcolor}{% xcolor loaded
-   \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
+   \RequirePackage{xcolor}[2024/09/29]% v3.02 LaTeX color extensions (UK)
  }{% xcolor not loaded
    \IfPackageLoadedTF{color}{%
-      \RequirePackage{color}[2022-01-06]% v1.3d Standard LaTeX Color (DPC)
+      \RequirePackage{color}[2024-06-23]% v1.3e Standard LaTeX Color (DPC)
     }{\PackageWarningNoLine{pagecolor}{%
         The pagecolor package must be loaded after either\MessageBreak%
         package color or after package xcolor (at your\MessageBreak%
@@ -77,14 +74,20 @@
         option for xcolor package, this will not work%
        }
      }
-   \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
+   \RequirePackage{xcolor}[2024/09/29]% v3.02 LaTeX color extensions (UK)
   }
 
-\SetupKeyvalOptions{family=pagecolor,prefix=pagecolor@}
-\DeclareStringOption[none]{pagecolor}%   \pagecolor at pagecolor
-\DeclareStringOption[none]{nopagecolor}% \pagecolor at nopagecolor
-\ProcessKeyvalOptions*
+\DeclareKeys[pagecolor]
+ {pagecolor   .store = \pagecolor at pagecolor ,
+  pagecolor   .usage = preamble ,
+  nopagecolor .store = \pagecolor at nopagecolor ,
+  nopagecolor .usage = preamble
+ }
 
+\SetKeys[pagecolor]{pagecolor=white,nopagecolor=none}
+
+\ProcessKeyOptions[pagecolor]
+
 \ifdefined\nopagecolor\relax
 \else
   \PackageNoteNoLine{pagecolor}{\string\nopagecolor\ is undefined}
@@ -95,12 +98,12 @@
       Option nopagecolor=none requested but \string\nopagecolor\space unknown:\MessageBreak%
       By option nopagecolor the "color" to be used with \string\nopagecolor\MessageBreak%
       is set. The current value is "none" (maybe by default),\MessageBreak%
-      but command \string\nopagecolor\ is undefined.\MessageBreak%
+      but command \string\nopagecolor\space is undefined.\MessageBreak%
       Therefore the color cannot be "none".\MessageBreak%
       Please change the option accordingly! -\MessageBreak%
       As first aid nopagecolor is now set to white%
      }
-    \setkeys{pagecolor}{nopagecolor=white}
+    \SetKeys[pagecolor]{nopagecolor=white}
   \fi
   \edef\pagecolortmpa{\pagecolor at pagecolor}
   \ifx\pagecolortmpa\pagecolortmpb\relax
@@ -110,12 +113,12 @@
       Please use another option value;\MessageBreak%
       \pagecolor at nopagecolor\ will be used now%
      }
-    \setkeys{pagecolor}{pagecolor={\pagecolor at nopagecolor}}
+    \SetKeys[pagecolor]{pagecolor={\pagecolor at nopagecolor}}
   \fi
   \newcommand{\nopagecolor}{\pagecolor{\pagecolor at nopagecolor}}
 \fi
 
-\let\origpagecolor\pagecolor
+\NewCommandCopy{\origpagecolor}{\pagecolor}
 
 \renewcommand{\pagecolor}[1]{\@bsphack%
   \edef\pagecolortmpa{#1}%
@@ -145,7 +148,7 @@
   \@esphack%
 }
 
-\let\orignopagecolor\nopagecolor\relax
+\NewCommandCopy{\orignopagecolor}{\nopagecolor}
 
 \gdef\pagecolor at cl{0}
 \IfPackageLoadedTF{crop}{% crop loaded
@@ -168,7 +171,7 @@
       Please change the option accordingly!\MessageBreak%
       As first aid nopagecolor is now set to white%
      }
-    \setkeys{pagecolor}{nopagecolor=white}
+    \SetKeys[pagecolor]{nopagecolor=white}
   \fi
   \renewcommand{\nopagecolor}{\pagecolor{\pagecolor at nopagecolor}}
  }{% crop not loaded
@@ -226,7 +229,7 @@
   \def\pagecolortmpb{0}%
   \ifx\pagecolor at cl\pagecolortmpb\relax%
     % crop not loaded before pagecolor, but maybe afterwards:
-    \IfPackageLoadedTF{crop}{% crop indeed loaded afterwards.
+    \IfPackageLoadedT{crop}{% crop indeed loaded afterwards.
       \gdef\pagecolor at cl{1}%
       \PackageInfo{pagecolor}{\string\nopagecolor\space did not work with the crop package\MessageBreak%
         2017/11/19 v1.10. Using\MessageBreak%
@@ -245,10 +248,9 @@
           Please change the option accordingly!\MessageBreak%
           As first aid nopagecolor is now set to white%
          }%
-        \setkeys{pagecolor}{nopagecolor=white}%
+        \SetKeys[pagecolor]{nopagecolor=white}%
       \fi%
       \renewcommand{\nopagecolor}{\pagecolor{\pagecolor at nopagecolor}}%
-     }{% crop neither loaded afterwards.
       }%
   \fi%
   }



More information about the tex-live-commits mailing list.