summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pagecolor
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-15 20:37:40 +0000
committerKarl Berry <karl@freefriends.org>2023-02-15 20:37:40 +0000
commit60c283c8ec9c325db2f518e6d60e5c48c887ad5c (patch)
treeaab8e969f76ae77e09b1d0eca0b08a250e989a90 /Master/texmf-dist/source/latex/pagecolor
parent091c76ff0f18f9a142995454a1de8b969e50653f (diff)
pagecolor (15feb23)
git-svn-id: svn://tug.org/texlive/trunk@65843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/pagecolor')
-rw-r--r--Master/texmf-dist/source/latex/pagecolor/pagecolor.drv14
-rw-r--r--Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx185
-rw-r--r--Master/texmf-dist/source/latex/pagecolor/pagecolor.ins10
3 files changed, 113 insertions, 96 deletions
diff --git a/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv b/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv
index 173cf51f3ae..3b9d245f8c5 100644
--- a/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv
+++ b/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv
@@ -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},%
diff --git a/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx b/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
index 3c57dacf550..75e0beec2ff 100644
--- a/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
+++ b/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx
@@ -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 @@ In memoriam
%
% \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 @@ In memoriam
% \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@info,\pagecolor@info@noline,\pagecolor@warning,\pagecolor@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@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 @@ In memoriam
% 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 @@ In memoriam
% |\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,7 +317,7 @@ In memoriam
% 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}
@@ -354,10 +362,9 @@ In memoriam
%
% \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 @@ In memoriam
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 @@ In memoriam
\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 @@ The used options were\newline
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 @@ when the page color would be \verb|none|).
{\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 @@ command is known, the page color is now
\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,23 +471,33 @@ here (i.\,e. green).}
{\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
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 @@ here).
% \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 @@ here).
% 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@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 @@ here).
% \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@warning@noline{%
The pagecolor package must be loaded after either %
package color or after package xcolor (at your %
@@ -545,7 +574,7 @@ here).
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 @@ here).
% \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 @@ here).
% |\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 @@ here).
% \end{macrocode}
-%
% The (new) |\pagecolor| is now just carried out.
-%
% \begin{macrocode}
\pagecolor{\pagecolor@pagecolor}
@@ -710,13 +732,12 @@ here).
% |\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 @@ here).
% \end{macrocode}
% \end{macro}
-%
% |\newpagecolor{<|\textit{some color}|>}| will execute |\pagecolor{some color}|
% and remember the page color used before.
%
@@ -735,7 +755,6 @@ here).
% \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 @@ here).
% 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 @@ here).
% \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 @@ here).
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\newbackgroundpagecolor}
+% \begin{macro}{\restorebackgroundpagecolor}
% \begin{macrocode}
\newcommand{\restorebackgroundpagecolor}{%
\IfPackageLoadedTF{crop}{\xdef\CROP@stockcolor{\pagecolortmpf}}{%
@@ -827,7 +844,6 @@ here).
% 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 @@ here).
% 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 @@ here).
% 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 @@ here).
% 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 @@ here).
% \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 @@ here).
% This package is only needed for some blind text.
% \end{description}
%
-% \newpage
-%
% \DescribeMacro{Alternatives}
% \DescribeMacro{transparent}
% \DescribeMacro{OCG}
@@ -968,18 +982,18 @@ here).
% 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}.\\
%
% \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 @@ here).
%
% 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 @@ here).
% 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 @@ here).
% 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 @@ here).
% \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,7 +1226,12 @@ here).
% \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}
%
diff --git a/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins b/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
index 109f392da91..06685a5f137 100644
--- a/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
+++ b/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
@@ -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