diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-24 20:22:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-24 20:22:07 +0000 |
commit | 3055b80d02fddbad245f27ee4e49c90e801ceea7 (patch) | |
tree | 6dea9e30861a820ae5f1e129276927b830829ce6 /Master/texmf-dist/doc/latex | |
parent | b0cc1f5978aadab4a408401714ccb10ca46c7766 (diff) |
lastpage (24jul23)
git-svn-id: svn://tug.org/texlive/trunk@67722 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/README | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf | bin | 129504 -> 129330 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex | 40 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage.pdf | bin | 440853 -> 439739 bytes |
4 files changed, 20 insertions, 27 deletions
diff --git a/Master/texmf-dist/doc/latex/lastpage/README b/Master/texmf-dist/doc/latex/lastpage/README index 57a301f013c..a22d2498f1c 100644 --- a/Master/texmf-dist/doc/latex/lastpage/README +++ b/Master/texmf-dist/doc/latex/lastpage/README @@ -1,4 +1,4 @@ -README for lastpage package, 2023-04-12, v2.0b +README for lastpage package, 2023-07-24, v2.0c TABLE OF CONTENTS @@ -21,11 +21,10 @@ This LaTeX package puts the label LastPage at the end of the document 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, or the -fnsymbol page numbering scheme is used, or another package +When more than one page numbering scheme is used, or another package has output after this package, or the number of pages instead of the last page's name is needed, or the page -numbers exeed a certain range, there might be problems, +numbers exceed a certain range, there might be problems, which can be solved by using the pageslts package instead [which needs updating to current LaTeX-format and therefore might fail]. diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf Binary files differindex d3826c7544a..547293f4010 100644 --- a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf +++ b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex index 9168ad6fdb2..f11a6ecd723 100644 --- a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex +++ b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2023-04-12 v2.0b +%% Version: 2023-07-24 v2.0c %% Info: Refers to last page's name %% %% Copyright (C) 2010 - 2023 by @@ -56,21 +56,19 @@ %% Tommy Muench + 2014-01-02 %% Hans-Klaus Muench + 2014-08-24 %% -\documentclass[british]{article}[2022/07/02]% v1.4n Standard LaTeX document class +\documentclass[british]{article}[2023/05/17]% v1.4n Standard LaTeX document class \makeatletter \@ifl@t@r\fmtversion{2022/11/01}{% \AddToHook{enddocument/afterlastpage}[lastpage]{% \message{^^JLaTeX Info: Executing hook `enddocument/afterlastpage'.}}% }{\AtEndDocument{\message{^^JLaTeX Info: Executing hook `AtEndDocument'.}}% } -\makeatother -\usepackage[draft]{showkeys}[2022/04/12]% v3.18 Show cite and label keys (DPC, MH) +\usepackage[draft]{showkeys}[2023/05/11]% v3.19 Show cite and label keys (DPC, MH) %% Use final instead of draft to hide the keys. %% -\usepackage{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX +\usepackage[pdfpagelabels=true,hyperindex=false]{hyperref}[2023-07-08]% v7.01b +%% Hypertext links for LaTeX \hypersetup{extension=pdf,% plainpages=false,% - pdfpagelabels=true,% - hyperindex=false,% pdflang={en},% pdftitle={lastpage package example},% pdfauthor={H.-Martin Muench},% @@ -80,13 +78,8 @@ pdfstartview=Fit,% pdfpagelayout=SinglePage% } -%% If hyperref is not used, the url package -%% https://ctan.org/pkg/url -%% 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-04-12]% v2.0b -\makeatletter +\@ifpackageloaded{hyperref}{}{\usepackage{url}[2013/09/16]}% v3.4 +\usepackage{lastpage}[2023-07-24]% v2.0c \renewcommand{\@evenfoot}{% \normalsize\slshape \today\hfil \upshape % page \thepage{} of \pageref{LastPage}} @@ -98,7 +91,7 @@ \section*{Example for lastpage} \markboth{Example for lastpage}{Example for lastpage} This example demonstrates the use of package\newline -\textsf{lastpage}, v2.0b as of 2023-04-12 (HMM; JPG).\newline +\textsf{lastpage}, v2.0c as of 2023-07-24 (HMM; JPG).\newline The package takes no options.\newline For more details please see the documentation!\newline @@ -123,7 +116,7 @@ trademark owner. There is no intention of infringement; the usage is to the benefit of the trademark owner.\newline \textbf{Tip}: Use \textit{logical page numbers} -for the display of the pdf (in Adobe Acrobat Reader 2022.003.20322: +for the display of the pdf (in Adobe Acrobat Reader 2023.003.20244: Edit $>$ Preferences $>$ Page Display $>$ Page Content and Information: Use logical page numbers)!\newline @@ -178,16 +171,17 @@ The code does not generally work even without hyperref. \end{quote} \noindent does work, because \verb|\lastpage@lastpage| contains the name -of the page, example:\newline -\verb|Page \thepage{} is page \makeatletter\lastpage@lastpage\makeatother.|% -\newline +of the page, \mbox{example:} +\begin{verbatim} +Page \thepage{} is (not) page \makeatletter\lastpage@lastpage\makeatother. +\end{verbatim} prints:\newline -Page \thepage{} is page \makeatletter\lastpage@lastpage\makeatother.% +Page \thepage{} is (not) page \makeatletter\lastpage@lastpage\makeatother. \newline This can be broken for example by \verb|\pagenumbering{fnsymbol}|. \newpage -\noindent The page (\verb|\thepage|): \thepage \newline +\noindent The page (\verb|\thepage|): \thepage\newline Last page's name (LastPage): \pageref{LastPage} \bigskip @@ -222,8 +216,8 @@ Last page's name (LastPage): \pageref{LastPage} \bigskip To see the content of the \texttt{enddocument/afterlastpage}-hook -(for a recent \LaTeX-format!) use -\verb|\ShowHook{enddocument/afterlastpage}|.% without the \verb||, of course! +(for a recent \LaTeX-format!) use % without the \verb||, of course! +\verb|\ShowHook{enddocument/afterlastpage}|. \end{document} \endinput %% diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf b/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf Binary files differindex 67a493ada8c..064afaac10b 100644 --- a/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf +++ b/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf |