texlive[66885] Master/texmf-dist: pagecolor (18apr23)

commits+karl at tug.org commits+karl at tug.org
Tue Apr 18 21:40:44 CEST 2023


Revision: 66885
          http://tug.org/svn/texlive?view=revision&revision=66885
Author:   karl
Date:     2023-04-18 21:40:44 +0200 (Tue, 18 Apr 2023)
Log Message:
-----------
pagecolor (18apr23)

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	2023-04-18 19:40:32 UTC (rev 66884)
+++ trunk/Master/texmf-dist/doc/latex/pagecolor/README	2023-04-18 19:40:44 UTC (rev 66885)
@@ -1,4 +1,4 @@
-README for pagecolor package, 2023-02-14, v1.2b
+README for pagecolor package, 2023-04-18, v1.2c
 
 
 TABLE OF CONTENTS
@@ -46,7 +46,7 @@
 ==========
 
 "pagecolor" is available on CTAN:
-https://www.ctan.org/pkg/pagecolor
+https://ctan.org/pkg/pagecolor
 
 Also a ZIP file is provided that contains the files:
 the manual (pagecolor.pdf), the example (pagecolor-example.tex),
@@ -66,7 +66,7 @@
 The ZIP file "pagecolor.tds.zip" contains the files
 sorted in a TDS tree. Thus you can directly unpack the
 ZIP file inside a TDS tree.
-See https://www.ctan.org/TDS-guidelines for an explanation
+See https://ctan.org/TDS-guidelines for an explanation
 of TDS.
 Example:
   cd /...somewhere.../texmf
@@ -108,7 +108,6 @@
 =====================
 
 pagecolor loads other packages:
-- hardwrap
 - kvoptions
 - xcolor, if the color package has not been loaded before pagecolor
 which again load other packages
@@ -129,13 +128,13 @@
 
 
 6 AUTHOR/MAINTAINER
-=====================
+===================
 
 H.-Martin Münch
 
 
 7 BUG REPORTS
-==============
+=============
 
 A bug report should contain:
 * Comprehensive problem description. This includes error or
@@ -162,6 +161,6 @@
 
 
 8 KNOWN PROBLEMS
-=================
+================
 
 * as yet: none.
\ No newline at end of file

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	2023-04-18 19:40:32 UTC (rev 66884)
+++ trunk/Master/texmf-dist/doc/latex/pagecolor/pagecolor-example.tex	2023-04-18 19:40:44 UTC (rev 66885)
@@ -9,7 +9,8 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2023-02-14 v1.2b
+%% Version: 2023-04-18 v1.2c
+%% Info: Provides thepagecolor
 %% 
 %% Copyright (C) 2011 - 2023 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
@@ -61,7 +62,7 @@
  % \usepackage[cam,center,a3]{crop}[2017/11/19]% 1.10
 
 \usepackage[pagecolor={LightGoldenrod1},%
-  nopagecolor={none}]{pagecolor}[2023-02-14]% v1.2b Provides thepagecolor (HMM)
+  nopagecolor={none}]{pagecolor}[2023-04-18]% v1.2c Provides thepagecolor (HMM)
 
 \usepackage{afterpage}[2014/10/28]% v1.08 After-Page Package (DPC)
  % The afterpage package is generally not needed,
@@ -78,7 +79,7 @@
 \section*{Example for pagecolor}
 
 This example demonstrates the use of package\newline
-\textsf{pagecolor}, v1.2b as of 2023-02-14 (HMM).\newline
+\textsf{pagecolor}, v1.2c as of 2023-04-18 (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	2023-04-18 19:40:32 UTC (rev 66884)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.drv	2023-04-18 19:40:44 UTC (rev 66885)
@@ -9,7 +9,8 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2023-02-14 v1.2b
+%% Version: 2023-04-18 v1.2c
+%% Info: Provides thepagecolor
 %% 
 %% Copyright (C) 2011 - 2023 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
@@ -41,10 +42,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2022-11-01]
 \ProvidesFile{pagecolor.drv}%
-  [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
+  [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)
+\usepackage{holtxdoc}[2019/12/09]%  v0.30 Private additional ltxdoc support (HO)
 \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-04-18 19:40:32 UTC (rev 66884)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.dtx	2023-04-18 19:40:44 UTC (rev 66885)
@@ -1,10 +1,10 @@
 % \iffalse meta-comment
 %
 % File: pagecolor.dtx
-% Version: 2023-02-14 v1.2b
+% Version: 2023-04-18 v1.2c
 % Info: Provides thepagecolor
 %
-% Copyright (C) 2011 - 2023 by
+% Copyright © 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
@@ -28,7 +28,7 @@
 %    pagecolor-example.tex, pagecolor-example.pdf.
 %
 % "pagecolor" is available on CTAN:
-% https://www.ctan.org/pkg/pagecolor
+% https://ctan.org/pkg/pagecolor
 %
 % Also a TDS.ZIP file is provided that contains all the files
 % already sorted in a TDS tree:
@@ -49,7 +49,7 @@
 \input docstrip.tex
 \Msg{******************************************************************}
 \Msg{* Installation                                                   *}
-\Msg{* Package: pagecolor 2023-02-14 v1.2b Provides thepagecolor (HMM)*}
+\Msg{* Package: pagecolor 2023-04-18 v1.2c Provides thepagecolor (HMM)*}
 \Msg{******************************************************************}
 
 \keepsilent
@@ -61,7 +61,8 @@
 This is a generated file.
 
 Project: pagecolor
-Version: 2023-02-14 v1.2b
+Version: 2023-04-18 v1.2c
+Info: Provides thepagecolor
 
 Copyright (C) 2011 - 2023 by
     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
@@ -136,7 +137,7 @@
 % \section{The documentation driver file}
 %
 % The next bit of code contains the documentation driver file for
-% \TeX , i.\,e., the file that will produce the documentation you
+% \TeX, i.\,e., the file that will produce the documentation you
 % are currently reading. It will be extracted from this file by the
 % \texttt{docstrip} programme. That is, run \LaTeX{} on \texttt{docstrip}
 % and specify the \texttt{driver} option when \texttt{docstrip}
@@ -146,10 +147,10 @@
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}[2022-11-01]
 \ProvidesFile{pagecolor.drv}%
-  [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
+  [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)
+\usepackage{holtxdoc}[2019/12/09]%  v0.30 Private additional ltxdoc support (HO)
 \hypersetup{%
  pdfsubject={Providing the thepagecolor command (HMM)},%
  pdfkeywords={LaTeX, pagecolor, thepagecolor},%
@@ -200,15 +201,15 @@
 % \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{\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}
 %
 % \title{The \xpackage{pagecolor} package}
-% \date{2023-02-14 v1.2b}
+% \date{2023-04-18 v1.2c}
 % \author{H.-Martin Münch\\\xemail{Martin.Muench at Uni-Bonn.de}}
 %
 % \maketitle
@@ -269,7 +270,6 @@
 % |\restorebackgroundpagecolor| are provided.
 %
 % \section{Usage}
-%
 % \indent Just load the package placing
 % \begin{quote}
 %   |\usepackage[<|\textit{options}|>]{pagecolor}|
@@ -341,12 +341,12 @@
 % \begin{description}
 %  \item[-] \xpackage{transparent} package: With it some object can be made
 %  (fully or partially) transparent,
-%  \url{https://www.ctan.org/pkg/transparent}.
+%  \url{https://ctan.org/pkg/transparent}.
 %
 %  \item[-] OCG (Optional Content Groups): It allows for example
 %  to \textquotedblleft hide\textquotedblright{} something when
 %  printing the document while keeping the layout,
-%  \url{https://www.ctan.org/search?phrase=ocg}.
+%  \url{https://ctan.org/search?phrase=ocg}.
 % \end{description}
 %
 % \bigskip
@@ -359,7 +359,6 @@
 % \newpage
 %
 % \section{Example}
-%
 %    \begin{macrocode}
 %<*example>
 \NeedsTeXFormat{LaTeX2e}[2022-11-01]
@@ -384,7 +383,7 @@
  % \usepackage[cam,center,a3]{crop}[2017/11/19]% 1.10
 
 \usepackage[pagecolor={LightGoldenrod1},%
-  nopagecolor={none}]{pagecolor}[2023-02-14]% v1.2b Provides thepagecolor (HMM)
+  nopagecolor={none}]{pagecolor}[2023-04-18]% v1.2c Provides thepagecolor (HMM)
 
 \usepackage{afterpage}[2014/10/28]% v1.08 After-Page Package (DPC)
  % The afterpage package is generally not needed,
@@ -401,7 +400,7 @@
 \section*{Example for pagecolor}
 
 This example demonstrates the use of package\newline
-\textsf{pagecolor}, v1.2b as of 2023-02-14 (HMM).\newline
+\textsf{pagecolor}, v1.2c as of 2023-04-18 (HMM).\newline
 The used options were\newline
 \verb|pagecolor={LightGoldenrod1}|\newline
 (\verb|pagecolor={none}| would be the default), and\newline
@@ -505,7 +504,6 @@
 % \StopEventually{}
 %
 % \section{The implementation}
-%
 % We start off by checking that we are loading into \LaTeXe{} and
 % announcing the name and version of this package.
 %
@@ -515,8 +513,7 @@
 %
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\ProvidesPackage{pagecolor}[2023-02-14 v1.2b
-            Provides thepagecolor (HMM)]
+\ProvidesPackage{pagecolor}[2023-04-18 v1.2c Provides thepagecolor (HMM)]
 %    \end{macrocode}
 %
 % A short description of the \xpackage{pagecolor} package:
@@ -526,18 +523,11 @@
 %% \restorepagecolor, \backgroundpagecolor, \newbackgroundpagecolor{...},
 %% and \restorebackgroundpagecolor commands and a replacement for the
 %% \nopagecolor command, if this is not available.
-%    \end{macrocode}
-%
-% We want to wrap the messages nicely:
-%
-%    \begin{macrocode}
-\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%
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+
+\IfFormatAtLeastTF{2022/11/01}{\relax}{%
+  \PackageError{pagecolor}{Newer LaTeX format needed or older pagecolor 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%
@@ -563,15 +553,15 @@
  }{% xcolor not loaded
    \IfPackageLoadedTF{color}{%
       \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 %
-        option). Neither package was loaded before package %
-        pagecolor. Loading of package xcolor will now be %
-        tried automatically. \\%
-        When the pagecolor package is used with option %
-        pagecolor using a color requiring e.g. x11names %
-        option for xcolor package, this will not work!%
+    }{\PackageWarningNoLine{pagecolor}{%
+        The pagecolor package must be loaded after either\MessageBreak%
+        package color or after package xcolor (at your\MessageBreak%
+        option). Neither package was loaded before package\MessageBreak%
+        pagecolor. Loading of package xcolor will now be\MessageBreak%
+        tried automatically.\MessageBreak%
+        When the pagecolor package is used with option\MessageBreak%
+        pagecolor using a color requiring e.g. x11names\MessageBreak%
+        option for xcolor package, this will not work%
        }
      }
    \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
@@ -595,30 +585,28 @@
 %    \begin{macrocode}
 \ifdefined\nopagecolor\relax
 \else
-  \pagecolor at info@noline{\string\nopagecolor\ is undefined!}
+  \PackageNoteNoLine{pagecolor}{\string\nopagecolor\ is undefined}
   \def\pagecolortmpb{none}
   \edef\pagecolortmpa{\pagecolor at nopagecolor}
   \ifx\pagecolortmpa\pagecolortmpb
-    \pagecolor at warning@noline{%
-      Option nopagecolor=none requested but \string\nopagecolor\ %
-      unknown: \\%
-      By option nopagecolor the "color" to be used with %
-      \string\nopagecolor\ %
-      is set. The current value is "none" (maybe by default), %
-      but command \string\nopagecolor\ is undefined. %
-      Therefore the color cannot be "none". %
-      Please change the option accordingly! - %
-      As first aid nopagecolor is now set to white.%
+    \PackageWarningNoLine{pagecolor}{%
+      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%
+      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}
   \fi
   \edef\pagecolortmpa{\pagecolor at pagecolor}
   \ifx\pagecolortmpa\pagecolortmpb\relax
-    \pagecolor at warning@noline{%
-      Option pagecolor=none (maybe by default) used, %
-      but \string\nopagecolor\ is unknown. %
-      Please use another option value; %
-      \pagecolor at nopagecolor\ will be used now.%
+    \PackageWarningNoLine{pagecolor}{%
+      Option pagecolor=none (maybe by default) used,\MessageBreak%
+      but \string\nopagecolor\ is unknown.\MessageBreak%
+      Please use another option value;\MessageBreak%
+      \pagecolor at nopagecolor\ will be used now%
      }
     \setkeys{pagecolor}{pagecolor={\pagecolor at nopagecolor}}
   \fi
@@ -645,14 +633,13 @@
     \ifdefined\nopagecolor\relax%
       \nopagecolor%
     \else%
-      \pagecolor at warning{%
-        pagecolor=none requested but \string\nopagecolor\ %
-        unknown: \\%
-        \string\pagecolor{none} was used, but the command %
-        \string\nopagecolor\ is undefined. %
-        Please use another color. \\%
-        pagecolor=\pagecolor at nopagecolor\ \\%
-        will be used now.%
+      \PackageWarning{pagecolor}{%
+        pagecolor=none requested but \string\nopagecolor\space unknown:\MessageBreak%
+        \string\pagecolor{none} was used, but the command\MessageBreak%
+        \string\nopagecolor\space is undefined.\MessageBreak%
+        Please use another color.\MessageBreak%
+        pagecolor=\pagecolor at nopagecolor\MessageBreak%
+        will be used now.\MessageBreak%
        }%
       \xdef\thepagecolor{\pagecolor at nopagecolor}%
       \xdef\thepagecolornone{\pagecolor at nopagecolor}%
@@ -679,22 +666,23 @@
 \gdef\pagecolor at cl{0}
 \IfPackageLoadedTF{crop}{% crop loaded
   \gdef\pagecolor at cl{1}
-  \pagecolor at info{\string\nopagecolor\space did not work with the crop package %
-    2017/11/19 v1.10. Using \\%
-    \pagecolor at nopagecolor\ \\%
-    as nopagecolor now.%
+  \PackageNoteNoLine{pagecolor}{%
+    \string\nopagecolor\space did not work with the crop package\MessageBreak%
+    2017/11/19 v1.10. Using\MessageBreak%
+    \pagecolor at nopagecolor\MessageBreak%
+    as nopagecolor now%
     }
   \def\pagecolortmpb{none}
   \edef\pagecolortmpa{\pagecolor at nopagecolor}
   \ifx\pagecolortmpa\pagecolortmpb\relax
-    \pagecolor at warning@noline{%
-      Option nopagecolor=none requested but this does not work with the %
-      crop package. By option nopagecolor the "color" to be used with %
-      \string\nopagecolor\ is set. The current value is "none" (maybe by %
-      default), but the crop package broke \string\nopagecolor . %
-      Therefore the color cannot be "none". %
-      Please change the option accordingly! %
-      As first aid nopagecolor is now set to white.%
+    \PackageWarningNoLine{pagecolor}{%
+      Option nopagecolor=none requested but this does not work with the\MessageBreak%
+      crop package. By option nopagecolor the "color" to be used with\MessageBreak%
+      \string\nopagecolor\ is set. The current value is "none" (maybe by\MessageBreak%
+      default), but the crop package broke \string\nopagecolor .\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}
   \fi
@@ -735,7 +723,7 @@
 % 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}).
+% \xpackage{geometry} package (\url{https://ctan.org/pkg/geometry}).
 % Therefore |\newpagecolor| and |\restorepagecolor| are introduced (as suggested by
 % \textsc{haoyun\_tex}):
 %    \begin{macrocode}
@@ -804,8 +792,8 @@
 % Set the background/outer/physical page color:
 %    \begin{macrocode}
     \xdef\CROP at stockcolor{\pagecolortmpe}%
-    }{\pagecolor at info{\string\backgroundpagecolor\ does not do %
-           anything when the crop package has not been loaded.}%
+    }{\PackageInfo{pagecolor}{\string\backgroundpagecolor\space does not do\MessageBreak%
+           anything when the crop package has not been loaded;\MessageBreak}%
 %    \end{macrocode}
 % - except giving this information.
 %    \begin{macrocode}
@@ -823,8 +811,8 @@
   \IfPackageLoadedTF{crop}{%
     \xdef\pagecolortmpf{\CROP at stockcolor}%
     \backgroundpagecolor{#1}%
-    }{\pagecolor at info{\string\newbackgroundpagecolor\ does not do %
-              anything when the crop package has not been loaded.}%
+    }{\PackageInfo{pagecolor}{\string\newbackgroundpagecolor\space does not do\MessageBreak%
+              anything when the crop package has not been loaded;\MessageBreak}%
      }%
   }
 
@@ -834,8 +822,8 @@
 %    \begin{macrocode}
 \newcommand{\restorebackgroundpagecolor}{%
   \IfPackageLoadedTF{crop}{\xdef\CROP at stockcolor{\pagecolortmpf}}{%
-    \pagecolor at info{\string\newbackgroundpagecolor\ does not do %
-             anything when the crop package has not been loaded.}}%
+    \PackageInfo{pagecolor}{\string\newbackgroundpagecolor\space does not do\MessageBreak%
+             anything when the crop package has not been loaded;\MessageBreak}}%
   }
 
 %    \end{macrocode}
@@ -851,22 +839,22 @@
     % crop not loaded before pagecolor, but maybe afterwards:
     \IfPackageLoadedTF{crop}{% crop indeed loaded afterwards.
       \gdef\pagecolor at cl{1}%
-      \pagecolor at info{\string\nopagecolor\space did not work with the crop package %
-        2017/11/19 v1.10. Using \\%
-        \pagecolor at nopagecolor\ \\%
-        as nopagecolor now.%
+      \PackageInfo{pagecolor}{\string\nopagecolor\space did not work with the crop package\MessageBreak%
+        2017/11/19 v1.10. Using\MessageBreak%
+        \pagecolor at nopagecolor\MessageBreak%
+        as nopagecolor now.\MessageBreak%
         }%
       \def\pagecolortmpb{none}%
       \edef\pagecolortmpa{\pagecolor at nopagecolor}%
       \ifx\pagecolortmpa\pagecolortmpb\relax%
-        \pagecolor at warning@noline{%
-          Option nopagecolor=none requested but this does not work with %
-          the crop package. By option nopagecolor the "color" to be used %
-          with \string\nopagecolor\ is set. The current value is "none" %
-          (maybe by default), but the crop package broke %
-          \string\nopagecolor . Therefore the color cannot be "none". %
-          Please change the option accordingly! %
-          As first aid nopagecolor is now set to white.%
+        \PackageWarningNoLine{pagecolor}{%
+          Option nopagecolor=none requested but this does not work with\MessageBreak%
+          the crop package. By option nopagecolor the "color" to be used\MessageBreak%
+          with \string\nopagecolor\space is set. The current value is "none"\MessageBreak%
+          (maybe by default), but the crop package broke\MessageBreak%
+          \string\nopagecolor . 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}%
       \fi%
@@ -884,7 +872,7 @@
 %
 % \section{Installation}
 % \subsection{Downloads}
-% Everything is available at \url{https://www.ctan.org},
+% Everything is available at \url{https://ctan.org},
 % but may need additional packages themselves.\\
 %
 % \DescribeMacro{pagecolor.dtx}
@@ -891,66 +879,62 @@
 % 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{} 2022-11-01 or newer: \url{https://www.CTAN.org/}
 %
 % \item[-] document class \xclass{ltxdoc}, 2022/06/22, v2.1i,
-%   \url{https://www.ctan.org/pkg/ltxdoc}
+%   \url{https://ctan.org/pkg/ltxdoc}
 %
 % \item[-] package \xpackage{holtxdoc}, 2019/12/09, v0.30,
-%   \url{https://www.ctan.org/pkg/holtxdoc}
+%   \url{https://ctan.org/pkg/holtxdoc}
 % \end{description}
 %
 % \DescribeMacro{pagecolor.sty}
-% The |pagecolor.sty| for \LaTeXe{} (i.\,e. each document using
+% 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{} 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}, 2022-06-15, v3.15,
+%   \url{https://ctan.org/pkg/kvoptions}
 %
-% \item[-] package \xpackage{kvoptions}, 2022-06-15, v3.15,
-%   \url{https://www.ctan.org/pkg/kvoptions}
+% \item[-] package \xpackage{pagecolor}, 2023-04-18, v1.2c,
+%   \url{https://ctan.org/pkg/pagecolor}\\
+%   (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?)
 % \end{description}
 % and either
 % \begin{description}
 % \item[-] package \xpackage{xcolor}, 2022/06/12, v2.14,
-%           \url{https://www.ctan.org/pkg/xcolor}
+%           \url{https://ctan.org/pkg/xcolor}
 % \end{description}
 % or
 % \begin{description}
 % \item[-] package \xpackage{color}, 2022-01-06, v1.3d,
-%           \url{https://www.ctan.org/pkg/color} (from the\\
+%           \url{https://ctan.org/pkg/color} (from the\\
 %           \xpackage{graphics} package bundle).
 % \end{description}
 %
 % \DescribeMacro{pagecolor-example.tex}
-% The |pagecolor-example.tex| requires the same file as all
-% documents using the \xpackage{pagecolor} package, i.\,e.
+% The |pagecolor-example.tex| requires the same files as all
+% documents using the \xpackage{pagecolor} package
+% (see preceding paragraph |pagecolor.sty|) and additionally:
 % \begin{description}
-% \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
-%    have some version of it -- is it the current one?)
-% \end{description}
-% and additionally:
-% \begin{description}
 % \item[-] class \xpackage{article}, 2022/07/02, v1.4n, from \xpackage{classes}:\\
-%           \url{https://www.ctan.org/pkg/classes}
+%           \url{https://ctan.org/pkg/classes}
 %
 % \item[-] package \xpackage{xcolor}, 2022/06/12, v2.14,
-%           \url{https://www.ctan.org/pkg/xcolor}\\
+%           \url{https://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.
 %
 % \item[-] package \xpackage{afterpage}, 2014/10/28, v1.08,
-%           \url{https://www.ctan.org/pkg/afterpage}\\
+%           \url{https://ctan.org/pkg/afterpage}\\
 %           This package is only needed for demonstrating the\\
 %           |\newpagecolor{somecolor}\afterpage{\restorepagecolor}| construct.
 %
 % \item[-] package \xpackage{lipsum}, 2021-09-20, v2.7,
-%           \url{https://www.ctan.org/pkg/lipsum}\\
+%           \url{https://ctan.org/pkg/lipsum}\\
 %           This package is only needed for some blind text.
 % \end{description}
 %
@@ -961,10 +945,10 @@
 % there are listed (newer versions might be available):
 % \begin{description}
 % \item[-] package \xpackage{transparent}, 2022-10-27, v1.5,\\
-%           \url{https://www.ctan.org/pkg/transparent}
+%           \url{https://ctan.org/pkg/transparent}
 %
 % \item[-] OCG (Optional Content Groups),\\
-%           \url{https://www.ctan.org/search?phrase=ocg}
+%           \url{https://ctan.org/search?phrase=ocg}
 % \end{description}
 %
 % \DescribeMacro{Oberdiek}
@@ -984,7 +968,7 @@
 %
 % \DescribeMacro{Münch}
 % A hyperlinked list of my (other) packages can be found at
-% \url{https://www.ctan.org/author/muench-hm}.\\
+% \url{https://ctan.org/author/muench-hm}.\\
 %
 % \subsection{Package, unpacking TDS}
 % \paragraph{Package.} This package is available on \url{https://www.CTAN.org}.
@@ -1014,7 +998,7 @@
 %
 % \bigskip
 %
-% \noindent For required other packages, please see the preceding subsection.
+% \noindent For required other packages please see the preceding subsection.
 %
 % \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
 % \docstrip{} archive. The files are extracted by running the
@@ -1149,7 +1133,8 @@
 % \subsection{Compiling the example}
 %
 % The example file, \textsf{pagecolor-example.tex}, can be compiled via\\
-% |(pdf)latex pagecolor-example.tex|.
+% |(pdf)latex pagecolor-example.tex|\\
+% and needs at least two compilation runs.
 %
 % \section{Acknowledgements}
 %
@@ -1221,7 +1206,7 @@
 %     \item \XeLaTeX{} and others now do know |\nopagecolor|.
 %     \item Package \xpackage{crop} has been updated, but |\nopagecolor|
 %             still applies to the physical background sheet instead of the logical foreground area.
-%     \item Now using the \xpackage{hardwrap} package.
+%     \item Now using the \xpackage{hardwrap} package. [Removed in v1.2c again.]
 %   \end{Version}
 %   \begin{Version}{2022-11-27 v1.2a}
 %     \item Now also handling the background/outer/physical page color,
@@ -1230,7 +1215,11 @@
 %   \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 Fixed a missing |v| in the version number.
+%   \end{Version}
+%   \begin{Version}{2023-04-18 v1.2c}
+%     \item No longer using the \xpackage{hardwrap} package.
+%     \item Bug fix: There was an |undolabl| where a |pagecolor| belongs.
 %     \item Documentation and README updates.
 %   \end{Version}
 % \end{History}

Modified: trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins	2023-04-18 19:40:32 UTC (rev 66884)
+++ trunk/Master/texmf-dist/source/latex/pagecolor/pagecolor.ins	2023-04-18 19:40:44 UTC (rev 66885)
@@ -9,7 +9,8 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2023-02-14 v1.2b
+%% Version: 2023-04-18 v1.2c
+%% Info: Provides thepagecolor
 %% 
 %% Copyright (C) 2011 - 2023 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
@@ -42,7 +43,7 @@
 \input docstrip.tex
 \Msg{******************************************************************}
 \Msg{* Installation                                                   *}
-\Msg{* Package: pagecolor 2023-02-14 v1.2b Provides thepagecolor (HMM)*}
+\Msg{* Package: pagecolor 2023-04-18 v1.2c Provides thepagecolor (HMM)*}
 \Msg{******************************************************************}
 
 \keepsilent
@@ -54,7 +55,8 @@
 This is a generated file.
 
 Project: pagecolor
-Version: 2023-02-14 v1.2b
+Version: 2023-04-18 v1.2c
+Info: Provides thepagecolor
 
 Copyright (C) 2011 - 2023 by
     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>

Modified: trunk/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty	2023-04-18 19:40:32 UTC (rev 66884)
+++ trunk/Master/texmf-dist/tex/latex/pagecolor/pagecolor.sty	2023-04-18 19:40:44 UTC (rev 66885)
@@ -9,7 +9,8 @@
 %% This is a generated file.
 %% 
 %% Project: pagecolor
-%% Version: 2023-02-14 v1.2b
+%% Version: 2023-04-18 v1.2c
+%% Info: Provides thepagecolor
 %% 
 %% Copyright (C) 2011 - 2023 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
@@ -40,19 +41,16 @@
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
 \NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\ProvidesPackage{pagecolor}[2023-02-14 v1.2b
-            Provides thepagecolor (HMM)]
+\ProvidesPackage{pagecolor}[2023-04-18 v1.2c 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 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%
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+
+\IfFormatAtLeastTF{2022/11/01}{\relax}{%
+  \PackageError{pagecolor}{Newer LaTeX format needed or older pagecolor 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%
@@ -68,15 +66,15 @@
  }{% xcolor not loaded
    \IfPackageLoadedTF{color}{%
       \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 %
-        option). Neither package was loaded before package %
-        pagecolor. Loading of package xcolor will now be %
-        tried automatically. \\%
-        When the pagecolor package is used with option %
-        pagecolor using a color requiring e.g. x11names %
-        option for xcolor package, this will not work!%
+    }{\PackageWarningNoLine{pagecolor}{%
+        The pagecolor package must be loaded after either\MessageBreak%
+        package color or after package xcolor (at your\MessageBreak%
+        option). Neither package was loaded before package\MessageBreak%
+        pagecolor. Loading of package xcolor will now be\MessageBreak%
+        tried automatically.\MessageBreak%
+        When the pagecolor package is used with option\MessageBreak%
+        pagecolor using a color requiring e.g. x11names\MessageBreak%
+        option for xcolor package, this will not work%
        }
      }
    \RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
@@ -89,30 +87,28 @@
 
 \ifdefined\nopagecolor\relax
 \else
-  \pagecolor at info@noline{\string\nopagecolor\ is undefined!}
+  \PackageNoteNoLine{pagecolor}{\string\nopagecolor\ is undefined}
   \def\pagecolortmpb{none}
   \edef\pagecolortmpa{\pagecolor at nopagecolor}
   \ifx\pagecolortmpa\pagecolortmpb
-    \pagecolor at warning@noline{%
-      Option nopagecolor=none requested but \string\nopagecolor\ %
-      unknown: \\%
-      By option nopagecolor the "color" to be used with %
-      \string\nopagecolor\ %
-      is set. The current value is "none" (maybe by default), %
-      but command \string\nopagecolor\ is undefined. %
-      Therefore the color cannot be "none". %
-      Please change the option accordingly! - %
-      As first aid nopagecolor is now set to white.%
+    \PackageWarningNoLine{pagecolor}{%
+      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%
+      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}
   \fi
   \edef\pagecolortmpa{\pagecolor at pagecolor}
   \ifx\pagecolortmpa\pagecolortmpb\relax
-    \pagecolor at warning@noline{%
-      Option pagecolor=none (maybe by default) used, %
-      but \string\nopagecolor\ is unknown. %
-      Please use another option value; %
-      \pagecolor at nopagecolor\ will be used now.%
+    \PackageWarningNoLine{pagecolor}{%
+      Option pagecolor=none (maybe by default) used,\MessageBreak%
+      but \string\nopagecolor\ is unknown.\MessageBreak%
+      Please use another option value;\MessageBreak%
+      \pagecolor at nopagecolor\ will be used now%
      }
     \setkeys{pagecolor}{pagecolor={\pagecolor at nopagecolor}}
   \fi
@@ -128,14 +124,13 @@
     \ifdefined\nopagecolor\relax%
       \nopagecolor%
     \else%
-      \pagecolor at warning{%
-        pagecolor=none requested but \string\nopagecolor\ %
-        unknown: \\%
-        \string\pagecolor{none} was used, but the command %
-        \string\nopagecolor\ is undefined. %
-        Please use another color. \\%
-        pagecolor=\pagecolor at nopagecolor\ \\%
-        will be used now.%
+      \PackageWarning{pagecolor}{%
+        pagecolor=none requested but \string\nopagecolor\space unknown:\MessageBreak%
+        \string\pagecolor{none} was used, but the command\MessageBreak%
+        \string\nopagecolor\space is undefined.\MessageBreak%
+        Please use another color.\MessageBreak%
+        pagecolor=\pagecolor at nopagecolor\MessageBreak%
+        will be used now.\MessageBreak%
        }%
       \xdef\thepagecolor{\pagecolor at nopagecolor}%
       \xdef\thepagecolornone{\pagecolor at nopagecolor}%
@@ -155,22 +150,23 @@
 \gdef\pagecolor at cl{0}
 \IfPackageLoadedTF{crop}{% crop loaded
   \gdef\pagecolor at cl{1}
-  \pagecolor at info{\string\nopagecolor\space did not work with the crop package %
-    2017/11/19 v1.10. Using \\%
-    \pagecolor at nopagecolor\ \\%
-    as nopagecolor now.%
+  \PackageNoteNoLine{pagecolor}{%
+    \string\nopagecolor\space did not work with the crop package\MessageBreak%
+    2017/11/19 v1.10. Using\MessageBreak%
+    \pagecolor at nopagecolor\MessageBreak%
+    as nopagecolor now%
     }
   \def\pagecolortmpb{none}
   \edef\pagecolortmpa{\pagecolor at nopagecolor}
   \ifx\pagecolortmpa\pagecolortmpb\relax
-    \pagecolor at warning@noline{%
-      Option nopagecolor=none requested but this does not work with the %
-      crop package. By option nopagecolor the "color" to be used with %
-      \string\nopagecolor\ is set. The current value is "none" (maybe by %
-      default), but the crop package broke \string\nopagecolor . %
-      Therefore the color cannot be "none". %
-      Please change the option accordingly! %
-      As first aid nopagecolor is now set to white.%
+    \PackageWarningNoLine{pagecolor}{%
+      Option nopagecolor=none requested but this does not work with the\MessageBreak%
+      crop package. By option nopagecolor the "color" to be used with\MessageBreak%
+      \string\nopagecolor\ is set. The current value is "none" (maybe by\MessageBreak%
+      default), but the crop package broke \string\nopagecolor .\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}
   \fi
@@ -206,8 +202,8 @@
     \xdef\pagecolortmpe{\CROP at pagecolor}%
     \pagecolor{\pagecolortmpd}%
     \xdef\CROP at stockcolor{\pagecolortmpe}%
-    }{\pagecolor at info{\string\backgroundpagecolor\ does not do %
-           anything when the crop package has not been loaded.}%
+    }{\PackageInfo{pagecolor}{\string\backgroundpagecolor\space does not do\MessageBreak%
+           anything when the crop package has not been loaded;\MessageBreak}%
     }%
   }
 
@@ -215,15 +211,15 @@
   \IfPackageLoadedTF{crop}{%
     \xdef\pagecolortmpf{\CROP at stockcolor}%
     \backgroundpagecolor{#1}%
-    }{\pagecolor at info{\string\newbackgroundpagecolor\ does not do %
-              anything when the crop package has not been loaded.}%
+    }{\PackageInfo{pagecolor}{\string\newbackgroundpagecolor\space does not do\MessageBreak%
+              anything when the crop package has not been loaded;\MessageBreak}%
      }%
   }
 
 \newcommand{\restorebackgroundpagecolor}{%
   \IfPackageLoadedTF{crop}{\xdef\CROP at stockcolor{\pagecolortmpf}}{%
-    \pagecolor at info{\string\newbackgroundpagecolor\ does not do %
-             anything when the crop package has not been loaded.}}%
+    \PackageInfo{pagecolor}{\string\newbackgroundpagecolor\space does not do\MessageBreak%
+             anything when the crop package has not been loaded;\MessageBreak}}%
   }
 
 \AddToHook{begindocument/end}{%
@@ -232,22 +228,22 @@
     % crop not loaded before pagecolor, but maybe afterwards:
     \IfPackageLoadedTF{crop}{% crop indeed loaded afterwards.
       \gdef\pagecolor at cl{1}%
-      \pagecolor at info{\string\nopagecolor\space did not work with the crop package %
-        2017/11/19 v1.10. Using \\%
-        \pagecolor at nopagecolor\ \\%
-        as nopagecolor now.%
+      \PackageInfo{pagecolor}{\string\nopagecolor\space did not work with the crop package\MessageBreak%
+        2017/11/19 v1.10. Using\MessageBreak%
+        \pagecolor at nopagecolor\MessageBreak%
+        as nopagecolor now.\MessageBreak%
         }%
       \def\pagecolortmpb{none}%
       \edef\pagecolortmpa{\pagecolor at nopagecolor}%
       \ifx\pagecolortmpa\pagecolortmpb\relax%
-        \pagecolor at warning@noline{%
-          Option nopagecolor=none requested but this does not work with %
-          the crop package. By option nopagecolor the "color" to be used %
-          with \string\nopagecolor\ is set. The current value is "none" %
-          (maybe by default), but the crop package broke %
-          \string\nopagecolor . Therefore the color cannot be "none". %
-          Please change the option accordingly! %
-          As first aid nopagecolor is now set to white.%
+        \PackageWarningNoLine{pagecolor}{%
+          Option nopagecolor=none requested but this does not work with\MessageBreak%
+          the crop package. By option nopagecolor the "color" to be used\MessageBreak%
+          with \string\nopagecolor\space is set. The current value is "none"\MessageBreak%
+          (maybe by default), but the crop package broke\MessageBreak%
+          \string\nopagecolor . 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}%
       \fi%



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