diff options
author | Karl Berry <karl@freefriends.org> | 2024-11-20 21:15:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-11-20 21:15:48 +0000 |
commit | cb9bac7dfea30235b60a21f37400d0991daca15b (patch) | |
tree | 3a3c482e5abb5923c04c81a57f79f0178c0b77ab /Master/texmf-dist/doc | |
parent | 0cdaa9c2b893971cf96c9a3431bfa37843e0cb9c (diff) |
pageslts (20nov24)
git-svn-id: svn://tug.org/texlive/trunk@72912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/pageslts/README | 134 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pageslts/pageslts-example.pdf | bin | 323567 -> 305189 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pageslts/pageslts-example.tex | 282 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pageslts/pageslts.pdf | bin | 619343 -> 576094 bytes |
4 files changed, 196 insertions, 220 deletions
diff --git a/Master/texmf-dist/doc/latex/pageslts/README b/Master/texmf-dist/doc/latex/pageslts/README index 996d076901c..e5fc3d73302 100644 --- a/Master/texmf-dist/doc/latex/pageslts/README +++ b/Master/texmf-dist/doc/latex/pageslts/README @@ -1,4 +1,4 @@ -README for pageslts package, 2015/12/21, v1.2f +README for pageslts package, 2024-11-20, v2.0a TABLE OF CONTENTS @@ -17,11 +17,14 @@ TABLE OF CONTENTS 1 INTRODUCTION ============== -This package puts the labels LastPage (\AtEndDocument) and -VeryLastPage (\AfterLastShipout) into the .aux file, -allowing the user to refer to the (very) last page of a -document. This might be particularly useful in places like -headers or footers. +This package puts the labels LastPage +(\AddToHook{enddocument/afterlastpage}, formerly +\AtEndDocument) and VeryLastPage (also +\AddToHook{enddocument/afterlastpage}, but formerly +\AfterLastShipout) into the .aux file, +allowing the user to refer to the last page of a document. +This might be particularly useful in places like headers or +footers. When more than one page numbering scheme is used, these references do not give the total number of pages. For this case the label LastPages is introduced. Additionally, at the @@ -39,7 +42,7 @@ the current total/absolute page number - in contrast to numbering scheme. \theCurrentPageLocal gives the current number of pages in the current page numbering scheme. \thepage and \theCurrentPageLocal are different e. g. when -\addtocounter{pageg}{...} or \setcounter{page}{...} were +\addtocounter{page}{...} or \setcounter{page}{...} were used. At the first page of the document a label pagesLTS.0 is created. This label can be referred to, too. Further labels @@ -58,27 +61,27 @@ 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 -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 ========== -`pageslts' is available on CTAN: -https://www.ctan.org/pkg/pageslts +"pageslts" is available on CTAN: +https://ctan.org/pkg/pageslts Also a ZIP file is provided that contains the files: the manual (pageslts.pdf), the example (pageslts-example.tex), -the compiled example (pageslts-example.pdf), +the compiled example (pageslts-example.pdf), driver (pageslts.drv), pageslts.dtx, -installation file (pageslts.ins), +installation file (pageslts.ins), the style file (pageslts.sty), and this README, already sorted in a TDS tree: -http://mirrors.ctan.org/install/macros/latex/contrib/pageslts.tds.zip +https://mirror.ctan.org/install/macros/latex/contrib/pageslts.tds.zip 3 INSTALLATION @@ -86,10 +89,10 @@ http://mirrors.ctan.org/install/macros/latex/contrib/pageslts.tds.zip Installation with ZIP file in TDS format ---------------------------------------- -The ZIP file `pageslts.tds.zip' contains the files +The ZIP file "pageslts.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 @@ -106,11 +109,11 @@ a) Download the pageslts files from CTAN. b) Check for old `pagesLTS.sty' at other locations in your TeX installation and delete them (or back them up, but in a way TeX does NOT find them automatically). -c) Generate the package and driver files: +c) Generate the package and driver files, if necessary: tex pageslts.dtx -d) Install the file `pageslts.sty' in your TDS tree: +d) Install the file "pageslts.sty" in your TDS tree: cp pageslts.sty TDS:tex/latex/pageslts/ - Replace `TDS:' by the prefix of your TDS tree + Replace "TDS:" by the prefix of your TDS tree (texmf directory). e) Create the documentation, if necessary, e.g. pdflatex pageslts.dtx @@ -118,8 +121,8 @@ e) Create the documentation, if necessary, e.g. pdflatex pageslts.dtx makeindex -s gind.ist pageslts.idx pdflatex pageslts.dtx -f) Update the databases, if necessary, e.g. for teTeX: - mktexlsr .../texmf +f) Update the databases, if necessary, e.g. for TeXLive + texhash or mktexlsr. g) Create the pageslts-example.pdf, if necessary, e.g. pdflatex pageslts-example.tex pdflatex pageslts-example.tex @@ -133,64 +136,50 @@ h) Copy the documentation files to 4 ADDITIONAL PACKAGES ===================== -The pageslts.sty for LaTeX2e (i. e. all documents using the +The pageslts.sty for LaTeX2e (i.e. all documents using the pageslts package) requires: -- TeXFormat LaTeX2e, 2015/01/01 -- package atveryend, 2011/06/30, v1.8, https://www.ctan.org/pkg/atveryend -- package everyshi, 2001/05/15, v3.00, https://www.ctan.org/pkg/everyshi -- package kvoptions, 2011/06/30, v3.11, https://www.ctan.org/pkg/kvoptions -- package letltxmacro, 2010/09/02, v1.4, https://www.ctan.org/pkg/letltxmacro -- package ltxcmds, 2011/11/09, v1.22, https://www.ctan.org/pkg/ltxcmds -- package rerunfilecheck, 2011/04/15, v1.7, https://www.ctan.org/pkg/rerunfilecheck -- package undolabl, 2015/03/29, v1.0l, https://www.ctan.org/pkg/undolabl +- TeXFormat LaTeX2e, 2024-06-01 +- package undolabl, 2023-02-14, v1.0m, https://ctan.org/pkg/undolabl +- package kvoptions, 2022-06-15, v3.15, https://ctan.org/pkg/kvoptions +- if any of the options alphMult, AlphMulti, or fnsymbolmult is used: + package alphalph, 2019/12/09, v2.6, https://.ctan.org/pkg/alphalph The pageslts-example.tex requires the same files as all documents using the pageslts package, and additionally: -- class article, 2014/09/29, v1.4h, from classes.dtx: https://www.ctan.org/pkg/classes -- package alphalph, 2011/05/13, v2.4, https://www.ctan.org/pkg/alphalph -- package lipsum, 2014/07/27, v1.3, https://www.ctan.org/pkg/lipsum -- package showkeys, 2014/10/28, v3.17, https://www.ctan.org/pkg/showkeys -- package hyperref, 2012/11/06, v6.83m, https://www.ctan.org/pkg/hyperref -- package pageslts, 2015/12/21, v1.2f, https://www.ctan.org/pkg/pageslts - (Well, it is the example file for this package, and - because you are reading the README for the pageslts - package, it can be assumed that you already have some - version of it - is it the current one?) -which again load other packages -(see the result of the \listfiles command in the log-file - of the example). -Also the pageslts.dtx loads other packages -(for unpacking and constructing the documentation), +- class article, 2024/02/08, v1.4n, from classes.dtx: https://ctan.org/pkg/classes +- package alphalph, 2019/12/09, v2.6, https://ctan.org/pkg/alphalph +- package lipsum, 2021-09-20, v2.7, https://ctan.org/pkg/lipsum +- package showkeys, 2024/05/23, v3.21, https://ctan.org/pkg/showkeys +- package hyperref, 2024-10-30, v7.01k, https://ctan.org/pkg/hyperref +- package pageslts, 2015/12/21, v2.0a, https://ctan.org/pkg/pageslts + (Well, it is the example file for this package, and because you are + reading the README for the pageslts package, it can be assumed that + you already have some version of it - is it the current one?) +which again load other packages (see the result of the +\listfiles command in the log-file of the example). + +Also the pageslts.dtx loads other packages +(for unpacking and constructing the documentation), see "7.1 Downloads" in the manual -http://mirrors.ctan.org/macros/latex/contrib/pageslts/pageslts.pdf +https://mirror.ctan.org/macros/latex/contrib/pageslts/pageslts.pdf 5 PACKAGE COMPATIBILITY ======================= -* endfloat package: - pageslts is not compatible with very old versions of - endfloat(2.0 and older). - Just get the recent version of the endfloat package from - https://www.ctan.org/pkg/endfloat - -* lastpage package: - \usepackage[pagecontinue=false]{pageslts} - can simulate the behaviour of the lastpage package. - Loading old (!) versions of the lastpage package before - the pageslts package before the hyperref package results - in multiply definitions of the LastPage label. - -* undolabl package: - Version >= 1.0h is needed. +* This package really does not work with an old LaTeX format without hooks, + or without e-TEX, or with a pagesLTS package, or with + version 2.0 from 1992 of the endfloats package, or hyperref from 2015, + or _*OLD*_ versions of undolabl or lastpage or turnthepage and so on. * The romanbarpagenumber and pageslts package currently are - not compatible. + not yet compatible. + 6 AUTHOR/MAINTAINER ===================== - H.-Martin Münch + H.-Martin Münch 7 BUG REPORTS @@ -201,12 +190,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 @@ -216,11 +205,12 @@ 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> 8 KNOWN PROBLEMS -================= +================ -* except those already mentioned above: none.
\ No newline at end of file +* except those already mentioned above: none, + but see chapter 3 of the documentation
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pageslts/pageslts-example.pdf b/Master/texmf-dist/doc/latex/pageslts/pageslts-example.pdf Binary files differindex fadf9f41211..9aac472f354 100644 --- a/Master/texmf-dist/doc/latex/pageslts/pageslts-example.pdf +++ b/Master/texmf-dist/doc/latex/pageslts/pageslts-example.pdf diff --git a/Master/texmf-dist/doc/latex/pageslts/pageslts-example.tex b/Master/texmf-dist/doc/latex/pageslts/pageslts-example.tex index eb43fe74e79..f83fe46d585 100644 --- a/Master/texmf-dist/doc/latex/pageslts/pageslts-example.tex +++ b/Master/texmf-dist/doc/latex/pageslts/pageslts-example.tex @@ -9,10 +9,11 @@ %% This is a generated file. %% %% Project: pageslts -%% Version: 2015/12/21 v1.2f +%% Version: 2024-11-20 v2.0a +%% Info: Variants of last page labels %% -%% Copyright (C) 2010 - 2015 by -%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de> +%% Copyright (C) 2010 - 2024 by +%% H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de> %% Portions of code copyrighted by other people as marked. %% %% IMPORTANT NOTICE: @@ -32,20 +33,15 @@ %% see the change in the page numbering scheme and will make mistakes. %% The package takes options. %% -%% 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". %% @@ -53,7 +49,7 @@ %% %% This package first started as a revision of the lastpage %% package of Jeffrey P. Goldberg (jeffrey+news at goldmark dot org), -%% but it became obvious that a replacement was needed. +%% but I thought a replacement was needed. %% %% This work consists of the main source file pageslts.dtx, %% the README, and the derived files @@ -62,20 +58,19 @@ %% pageslts-example.tex, pageslts-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}[2014/09/29]% v1.4h -\usepackage{lipsum}[2014/07/27]% v1.3 -\usepackage[draft]{showkeys}[2014/10/28]% v3.17 +\documentclass[british]{article}[2024/02/08]% v1.4n +\usepackage{lipsum}[2021-09-20]% v2.7 +\usepackage[draft]{showkeys}[2024/05/23]% v3.21 %% Use final instead of draft to hide the keys. %% -\usepackage{hyperref}[2012/11/06]% v6.83m +\PassOptionsToPackage{hyperref}{pdfpagelabels=true,hyperindex=false} +\usepackage{hyperref}[2024-10-30]% v7.01k \hypersetup{% extension=pdf,% plainpages=false,% - pdfpagelabels=true,% - hyperindex=false,% pdflang={en},% pdftitle={pageslts package example},% pdfauthor={Hans-Martin Muench},% @@ -87,7 +82,7 @@ bookmarksopen=true% } \usepackage[pagecontinue=true,alphMult=ab,AlphMulti=AB,fnsymbolmult=true,% - romanMult=true,RomanMulti=true]{pageslts}[2015/12/21]% v1.2f + romanMult=true,RomanMulti=true]{pageslts}[2024-11-20]% v2.0a %% These are the default options. %% \makeatletter @@ -104,7 +99,6 @@ \renewcommand{\@oddfoot}{\@evenfoot} \def\pagesLTSexampleArabic{3} \def\pagesLTSexamplealph{23} - \gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \makeatother \listfiles @@ -119,13 +113,14 @@ \markboth{Example for pageslts}{Example for pageslts} This example demonstrates the most common uses of package\\ -\textsf{pageslts}, v1.2f as of 2015/12/21 (HMM).\\ +\textsf{pageslts}, v2.0a as of 2024-11-20 (HMM);\\ +\url{https://ctan.org/pkg/pageslts}.\\ + The used options were \texttt{pagecontinue=true}, \texttt{alphMult=ab}, \texttt{AlphMulti=AB}, \linebreak \texttt{fnsymbolmult=true}, \texttt{romanMult=true}, and \texttt{RomanMulti=true} -(the default ones).\\ -For more details please see the documentation!\\ +(the default\linebreak ones). -- For more details please see the documentation!\\ \label{keys} To hide the \pageref{keys}{\qquad } use option \texttt{final} instead of \texttt{draft} with the \textsf{showkeys} @@ -145,7 +140,7 @@ Page \thepage\ (\theCurrentPage; local: \theCurrentPageLocal) of % \lastpageref{LastPages} pages.\\ If the \textsf{hyperref} package is loaded, but the hyperlinks of the references shall be suppressed, \verb|\pageref*{...}| -and \verb|\lastpageref*{...}| can be used:\\ +and \verb|\lastpageref*{...}| can be used:\\[0.5\baselineskip] Page \thepage\ (\theCurrentPage; local: \theCurrentPageLocal) of % \lastpageref*{pagesLTS.roman}(\lastpageref*{pagesLTS.roman.local}) + % \lastpageref*{pagesLTS.Roman}(\lastpageref*{pagesLTS.Roman.local}) + % @@ -161,7 +156,7 @@ trademark owner. There is no intention of infringement; the usage is to the benefit of the trademark owner.\\ \textbf{Tip}: Use \textit{logical page numbers} -for the display of the pdf (in Adobe Reader DC 2015.008.20082: +for the display of the pdf (in Adobe Reader Continuos Release 2024.004.20272:\\ Edit $>$ Preferences $>$ Categories: Page Display $>$ Page Content and Information: Use logical page numbers)!\\ @@ -170,12 +165,6 @@ Roman, alph, Alph or fnsymbol ones? No problem, e.\,g. just give a\\ \verb|\addtocounter{page}{|-\textit{some number}\verb|}| in the source code of this example file (or uncomment the prepared line)! -\bigskip - -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. - \pagebreak \tableofcontents @@ -184,8 +173,7 @@ Therefore please print only if this is really necessary. \pagenumbering{roman} %% in case the page numbering is changed before, -%% otherwise pagesLTS.current.local.roman on this page -%% would be undefined +%% otherwise pagesLTS.current.local.roman on this page would be undefined \section{roman} @@ -199,13 +187,13 @@ the first page, of course.)\\ \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first\linebreak page):~\theCurrentPage \\ You can get this also in other formats: \roman{CurrentPage}, \Roman{CurrentPage}, \arabic{CurrentPage}, \fnsymbol{CurrentPage}, \alph{CurrentPage}, \Alph{CurrentPage}. \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ You can get also this in other formats, too: \roman{pagesLTS.current.local.roman}, \Roman{pagesLTS.current.local.roman}, @@ -241,8 +229,9 @@ because the number of pages does not change (only the page numbers).\\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -255,9 +244,9 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{lastpage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ @@ -277,10 +266,10 @@ a package with output \linebreak \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -299,8 +288,10 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ + (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -313,9 +304,9 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ @@ -350,10 +341,10 @@ The Roman page numbering scheme is continued later in section~\ref{Roman2})! \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -372,8 +363,10 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ + (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -386,9 +379,9 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pagesLTS} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ @@ -409,10 +402,10 @@ for the current or total page count} \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -431,8 +424,10 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ + (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -445,9 +440,9 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ @@ -468,10 +463,10 @@ in the source code.)\\ \noindent The page (from \verb|\thepage| command): \thepage \\ \noindent Current page (from \verb|\theCurrentPage|\ % -command), i.\,e. counted continuously from the first page): \theCurrentPage \\ +command), i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (from \verb|\theCurrentPageLocal|\ % -command), i.\,e. counted continuously from the first page of the +command), i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal\\ \noindent Last page's number (LastPages): \lastpageref{LastPages}{\hskip3em } @@ -485,15 +480,8 @@ current page numbering scheme): \theCurrentPageLocal\\ \section{fnsymbol} -Adobe Reader DC 2015.008.20082 does not show the correct page names -for all pages with \texttt{fnsymbol} page numbering scheme, -while at least the (\ldots\ of \ldots ) part of the page number is displayed correctly. -(Adobe Reader~X even got all pages right.) - -\bigskip - Without option \texttt{fnsymbolmult=true} of the \textsf{pageslts} package -(and the help of \textsc{Heiko Oberdiek}'s \textsf{alphalph} package), +(and the help of the \textsf{alphalph} package), after page~9 (\textquotedblleft \ensuremath {\ddagger \ddagger }\textquotedblright ) (and also for negative page numbers) there would just appear a \begin{quote} @@ -512,8 +500,8 @@ the first, second, third,\ldots\ page (\ensuremath {**}, \ensuremath {\mathparagraph \mathparagraph }), and after the tenth page the \textquotedblleft number\textquotedblright{} is tripled (\ensuremath {***}, \ensuremath {\dagger \dagger \dagger },\ldots). -Page zero is named 0 and negative pages just named like the positive ones -with addition of a minus sign~($-$). +Page zero is named 0 and negative pages are just named like the positive ones +with addition of a minus \mbox{sign ($-$).} \bigskip @@ -523,10 +511,10 @@ with addition of a minus sign~($-$). \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -545,8 +533,10 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ + (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -559,9 +549,9 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ @@ -572,16 +562,16 @@ a package with output \linebreak \pagenumbering{Roman} -\section{Roman - again!\label{Roman2}} +\section{Roman -- again!\label{Roman2}} The page number would start with \textquotedblleft I\textquotedblright{} again -- but for the \textsf{pageslts} package (with option \texttt{pagecontinue=true}, or with option just \texttt{pagecontinue}, or even just \nolinebreak{with\textbf{out}} option \texttt{pagecontinue=false}). -This package remembered the (\arabic{pagesLTS.double.Roman}-1)\footnote{% -OK, here you have to compute this value for yourself, but % -subtracting one should be manageable for \TeX{}nicians.} pages already -done in Roman output, and therefore continues with page +This package remembered the +\arabic{pagesLTS.double.Roman}-1, +i.\,e.~\the\numexpr\value{pagesLTS.double.Roman}-1\relax, pages +already done in Roman output, and therefore continues with page \textquotedblleft \thepage \textquotedblright .\\ If you want to start with \textquotedblleft I\textquotedblright{} all over again, you will have two pages with the same name, @@ -594,10 +584,10 @@ or a \verb|\setcounter{page}{1}|\ here (not demonstrated in this example file).\ \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -616,7 +606,7 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ (\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ @@ -631,9 +621,9 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ @@ -665,10 +655,10 @@ The Roman page numbering scheme is continued later in section~\ref{Roman3})! \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -687,8 +677,10 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ + (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -701,9 +693,9 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ @@ -712,9 +704,9 @@ a package with output \linebreak \newpage -Without option \texttt{alphMult=ab} of the \textsf{pageslts} (and the help of -\textsc{Heiko Oberdiek's} \textsf{alphalph} package), after page -\textquotedblleft z\textquotedblright{} there would just appear a +Without option \texttt{alphMult=ab} of the \textsf{pageslts} (and the help of the +\textsf{alphalph} package), after page \textquotedblleft z\textquotedblright{} there +would just appear a \begin{quote} \begin{verbatim} LaTeX Error: Counter too large @@ -741,16 +733,14 @@ in the source code here. \section{Roman - third time!\label{Roman3}} -The page number would start with -\textquotedblleft I\textquotedblright{} again -- but -for the \textsf{pageslts} package (with option \texttt{pagecontinue=true}, +The page number would start with \textquotedblleft I\textquotedblright{} again +-- but for the \textsf{pageslts} package (with option \texttt{pagecontinue=true}, or with option just \texttt{pagecontinue}, or even just \nolinebreak{with\textbf{out}} option \texttt{pagecontinue=false}). This package remembered the -(\arabic{pagesLTS.double.Roman}-1)\footnote{OK, here % -you have to compute this value for yourself, but % -subtracting one should be managable for \TeX nicians.} pages already -done in Roman output, and therefore continues with page +\arabic{pagesLTS.double.Roman}-1, +i.\,e.~\the\numexpr\value{pagesLTS.double.Roman}-1\relax, pages +already done in Roman output, and therefore continues with page \textquotedblleft \thepage \textquotedblright .\\ If you want to start with \textquotedblleft I\textquotedblright{} all over again, you will have (at least) two pages with the same name, @@ -764,10 +754,10 @@ but nevertheless you can do this by using option \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -786,8 +776,10 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ + (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -800,9 +792,9 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ @@ -834,10 +826,10 @@ third Roman sector.\\ \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -856,8 +848,10 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ + (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -870,18 +864,20 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } (=~total number of pages)\\ \lipsum[1-3] -Without option \texttt{alphMulti=AB} of the \textsf{pageslts} (and the help of -\textsc{Heiko Oberdiek's} \textsf{alphalph} package), after page -\textquotedblleft Z\textquotedblright{} there would just appear a +\bigskip + +Without option \texttt{alphMulti=AB} of the \textsf{pageslts} +(and the help of the \textsf{alphalph} package), after page +\textquotedblleft Z\textquotedblright{} there would just appear~a \begin{quote} \begin{verbatim} LaTeX Error: Counter too large @@ -904,10 +900,10 @@ This is not demonstrated here, but see section~\ref{alph}. \noindent The page (\verb|\thepage|): \thepage \\ \noindent Current page (\verb|\theCurrentPage|), -i.\,e. counted continuously from the first page): \theCurrentPage \\ +i.\,e.\ counted continuously from the first page): \theCurrentPage \\ \noindent CurrentPageLocal (\verb|\theCurrentPageLocal|), -i.\,e. counted continuously from the first page of the +i.\,e.\ counted continuously from the first page of the current page numbering scheme): \theCurrentPageLocal \\ \noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em } @@ -926,8 +922,10 @@ current page numbering scheme): \theCurrentPageLocal \\ (There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers, because an \verb|\addtocounter{page}{|\pagesLTSexampleArabic\verb|}| was used.)\\ -\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\ -(\verb|\lastpageref{pagesLTS.fnsymbol}| -- never \verb|\pageref{pagesLTS.fnsymbol}|!)\\ +\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol}\\ +(better \verb|\lastpageref{pagesLTS.fnsymbol}| than just\\ +\verb|\pageref{pagesLTS.fnsymbol}|!)\\ + (There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\ \noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em } @@ -940,24 +938,12 @@ because an \verb|\addtocounter{page}{|\pagesLTSexamplealph\verb|}| was used.)\\ \noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\ \noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\ -(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless -a package with output \linebreak -\verb|\AtEndDocument| after the \textsf{pageslts} package was added.)\\ +(\texttt{LastPage} and \texttt{VeryLastPage} are now identical, because both are now done +\verb|\AddToHook{enddocument/afterlastpage}| instead of formerly\\ +\verb|\AtEndDocument| and \verb|\AtEndDocument| and \verb|\AfterLastShipout|, which were different.)\\ \noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em } -(=~total number of pages)\\ - -\medskip - -\noindent Page \thepage\ (\theCurrentPage; local: \theCurrentPageLocal) of % -\lastpageref{pagesLTS.roman} (\lastpageref{pagesLTS.roman.local}) + % -\lastpageref{pagesLTS.Roman} (\lastpageref{pagesLTS.Roman.local}) + % -\lastpageref{pagesLTS.arabic} (\lastpageref{pagesLTS.arabic.local}) + % -\lastpageref{pagesLTS.fnsymbol} (\lastpageref{pagesLTS.fnsymbol.local}) + % -\lastpageref{pagesLTS.alph} (\lastpageref{pagesLTS.alph.local}) + % -\lastpageref{pagesLTS.Alph} (\lastpageref{pagesLTS.Alph.local}) = % -\lastpageref{LastPages} pages. - +(=~total number of pages) \end{document} \endinput %% diff --git a/Master/texmf-dist/doc/latex/pageslts/pageslts.pdf b/Master/texmf-dist/doc/latex/pageslts/pageslts.pdf Binary files differindex 98f3b7a7b34..f4ccf5a1ba0 100644 --- a/Master/texmf-dist/doc/latex/pageslts/pageslts.pdf +++ b/Master/texmf-dist/doc/latex/pageslts/pageslts.pdf |