summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/lastpage
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-04-13 03:01:11 +0000
committerNorbert Preining <norbert@preining.info>2023-04-13 03:01:11 +0000
commitc6d2f94d04f69bb5b2143ef62e7ab90bd3b60212 (patch)
treebddc530efd786986da5407c2e808a1d73c728ede /macros/latex/contrib/lastpage
parent45c7bac9080d91b53c686e776fc6217d7f139b86 (diff)
CTAN sync 202304130300
Diffstat (limited to 'macros/latex/contrib/lastpage')
-rw-r--r--macros/latex/contrib/lastpage/README2
-rw-r--r--macros/latex/contrib/lastpage/lastpage-example.pdfbin129481 -> 129504 bytes
-rw-r--r--macros/latex/contrib/lastpage/lastpage.dtx52
-rw-r--r--macros/latex/contrib/lastpage/lastpage.pdfbin440770 -> 440853 bytes
4 files changed, 31 insertions, 23 deletions
diff --git a/macros/latex/contrib/lastpage/README b/macros/latex/contrib/lastpage/README
index 6135895020..57a301f013 100644
--- a/macros/latex/contrib/lastpage/README
+++ b/macros/latex/contrib/lastpage/README
@@ -1,4 +1,4 @@
-README for lastpage package, 2023-03-07, v2.0a
+README for lastpage package, 2023-04-12, v2.0b
TABLE OF CONTENTS
diff --git a/macros/latex/contrib/lastpage/lastpage-example.pdf b/macros/latex/contrib/lastpage/lastpage-example.pdf
index 9a6cd36a1c..d3826c7544 100644
--- a/macros/latex/contrib/lastpage/lastpage-example.pdf
+++ b/macros/latex/contrib/lastpage/lastpage-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/lastpage/lastpage.dtx b/macros/latex/contrib/lastpage/lastpage.dtx
index 2b5a529436..cff2874020 100644
--- a/macros/latex/contrib/lastpage/lastpage.dtx
+++ b/macros/latex/contrib/lastpage/lastpage.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% File: lastpage.dtx
-% Version: 2023-03-07 v2.0a
+% Version: 2023-04-12 v2.0b
% Info: Refers to last page's name
%
% Copyright © 2010 - 2023 by
@@ -65,7 +65,7 @@
\input docstrip.tex
\Msg{**********************************************************************}
\Msg{* Installation *}
-\Msg{* Package: lastpage 2023-03-07 v2.0a Refers to last page's name (HMM)*}
+\Msg{* Package: lastpage 2023-04-12 v2.0b Refers to last page's name (HMM)*}
\Msg{**********************************************************************}
\keepsilent
@@ -77,7 +77,7 @@
This is a generated file.
Project: lastpage
-Version: 2023-03-07 v2.0a
+Version: 2023-04-12 v2.0b
Info: Refers to last page's name
Copyright (C) 2010 - 2023 by
@@ -184,7 +184,7 @@ In memoriam
%<*driver>
\NeedsTeXFormat{LaTeX2e}[2022-11-01]
\ProvidesFile{lastpage.drv}%
- [2023-03-07 v2.0a Refers to last page's name (HMM)]
+ [2023-04-12 v2.0b Refers to last page's name (HMM)]
\documentclass{ltxdoc}[2022/06/22]% v2.1i Standard LaTeX documentation class
\usepackage{holtxdoc}[2019/12/09]% v0.30 Private additional ltxdoc support (HO)
\hypersetup{%
@@ -249,7 +249,7 @@ In memoriam
% \DoNotIndex{\today,\upshape,\url,\usepackage,\value,\verb,\write}
%
% \title{The \xpackage{lastpage} package}
-% \date{2023-03-07 v2.0a}
+% \date{2023-04-12 v2.0b}
% \author{H.-Martin Münch\\\xemail{Martin.Muench at Uni-Bonn.de}\\
% invented by Jeffrey P. Goldberg\\\xemail{jeffrey+news at goldmark.org}}
%
@@ -770,7 +770,7 @@ In memoriam
%% must be loaded for the \url used in this example:
%% \usepackage{url}
%% or just use \let\url\texttt for the one used url.
-\usepackage{lastpage}[2023-03-07]% v2.0a
+\usepackage{lastpage}[2023-04-12]% v2.0b
\makeatletter
\renewcommand{\@evenfoot}{%
\normalsize\slshape \today\hfil \upshape %
@@ -783,7 +783,7 @@ In memoriam
\section*{Example for lastpage}
\markboth{Example for lastpage}{Example for lastpage}
This example demonstrates the use of package\newline
-\textsf{lastpage}, v2.0a as of 2023-03-07 (HMM; JPG).\newline
+\textsf{lastpage}, v2.0b as of 2023-04-12 (HMM; JPG).\newline
The package takes no options.\newline
For more details please see the documentation!\newline
@@ -917,14 +917,17 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
%
% \section{The implementation}
% \DescribeMacro{lastpage.sty}
-% We first need to determine whether we are on \TeX~2.09 or \LaTeX2e:
+% We first need to determine whether we are on \TeX~2.09 or \LaTeX2e.\newline
+% (That line, which is too long for the documentation, reads:\newline
+% |\def\loadlastpage{\ProvidesPackage{lastpage}[2023/04/12 v2.0b lastpage:|\linebreak
+% | 2.09 or 2e? (HMM)]\relax\RequirePackage{lastpage2e}}|.)
%
% \begin{macrocode}
%<*package>
%% Part of the "lastpage" package
%% loads either lastpage2.09.sty for TeX 2.09 or lastpage2e.sty for LaTeX 2e
%% with code from https://groups.google.com/g/comp.text.tex/c/-Qmhj1ZI4xM
-\def\loadlastpage{\ProvidesPackage{lastpage}[2023/03/07 v2.0a lastpage: 2.09 or 2e? (HMM)]\relax\RequirePackage{lastpage2e}}
+\def\loadlastpage{\ProvidesPackage{lastpage}[2023/04/12 v2.0b lastpage: 2.09 or 2e? (HMM)]\relax\RequirePackage{lastpage2e}}
\begingroup \expandafter \ifx \csname documentclass\endcsname\relax
\endgroup \expandafter \input{lastpage209.sty}
\else \endgroup \expandafter \loadlastpage
@@ -964,7 +967,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
%<*lastpage2e>
%% Part of the "lastpage" package
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{lastpage2e}[2023/03/07 v2.0a Decide which 2e lastpage version to use (HMM)]
+\ProvidesPackage{lastpage2e}[2023/04/12 v2.0b Decide which 2e lastpage version to use (HMM)]
\@ifl@t@r\fmtversion{2022/11/01}{\RequirePackage{lastpagemodern}}{%
\RequirePackage{lastpageclassic}}
\message{^^J}
@@ -978,7 +981,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
%<*lastpageclassic>
%% Part of the "lastpage" package
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{lastpageclassic}[2023/03/07 v2.0a Refers to last page's name (HMM; JPG)]
+\ProvidesPackage{lastpageclassic}[2023/04/12 v2.0b Refers to last page's name (HMM; JPG)]
%% allows for things like "Page \thepage{} of \pageref{LastPage}" to get "Page 7 of 9"
% \end{macrocode}
@@ -1029,7 +1032,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
before 2.1 of the endfloat package,\MessageBreak%
because those versions redefined\MessageBreak%
the \string\enddocument\space command.}%
- }{}}%
+ }}{}%
\@ifpackageloaded{tikz}{\gdef\lastpage@tikz{1}}{}%
\@ifpackageloaded{hyperref}{\gdef\lastpage@hyper{1}}{}%
\@ifpackageloaded{nameref}{\gdef\lastpage@nameref{1}}{}%
@@ -1238,6 +1241,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
\immediate\write\@auxout{\string\gdef\string\lastpage@lastpageHy{}}%
\fi%
% \end{macrocode}
+% \pagebreak
%
% After the writeout we restore the page number again,
% since there might be other things still to be done.
@@ -1313,6 +1317,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% \end{macrocode}
% \end{macro}
+% \pagebreak
%
% \begin{macro}{\lastpage@fileswtestHy}
% \indent When the \xpackage{hyperref} package has been loaded,
@@ -1406,7 +1411,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
%<*lastpagemodern>
%% Part of the "lastpage" package
\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\ProvidesPackage{lastpagemodern}[2023-03-07 v2.0a Refers to last page's name (HMM; JPG)]
+\ProvidesPackage{lastpagemodern}[2023-04-12 v2.0b Refers to last page's name (HMM; JPG)]
%% allows for things like "Page \thepage{} of \pageref{LastPage}"
%% to get "Page 7 of 9" or "Page VII of IX";
%% the NUMBER of pages is available via \@abspage@last, but with pages
@@ -1447,7 +1452,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
before 2.1 of the endfloat package,\MessageBreak%
because those versions redefined\MessageBreak%
the \string\enddocument\space command.}%
- }{}}%
+ }}{}%
% \end{macrocode}
%
% |\lastpage@putlabel|, used by older versions of this package,
@@ -1788,7 +1793,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% \begin{description}
% \item[-] \TeX, \url{https://www.CTAN.org}
%
-% \item[-] package \xpackage{lastpage}, 2023-03-07, v2.0a,
+% \item[-] package \xpackage{lastpage}, 2023-04-12, v2.0b,
% \url{https://ctan.org/pkg/lastpage}
% \end{description}
%
@@ -1798,7 +1803,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% \begin{description}
% \item[-] \TeX-format \LaTeX{}, v2.09
%
-% \item[-] package \xpackage{lastpage209}, 2023-03-07, v2.0a,
+% \item[-] package \xpackage{lastpage209}, 2023-04-12, v2.0b,
% \url{https://ctan.org/pkg/lastpage}
% \end{description}
% and does not work with \xpackage{hyperref}, which needs \LaTeX2e{}.\\
@@ -1810,7 +1815,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% \item[-] \TeX-format \LaTeXe{} 1994/12/01 or newer,
% \url{https://www.CTAN.org}
%
-% \item[-] package \xpackage{lastpage}, 2023-03-07, v2.0a,
+% \item[-] package \xpackage{lastpage}, 2023-04-12, v2.0b,
% \url{https://ctan.org/pkg/lastpage}
% \end{description}
%
@@ -1821,7 +1826,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% \item[-] \TeX-format \LaTeXe{} between 1994/12/01 and 2022/11/01,\\
% \url{https://www.CTAN.org}
%
-% \item[-] package \xpackage{lastpage}, 2023-03-07, v2.0a,
+% \item[-] package \xpackage{lastpage}, 2023-04-12, v2.0b,
% \url{https://ctan.org/pkg/lastpage}
% \end{description}
% and can use
@@ -1837,7 +1842,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% \item[-] \TeX-format \LaTeXe{} 2022-11-01 or newer,
% \url{https://www.CTAN.org}
%
-% \item[-] package \xpackage{lastpage}, 2023-03-07, v2.0a,
+% \item[-] package \xpackage{lastpage}, 2023-04-12, v2.0b,
% \url{https://ctan.org/pkg/lastpage}
% \end{description}
% and can use
@@ -1850,7 +1855,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% The |lastpage-example.tex| requires the same file as all
% documents using the \xpackage{lastpage} package, i.\,e.
% \begin{description}
-% \item[-] package \xpackage{lastpage}, 2023-03-07, v2.0a,
+% \item[-] package \xpackage{lastpage}, 2023-04-12, v2.0b,
% \url{https://ctan.org/pkg/lastpage}\\
% (Well, it is the example file for this package, and because you are reading the
% documentation for the \xpackage{lastpage} package, it can be assumed that you already
@@ -2135,7 +2140,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% and the \Newsgroup{comp.text.tex} and \Newsgroup{de.comp.text.tex}
% newsgroups for their help in all things \TeX{}. Thanks for bug reports
% to \textsc{Ulrike Fischer}, \textsc{Sebastian Bank}, \textsc{James Hedges},
-% \textsc{Mikhail Titov}, and \textsc{Micha\l{} Herman}.
+% \textsc{Mikhail Titov}, \textsc{Micha\l{} Herman}, and \textsc{Matteo Gamboz}.
% Thanks to \textsc{Sven Siegmund} for pointing out a necessary further
% explanation in the documentation.
%
@@ -2284,7 +2289,7 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% instead of two, therefore |\newlabel{LastPage}{{}{\thepage}{}{}{}}| instead of
% |\newlabel{LastPage}{{}{\thepage}}| must be used.
% (Bug reported at \url{https://tex.stackexchange.com/q/95541},
-% thanks to Micha\l{} Herman!) Fixed.
+% thanks to \textsc{Micha\l{} Herman}!) Fixed.
% \end{Version}
% \begin{Version}{2015/03/29 v1.2m}
% \item Updated to \TeX{} Live 2014 (for compiling the documentation and example).
@@ -2306,6 +2311,9 @@ To see the content of the \texttt{enddocument/afterlastpage}-hook
% \item Updated to \LaTeX{} format 2022-11-01.
% \item Extensive updates to the documentation (manual \& README) and to the example.
% \end{Version}
+% \begin{Version}{2023-04-12 v2.0b}
+% \item Bug fix: What should have been |}}{}| was |}{}}|. Thanks to \textsc{Matteo Gamboz}!
+% \end{Version}
% \end{History}
% \bigskip
%
diff --git a/macros/latex/contrib/lastpage/lastpage.pdf b/macros/latex/contrib/lastpage/lastpage.pdf
index 4f0988a919..67a493ada8 100644
--- a/macros/latex/contrib/lastpage/lastpage.pdf
+++ b/macros/latex/contrib/lastpage/lastpage.pdf
Binary files differ