diff options
author | Karl Berry <karl@freefriends.org> | 2023-10-15 20:42:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-10-15 20:42:19 +0000 |
commit | 0132bd50a072b9fbaab24b792dba4a5d6bc82893 (patch) | |
tree | 6ace1a6452cddf822618700e60bc9d8c60e6c4d1 /Master/texmf-dist/tex/latex/lastpage | |
parent | 287dd99c75729c5aa292a68428908bf83a812365 (diff) |
lastpage (14oct23)
git-svn-id: svn://tug.org/texlive/trunk@68557 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lastpage')
5 files changed, 18 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/lastpage/lastpage.sty b/Master/texmf-dist/tex/latex/lastpage/lastpage.sty index 7e9d25662b9..77aeae49400 100644 --- a/Master/texmf-dist/tex/latex/lastpage/lastpage.sty +++ b/Master/texmf-dist/tex/latex/lastpage/lastpage.sty @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2023-10-06 v2.0d +%% Version: 2023-10-14 v2.0e %% Info: Refers to last page's name %% %% Copyright (C) 2010 - 2023 by @@ -60,7 +60,7 @@ %% 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/10/06 v2.0d lastpage: 2.09 or 2e? (HMM)]\relax\RequirePackage{lastpage2e}} +\def\loadlastpage{\ProvidesPackage{lastpage}[2023/10/14 v2.0e 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 diff --git a/Master/texmf-dist/tex/latex/lastpage/lastpage209.sty b/Master/texmf-dist/tex/latex/lastpage/lastpage209.sty index e35c7856a6e..b99cfff16a6 100644 --- a/Master/texmf-dist/tex/latex/lastpage/lastpage209.sty +++ b/Master/texmf-dist/tex/latex/lastpage/lastpage209.sty @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2023-10-06 v2.0d +%% Version: 2023-10-14 v2.0e %% Info: Refers to last page's name %% %% Copyright (C) 2010 - 2023 by diff --git a/Master/texmf-dist/tex/latex/lastpage/lastpage2e.sty b/Master/texmf-dist/tex/latex/lastpage/lastpage2e.sty index 85a86aa898a..9983c6b9999 100644 --- a/Master/texmf-dist/tex/latex/lastpage/lastpage2e.sty +++ b/Master/texmf-dist/tex/latex/lastpage/lastpage2e.sty @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2023-10-06 v2.0d +%% Version: 2023-10-14 v2.0e %% Info: Refers to last page's name %% %% Copyright (C) 2010 - 2023 by @@ -59,7 +59,7 @@ %% %% Part of the "lastpage" package \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{lastpage2e}[2023/10/06 v2.0d % +\ProvidesPackage{lastpage2e}[2023/10/14 v2.0e % Decide which 2e lastpage version to use (HMM)] \@ifl@t@r\fmtversion{2022/11/01}{\RequirePackage{lastpagemodern}}{% \RequirePackage{lastpageclassic}} diff --git a/Master/texmf-dist/tex/latex/lastpage/lastpageclassic.sty b/Master/texmf-dist/tex/latex/lastpage/lastpageclassic.sty index 786ed617876..d1d80cd3c15 100644 --- a/Master/texmf-dist/tex/latex/lastpage/lastpageclassic.sty +++ b/Master/texmf-dist/tex/latex/lastpage/lastpageclassic.sty @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2023-10-06 v2.0d +%% Version: 2023-10-14 v2.0e %% Info: Refers to last page's name %% %% Copyright (C) 2010 - 2023 by @@ -59,7 +59,7 @@ %% %% Part of the "lastpage" package \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{lastpageclassic}[2023/10/06 v2.0d % +\ProvidesPackage{lastpageclassic}[2023/10/14 v2.0e % Refers to last page's name (HMM; JPG)] %% allows for things like "Page \thepage{} of \pageref{LastPage}" %% to get "Page 7 of 9" @@ -120,10 +120,12 @@ \newcommand{\lastpage@putlabelhyper}{% \ifHy@pageanchor% \else% - \PackageError{lastpage}{hyperref option pageanchor disabled}{% - The \string\pageref{LastPage} link doesn't work\MessageBreak% + \PackageWarningNoLine{lastpage}{% + The \string\pageref{LastPage} link does not work\MessageBreak% using hyperref with disabled option `pageanchor'.\MessageBreak% - }% + Better enable `pageanchor' or use\MessageBreak% + \string\pageref*{LastPage} (not generating a link)% + }% \fi% \begingroup% \addtocounter{page}{-1}% diff --git a/Master/texmf-dist/tex/latex/lastpage/lastpagemodern.sty b/Master/texmf-dist/tex/latex/lastpage/lastpagemodern.sty index 15d28b235b8..9f7adb2cccc 100644 --- a/Master/texmf-dist/tex/latex/lastpage/lastpagemodern.sty +++ b/Master/texmf-dist/tex/latex/lastpage/lastpagemodern.sty @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2023-10-06 v2.0d +%% Version: 2023-10-14 v2.0e %% Info: Refers to last page's name %% %% Copyright (C) 2010 - 2023 by @@ -59,7 +59,7 @@ %% %% Part of the "lastpage" package \NeedsTeXFormat{LaTeX2e}[2022-11-01] -\ProvidesPackage{lastpagemodern}[2023-10-06 v2.0d % +\ProvidesPackage{lastpagemodern}[2023-10-14 v2.0e % 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"; @@ -126,10 +126,12 @@ \newcommand{\lastpage@putl@bel}{% \IfPackageLoadedTF{pageslts}{\relax}{% \IfPackageLoadedTF{hyperref}{\ifHy@pageanchor\else% - \PackageError{lastpage}{hyperref option pageanchor disabled}{% + \PackageWarningNoLine{lastpage}{% The \string\pageref{LastPage} link does not work\MessageBreak% using hyperref with disabled option `pageanchor'.\MessageBreak% - }\fi}{}% + Better enable `pageanchor' or use\MessageBreak% + \string\pageref*{LastPage} (not generating a link)% + }\fi}{}% \begingroup% \addtocounter{page}{-1}% \IfPackageLoadedTF{hyperref}{% |