summaryrefslogtreecommitdiff
path: root/macros/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-02-15 03:01:49 +0000
committerNorbert Preining <norbert@preining.info>2023-02-15 03:01:49 +0000
commita7d99429152acee049db679dc26a92e01faf4992 (patch)
treec12bd699dd6c10d6efea6d36cfb71493181d98f5 /macros/latex
parentdc5dafdd7c01d469b556bc5bef745a6f1c84a5cb (diff)
CTAN sync 202302150301
Diffstat (limited to 'macros/latex')
-rw-r--r--macros/latex/contrib/nicefilelist/README2
-rw-r--r--macros/latex/contrib/nicefilelist/doc/SrcFILEs.txt10
-rw-r--r--macros/latex/contrib/nicefilelist/doc/nicefilelist.RLS1
-rw-r--r--macros/latex/contrib/nicefilelist/doc/nicefilelist.pdfbin604616 -> 603887 bytes
-rw-r--r--macros/latex/contrib/nicefilelist/source/nicefilelist.tex15
-rw-r--r--macros/latex/contrib/nicefilelist/source/provonly.fd2
-rw-r--r--macros/latex/contrib/nicefilelist/source/srcfiles.tex2
-rw-r--r--macros/latex/contrib/nicefilelist/source/wrong.prv2
-rw-r--r--macros/latex/contrib/nicefilelist/tex/nicefilelist.sty11
-rw-r--r--macros/latex/contrib/pagecolor/README19
-rw-r--r--macros/latex/contrib/pagecolor/pagecolor-crop-example.pdfbin0 -> 101140 bytes
-rw-r--r--macros/latex/contrib/pagecolor/pagecolor-example.pdfbin92870 -> 93660 bytes
-rw-r--r--macros/latex/contrib/pagecolor/pagecolor.dtx185
-rw-r--r--macros/latex/contrib/pagecolor/pagecolor.pdfbin342986 -> 341917 bytes
-rw-r--r--macros/latex/contrib/undolabl/README58
-rw-r--r--macros/latex/contrib/undolabl/undolabl-example.pdfbin48824 -> 42158 bytes
-rw-r--r--macros/latex/contrib/undolabl/undolabl-example.tex65
-rw-r--r--macros/latex/contrib/undolabl/undolabl.dtx399
-rw-r--r--macros/latex/contrib/undolabl/undolabl.pdfbin304222 -> 323677 bytes
19 files changed, 349 insertions, 422 deletions
diff --git a/macros/latex/contrib/nicefilelist/README b/macros/latex/contrib/nicefilelist/README
index 7c56b70707..6202880182 100644
--- a/macros/latex/contrib/nicefilelist/README
+++ b/macros/latex/contrib/nicefilelist/README
@@ -1,7 +1,7 @@
README for the `nicefilelist' package
\listfiles Alignment with Date and Version Columns
© Uwe Lück 2012/10/30 (deceased June 2020,
- 2023-01-08 v0.9a patched by H.-Martin Münch,
+ 2023-02-13 v0.9b patched by H.-Martin Münch,
original package version 0.7a has been archived at
https://web.archive.org/web/20221205210517/
https://mirror.mwt.me/ctan/install/macros/
diff --git a/macros/latex/contrib/nicefilelist/doc/SrcFILEs.txt b/macros/latex/contrib/nicefilelist/doc/SrcFILEs.txt
index 1d0a9bc538..d501f8a3f5 100644
--- a/macros/latex/contrib/nicefilelist/doc/SrcFILEs.txt
+++ b/macros/latex/contrib/nicefilelist/doc/SrcFILEs.txt
@@ -1,11 +1,11 @@
*File List*
-----RELEASE.--- -- -- -- -- --
-nicefilelist.RLS 2023/01/08 v0.9a ver@@; option autolength
+nicefilelist.RLS 2023/02/13 v0.9b bug-fix
-----PACKAGE.--- -- -- -- -- --
-nicefilelist.sty 2023/01/08 v0.9a more file list alignment (UL)
+nicefilelist.sty 2023/02/13 v0.9b more file list alignment (UL)
------DOCSRC.--- -- -- -- -- --
-nicefilelist.tex 2023/01/08 -- documenting nicefilelist.sty
- srcfiles.tex 2023/01/08 -- file infos -> SrcFILEs.txt
+nicefilelist.tex 2023/02/13 -- documenting nicefilelist.sty
+ srcfiles.tex 2023/02/13 -- file infos -> SrcFILEs.txt
--------DEMO.--- -- -- -- -- --
provonly.fd -- -- -- -- no date, no version, but a lot of info,
look how that is wrapped!
@@ -25,5 +25,5 @@ nicefilelist.tex 2023/01/08 -- documenting nicefilelist.sty
kvsetkeys.sty 2022-10-05 v1.19 Key value parser (HO)
***********
- List made at 2023/01/08, 00:00
+ List made at 2023/02/13, 15:39
from script file srcfiles.tex \ No newline at end of file
diff --git a/macros/latex/contrib/nicefilelist/doc/nicefilelist.RLS b/macros/latex/contrib/nicefilelist/doc/nicefilelist.RLS
index fee0d9b4ca..6c620a6ee1 100644
--- a/macros/latex/contrib/nicefilelist/doc/nicefilelist.RLS
+++ b/macros/latex/contrib/nicefilelist/doc/nicefilelist.RLS
@@ -1,4 +1,5 @@
\ProvidesFile{nicefilelist.RLS}%% RELEASE INFO
+ [2023/02/13 v0.9b bug-fix]
[2023/01/08 v0.9a ver@@; option autolength]
[2022/12/05 v0.8a date: dashes OK]
[2012/12/12 v0.7a [wrap], `mono' typo, vs.]
diff --git a/macros/latex/contrib/nicefilelist/doc/nicefilelist.pdf b/macros/latex/contrib/nicefilelist/doc/nicefilelist.pdf
index c062cb5c46..4a0a2e9461 100644
--- a/macros/latex/contrib/nicefilelist/doc/nicefilelist.pdf
+++ b/macros/latex/contrib/nicefilelist/doc/nicefilelist.pdf
Binary files differ
diff --git a/macros/latex/contrib/nicefilelist/source/nicefilelist.tex b/macros/latex/contrib/nicefilelist/source/nicefilelist.tex
index 40cdb2f8aa..ecf8f7649e 100644
--- a/macros/latex/contrib/nicefilelist/source/nicefilelist.tex
+++ b/macros/latex/contrib/nicefilelist/source/nicefilelist.tex
@@ -1,4 +1,4 @@
-\ProvidesFile{nicefilelist.tex}[2023/01/08 documenting nicefilelist.sty]
+\ProvidesFile{nicefilelist.tex}[2023/02/13 documenting nicefilelist.sty]
\title{\pkg{\huge nicefilelist.sty
}\\---\\\cs{listfiles} Alignment for Connoisseurs\thanks{This
document describes version
@@ -260,12 +260,12 @@ so you see what happens then:
\begin{verbatim}
*File List*
-----RELEASE.--- -- -- -- -- --
-nicefilelist.RLS 2023/01/08 v0.9a ver@@; option autolength
+nicefilelist.RLS 2023/02/13 v0.9b bug-fix
-----PACKAGE.--- -- -- -- -- --
-nicefilelist.sty 2023/01/08 v0.9a more file list alignment (UL)
+nicefilelist.sty 2023/02/13 v0.9b more file list alignment (UL)
------DOCSRC.--- -- -- -- -- --
-nicefilelist.tex 2023/01/08 -- documenting nicefilelist.sty
- srcfiles.tex 2023/01/08 -- file infos -> SrcFILEs.txt
+nicefilelist.tex 2023/02/13 -- documenting nicefilelist.sty
+ srcfiles.tex 2023/02/13 -- file infos -> SrcFILEs.txt
--------DEMO.--- -- -- -- -- --
provonly.fd -- -- -- -- no date, no version, but a lot of info,
look how that is wrapped!
@@ -285,7 +285,7 @@ nicefilelist.tex 2023/01/08 -- documenting nicefilelist.sty
kvsetkeys.sty 2022-10-05 v1.19 Key value parser (HO)
***********
- List made at 2023/01/08, 00:00
+ List made at 2023/02/13, 19:17
from script file srcfiles.tex
\end{verbatim}
\end{small}
@@ -424,4 +424,5 @@ VERSION HISTORY
2012/10/30 \listfiles
2012/12/12 for v0.7a vs.\
2022/12/05 for v0.8a accepts also the new date format with dashes
-2023/01/06 for v0.9a regards |ver@@| for version; new option [autolength] \ No newline at end of file
+2023/01/06 for v0.9a regards |ver@@| for version; new option [autolength]
+2023/02/13 for v0.9b bug-fix: file extension missed when |\input| \ No newline at end of file
diff --git a/macros/latex/contrib/nicefilelist/source/provonly.fd b/macros/latex/contrib/nicefilelist/source/provonly.fd
index 278740491c..1d3b39a5ff 100644
--- a/macros/latex/contrib/nicefilelist/source/provonly.fd
+++ b/macros/latex/contrib/nicefilelist/source/provonly.fd
@@ -1,4 +1,4 @@
-%\ProvidesFile{provonly.fd}[2023/01/08 v0.12a such]
+%\ProvidesFile{provonly.fd}[2023/02/13 v0.12a such]
%\ProvidesFile{provonly.fd}[such]
\ProvidesFile{provonly.fd}[no date, no version, but a lot of info,
look how that is wrapped!] \ No newline at end of file
diff --git a/macros/latex/contrib/nicefilelist/source/srcfiles.tex b/macros/latex/contrib/nicefilelist/source/srcfiles.tex
index f11a4891fb..5b941bd00a 100644
--- a/macros/latex/contrib/nicefilelist/source/srcfiles.tex
+++ b/macros/latex/contrib/nicefilelist/source/srcfiles.tex
@@ -1,5 +1,5 @@
\ProvidesFile{srcfiles.tex}
- [2023/01/08 file infos -> SrcFILEs.txt]
+ [2023/02/13 file infos -> SrcFILEs.txt]
\RequirePackage[r,wrap]{nicefilelist}
\RequirePackage{filedate}
\MaxBaseEmptyList{nicefilelist}
diff --git a/macros/latex/contrib/nicefilelist/source/wrong.prv b/macros/latex/contrib/nicefilelist/source/wrong.prv
index 33aaae4e5e..a4fc50dd88 100644
--- a/macros/latex/contrib/nicefilelist/source/wrong.prv
+++ b/macros/latex/contrib/nicefilelist/source/wrong.prv
@@ -1 +1 @@
-\ProvidesFile{diffname.prv}[2022/12/05 v0.1 wrong] \ No newline at end of file
+\ProvidesFile{diffname.prv}[2023/02/13 v0.1 wrong] \ No newline at end of file
diff --git a/macros/latex/contrib/nicefilelist/tex/nicefilelist.sty b/macros/latex/contrib/nicefilelist/tex/nicefilelist.sty
index ce80cd1666..b44178f773 100644
--- a/macros/latex/contrib/nicefilelist/tex/nicefilelist.sty
+++ b/macros/latex/contrib/nicefilelist/tex/nicefilelist.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}[1994/12/01]% Option autolength needs 2022-11-01!
-\ProvidesPackage{nicefilelist}[2023/01/08 v0.9a
+\ProvidesPackage{nicefilelist}[2023/02/13 v0.9b
more file list alignment (UL)]
%% Copyright (C) 2012 Uwe Lück (deceased June 2020)
%%
@@ -146,11 +146,11 @@
\ifNFLwrap\RequirePackage{hardwrap}\fi
\ifNFLautolength
- \RequirePackage{xstring}[2021-07-21]% v1.84; needs e-TeX
+ \RequirePackage{xstring}[2023-01-14]% v1.85 String manipulations (CT); needs e-TeX
\AddToHook{enddocument/afterlastpage}{%
\xdef\NFLbaselengthmax{nicefilelist}%
\xdef\NFLextlengthmax{sty}%
- \xdef\NFLversionlengthmax{v0.9a}%
+ \xdef\NFLversionlengthmax{v0.9b}%
\xdef\NFLcaptionlengthmax{more file list alignment (UL)}%
\xdef\NFLbaselengthtmp{0}%
\xdef\NFLextlengthtmp{0}%
@@ -160,6 +160,7 @@
\@for\@currname:=\@filelist\do{%
% This starts the loop through the list of files.
\filename@parse\@currname%
+ \edef\filename@ext{\ifx\filename@ext\relax tex\else\filename@ext\fi}%
\StrLen{\filename@base}[\NFLbaselengthcurrent]%
\ifnum \NFLbaselengthcurrent > \NFLbaselengthtmp \relax%
{\xdef\NFLbaselengthtmp{\NFLbaselengthcurrent}%
@@ -215,7 +216,7 @@
\message{\space\string\hw@maxprintline\space unknown.^^J}%
}{\message{\space\string\hw@maxprintline\space %
unknown because not loading the hardwrap package.^^J}%
- }%
+ }%
\message{\space Now guessing it to be 79.}%
\global\newcount\hw@maxprintline%
\hw@maxprintline=79\relax% the default value
@@ -558,4 +559,6 @@ v0.8a 2022/12/05 Accepting also dashes instead of slashes in date
latex/contrib/nicefilelist.tds.zip
v0.9a 2023/01/08 now also regarding |ver@@| for version;
new option [autolength] (using .aux file)
+ (one-time fix by H.-Martin Münch)
+v0.9b 2023/02/13 bug-fix: file extension missed when |\input|
(one-time fix by H.-Martin Münch) \ No newline at end of file
diff --git a/macros/latex/contrib/pagecolor/README b/macros/latex/contrib/pagecolor/README
index be71d8d8c8..115461645c 100644
--- a/macros/latex/contrib/pagecolor/README
+++ b/macros/latex/contrib/pagecolor/README
@@ -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 @@ any later version. This version of this license is in
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 @@ Also a ZIP file is provided that contains the files:
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 @@ d) Create the documentation, if necessary, e.g.
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 @@ g) Copy the documentation files to
=====================
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).
diff --git a/macros/latex/contrib/pagecolor/pagecolor-crop-example.pdf b/macros/latex/contrib/pagecolor/pagecolor-crop-example.pdf
new file mode 100644
index 0000000000..52c21eb648
--- /dev/null
+++ b/macros/latex/contrib/pagecolor/pagecolor-crop-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/pagecolor/pagecolor-example.pdf b/macros/latex/contrib/pagecolor/pagecolor-example.pdf
index 2f542a3184..996f485f6e 100644
--- a/macros/latex/contrib/pagecolor/pagecolor-example.pdf
+++ b/macros/latex/contrib/pagecolor/pagecolor-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/pagecolor/pagecolor.dtx b/macros/latex/contrib/pagecolor/pagecolor.dtx
index 3c57dacf55..75e0beec2f 100644
--- a/macros/latex/contrib/pagecolor/pagecolor.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/pagecolor/pagecolor.pdf b/macros/latex/contrib/pagecolor/pagecolor.pdf
index edbc7cbde2..02a3d46784 100644
--- a/macros/latex/contrib/pagecolor/pagecolor.pdf
+++ b/macros/latex/contrib/pagecolor/pagecolor.pdf
Binary files differ
diff --git a/macros/latex/contrib/undolabl/README b/macros/latex/contrib/undolabl/README
index 981f752eaa..91304747cd 100644
--- a/macros/latex/contrib/undolabl/README
+++ b/macros/latex/contrib/undolabl/README
@@ -1,4 +1,4 @@
-README for undolabl package, 2015/03/29, v1.0l
+README for undolabl package, 2023-02-14, v1.0m
TABLE OF CONTENTS
@@ -25,39 +25,39 @@ Ulrich Diez (eu_angelion AT web DOT de)
and first published in the
comp.text.tex newsgroup at Sun, 20 Apr 2008 16:39:26 +0200, with subject:
Re: How to undefine/overwrite a label? (see e.g.
-http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source).
-While Ulrich Diez neither wanted to create a package himself yet
+https://groups.google.com/g/comp.text.tex/c/MBiR-EpPceo/m/2pdwkZP-bK8J
+). While Ulrich Diez neither wanted to create a package himself yet
nor have one published under his name, he granted the
publication of his code. Therefore: Thanks!
-I (H.-Martin Münch) submitted this package to CTAN
+I (H.-Martin Münch) submitted this package to CTAN
(after some updates of the documentation, mainly layout,
typos and such things.)
This material is published under the LPPL 1.3c: This work may be
distributed and/or modified under the conditions of the LaTeX Project
-Public License, either version 1.3c of this license or (at your option) any
-later version. This version of this license is in
-http://www.latex-project.org/lppl/lppl-1-3c.txt
+Public License, either version 1.3c of this license or (at your option)
+any later version. This version of this license is in
+https://www.latex-project.org/lppl/lppl-1-3c.txt
and the latest version of this license is in
-http://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.
+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.
2 DOWNLOAD
==========
-`undolabl' is available on CTAN:
+"undolabl" is available on CTAN:
https://www.ctan.org/pkg/undolabl
Also a ZIP file is provided that contains the files:
the manual (undolabl.pdf), the example (undolabl-example.tex),
-the compiled example (undolabl-example.pdf),
+the compiled example (undolabl-example.pdf),
driver (undolabl.drv), undolabl.dtx,
-installation file (undolabl.ins),
+installation file (undolabl.ins),
the style file (undolabl.sty),
and this README, already sorted in a TDS tree:
-http://mirrors.ctan.org/install/macros/latex/contrib/undolabl.tds.zip
+https://mirror.ctan.org/install/macros/latex/contrib/undolabl.tds.zip
3 INSTALLATION
@@ -65,7 +65,7 @@ http://mirrors.ctan.org/install/macros/latex/contrib/undolabl.tds.zip
Installation with ZIP file in TDS format
----------------------------------------
-The ZIP file `undolabl.tds.zip' contains the files
+The ZIP file "undolabl.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
@@ -84,9 +84,9 @@ a) Download the undolabl files from CTAN.
If necessary, unpack them.
b) Generate the package and driver files:
tex undolabl.dtx
-c) Install the file `*.sty' in your TDS tree:
- cp *.sty TDS:tex/latex/undolabl/
- Replace `TDS:' by the prefix of your TDS tree
+c) Install the file "undolabl.sty" in your TDS tree:
+ cp undolabl.sty TDS:tex/latex/undolabl/
+ Replace "TDS:" by the prefix of your TDS tree
(texmf directory).
d) Create the documentation, if necessary, e.g.
pdflatex undolabl.dtx
@@ -94,8 +94,8 @@ d) Create the documentation, if necessary, e.g.
pdflatex undolabl.dtx
makeindex -s gind.ist undolabl.idx
pdflatex undolabl.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 undolabl-example.pdf, if necessary, e.g.
pdflatex undolabl-example.tex
pdflatex undolabl-example.tex
@@ -115,10 +115,10 @@ but working with labels usually means using
which again loads other packages
(see the result of the \listfiles command in the log-file
of the example).
-Also the undolabl.dtx loads other packages
-(for unpacking and constructing the documentation),
+Also the undolabl.dtx loads other packages
+(for unpacking and constructing the documentation),
see "5.1 Downloads" in the manual
-http://mirrors.ctan.org/macros/latex/contrib/undolabl/undolabl.pdf
+https://mirror.ctan.org/macros/latex/contrib/undolabl/undolabl.pdf
5 PACKAGE COMPATIBILITY
@@ -136,7 +136,7 @@ https://www.ctan.org/pkg/acronym
* Author of the original main code:
Ulrich Diez (Thanks!)
* Author of the recent package and current maintainer:
- H.-Martin Münch
+ H.-Martin Münch
7 BUG REPORTS
@@ -147,12 +147,12 @@ A bug report should contain:
warning messages.
* \errorcontextlines=\maxdimen can be added in the
TeX code to get more information in TeX error messages.
-* Minimal test file that shows the problem, but does not
- contain any unnecessary packages and code.
+* Minimal test file that shows the problem,
+ but does not contain any unnecessary packages and code.
* Used drivers/programs.
* Version information about used packages and programs.
-* If you are using LaTeX, then add "\listfiles". Then
- a list of version information is printed at the end
+* If you are using LaTeX, then add "\listfiles" to the document.
+ Then a list of version information is printed at the end
of the LaTeX run.
* Please no other files than the minimal test file.
The other files .log, .dvi, .ps, .pdf are seldom
@@ -162,7 +162,7 @@ A bug report should contain:
Bug address
-----------
Bug reports can be send to the maintainer:
- H.-Martin Münch
+ H.-Martin Münch
<Martin [dot] Muench [at] Uni-Bonn [dot] de>
diff --git a/macros/latex/contrib/undolabl/undolabl-example.pdf b/macros/latex/contrib/undolabl/undolabl-example.pdf
index 4979248c8d..d23b5782c1 100644
--- a/macros/latex/contrib/undolabl/undolabl-example.pdf
+++ b/macros/latex/contrib/undolabl/undolabl-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/undolabl/undolabl-example.tex b/macros/latex/contrib/undolabl/undolabl-example.tex
index 45c7c7d895..4bce303656 100644
--- a/macros/latex/contrib/undolabl/undolabl-example.tex
+++ b/macros/latex/contrib/undolabl/undolabl-example.tex
@@ -9,26 +9,21 @@
%% This is a generated file.
%%
%% Project: undolabl
-%% Version: 2015/03/29 v1.0l
+%% Version: 2023-02-14 v1.0m
%%
-%% Copyright (C) 2010 - 2015 by
-%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
+%% Copyright (C) 2010 - 2023 by
+%% H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
%% Portions of code copyrighted by other people as marked.
%%
-%% The usual disclaimer applies:
-%% If it doesn't work right that's your problem.
-%% (Nevertheless, send an e-mail to the maintainer
-%% when you find an error in this package.)
-%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3c of this license or (at your option) any later
%% version. This version of this license is in
-%% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%% https://www.latex-project.org/lppl/lppl-1-3c.txt
%% and the latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
+%% 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.
+%% LaTeX version 2005-12-01 or later.
%%
%% This work has the LPPL maintenance status "maintained".
%%
@@ -39,7 +34,7 @@
%% and first published in the comp.text.tex newsgroup
%% at Sun, 20 Apr 2008 16:39:26 +0200, with subject:
%% Re: How to undefine/overwrite a label? (see e.g.
-%% http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source
+%% https://groups.google.com/g/comp.text.tex/c/MBiR-EpPceo/m/2pdwkZP-bK8J
%% ). While Ulrich Diez neither wanted to create a package himself yet
%% nor have one published under his name, he granted the
%% publication of his code. Therefore: Thanks!
@@ -51,12 +46,12 @@
%% undolabl-example.tex, undolabl-example.pdf.
%%
%% In memoriam
-%% Claudia Simone Barth + 1996/01/30
-%% Tommy Muench + 2014/01/02
-%% Hans-Klaus Muench + 2014/08/24
+%% Claudia Simone Barth + 1996-01-30
+%% Tommy Muench + 2014-01-02
+%% Hans-Klaus Muench + 2014-08-24
%%
-\documentclass[british]{article}[2007/10/19]% v1.4h
-\usepackage{undolabl}[2015/03/29]% v1.0l
+\documentclass[british]{article}[2022/07/02]% v1.4n
+\usepackage{undolabl}[2023-02-14]% v1.0m
%% There are no options for the undolabl package. %%
\usepackage[%
extension=pdf,%
@@ -67,65 +62,53 @@
pdftitle={undolabl package example},%
pdfauthor={H.-Martin Muench, after Ulrich Diez},%
pdfsubject={Example for the undolabl package},%
- pdfkeywords={LaTeX, undolabl, undolabel, H.-Martin Muench, Ulrich Diez},%
+ pdfkeywords={LaTeX, undolabl, undolabel},%
pdfview=FitH,%
pdfstartview=FitH,%
pdfpagelayout=OneColumn,%
bookmarksopen=true%
-]{hyperref}[2012/11/06]% v6.83m; when you want to use nameref
-\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
+]{hyperref}[2023-02-07]% v7.00v; when you want to use nameref
\listfiles
\begin{document}
\pagenumbering{arabic}
\section*{Example for undolabl}
-
This example demonstrates the use of package\newline
-\textsf{undolabl}, v1.0l as of 2015/03/29 (HMM).\newline
-For details please see the documentation!\newline
-
-\noindent Save per page about $200\unit{ml}$~water,
-$2\unit{g}$~CO$_{2}$ and $2\unit{g}$~wood:\newline
-Therefore please print only if this is really necessary.\newline
-I do NOT think, that it is necessary to print THIS file, really!
+\textsf{undolabl}, v1.0m as of 2023-02-14 (HMM).\newline
+For details please see the documentation!
\bigskip
\section{Test}
-
text \label{testlabel}\\
-page-reference: \pageref{testlabel}\\%% -> page 4
+page-reference: \pageref{testlabel}\\%% -> page 4
sectional-reference: \ref{testlabel}\\%% -> section 4
-name-reference: \nameref{testlabel}%% -> Still another test
+name-reference: \nameref{testlabel}%% -> Still another test
\newpage
\section{Another test}
-
text \overridelabel{testlabel}\\
-page-reference: \pageref{testlabel}\\%% -> page 4
+page-reference: \pageref{testlabel}\\%% -> page 4
sectional-reference: \ref{testlabel}\\%% -> section 4
-name-reference: \nameref{testlabel}%% -> Still another test
+name-reference: \nameref{testlabel}%% -> Still another test
\newpage
\section{Yet another test}
-
text \overridelabel{testlabel}\\
-page-reference: \pageref{testlabel}\\%% -> page 4
+page-reference: \pageref{testlabel}\\%% -> page 4
sectional-reference: \ref{testlabel}\\%% -> section 4
-name-reference: \nameref{testlabel}%% -> Still another test
+name-reference: \nameref{testlabel}%% -> Still another test
\newpage
\section{Still another test}
-
text \overridelabel{testlabel}\\
-page-reference: \pageref{testlabel}\\%% -> page 4
+page-reference: \pageref{testlabel}\\%% -> page 4
sectional-reference: \ref{testlabel}\\%% -> section 4
-name-reference: \nameref{testlabel}%% -> Still another test
+name-reference: \nameref{testlabel}%% -> Still another test
\end{document}
-
\endinput
%%
%% End of file `undolabl-example.tex'.
diff --git a/macros/latex/contrib/undolabl/undolabl.dtx b/macros/latex/contrib/undolabl/undolabl.dtx
index 180876aefd..f42347fef0 100644
--- a/macros/latex/contrib/undolabl/undolabl.dtx
+++ b/macros/latex/contrib/undolabl/undolabl.dtx
@@ -1,17 +1,18 @@
% \iffalse meta-comment
%
% File: undolabl.dtx
-% Version: 2015/03/29 v1.0l
+% Version: 2023-02-14 v1.0m
+% Info: Overriding labels
%
-% Copyright (C) 2010 - 2015 by
-% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
+% Copyright © 2010 - 2023 by
+% H.-Martin Münch <Martin dot Muench at Uni-Bonn dot de>
% Portions of code copyrighted by other people as marked.
%
% The main code of this package was invented by Ulrich Diez
% and first published in the comp.text.tex newsgroup
% at Sun, 20 Apr 2008 16:39:26 +0200, with subject:
% Re: How to undefine/overwrite a label? (see e.g.
-% http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source
+% https://groups.google.com/g/comp.text.tex/c/MBiR-EpPceo/m/2pdwkZP-bK8J
% ). While Ulrich Diez neither wanted to create a package himself yet
% nor have one published under his name, he granted the
% publication of his code. Therefore: Thanks!
@@ -20,15 +21,15 @@
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any later
% version. This version of this license is in
-% http://www.latex-project.org/lppl/lppl-1-3c.txt
+% https://www.latex-project.org/lppl/lppl-1-3c.txt
% and the latest version of this license is in
-% http://www.latex-project.org/lppl.txt
+% 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.
+% LaTeX version 2005-12-01 or later.
%
% 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 undolabl.dtx,
% the README, and the derived files
@@ -36,12 +37,12 @@
% undolabl.ins, undolabl.drv,
% undolabl-example.tex, undolabl-example.pdf.
%
-% 'undolabl' is available on CTAN:
+% "undolabl" is available on CTAN:
% https://www.ctan.org/pkg/undolabl
%
% Also a TDS.ZIP file is provided that contains all the files
% already sorted in a TDS tree:
-% http://mirrors.ctan.org/install/macros/latex/contrib/undolabl.tds.zip
+% https://mirror.ctan.org/install/macros/latex/contrib/undolabl.tds.zip
%
%<*ignore>
\begingroup
@@ -56,10 +57,10 @@
%</ignore>
%<*install>
\input docstrip.tex
-\Msg{************************************************************}
-\Msg{* Installation}
-\Msg{* Package: undolabl 2015/03/29 v1.0l Overriding labels (HMM)}
-\Msg{************************************************************}
+\Msg{*************************************************************}
+\Msg{* Installation *}
+\Msg{* Package: undolabl 2023-02-14 v1.0m Overriding labels (HMM)*}
+\Msg{*************************************************************}
\keepsilent
\askforoverwritefalse
@@ -70,26 +71,21 @@
This is a generated file.
Project: undolabl
-Version: 2015/03/29 v1.0l
+Version: 2023-02-14 v1.0m
-Copyright (C) 2010 - 2015 by
- H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
+Copyright (C) 2010 - 2023 by
+ H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
Portions of code copyrighted by other people as marked.
-The usual disclaimer applies:
-If it doesn't work right that's your problem.
-(Nevertheless, send an e-mail to the maintainer
- when you find an error in this package.)
-
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.3c of this license or (at your option) any later
version. This version of this license is in
- http://www.latex-project.org/lppl/lppl-1-3c.txt
+ https://www.latex-project.org/lppl/lppl-1-3c.txt
and the latest version of this license is in
- http://www.latex-project.org/lppl.txt
+ 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.
+LaTeX version 2005-12-01 or later.
This work has the LPPL maintenance status "maintained".
@@ -100,7 +96,7 @@ Ulrich Diez (eu_angelion AT web DOT de)
and first published in the comp.text.tex newsgroup
at Sun, 20 Apr 2008 16:39:26 +0200, with subject:
Re: How to undefine/overwrite a label? (see e.g.
-http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source
+https://groups.google.com/g/comp.text.tex/c/MBiR-EpPceo/m/2pdwkZP-bK8J
). While Ulrich Diez neither wanted to create a package himself yet
nor have one published under his name, he granted the
publication of his code. Therefore: Thanks!
@@ -112,9 +108,9 @@ the README, and the derived files
undolabl-example.tex, undolabl-example.pdf.
In memoriam
- Claudia Simone Barth + 1996/01/30
- Tommy Muench + 2014/01/02
- Hans-Klaus Muench + 2014/08/24
+ Claudia Simone Barth + 1996-01-30
+ Tommy Muench + 2014-01-02
+ Hans-Klaus Muench + 2014-08-24
\endpreamble
\let\MetaPrefix\DoubleperCent
@@ -169,19 +165,14 @@ In memoriam
%
% \begin{macrocode}
%<*driver>
-\NeedsTeXFormat{LaTeX2e}[2014/05/01]
+\NeedsTeXFormat{LaTeX2e}[2022-11-01]
\ProvidesFile{undolabl.drv}%
- [2015/03/29 v1.0l Overriding labels (HMM)]
-\documentclass{ltxdoc}[2014/09/29]% v2.0u
-\usepackage{holtxdoc}[2012/03/21]% v0.24
-%% undolabl may work with earlier versions of LaTeX2e and those
-%% class and package, but this was not tested.
-%% Please consider updating your LaTeX, class, and package
-%% to the most recent version (if they are not already the most
-%% recent version).
+ [2023-02-14 v1.0m Overriding labels (HMM)]
+\documentclass{ltxdoc}[2022/06/22]% v2.1i
+\usepackage{holtxdoc}[2019/12/09]% v0.30
\hypersetup{%
- pdfsubject={LaTeX2e package for overriding labels (HMM)},%
- pdfkeywords={LaTeX, undolabl, undolabel, undo label, label, override, H.-Martin Muench},%
+ pdfsubject={Overriding labels (HMM)},%
+ pdfkeywords={LaTeX, undolabl, undolabel, undo label, label, override},%
pdfencoding=auto,%
pdflang={en},%
breaklinks=true,%
@@ -198,33 +189,13 @@ In memoriam
}
\CodelineIndex
\hyphenation{docu-ment}
-\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
\begin{document}
\DocInput{undolabl.dtx}%
\end{document}
%</driver>
% \end{macrocode}
-%
% \fi
%
-% \CheckSum{107}
-%
-% \CharacterTable
-% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-% Digits \0\1\2\3\4\5\6\7\8\9
-% Exclamation \! Double quote \" Hash (number) \#
-% Dollar \$ Percent \% Ampersand \&
-% Acute accent \' Left paren \( Right paren \)
-% Asterisk \* Plus \+ Comma \,
-% Minus \- Point \. Solidus \/
-% Colon \: Semicolon \; Less than \<
-% Equals \= Greater than \> Question mark \?
-% Commercial at \@ Left bracket \[ Backslash \\
-% Right bracket \] Circumflex \^ Underscore \_
-% Grave accent \` Left brace \{ Vertical bar \|
-% Right brace \} Tilde \~}
-%
% \GetFileInfo{undolabl.drv}
%
% \begingroup
@@ -242,23 +213,18 @@ In memoriam
% }%^^A
% \expandafter\endgroup\x
%
-% \DoNotIndex{\",\-,\,,\\,\noindent}
-% \DoNotIndex{\documentclass,\usepackage,\ProvidesPackage,\begin,\end}
-% \DoNotIndex{\MessageBreak}
-% \DoNotIndex{\NeedsTeXFormat,\DoNotIndex,\verb}
-% \DoNotIndex{\def,\edef,\gdef,\global}
-% \DoNotIndex{\ifx,\listfiles,\mathord,\mathrm}
-% \DoNotIndex{\kvoptions,\SetupKeyvalOptions,\ProcessKeyvalOptions}
-% \DoNotIndex{\bigskip,\space,\thinspace,\ldots}
-% \DoNotIndex{\indent,\noindent,\newline,\linebreak,\pagebreak,\newpage}
-% \DoNotIndex{\textbf,\textit,\textsf,\texttt,\textsc,\textquotedblleft,\textquotedblright}
-% \DoNotIndex{\plainTeX,\TeX,\LaTeX,\pdfLaTeX}
-% \DoNotIndex{\chapter,\section}
-% \DoNotIndex{\Large}
+% \DoNotIndex{\@auxout,\@bsphack,\@esphack,\@firstofone,\@gobble,\@ifl@t@r,\@ifundefined}
+% \DoNotIndex{\@namedef,\@secondoftwo,\\,\AddToHook,\begin,\begindocument,\bigskip}
+% \DoNotIndex{\csname,\documentclass,\empty,\end,\endcsname,\fmtversion,\g@addto@macro}
+% \DoNotIndex{\holtxdoc,\hypdoc,\hyperref,\if@filesw,\IfFormatAtLeastTF,\IfPackageAtLeastTF}
+% \DoNotIndex{\IfPackageLoadedTF,\ifx,\label,\listfiles,\MessageBreak,\nameref}
+% \DoNotIndex{\NeedsTeXFormat,\newcommand,\newline,\newpage,\PackageError,\PackageWarning}
+% \DoNotIndex{\pagenumbering,\pageref,\ProvidesPackage,\ref,\section,\space,\textsf}
+% \DoNotIndex{\usepackage}
%
% \title{The \xpackage{undolabl} package}
-% \date{2015/03/29 v1.0l}
-% \author{H.-Martin M\"{u}nch\\\xemail{Martin.Muench at Uni-Bonn.de}}
+% \date{2023-02-14 v1.0m}
+% \author{H.-Martin Münch\\\xemail{Martin.Muench at Uni-Bonn.de}}
%
% \maketitle
%
@@ -267,7 +233,7 @@ In memoriam
% especially automatically generated ones.
% \end{abstract}
%
-% \noindent \textbf{WARNING}: Since version 1.0d [2010/07/15] the |\undonewlabel|
+% \noindent \textbf{WARNING}: Since version 1.0d [2010-07-15] the |\undonewlabel|
% command takes only one argument,\\
% \texttt{\textbackslash undonewlabel\{<\textit{label name}>\}},\\
% instead of two,\\
@@ -280,7 +246,7 @@ In memoriam
% and first published in the \Newsgroup{comp.text.tex} newsgroup at\\
% \texttt{Sun,~20~Apr~2008~16:39:26~+0200}, with subject:\\
% \texttt{Re:~How~to~undefine/overwrite~a~label?} (see e.\,g.
-% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source}%
+% \url{https://groups.google.com/g/comp.text.tex/c/MBiR-EpPceo/m/2pdwkZP-bK8J}%
% ).\\
% While \textbf{ULRICH DIEZ} neither wanted to create a~package himself yet
% nor have one published under his name, he granted the publication of his code.
@@ -291,25 +257,14 @@ In memoriam
% \bigskip
%
% \noindent Disclaimer for web links: The author is not responsible for any contents
-% referred to in this work unless he has 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.
-%
-% \bigskip
-%
-% \noindent {\color{green} Save per page about $200\unit{ml}$ water,
-% $2\unit{g}$ CO$_{2}$ and $2\unit{g}$ wood:\\
-% Therefore please print only if this is really necessary.}
-%
-% \newpage
+% 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 those pages.
%
% \tableofcontents
%
-% \newpage
-%
% \section{Introduction\label{sec:Introduction}}
-%
% \indent The package's name \texttt{undolabl} is an eight-letter
% abbreviation for the phrases ``undo'' and ``label''.\\
%
@@ -337,8 +292,8 @@ In memoriam
% \begin{verbatim}
% IF (macro \r@foo is already defined)
% THEN
-% - Issue an error-message,
-% - Make sure that the multiply-defined-labels-warning occurs
+% - issue an error-message,
+% - make sure that the multiply-defined-labels-warning occurs
% in the log-file
% ELSE
% \def\r@foo{{<page-no>}{<sectional no>}{<probably something else>}}
@@ -349,13 +304,11 @@ In memoriam
% |\ref{foo}| |->|
% \begin{description}
% \item[-] expand |\r@foo|: |{<page-no>}{<sectional no>}{<probably something else>}|
-%
% \item[-] grab the second from the resulting arguments: |<sectional no>|
% \end{description}
% |\pageref{foo}| |->|
% \begin{description}
% \item[-] expand |\r@foo|: |{<page-no>}{<sectional no>}{<probably something else>}|
-%
% \item[-] grab the first from the resulting arguments: |<page-no>|
% \end{description}
% Back to the |\label|-mechanism:
@@ -364,9 +317,7 @@ In memoriam
% get defined from reading the \xfile{.aux} file. The |\r@<label>|-macros
% get used by the referencing-macros (|\ref|, |\pageref|,\ldots{}) during
% the \LaTeX{}-run.
-%
% \item[-] During the \LaTeX{}-run, the \xfile{.aux} file gets rewritten.
-%
% \item[-] At the end of the \LaTeX{}-run, the \xfile{.aux} file (which was
% rewritten/newly created during the \LaTeX{}-run) is read in order
% to detect whether references have changed during the current
@@ -390,8 +341,8 @@ In memoriam
% \end{verbatim}
% So what do you need to do in order to override a label:
% \begin{description}
-% \item[-] First you need to write to the \xfile{.aux} file to silently undefine
-% the associated |\r@<label>|-macro if it is already defined.
+% \item[-] First you need to write to the \xfile{.aux} file to silently
+% undefine the associated |\r@<label>|-macro if it is already defined.
% That is why |\overridelabel| writes in terms of |\protected@write|
% to the \xfile{.aux} file:
% \begin{verbatim}
@@ -399,7 +350,6 @@ In memoriam
% \end{verbatim}
% |\undonewlabel| \textquotedblleft undefines\textquotedblright\ the
% |\r@<label>|-macro. (How this works will be explained below.)
-%
% \item[-] Then |\overridelabel| can call |\label{<label>}| again
% and thus produce another |\newlabel{<label>}|-entry to the
% \xfile{.aux} file.
@@ -421,21 +371,18 @@ In memoriam
%
% There is another issue left:
% \begin{description}
-% \item[-] It was said that \xfile{.aux} file is read at the beginning and at the
-% end of the \LaTeX{}-run for detecting whether references have changed.
-%
+% \item[-] It was said that \xfile{.aux} file is read at the beginning and
+% at the end of the \LaTeX{}-run for detecting whether references have changed.
% \item[-] When overriding a |<label>|, there will be several
% |\newlabel{<label>}|-calls associated to the same label-name in
% the \xfile{.aux} file.
-%
-% \item[-] At the beginning of the \LaTeX{}-run only the last one counts for
-% defining the associated |\r@<label>|-macro.
-%
-% \item[-] But at the end, when the new \xfile{.aux} file is read, they all count
-% and thus with all these entries but the last one, the
-% above-mentioned |\@testdef|-comparison will yield difference and thus
-% in any case cause a warning-message about references having
-% changed although that might not be a correct statement.
+% \item[-] At the beginning of the \LaTeX{}-run only the last one counts
+% for defining the associated |\r@<label>|-macro.
+% \item[-] But at the end, when the new \xfile{.aux} file is read,
+% they all count and thus with all these entries but the last one,
+% the above-mentioned |\@testdef|-comparison will yield difference
+% and thus in any case cause a warning-message about references
+% having changed although that might not be a correct statement.
% \end{description}
%
% \textbf{ULRICH DIEZ} decided to catch this up by his |\undolabl@testdef| command.
@@ -454,7 +401,6 @@ In memoriam
% |\undonewlabel| is |\let| equal to |\@gobble|.
%
% \section{Usage}
-%
% Load the package placing
% \begin{quote}
% |\usepackage{undolabl}|
@@ -468,12 +414,13 @@ In memoriam
% which would produce a\\
% |LaTeX Warning: Label `<label name>' multiply defined.|
%
-% \section{Example}
+% \newpage
%
+% \section{Example}
% \begin{macrocode}
%<*example>
-\documentclass[british]{article}[2007/10/19]% v1.4h
-\usepackage{undolabl}[2015/03/29]% v1.0l
+\documentclass[british]{article}[2022/07/02]% v1.4n
+\usepackage{undolabl}[2023-02-14]% v1.0m
%% There are no options for the undolabl package. %%
\usepackage[%
extension=pdf,%
@@ -484,62 +431,51 @@ In memoriam
pdftitle={undolabl package example},%
pdfauthor={H.-Martin Muench, after Ulrich Diez},%
pdfsubject={Example for the undolabl package},%
- pdfkeywords={LaTeX, undolabl, undolabel, H.-Martin Muench, Ulrich Diez},%
+ pdfkeywords={LaTeX, undolabl, undolabel},%
pdfview=FitH,%
pdfstartview=FitH,%
pdfpagelayout=OneColumn,%
bookmarksopen=true%
-]{hyperref}[2012/11/06]% v6.83m; when you want to use nameref
-\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
+]{hyperref}[2023-02-07]% v7.00v; when you want to use nameref
\listfiles
\begin{document}
\pagenumbering{arabic}
\section*{Example for undolabl}
-
This example demonstrates the use of package\newline
-\textsf{undolabl}, v1.0l as of 2015/03/29 (HMM).\newline
-For details please see the documentation!\newline
-
-\noindent Save per page about $200\unit{ml}$~water,
-$2\unit{g}$~CO$_{2}$ and $2\unit{g}$~wood:\newline
-Therefore please print only if this is really necessary.\newline
-I do NOT think, that it is necessary to print THIS file, really!
+\textsf{undolabl}, v1.0m as of 2023-02-14 (HMM).\newline
+For details please see the documentation!
\bigskip
\section{Test}
-
text \label{testlabel}\\
-page-reference: \pageref{testlabel}\\%% -> page 4
+page-reference: \pageref{testlabel}\\%% -> page 4
sectional-reference: \ref{testlabel}\\%% -> section 4
-name-reference: \nameref{testlabel}%% -> Still another test
+name-reference: \nameref{testlabel}%% -> Still another test
\newpage
\section{Another test}
-
text \overridelabel{testlabel}\\
-page-reference: \pageref{testlabel}\\%% -> page 4
+page-reference: \pageref{testlabel}\\%% -> page 4
sectional-reference: \ref{testlabel}\\%% -> section 4
-name-reference: \nameref{testlabel}%% -> Still another test
+name-reference: \nameref{testlabel}%% -> Still another test
\newpage
\section{Yet another test}
-
text \overridelabel{testlabel}\\
-page-reference: \pageref{testlabel}\\%% -> page 4
+page-reference: \pageref{testlabel}\\%% -> page 4
sectional-reference: \ref{testlabel}\\%% -> section 4
-name-reference: \nameref{testlabel}%% -> Still another test
+name-reference: \nameref{testlabel}%% -> Still another test
\newpage
\section{Still another test}
-
text \overridelabel{testlabel}\\
-page-reference: \pageref{testlabel}\\%% -> page 4
+page-reference: \pageref{testlabel}\\%% -> page 4
sectional-reference: \ref{testlabel}\\%% -> section 4
-name-reference: \nameref{testlabel}%% -> Still another test
+name-reference: \nameref{testlabel}%% -> Still another test
\end{document}
%</example>
@@ -547,12 +483,9 @@ name-reference: \nameref{testlabel}%% -> Still another test
%
% \StopEventually{}
%
-% \pagebreak
-%
% \section{The implementation}
-%
% For a somewhat longer description see section~\ref{sec:Introduction}.\\
-
+%
% We start off by checking that we are loading into \LaTeXe{} and
% announcing the name and version of this package.\\
%
@@ -561,26 +494,31 @@ name-reference: \nameref{testlabel}%% -> Still another test
% \end{macrocode}
%
% \begin{macrocode}
-\NeedsTeXFormat{LaTeX2e}[2014/05/01]
-\ProvidesPackage{undolabl}%
- [2015/03/29 v1.0l Overriding labels (HMM)]
-%% undolabl may work with earlier versions of LaTeX2e,
-%% but this was not tested. Please consider updating
-%% your LaTeX2e to the most recent version
-%% (if it is not already the most recent version).
+\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\ProvidesPackage{undolabl}[2023-02-14 v1.0m Overriding labels (HMM)]
+
+\@ifl@t@r\fmtversion{2022/11/01}{% would have understood
+ % \IfFormatAtLeastTF{2022-11-01}{<true code>}{<false code>}
+ }{\PackageError{undolabl}{%
+ 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 undolabl\MessageBreak%
+ (see section History in the documentation).\MessageBreak%
+ }
+ }
% \end{macrocode}
%
-% \begin{macro}{\AtBeginDocument}
-%
-% |\AtBeginDocument| it is checked whether writing to files is allowed.
+% At |begindocument| it is checked whether writing to files is allowed.
% Some packages (e.\,g. \xpackage{tikz} and \xpackage{selectp}) sometimes prevent
% the output to the \xfile{aux} file. In that case a warning or an error message
% is issued. This is no problem as long as there is/was another compilation run
% where the labels can/could be processed via the \xfile{aux} file.
%
% \begin{macrocode}
-\AtBeginDocument{%
+\AddToHook{begindocument}{%
\if@filesw%
% \end{macrocode}
%
@@ -591,7 +529,7 @@ name-reference: \nameref{testlabel}%% -> Still another test
%
% \begin{macrocode}
\else%
- \@ifpackageloaded{tikz}{%
+ \IfPackageLoadedTF{tikz}{%
\PackageWarning{undolabl}%
{The undolabl package was not allowed to write to an\MessageBreak%
.aux file. This package does not work without access\MessageBreak%
@@ -612,8 +550,6 @@ name-reference: \nameref{testlabel}%% -> Still another test
\fi%
% \end{macrocode}
%
-% \newpage
-%
% The \textsf{undolabl} and the \textsf{acronym} packages shared some commands
% with the same names and where therefore incompatible. \textsc{Jan Heisswolf}
% (ITIV at KIT) reported this in 2014 (Thanks!). Changing the macros in the
@@ -625,9 +561,8 @@ name-reference: \nameref{testlabel}%% -> Still another test
% was just to check that no older acronym package is used:
%
% \begin{macrocode}
- \@ifpackageloaded{acronym}%
- {\@ifpackagelater{acronym}{2015/03/20}%
- {% later, OK
+ \IfPackageLoadedTF{acronym}%
+ {\IfPackageAtLeastTF{acronym}{2015/03/21}{% later, OK
}{\PackageError{undolabl}{Incompatible old acronym package detected}%
{The undolabl package is not compatible with the acronym package%
\MessageBreak%
@@ -640,8 +575,8 @@ name-reference: \nameref{testlabel}%% -> Still another test
}
% \end{macrocode}
-% \end{macro}
%
+% \begin{macro}{\overridelabel}
% \DescribeMacro{\overridelabel}
% In order to override a label, first one needs to write to the
% \xfile{.aux} file to silently undefine the associated |\r@<label>|-macro
@@ -666,22 +601,21 @@ name-reference: \nameref{testlabel}%% -> Still another test
% \begin{macrocode}
\label{#1}%
\fi%
- \@esphack%
- }
+\@esphack%
+}
% \end{macrocode}
-%
+% \end{macro}
+% \begin{macro}{\undonewlabel}
% \DescribeMacro{\undonewlabel}
-%
% \begin{macrocode}
\newcommand\undonewlabel{\@und@newl@bel r}
% \end{macrocode}
-%
+% \end{macro}
+% \begin{macro}{\@und@newl@bel}
% \DescribeMacro{\@und@newl@bel}
-%
% If |\r@<label>| is undefined, give an error message:
-%
% \begin{macrocode}
\newcommand\@und@newl@bel[2]{%
\@ifundefined{#1@#2}{%
@@ -690,12 +624,8 @@ name-reference: \nameref{testlabel}%% -> Still another test
A label which does not exist cannot be overridden.}%
}{%
% \end{macrocode}
-%
-% \pagebreak
-%
% \noindent otherwise:\newline
% Undefine |\r@label| via letting it equal to |\relax|:
-%
% \begin{macrocode}
\expandafter\global
\expandafter\let
@@ -704,11 +634,10 @@ name-reference: \nameref{testlabel}%% -> Still another test
}
% \end{macrocode}
-%
+% \end{macro}
+% \begin{macro}{\@overriddenmessage}
% \DescribeMacro{\@overriddenmessage}
-%
% Command for the notification of overriding a label:
-%
% \begin{macrocode}
\newcommand\@overriddenmessage[2]{%
\@ifundefined{#1@#2}{\global\@namedef{#1@#2}{i}}{%
@@ -718,9 +647,9 @@ name-reference: \nameref{testlabel}%% -> Still another test
}
% \end{macrocode}
-%
+% \end{macro}
+% \begin{macro}{\undolabl@testdef}
% \DescribeMacro{\undolabl@testdef}
-%
% \begin{macrocode}
\newcommand\undolabl@testdef[3]{%
\@ifundefined{s@#2}\@secondoftwo\@firstofone{%
@@ -734,23 +663,21 @@ name-reference: \nameref{testlabel}%% -> Still another test
}%
\expandafter\@gobble
\fi%
- }{\@testdef{#1}{#2}{#3}%
- }%
+ }{\@testdef{#1}{#2}{#3}%
+ }%
}
% \end{macrocode}
-%
-% \DescribeMacro{\protected@write\\@auxout}
-%
+% \end{macro}
+% \begin{macro}{\@auxout}
+% \DescribeMacro{\@auxout}
% \begin{macrocode}
-\if@filesw%
- \protected@write\@auxout{}{\string\reset@newl@bel}%
-\fi%
+\if@filesw\protected@write\@auxout{}{\string\reset@newl@bel}\fi
% \end{macrocode}
-%
+% \end{macro}
+% \begin{macro}{\reset@newl@bel}
% \DescribeMacro{\reset@newl@bel}
-%
% \begin{macrocode}
\newcommand\reset@newl@bel{%
\ifx\@newl@bel\@testdef%
@@ -760,17 +687,13 @@ name-reference: \nameref{testlabel}%% -> Still another test
}
% \end{macrocode}
-%
+% \end{macro}
% \begin{macrocode}
%</package>
% \end{macrocode}
%
-% \pagebreak
-%
% \section{Installation}
-%
-% \subsection{Downloads\label{ss:Downloads}}
-%
+% \subsection{Downloads}
% Everything is available at \url{https://www.ctan.org}
% but may need additional packages themselves.\\
%
@@ -778,15 +701,13 @@ name-reference: \nameref{testlabel}%% -> Still another test
% For unpacking the |undolabl.dtx| file and constructing the documentation
% it is required:
% \begin{description}
-% \item[-] \TeX{} Format \LaTeXe{}, \url{https://www.CTAN.org}
-%
-% \item[-] document class \xpackage{ltxdoc}, 2014/09/29, v2.0u,
+% \item[-] \TeX{} Format \LaTeXe{} [2022-11-01] (or newer),
+% \url{https://www.CTAN.org}
+% \item[-] document class \xpackage{ltxdoc}, 2022/06/22, v2.1i,
% \url{https://www.ctan.org/pkg/ltxdoc}
-%
-% \item[-] package \xpackage{holtxdoc}, 2012/03/21, v0.24,
+% \item[-] package \xpackage{holtxdoc}, 2019/12/09, v0.30,
% \url{https://www.ctan.org/pkg/holtxdoc}
-%
-% \item[-] package \xpackage{hypdoc}, 2011/08/19, v1.11,
+% \item[-] package \xpackage{hypdoc}, 2023-01-23, v1.18,
% \url{https://www.ctan.org/pkg/hypdoc}
% \end{description}
%
@@ -794,22 +715,23 @@ name-reference: \nameref{testlabel}%% -> Still another test
% The |undolabl.sty| for \LaTeXe{} (i.\,e.~each document using
% the \xpackage{undolabl} package) requires:
% \begin{description}
-% \item[-] \TeX{} Format \LaTeXe{}, \url{https://www.CTAN.org}
+% \item[-] \TeX{} Format \LaTeXe{} [2022-11-01] (or newer),
+% \url{https://www.CTAN.org}. Older versions of \pkg{undolabl}
+% work with older \LaTeXe{} distributions and have been archived,
+% see \nameref{History}.
% \end{description}
%
% \DescribeMacro{undolabl-example.tex}
% The |undolabl-example.tex| requires the same files as all
% documents using the \xpackage{undolabl} package and additionally:
% \begin{description}
-% \item[-] class \xpackage{article}, 2014/09/29, v1.4h,
+% \item[-] class \xpackage{article}, 2022/07/02, v1.4n,
% \url{https://www.ctan.org/pkg/article}
-%
-% \item[-] package \xpackage{hyperref}, 2012/11/06, v6.83m:
+% \item[-] package \xpackage{hyperref}, 2023-02-07, v7.00v,
% \url{https://www.ctan.org/pkg/hyperref},
% if |\nameref| shall be used (and when the references
% shall be hyperlinked, of course)
-%
-% \item[-] package \xpackage{undolabl}, 2015/03/29, v1.0l,
+% \item[-] package \xpackage{undolabl}, 2023-02-14, v1.0m,
% \url{https://www.ctan.org/pkg/undolabl}\\
% (Well, it is the example file for this package, and because you are reading
% the documentation for the \xpackage{undolabl} package, it can be assumed
@@ -822,28 +744,26 @@ name-reference: \nameref{testlabel}%% -> Still another test
% All packages of \textsc{Heiko Oberdiek}'s bundle `oberdiek'
% (especially \xpackage{holtxdoc} and \xpackage{hypdoc})
% are also available in a TDS compliant ZIP archive:\\
-% \url{http://mirrors.ctan.org/install/macros/latex/contrib/oberdiek.tds.zip}.\\
+% \url{https://mirror.ctan.org/install/macros/latex/contrib/oberdiek.tds.zip}.\\
% It is probably best to download and use this, because the packages in there
% are quite probably both recent and compatible among themselves.\\
%
% \DescribeMacro{hyperref}
% \xpackage{hyperref} is not included in that bundle and needs to be
% downloaded separately,\\
-% \url{http://mirror.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\\
+% \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}.
%
-% \pagebreak
-%
% \subsection{Package, unpacking TDS}
% \paragraph{Package.} This package is available at
% \url{https://www.ctan.org/pkg/undolabl}, especially
% the manual (README, undolabl.pdf), the example (source: undolabl-example.tex,
-% compiled: undolabl-example.pdf), and the undolabl.dtx.
+% compiled: undolabl-example.pdf), and the undolabl.dtx.
% There is also an undolabl.tds.zip available:
-% \url{http://mirrors.ctan.org/install/macros/latex/contrib/undolabl.tds.zip}
+% \url{https://mirror.ctan.org/install/macros/latex/contrib/undolabl.tds.zip}
% (everything in \xfile{TDS} compliant, compiled format),
% which additionally contains\\
% \begin{tabular}{ll}
@@ -944,9 +864,9 @@ name-reference: \nameref{testlabel}%% -> Still another test
%
% \subsection{Refresh file name databases}
%
-% If your \TeX{}~distribution (\teTeX{}, \mikTeX{},\dots{}) relies on file name
-% databases, you must refresh these. For example, \teTeX{} users run
-% \verb|texhash| or \verb|mktexlsr|.
+% If your \TeX~distribution (\TeX\,Live, \mikTeX, \dots) relies on
+% file name databases, you must refresh these. For example, \TeX\,Live\ users
+% run \verb|texhash| or \verb|mktexlsr|.
%
% \subsection{Some details for the interested}
%
@@ -994,34 +914,27 @@ name-reference: \nameref{testlabel}%% -> Still another test
% and first published in the \Newsgroup{comp.text.tex} newsgroup at\\
% \texttt{Sun,~20~Apr~2008~16:39:26~+0200}, with subject:\\
% \texttt{Re:~How~to~undefine/overwrite~a~label?} (see e.\,g.
-% \url{http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326?dmode=source}
+% \url{https://groups.google.com/g/comp.text.tex/c/MBiR-EpPceo/m/2pdwkZP-bK8J}
% as well as \linebreak
-% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source}).\\
-% I (\textsc{H.-Martin M\"{u}nch}) would like to thank \textbf{ULRICH DIEZ}
+% \url{https://groups.google.com/g/comp.text.tex/c/0jzpQsn5dPs/m/Lrb45ByCZtMJ}).\\
+% I (\textsc{H.-Martin Münch}) would like to thank \textbf{ULRICH DIEZ}
% for this as well as for his permission to publish it on CTAN as well as
% for his bug reports.
% I also thank those anonymous people who had published the package somewhere else
% on the internet, where I found it first.
-% Further I would like to thank \textsc{Rainer Wintermute} for explaining the
-% |\CheckSum|, \textsc{Heiko Oberdiek} for providing a~lot~(!) of useful packages
-% (from which I also got everything I know about creating a file in \xfile{dtx} format,
-% OK, say it: copying), \textsc{Robin Fairbairns} and everybody of the CTAN team
-% for managing CTAN, and the \Newsgroup{comp.text.tex} and \Newsgroup{de.comp.text.tex}
+% Further I would like to thank \textsc{Heiko Oberdiek} for providing a~lot~(!) of useful
+% packages (from which I also got everything I know about creating a file in \xfile{dtx} format,
+% OK, say it: copying), and the \Newsgroup{comp.text.tex} and \Newsgroup{de.comp.text.tex}
% newsgroups for their help in all things \TeX{}.
%
-% \pagebreak
-%
+% \newpage
% \phantomsection
% \begin{History}\label{History}
-%
-% Some old versions have been archived at\\
-% \url{http://ctanhg.scharrer-online.de/pkg/undolabl.html}.
-%
% \begin{Version}{2008/04/20 v0.3(a)}
-% \item created by \textbf{ULRICH DIEZ}
+% \item Created by \textbf{ULRICH DIEZ}.
% \end{Version}
-% \begin{Version}{2010/04/08 v0.3b}
-% \item \xfile{.dtx} updated by \textsc{H.-Martin M\"{u}nch},
+% \begin{Version}{2010/04/08 v0.3b}
+% \item \xfile{.dtx} updated by \textsc{H.-Martin Münch},
% submitted to CTAN (no changes in the style code).
% \end{Version}
% \begin{Version}{2010/06/01 v1.0(a)}
@@ -1035,7 +948,7 @@ name-reference: \nameref{testlabel}%% -> Still another test
% I had to change author/maintainer of this package and resubmit it.
% \end{Version}
% \begin{Version}{2010/06/03 v1.0b}
-% \item Found an unchanged reference to the package author/maintainer.
+% \item Found an unchanged reference to the package authors/maintainer.
% \item Example adapted to other examples of mine.
% \item Updated references to other packages.
% \item \xfile{TDS} locations updated.
@@ -1053,17 +966,17 @@ name-reference: \nameref{testlabel}%% -> Still another test
% \item There was another update by \textbf{ULRICH DIEZ} on
% \Newsgroup{comp.text.tex} at
% \texttt{Mon,~21~Apr~2008~23:04:03~+0200}, see e.\,g.\\
-% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source},
+% \url{https://groups.google.com/g/comp.text.tex/c/MBiR-EpPceo/m/2pdwkZP-bK8J},
% which now has been included in this package.
% \item Put more emphasis on \textbf{ULRICH DIEZ} writing the initial code.
% \item Updated references to other packages and corrected the given location
-% of the \textsf{undolabl.tds.zip} file at CTAN.org.
+% of the \textsf{undolabl.tds.zip} file at \href{https://www.ctan.oeg/}{CTAN.org}.
% \end{Version}
% \begin{Version}{2010/07/25 v1.0e}
% \item Bugs reported by \textbf{ULRICH DIEZ} on \Newsgroup{comp.text.tex} at\\
% \texttt{Sat,~17~Jul~2010~12:27:10~+0200},
% subject \texttt{Re:~CTAN~Update:~undolabl}, see e.\,g.
-% \url{http://groups.google.com/group/comp.text.tex/msg/d366821ce4f8b62e?dmode=source},
+% \url{https://groups.google.com/g/comp.text.tex/c/0jzpQsn5dPs/m/Lrb45ByCZtMJ},
% eradicated.
% \item |\StopEventually| added and |\CheckSum| value corrected (was~$0$).
% \item Minor details.
@@ -1107,12 +1020,20 @@ name-reference: \nameref{testlabel}%% -> Still another test
% by \textsf{acronym} package, thanks! Check for older versions introduced.
% \item Introduced a check, whether writing to the \xfile{aux} file is allowed.
% \item Update of documentation, README, and \xfile{dtx} internals.
+% \item This version has been archived at\\
+% \url{https://web.archive.org/web/20190417090001/https://mirror.ctan.org/install/macros/latex/contrib/undolabl.tds.zip}
+% \end{Version}
+% \begin{Version}{2023-02-14 v1.0m}
+% \item Removed |\unit|.
+% \item Converted to UTF-8.
+% \item Updated to \LaTeX{} format 2022-11-01.
+% \item Documentation updated (there were lots of outdated urls).
% \end{Version}
% \end{History}
%
% \bigskip
%
-% \noindent When you find a mistake or have a suggestion for an improvement of this package,
+% When you find a mistake or have a suggestion for an improvement of this package,
% please send an e-mail to the maintainer, thanks! (Please see BUG REPORTS in the README.)
%
% \bigskip
diff --git a/macros/latex/contrib/undolabl/undolabl.pdf b/macros/latex/contrib/undolabl/undolabl.pdf
index e9d8033722..02d7e05ad4 100644
--- a/macros/latex/contrib/undolabl/undolabl.pdf
+++ b/macros/latex/contrib/undolabl/undolabl.pdf
Binary files differ