texlive[65843] Master/texmf-dist: pagecolor (15feb23)

commits+karl at tug.org commits+karl at tug.org
Wed Feb 15 21:37:41 CET 2023


Revision: 65843
          http://tug.org/svn/texlive?view=revision&revision=65843
Author:   karl
Date:     2023-02-15 21:37:40 +0100 (Wed, 15 Feb 2023)
Log Message:
-----------
pagecolor (15feb23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/pagecolor/README
    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

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-crop-example.pdf

Modified: trunk/Master/texmf-dist/doc/latex/pagecolor/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pagecolor/README	2023-02-15 20:36:59 UTC (rev 65842)
+++ trunk/Master/texmf-dist/doc/latex/pagecolor/README	2023-02-15 20:37:40 UTC (rev 65843)
@@ -1,4 +1,4 @@
-README for pagecolor package, 2022-11-27, v1.2a
+README for pagecolor package, 2023-02-14, v1.2b
 
 
 TABLE OF CONTENTS
@@ -38,8 +38,8 @@
 https://www.latex-project.org/lppl/lppl-1-3c.txt
 and the latest version of this license is in
 https://www.latex-project.org/lppl.txt
-and version 1.3c or later is part of all distributions of LaTeX version
-2005-12-01 or later.
+and version 1.3c or later is part of all distributions of
+LaTeX version 2005-12-01 or later.
 
 
 2 DOWNLOAD
@@ -52,10 +52,10 @@
 the manual (pagecolor.pdf), the example (pagecolor-example.tex),
 the compiled example (pagecolor-example.pdf),
 driver (pagecolor.drv), pagecolor.dtx,
-installation file (pagecolor.ins), 
+installation file (pagecolor.ins),
 the style file (pagecolor.sty),
 and this README, already sorted in a TDS tree:
-https://mirrors.ctan.org/install/macros/latex/contrib/pagecolor.tds.zip
+https://mirror.ctan.org/install/macros/latex/contrib/pagecolor.tds.zip
 
 
 3 INSTALLATION
@@ -92,8 +92,8 @@
      pdflatex pagecolor.dtx
      makeindex -s gind.ist pagecolor.idx
      pdflatex pagecolor.dtx
-e) Update the databases if necessary, e.g. for teTeX:
-     mktexlsr .../texmf
+e) Update the databases if necessary, e.g. for TeXLive
+     texhash or mktexlsr.
 f) Create the pagecolor-example.pdf, if necessary, e.g.
      pdflatex pagecolor-example.tex
      pdflatex pagecolor-example.tex
@@ -108,8 +108,9 @@
 =====================
 
 pagecolor loads other packages:
-- kvoptions and 
-- xcolor, if the color package has not been loaded before pagecolor 
+- hardwrap
+- kvoptions
+- xcolor, if the color package has not been loaded before pagecolor
 which again load other packages
 (see the result of the \listfiles command in the log-file
  of the example).

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

Index: trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-crop-example.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-crop-example.pdf	2023-02-15 20:36:59 UTC (rev 65842)
+++ trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-crop-example.pdf	2023-02-15 20:37:40 UTC (rev 65843)

Property changes on: trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-crop-example.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
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	2023-02-15 20:36:59 UTC (rev 65842)
+++ trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex	2023-02-15 20:37:40 UTC (rev 65843)
@@ -9,9 +9,9 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2022-11-27 v1.2a
+%% Version: 2023-02-14 v1.2b
 %% 
-%% Copyright (C) 2011 - 2022 by
+%% Copyright (C) 2011 - 2023 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -39,10 +39,9 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2021-11-15]
-\documentclass[british]{article}[2021/10/04]% v1.4n
-\usepackage[%
- extension=pdf,%
+\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\documentclass[british]{article}[2022/07/02]% v1.4n Standard LaTeX document class
+\usepackage[extension=pdf,%
  plainpages=false,%
  pdfpagelabels=true,%
  hyperindex=false,%
@@ -53,9 +52,9 @@
  pdfkeywords={LaTeX, pagecolor, thepagecolor, page color, page colour},%
  pdfview=Fit,pdfstartview=Fit,%
  pdfpagelayout=SinglePage%
-]{hyperref}[2022-02-21]% v7.00n
+]{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX
 
-\usepackage[x11names]{xcolor}[2021/10/31]% v2.13
+\usepackage[x11names]{xcolor}[2022/06/12]% v2.14 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.
 
@@ -62,14 +61,14 @@
  % \usepackage[cam,center,a3]{crop}[2017/11/19]% 1.10
 
 \usepackage[pagecolor={LightGoldenrod1},%
-  nopagecolor={none}]{pagecolor}[2022-11-27]% v1.2a
+  nopagecolor={none}]{pagecolor}[2023-02-14]% v1.2b Provides thepagecolor (HMM)
 
-\usepackage{afterpage}[2014/10/28]% v1.08
+\usepackage{afterpage}[2014/10/28]% v1.08 After-Page Package (DPC)
  % The afterpage package is generally not needed,
  % but the |\newpagecolor{somecolor}\afterpage{\restorepagecolor}|
  % construct shall be demonstrated.
 
-\usepackage{lipsum}[2021-09-20]% v2.7
+\usepackage{lipsum}[2021-09-20]% v2.7 150 paragraphs of Lorem Ipsum dummy text
  % The lipsum package is generally not needed,
  % but some blind text is needed for the example.
 
@@ -79,7 +78,7 @@
 \section*{Example for pagecolor}
 
 This example demonstrates the use of package\newline
-\textsf{pagecolor}, v1.2a as of 2022-11-27 (HMM).\newline
+\textsf{pagecolor}, v1.2b as of 2023-02-14 (HMM).\newline
 The used options were\newline
 \verb|pagecolor={LightGoldenrod1}|\newline
 (\verb|pagecolor={none}| would be the default), and\newline
@@ -93,7 +92,7 @@
 which would only be different from \verb|\thepagecolor|,
 when the page color would be \verb|none|).
 
-\pagebreak
+\newpage
 \pagecolor{rgb:-green!40!yellow,3;green!40!yellow,2;red,1}
 
 {\color{white} The current page (background) color is\newline
@@ -104,18 +103,18 @@
 {\color{white} Which made the preceding line of text practically
 invisible, but it can be copied and pasted.}
 
-\pagebreak
+\newpage
 \newpagecolor{red}
 
 This page uses \verb|\newpagecolor{red}|.
 
-\pagebreak
+\newpage
 \restorepagecolor
 
 {\color{white}And this page uses \verb|\restorepagecolor| to restore
 the page color to the value it had before the red page.}
 
-\pagebreak
+\newpage
 \pagecolor{none}
 
 This page uses \verb|\pagecolor{none}|. If the \verb|\nopagecolor|
@@ -126,17 +125,17 @@
 \verb|\thepagecolor|\ =\ \thepagecolor\ and
 \verb|\thepagecolornone|\ =\ \thepagecolornone .
 
-\pagebreak
+\newpage
 \restorepagecolor
 
 {\color{white}\verb|\restorepagecolor| restored the page color again.}
 
-\pagebreak
+\newpage
 \pagecolor{green}
 
 This page is green due to \verb|\pagecolor{green}|.
 
-\pagebreak
+\newpage
 \newpagecolor{blue}\afterpage{\restorepagecolor}
 
 {\color{white}\verb|\newpagecolor{blue}\afterpage{\restorepagecolor}|%
@@ -152,8 +151,7 @@
 The page color was changed back at the end of the page --
 in mid-sentence!
 
-\pagebreak
-
+\newpage
 \backgroundpagecolor{pink}
 
 When activating the loading of the crop package in the preamble of this
@@ -160,11 +158,23 @@
 document, \verb|\backgroundpagecolor{<|\textit{some color}\verb|>}|
 changes the color of the background/outer/physical page.
 
+\newpage
+\newbackgroundpagecolor{blue}
+
 Analogous to \verb|\newpagecolor{...}| and \verb|\restorepagecolor|,
 for the background/outer/physical page
 \verb|\newbackgroundpagecolor{<|\textit{some color}\verb|>}| and\linebreak
-\verb|\restorebackgroundpagecolor| are provided (but not demonstrated
-here).
+\verb|\restorebackgroundpagecolor| are provided.
+
+Here \verb|\newbackgroundpagecolor{blue}| colored that
+background/outer/physical page in blue (if crop is used).
+
+\newpage
+\restorebackgroundpagecolor
+
+And here the pink color of the background/outer/physical page
+was restored by \verb|\restorebackgroundpagecolor| (if crop is used).
+
 \end{document}
 \endinput
 %%

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	2023-02-15 20:36:59 UTC (rev 65842)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv	2023-02-15 20:37:40 UTC (rev 65843)
@@ -9,9 +9,9 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2022-11-27 v1.2a
+%% Version: 2023-02-14 v1.2b
 %% 
-%% Copyright (C) 2011 - 2022 by
+%% Copyright (C) 2011 - 2023 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -39,12 +39,12 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2021-11-15]
+\NeedsTeXFormat{LaTeX2e}[2022-11-01]
 \ProvidesFile{pagecolor.drv}%
-  [2022-11-27 v1.2a Provides thepagecolor (HMM)]
-\documentclass{ltxdoc}[2020/12/05]% v2.1b
-\usepackage{xcolor}[2021/10/31]% v2.13
-\usepackage{holtxdoc}[2019/12/09]% v0.30
+  [2023-02-14 v1.2b Provides thepagecolor (HMM)]
+\documentclass{ltxdoc}[2022/06/22]% v2.1i
+\usepackage{xcolor}[2022/06/12]%    v2.14
+\usepackage{holtxdoc}[2019/12/09]%  v0.30
 \hypersetup{%
  pdfsubject={Providing the thepagecolor command (HMM)},%
  pdfkeywords={LaTeX, pagecolor, thepagecolor},%

Modified: trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx	2023-02-15 20:36:59 UTC (rev 65842)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx	2023-02-15 20:37:40 UTC (rev 65843)
@@ -1,11 +1,11 @@
 % \iffalse meta-comment
 %
 % File: pagecolor.dtx
-% Version: 2022-11-27 v1.2a
+% Version: 2023-02-14 v1.2b
 % Info: Provides thepagecolor
 %
-% Copyright (C) 2011 - 2022 by
-%    H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
+% Copyright (C) 2011 - 2023 by
+%    H.-Martin Münch <Martin dot Muench at Uni-Bonn dot de>
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -19,7 +19,7 @@
 %
 % This work has the LPPL maintenance status "maintained".
 %
-% The Current Maintainer of this work is H.-Martin Muench.
+% The Current Maintainer of this work is H.-Martin Münch.
 %
 % This work consists of the main source file pagecolor.dtx,
 % the README, and the derived files
@@ -49,7 +49,7 @@
 \input docstrip.tex
 \Msg{******************************************************************}
 \Msg{* Installation                                                   *}
-\Msg{* Package: pagecolor 2022-11-27 v1.2a Provides thepagecolor (HMM)*}
+\Msg{* Package: pagecolor 2023-02-14 v1.2b Provides thepagecolor (HMM)*}
 \Msg{******************************************************************}
 
 \keepsilent
@@ -61,9 +61,9 @@
 This is a generated file.
 
 Project: pagecolor
-Version: 2022-11-27 v1.2a
+Version: 2023-02-14 v1.2b
 
-Copyright (C) 2011 - 2022 by
+Copyright (C) 2011 - 2023 by
     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 
 This work may be distributed and/or modified under the
@@ -144,12 +144,12 @@
 %
 %    \begin{macrocode}
 %<*driver>
-\NeedsTeXFormat{LaTeX2e}[2021-11-15]
+\NeedsTeXFormat{LaTeX2e}[2022-11-01]
 \ProvidesFile{pagecolor.drv}%
-  [2022-11-27 v1.2a Provides thepagecolor (HMM)]
-\documentclass{ltxdoc}[2020/12/05]% v2.1b
-\usepackage{xcolor}[2021/10/31]% v2.13
-\usepackage{holtxdoc}[2019/12/09]% v0.30
+  [2023-02-14 v1.2b Provides thepagecolor (HMM)]
+\documentclass{ltxdoc}[2022/06/22]% v2.1i
+\usepackage{xcolor}[2022/06/12]%    v2.14
+\usepackage{holtxdoc}[2019/12/09]%  v0.30
 \hypersetup{%
  pdfsubject={Providing the thepagecolor command (HMM)},%
  pdfkeywords={LaTeX, pagecolor, thepagecolor},%
@@ -197,12 +197,18 @@
 % \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,\IfPackageLoadedTF,\ifx}
-% \DoNotIndex{\M\"{u}nch,\Alternatives,\transparent,\newcommand,\verb,\listfiles}
+% \DoNotIndex{\color,\gdef,\lipsum,\ifdefined,\IfPackageAtLeastTF,\IfFormatAtLeastTF}
+% \DoNotIndex{\IfPackageLoadedTF,\ifx,\MessageBreak}
+% \DoNotIndex{\Alternatives,\transparent,\newcommand,\verb,\listfiles,\newpage}
 % \DoNotIndex{\pagecolor at info,\pagecolor at info@noline,\pagecolor at warning,\pagecolor at warning@noline}
+% \DoNotIndex{\AddToHook,\afterpage,\Alternatives,\DeclareStringOption,\holtxdoc,\hyperref}
+% \DoNotIndex{\kvoptions,\NeedsTeXFormat,\Oberdiek,\OCG,\options}
+% \DoNotIndex{\pagecolortmpa,\pagecolortmpb,\pagecolortmpc,\pagecolortmpd,\pagecolortmpe,\pagecolortmpf}
+% \DoNotIndex{\ProcessKeyvalOptions,\ProvidesPackage,\renewcommand,\RequirePackage}
+% \DoNotIndex{\setkeys,\SetupKeyvalOptions,\transparent,\@ifl at t@r,\fmtversion,\PackageError}
 %
 % \title{The \xpackage{pagecolor} package}
-% \date{2022-11-27 v1.2a}
+% \date{2023-02-14 v1.2b}
 % \author{H.-Martin Münch\\\xemail{Martin.Muench at Uni-Bonn.de}}
 %
 % \maketitle
@@ -231,7 +237,7 @@
 % referred to in this work unless having full knowledge of illegal contents.
 % If any damage occurs by the use of information presented there,
 % only the author of the respective pages might be liable,
-% not the one who has referred to these pages.
+% not the one who has referred to those pages.
 %
 % \tableofcontents
 %
@@ -296,6 +302,8 @@
 % |\newbackgroundpagecolor{<|\textit{some color}|>}%|\\
 % |\afterpage{\restorebackgroundpagecolor}%|\\
 % 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.
 %
 % \subsection{Options}
 % \DescribeMacro{options}
@@ -309,8 +317,8 @@
 % also colors like |red!50!green!20!blue| are possible.
 % The default is |pagecolor={none}|. A |\pagecolor{...}| command with
 % the given color is used to initialise the pagecolor.
-% 
 %
+%
 % \subsubsection{nopagecolor}
 % \DescribeMacro{nopagecolor}
 % \indent The option |nopagecolor={...}| takes as value a color. This
@@ -354,10 +362,9 @@
 %
 %    \begin{macrocode}
 %<*example>
-\NeedsTeXFormat{LaTeX2e}[2021-11-15]
-\documentclass[british]{article}[2021/10/04]% v1.4n 
-\usepackage[%
- extension=pdf,%
+\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\documentclass[british]{article}[2022/07/02]% v1.4n Standard LaTeX document class
+\usepackage[extension=pdf,%
  plainpages=false,%
  pdfpagelabels=true,%
  hyperindex=false,%
@@ -368,23 +375,23 @@
  pdfkeywords={LaTeX, pagecolor, thepagecolor, page color, page colour},%
  pdfview=Fit,pdfstartview=Fit,%
  pdfpagelayout=SinglePage%
-]{hyperref}[2022-02-21]% v7.00n
+]{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX
 
-\usepackage[x11names]{xcolor}[2021/10/31]% v2.13
+\usepackage[x11names]{xcolor}[2022/06/12]% v2.14 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]% 1.10
 
 \usepackage[pagecolor={LightGoldenrod1},%
-  nopagecolor={none}]{pagecolor}[2022-11-27]% v1.2a
+  nopagecolor={none}]{pagecolor}[2023-02-14]% v1.2b Provides thepagecolor (HMM)
 
-\usepackage{afterpage}[2014/10/28]% v1.08
+\usepackage{afterpage}[2014/10/28]% v1.08 After-Page Package (DPC)
  % The afterpage package is generally not needed,
  % but the |\newpagecolor{somecolor}\afterpage{\restorepagecolor}|
  % construct shall be demonstrated.
 
-\usepackage{lipsum}[2021-09-20]% v2.7
+\usepackage{lipsum}[2021-09-20]% v2.7 150 paragraphs of Lorem Ipsum dummy text
  % The lipsum package is generally not needed,
  % but some blind text is needed for the example.
 
@@ -394,7 +401,7 @@
 \section*{Example for pagecolor}
 
 This example demonstrates the use of package\newline
-\textsf{pagecolor}, v1.2a as of 2022-11-27 (HMM).\newline
+\textsf{pagecolor}, v1.2b as of 2023-02-14 (HMM).\newline
 The used options were\newline
 \verb|pagecolor={LightGoldenrod1}|\newline
 (\verb|pagecolor={none}| would be the default), and\newline
@@ -408,7 +415,7 @@
 which would only be different from \verb|\thepagecolor|,
 when the page color would be \verb|none|).
 
-\pagebreak
+\newpage
 \pagecolor{rgb:-green!40!yellow,3;green!40!yellow,2;red,1}
 
 {\color{white} The current page (background) color is\newline
@@ -419,18 +426,18 @@
 {\color{white} Which made the preceding line of text practically
 invisible, but it can be copied and pasted.}
 
-\pagebreak
+\newpage
 \newpagecolor{red}
 
 This page uses \verb|\newpagecolor{red}|.
 
-\pagebreak
+\newpage
 \restorepagecolor
 
 {\color{white}And this page uses \verb|\restorepagecolor| to restore
 the page color to the value it had before the red page.}
 
-\pagebreak
+\newpage
 \pagecolor{none}
 
 This page uses \verb|\pagecolor{none}|. If the \verb|\nopagecolor|
@@ -441,17 +448,17 @@
 \verb|\thepagecolor|\ =\ \thepagecolor\ and
 \verb|\thepagecolornone|\ =\ \thepagecolornone .
 
-\pagebreak
+\newpage
 \restorepagecolor
 
 {\color{white}\verb|\restorepagecolor| restored the page color again.}
 
-\pagebreak
+\newpage
 \pagecolor{green}
 
 This page is green due to \verb|\pagecolor{green}|.
 
-\pagebreak
+\newpage
 \newpagecolor{blue}\afterpage{\restorepagecolor}
 
 {\color{white}\verb|\newpagecolor{blue}\afterpage{\restorepagecolor}|%
@@ -464,11 +471,10 @@
 {\color{red}\textbf{\lipsum[1-11]}}
 \bigskip
 
-The page color was changed back at the end of the page -- 
+The page color was changed back at the end of the page --
 in mid-sentence!
 
-\pagebreak
-
+\newpage
 \backgroundpagecolor{pink}
 
 When activating the loading of the crop package in the preamble of this
@@ -475,12 +481,23 @@
 document, \verb|\backgroundpagecolor{<|\textit{some color}\verb|>}|
 changes the color of the background/outer/physical page.
 
+\newpage
+\newbackgroundpagecolor{blue}
 
 Analogous to \verb|\newpagecolor{...}| and \verb|\restorepagecolor|,
 for the background/outer/physical page
 \verb|\newbackgroundpagecolor{<|\textit{some color}\verb|>}| and\linebreak
-\verb|\restorebackgroundpagecolor| are provided (but not demonstrated
-here).
+\verb|\restorebackgroundpagecolor| are provided.
+
+Here \verb|\newbackgroundpagecolor{blue}| colored that
+background/outer/physical page in blue (if crop is used).
+
+\newpage
+\restorebackgroundpagecolor
+
+And here the pink color of the background/outer/physical page
+was restored by \verb|\restorebackgroundpagecolor| (if crop is used).
+
 \end{document}
 %</example>
 %    \end{macrocode}
@@ -497,8 +514,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\NeedsTeXFormat{LaTeX2e}[2021-11-15]
-\ProvidesPackage{pagecolor}[2022-11-27 1.2a
+\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\ProvidesPackage{pagecolor}[2023-02-14 v1.2b
             Provides thepagecolor (HMM)]
 %    \end{macrocode}
 %
@@ -514,15 +531,27 @@
 % We want to wrap the messages nicely:
 %
 %    \begin{macrocode}
-\RequirePackage{hardwrap}[2011/02/12]% v0.2
+\RequirePackage{hardwrap}[2011/02/12]% v0.2 Hard wrap messages
 \GenerateLogMacros{package}{pagecolor}
 
+\@ifl at t@r\fmtversion{2022/11/01}{% would have understood
+ %   \IfFormatAtLeastTF{2022-11-01}{<true code>}{<false code>}
+ }{\PackageError{pagecolor}{%
+      Newer LaTeX format needed or older undolabl package%
+    }{Needed LaTeX format version: 2022-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%
+     }
+  }
+
 %    \end{macrocode}
 %
 % We need the \xpackage{kvoptions} package:
 %
 %    \begin{macrocode}
-\RequirePackage{kvoptions}[2020-10-07]% v3.14
+\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:
@@ -530,10 +559,10 @@
 %    \begin{macrocode}
 %% \RequirePackage{ either color or xcolor }:
 \IfPackageLoadedTF{xcolor}{% xcolor loaded
-   \RequirePackage{xcolor}[2021/10/31]% v2.13
+   \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
  }{% xcolor not loaded
    \IfPackageLoadedTF{color}{%
-      \RequirePackage{color}[2021/12/07]% v1.3c
+      \RequirePackage{color}[2022-01-06]% v1.3d Standard LaTeX Color (DPC)
     }{\pagecolor at warning@noline{%
         The pagecolor package must be loaded after either %
         package color or after package xcolor (at your %
@@ -545,7 +574,7 @@
         option for xcolor package, this will not work!%
        }
      }
-   \RequirePackage{xcolor}[2021/10/31]% v2.13
+   \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
   }
 
 %    \end{macrocode}
@@ -599,19 +628,15 @@
 
 %    \end{macrocode}
 %    \end{macro}
-%
+% \pagebreak
 %    \begin{macro}{\pagecolor}
-% 
 % We save the original |\pagecolor| command,
-%
 %    \begin{macrocode}
 \let\origpagecolor\pagecolor
 
 %    \end{macrocode}
-%
 % before we redefine it to include a definition of |\thepagecolor|
 % and \linebreak |\thepagecolornone|:
-%
 %    \begin{macrocode}
 \renewcommand{\pagecolor}[1]{\@bsphack%
   \edef\pagecolortmpa{#1}%
@@ -648,7 +673,6 @@
 % |\nopagecolor| regularly is defined. If it was not, we already defined a replacement,
 % 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
 
@@ -690,9 +714,7 @@
 
 
 %    \end{macrocode}
-%
 % The (new) |\pagecolor| is now just carried out.
-%
 %    \begin{macrocode}
 \pagecolor{\pagecolor at pagecolor}
 
@@ -710,13 +732,12 @@
 % |\thepagecolornone| are changed accordingly.
 %
 %    \begin{macro}{\newpagecolor}
-% There have been requests (via e-mail and at 
+% There have been requests (via e-mail and at
 % \url{https://tex.stackexchange.com/q/25137/6865}) to change the color of just one
 % (or two) page(s) only, similar to |\newgeometry| and |\restoregeometry| of the
 % \xpackage{geometry} package (\url{https://www.ctan.org/pkg/geometry}).
 % Therefore |\newpagecolor| and |\restorepagecolor| are introduced (as suggested by
 % \textsc{haoyun\_tex}):
-%
 %    \begin{macrocode}
 \newcommand{\newpagecolor}[1]{%
 \xdef\pagecolortmpc{\thepagecolornone}%
@@ -725,7 +746,6 @@
 
 %    \end{macrocode}
 %    \end{macro}
-%
 % |\newpagecolor{<|\textit{some color}|>}| will execute |\pagecolor{some color}|
 % and remember the page color used before.
 %
@@ -735,7 +755,6 @@
 
 %    \end{macrocode}
 %    \end{macro}
-%
 % |\restorecolor| (without argument) restores the page color to the one used before
 % use of the |\newpagecolor{...}| command.
 %
@@ -760,7 +779,6 @@
 % background/outer/physical page and not at the inner/foreground/logic page.
 % |\nopagecolor| is fixed above. To change the background/outer/physical page color
 % during the document, |\backgroundpagecolor{<|\textit{some color}|>}| is provided:
-%
 %    \begin{macrocode}
 \newcommand{\backgroundpagecolor}[1]{%
   \IfPackageLoadedTF{crop}{%
@@ -800,7 +818,6 @@
 %    \begin{macro}{\newbackgroundpagecolor}
 % Analogous to |\newpagecolor| and |\restorepagecolor|,
 % for the background/\allowbreak outer/\allowbreak physical page we define:
-%
 %    \begin{macrocode}
 \newcommand{\newbackgroundpagecolor}[1]{%
   \IfPackageLoadedTF{crop}{%
@@ -813,7 +830,7 @@
 
 %    \end{macrocode}
 %    \end{macro}
-%    \begin{macro}{\newbackgroundpagecolor}
+%    \begin{macro}{\restorebackgroundpagecolor}
 %    \begin{macrocode}
 \newcommand{\restorebackgroundpagecolor}{%
   \IfPackageLoadedTF{crop}{\xdef\CROP at stockcolor{\pagecolortmpf}}{%
@@ -827,7 +844,6 @@
 % We checked whether the \xpackage{crop} package had been loaded before
 % the \xpackage{pagecolor} package, but maybe it has been loaded afterwards.
 % This is checked at the end of |\begin{document}|:
-%
 %    \begin{macrocode}
 \AddToHook{begindocument/end}{%
   \def\pagecolortmpb{0}%
@@ -875,9 +891,9 @@
 % For unpacking the |pagecolor.dtx| file and constructing the documentation
 % it is required:
 % \begin{description}
-% \item[-] \TeX Format \LaTeXe{} 2021-11-15 or newer: \url{https://www.CTAN.org}
+% \item[-] \TeX Format \LaTeXe{} 2022-11-01 or newer: \url{https://www.CTAN.org}
 %
-% \item[-] document class \xclass{ltxdoc}, 2020/12/05, v2.1b,
+% \item[-] document class \xclass{ltxdoc}, 2022/06/22, v2.1i,
 %   \url{https://www.ctan.org/pkg/ltxdoc}
 %
 % \item[-] package \xpackage{holtxdoc}, 2019/12/09, v0.30,
@@ -888,22 +904,22 @@
 % The |pagecolor.sty| for \LaTeXe{} (i.\,e. each document using
 % the \xpackage{pagecolor} package) requires:
 % \begin{description}
-% \item[-] \TeX{} Format \LaTeXe{} 2021-11-15 or newer, \url{https://www.CTAN.org}
+% \item[-] \TeX{} Format \LaTeXe{}  2022-11-01 or newer, \url{https://www.CTAN.org}
 %
 % \item[-] package \xpackage{hardwrap}, 2011/02/12, v0.2,
 %   \url{https://www.ctan.org/pkg/hardwrap}
 %
-% \item[-] package \xpackage{kvoptions}, 2020-10-07, v3.14,
+% \item[-] package \xpackage{kvoptions}, 2022-06-15, v3.15,
 %   \url{https://www.ctan.org/pkg/kvoptions}
 % \end{description}
 % and either
 % \begin{description}
-% \item[-] package \xpackage{xcolor}, 2021/10/31, v2.13,
+% \item[-] package \xpackage{xcolor}, 2022/06/12, v2.14,
 %           \url{https://www.ctan.org/pkg/xcolor}
 % \end{description}
 % or
 % \begin{description}
-% \item[-] package \xpackage{color}, 2021/12/07, v1.3c,
+% \item[-] package \xpackage{color}, 2022-01-06, v1.3d,
 %           \url{https://www.ctan.org/pkg/color} (from the\\
 %           \xpackage{graphics} package bundle).
 % \end{description}
@@ -912,7 +928,7 @@
 % The |pagecolor-example.tex| requires the same file as all
 % documents using the \xpackage{pagecolor} package, i.\,e.
 % \begin{description}
-% \item[-] package \xpackage{pagecolor}, 2022-11-27, v1.2a,
+% \item[-] package \xpackage{pagecolor}, 2023-02-14, v1.2b,
 %   \url{https://www.ctan.org/pkg/pagecolor}\\
 %   (Well, it is the example file for this package, and because you are reading the
 %    documentation for the \xpackage{pagecolor} package, it~can be assumed that you already
@@ -920,10 +936,10 @@
 % \end{description}
 % and additionally:
 % \begin{description}
-% \item[-] class \xpackage{article}, 2021/10/04, v1.4n, from \xpackage{classes}:\\
+% \item[-] class \xpackage{article}, 2022/07/02, v1.4n, from \xpackage{classes}:\\
 %           \url{https://www.ctan.org/pkg/classes}
 %
-% \item[-] package \xpackage{xcolor}, 2021/10/31, v2.13,
+% \item[-] package \xpackage{xcolor}, 2022/06/12, v2.14,
 %           \url{https://www.ctan.org/pkg/xcolor}\\
 %           This package would not be needed for the use of just base colors only,
 %           the \xpackage{color} package would be sufficient for that.
@@ -938,8 +954,6 @@
 %           This package is only needed for some blind text.
 % \end{description}
 %
-% \newpage
-%
 % \DescribeMacro{Alternatives}
 % \DescribeMacro{transparent}
 % \DescribeMacro{OCG}
@@ -968,7 +982,7 @@
 % downloaded separately,\\
 % \url{https://mirror.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\\
 %
-% \DescribeMacro{M\"{u}nch}
+% \DescribeMacro{Münch}
 % A hyperlinked list of my (other) packages can be found at
 % \url{https://www.ctan.org/author/muench-hm}.\\
 %
@@ -975,11 +989,11 @@
 % \subsection{Package, unpacking TDS}
 % \paragraph{Package.} This package is available on \url{https://www.CTAN.org}.
 % \begin{description}
-% \item[\url{https://mirror.ctan.org/macros/latex/contrib/pagecolor/pagecolor.dtx}]\hspace*{0.1cm} 
+% \item[\url{https://mirror.ctan.org/macros/latex/contrib/pagecolor/pagecolor.dtx}]\hspace*{0.1cm}
 %       The source file.
-% \item[\url{https://mirror.ctan.org/macros/latex/contrib/pagecolor/pagecolor.pdf}]\hspace*{0.1cm} 
+% \item[\url{https://mirror.ctan.org/macros/latex/contrib/pagecolor/pagecolor.pdf}]\hspace*{0.1cm}
 %       The documentation.
-% \item[\url{https://mirror.ctan.org/macros/latex/contrib/pagecolor/pagecolor-example.pdf}]\hspace*{0.1cm} 
+% \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}\\
 %       \hspace*{1em}The README file.
@@ -987,7 +1001,7 @@
 %
 % There is also a |pagecolor.tds.zip| available:
 % \begin{description}
-% \item[\url{https://mirror.ctan.org/install/macros/latex/contrib/pagecolor.tds.zip}]\hspace*{0.1cm} 
+% \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\\
@@ -1137,8 +1151,6 @@
 % The example file, \textsf{pagecolor-example.tex}, can be compiled via\\
 % |(pdf)latex pagecolor-example.tex|.
 %
-% \newpage
-%
 % \section{Acknowledgements}
 %
 % I would like to thank \textsc{Heiko Oberdiek} for providing a lot of
@@ -1152,7 +1164,7 @@
 % I thank \textsc{haoyun\_tex} for suggesting the |\newpagecolor|/|\restorepagecolor|
 % pair of commands and everyone at \url{https://tex.stackexchange.com/q/25137/6865}
 % for their contributions there. Thanks go to \textsc{Heiner Richter}
-% for finding a bug, to \textsc{Johannes B\"{o}ttcher} for reporting it,
+% for finding a bug, to \textsc{Johannes Böttcher} for reporting it,
 % and to \textsc{Reuben Thomas} for suggestions for improvements
 % of this documentation.
 %
@@ -1193,7 +1205,7 @@
 %     \item Bugfix: Checking for \xpackage{crop} package done |\AtBeginDocument|,
 %             but some of the related code must already be performed earlier.
 %             Bug found by \textsc{Heiner Richter} and reported by
-%             \textsc{Johannes B\"{o}ttcher}, thanks!
+%             \textsc{Johannes Böttcher}, thanks!
 %   \end{Version}
 %   \begin{Version}{2017/05/29 v1.0i}
 %     \item Documentation update following suggestions for improvements by
@@ -1214,8 +1226,13 @@
 %   \begin{Version}{2022-11-27 v1.2a}
 %     \item Now also handling the background/outer/physical page color,
 %             when the \xpackage{crop} package is used.
-%     \item Documentation updates.
 %   \end{Version}
+%   \begin{Version}{2023-02-14 v1.2b}
+%     \item Example now also handling |\newbackgroundpagecolor| and |\restorebackgroundpagecolor|
+%             when the \xpackage{crop} package is used.
+%     \item Fixed a missing v in version number.
+%     \item Documentation and README updates.
+%   \end{Version}
 % \end{History}
 %
 % \bigskip

Modified: trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins	2023-02-15 20:36:59 UTC (rev 65842)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins	2023-02-15 20:37:40 UTC (rev 65843)
@@ -9,9 +9,9 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2022-11-27 v1.2a
+%% Version: 2023-02-14 v1.2b
 %% 
-%% Copyright (C) 2011 - 2022 by
+%% Copyright (C) 2011 - 2023 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -42,7 +42,7 @@
 \input docstrip.tex
 \Msg{******************************************************************}
 \Msg{* Installation                                                   *}
-\Msg{* Package: pagecolor 2022-11-27 v1.2a Provides thepagecolor (HMM)*}
+\Msg{* Package: pagecolor 2023-02-14 v1.2b Provides thepagecolor (HMM)*}
 \Msg{******************************************************************}
 
 \keepsilent
@@ -54,9 +54,9 @@
 This is a generated file.
 
 Project: pagecolor
-Version: 2022-11-27 v1.2a
+Version: 2023-02-14 v1.2b
 
-Copyright (C) 2011 - 2022 by
+Copyright (C) 2011 - 2023 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	2023-02-15 20:36:59 UTC (rev 65842)
+++ trunk/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty	2023-02-15 20:37:40 UTC (rev 65843)
@@ -9,9 +9,9 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2022-11-27 v1.2a
+%% Version: 2023-02-14 v1.2b
 %% 
-%% Copyright (C) 2011 - 2022 by
+%% Copyright (C) 2011 - 2023 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -39,23 +39,35 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2021-11-15]
-\ProvidesPackage{pagecolor}[2022-11-27 1.2a
+\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\ProvidesPackage{pagecolor}[2023-02-14 v1.2b
             Provides thepagecolor (HMM)]
 %% Provides the \thepagecolor, \thepagecolornone, \newpagecolor{...},
 %% \restorepagecolor, \backgroundpagecolor, \newbackgroundpagecolor{...},
 %% and \restorebackgroundpagecolor commands and a replacement for the
 %% \nopagecolor command, if this is not available.
-\RequirePackage{hardwrap}[2011/02/12]% v0.2
+\RequirePackage{hardwrap}[2011/02/12]% v0.2 Hard wrap messages
 \GenerateLogMacros{package}{pagecolor}
 
-\RequirePackage{kvoptions}[2020-10-07]% v3.14
+\@ifl at t@r\fmtversion{2022/11/01}{% would have understood
+ %   \IfFormatAtLeastTF{2022-11-01}{<true code>}{<false code>}
+ }{\PackageError{pagecolor}{%
+      Newer LaTeX format needed or older undolabl package%
+    }{Needed LaTeX format version: 2022-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%
+     }
+  }
+
+\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}[2021/10/31]% v2.13
+   \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
  }{% xcolor not loaded
    \IfPackageLoadedTF{color}{%
-      \RequirePackage{color}[2021/12/07]% v1.3c
+      \RequirePackage{color}[2022-01-06]% v1.3d Standard LaTeX Color (DPC)
     }{\pagecolor at warning@noline{%
         The pagecolor package must be loaded after either %
         package color or after package xcolor (at your %
@@ -67,7 +79,7 @@
         option for xcolor package, this will not work!%
        }
      }
-   \RequirePackage{xcolor}[2021/10/31]% v2.13
+   \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
   }
 
 \SetupKeyvalOptions{family=pagecolor,prefix=pagecolor@}



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