From bc1d8cd685177e278fd22ad398c977521936a915 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 30 Mar 2015 23:04:18 +0000 Subject: lastpage (30mar15) git-svn-id: svn://tug.org/texlive/trunk@36680 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/lastpage/lastpage.sty | 65 +++++++++++----------- .../texmf-dist/tex/latex/lastpage/lastpage209.sty | 32 ++++++----- 2 files changed, 50 insertions(+), 47 deletions(-) (limited to 'Master/texmf-dist/tex/latex/lastpage') diff --git a/Master/texmf-dist/tex/latex/lastpage/lastpage.sty b/Master/texmf-dist/tex/latex/lastpage/lastpage.sty index 08a47c7e178..d69eb93960c 100644 --- a/Master/texmf-dist/tex/latex/lastpage/lastpage.sty +++ b/Master/texmf-dist/tex/latex/lastpage/lastpage.sty @@ -9,9 +9,9 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2013/01/28 v1.2l +%% Version: 2015/03/29 v1.2m %% -%% Copyright (C) 2010 - 2013 by +%% Copyright (C) 2010 - 2015 by %% H.-Martin M"unch %% Portions of code copyrighted by other people as marked. %% @@ -34,25 +34,29 @@ %% %% The Current Maintainer of this work is H.-Martin Muench. %% -%% This package was invented by Jeffrey P. Goldberg. -%% I thought that a replacement was needed and therefore created the -%% pageslts package, -%% http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/pageslts.dtx -%% or -%% http://www.ctan.org/tex-archive/install/macros/latex/contrib/pageslts.tds.zip -%% . Nevertheless, for compatibility with existing documents/packages as well as -%% for the low amount of resources needed by the lastpage package (no new counter!), +%% This package was invented by +%% Jeffrey P. Goldberg (jeffrey+news at goldmark dot org). +%% I thought that a replacement was needed and therefore created the pageslts package, +%% https://www.ctan.org/pkg/pageslts +%% . Nevertheless, for compatibility with existing documents/packages as well as for +%% the low amount of resources needed by the lastpage package (no new counter!), %% I updated this package. %% Thanks go to Jeffrey P. Goldberg for allowing me to do this. %% -%% This work consists of the main source file lastpage.dtx -%% and the derived files -%% lastpage.sty, lastpage.pdf, lastpage.ins, lastpage.drv, -%% lastpage-example.tex. +%% This work consists of the main source file lastpage.dtx, +%% the README, and the derived files +%% lastpage.sty, lastpage.pdf, +%% lastpage.ins, lastpage.drv, +%% lastpage-example.tex, lastpage-example.pdf. %% -\NeedsTeXFormat{LaTeX2e}[2011/06/27] -\ProvidesPackage{lastpage}[2013/01/28 v1.2l - Refers to last page's name (HMM; JPG)]% +%% In memoriam +%% Claudia Simone Barth + 1996/01/30 +%% Tommy Muench + 2014/01/02 +%% Hans-Klaus Muench + 2014/08/24 +%% +\NeedsTeXFormat{LaTeX2e}[2014/05/01] +\ProvidesPackage{lastpage}% + [2015/03/29 v1.2m Refers to last page's name (HMM; JPG)]% %% lastpage may work with earlier versions of LaTeX, %% but this was not tested. Please consider updating @@ -93,11 +97,7 @@ \gdef\lastpage@LTS{1}% }{\PackageInfo{lastpage}{% Please have a look at the pageslts package at\MessageBreak% - http://www.ctan.org/tex-archive/ \MessageBreak% - macros/latex/contrib/pageslts/ \MessageBreak% - or\MessageBreak% - http://www.ctan.org/tex-archive/ \MessageBreak% - install/macros/latex/contrib/pageslts.tds.zip\MessageBreak% + https://www.ctan.org/pkg/pageslts\MessageBreak% !}% }% \@ifpackageloaded{pagesLTS}{% @@ -105,11 +105,7 @@ Outdated pagesLTS package found.\MessageBreak% Please replace by a recent version of\MessageBreak% pageslts package, see e.g. at\MessageBreak% - http://www.ctan.org/tex-archive/ \MessageBreak% - macros/latex/contrib/pageslts/ \MessageBreak% - or\MessageBreak% - http://www.ctan.org/tex-archive/ \MessageBreak% - install/macros/latex/contrib/pageslts.tds.zip\MessageBreak% + https://www.ctan.org/pkg/pageslts\MessageBreak% !\MessageBreak% With pagesLTS as well as pageslts package\MessageBreak% the lastpage package is no longer necessary.\MessageBreak% @@ -131,13 +127,13 @@ \ifx\lastpage@nameref\lastpage@one% \lastpage@putlabelNR% \else% - \begingroup + \begingroup% \addtocounter{page}{-1}% \immediate\write\@auxout{\string\newlabel{LastPage}{{}{\thepage}}}% \immediate\write\@auxout{\string\xdef\string\lastpage@lastpage{\thepage}}% \immediate\write\@auxout{\string\gdef\string\lastpage@lastpageHy{}}% \addtocounter{page}{+1}% - \endgroup + \endgroup% \fi% \fi% \fi% @@ -208,17 +204,17 @@ \string\gdef\string\lastpage@lastpageHy{}}% \fi% \addtocounter{page}{+1}% - \endgroup + \endgroup% } \newcommand{\lastpage@putlabelNR}{% - \begingroup + \begingroup% \addtocounter{page}{-1}% \immediate\write\@auxout{\string\newlabel{LastPage}{{}{\thepage}{}{}{}}}% \immediate\write\@auxout{\string\xdef\string\lastpage@lastpage{\thepage}}% \immediate\write\@auxout{\string\gdef\string\lastpage@lastpageHy{}}% \addtocounter{page}{+1}% - \endgroup + \endgroup% } \newcommand{\lastpage@fileswtest}[2]{% @@ -231,6 +227,9 @@ {The lastpage package was not allowed to write to an\MessageBreak% .aux file. This package does not work without access\MessageBreak% to an .aux file.\MessageBreak% + It is OK if the .aux file was already updated\MessageBreak% + by a previouse compiler run\MessageBreak% + and would not have changed anyway.\MessageBreak% }% \else% \PackageError{lastpage}{No auxiliary file allowed}% @@ -250,7 +249,7 @@ } \AtEndDocument{% - \gdef\lastpage@putlabel{\relax} + \gdef\lastpage@putlabel{\relax}% \ifx\lastpage@LTS\lastpage@one% \else% \@ifundefined{lastpage@lastpage}% diff --git a/Master/texmf-dist/tex/latex/lastpage/lastpage209.sty b/Master/texmf-dist/tex/latex/lastpage/lastpage209.sty index c5be75835fa..1b5a8125d69 100644 --- a/Master/texmf-dist/tex/latex/lastpage/lastpage209.sty +++ b/Master/texmf-dist/tex/latex/lastpage/lastpage209.sty @@ -9,9 +9,9 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2013/01/28 v1.2l +%% Version: 2015/03/29 v1.2m %% -%% Copyright (C) 2010 - 2013 by +%% Copyright (C) 2010 - 2015 by %% H.-Martin M"unch %% Portions of code copyrighted by other people as marked. %% @@ -34,21 +34,25 @@ %% %% The Current Maintainer of this work is H.-Martin Muench. %% -%% This package was invented by Jeffrey P. Goldberg. -%% I thought that a replacement was needed and therefore created the -%% pageslts package, -%% http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/pageslts.dtx -%% or -%% http://www.ctan.org/tex-archive/install/macros/latex/contrib/pageslts.tds.zip -%% . Nevertheless, for compatibility with existing documents/packages as well as -%% for the low amount of resources needed by the lastpage package (no new counter!), +%% This package was invented by +%% Jeffrey P. Goldberg (jeffrey+news at goldmark dot org). +%% I thought that a replacement was needed and therefore created the pageslts package, +%% https://www.ctan.org/pkg/pageslts +%% . Nevertheless, for compatibility with existing documents/packages as well as for +%% the low amount of resources needed by the lastpage package (no new counter!), %% I updated this package. %% Thanks go to Jeffrey P. Goldberg for allowing me to do this. %% -%% This work consists of the main source file lastpage.dtx -%% and the derived files -%% lastpage.sty, lastpage.pdf, lastpage.ins, lastpage.drv, -%% lastpage-example.tex. +%% This work consists of the main source file lastpage.dtx, +%% the README, and the derived files +%% lastpage.sty, lastpage.pdf, +%% lastpage.ins, lastpage.drv, +%% lastpage-example.tex, lastpage-example.pdf. +%% +%% In memoriam +%% Claudia Simone Barth + 1996/01/30 +%% Tommy Muench + 2014/01/02 +%% Hans-Klaus Muench + 2014/08/24 %% % FOR LaTeX 2.09 ONLY - FOR LaTeX 2e USE lastpage.sty OR pageslts.sty! % This is lastpage209.sty invented by Jeffrey P. Goldberg -- cgit v1.2.3