summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-30 23:04:18 +0000
committerKarl Berry <karl@freefriends.org>2015-03-30 23:04:18 +0000
commitbc1d8cd685177e278fd22ad398c977521936a915 (patch)
tree8a4b64f335cd05e76ca16006427c98d58d7f252f /Master
parent0d7d6ceda5d28a3493013ee490037ce2f44ddcae (diff)
lastpage (30mar15)
git-svn-id: svn://tug.org/texlive/trunk@36680 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/lastpage/README90
-rw-r--r--Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdfbin114137 -> 115183 bytes
-rw-r--r--Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex59
-rw-r--r--Master/texmf-dist/doc/latex/lastpage/lastpage.pdfbin430415 -> 430557 bytes
-rw-r--r--Master/texmf-dist/source/latex/lastpage/lastpage.drv42
-rw-r--r--Master/texmf-dist/source/latex/lastpage/lastpage.dtx369
-rw-r--r--Master/texmf-dist/source/latex/lastpage/lastpage.ins68
-rw-r--r--Master/texmf-dist/tex/latex/lastpage/lastpage.sty65
-rw-r--r--Master/texmf-dist/tex/latex/lastpage/lastpage209.sty32
9 files changed, 360 insertions, 365 deletions
diff --git a/Master/texmf-dist/doc/latex/lastpage/README b/Master/texmf-dist/doc/latex/lastpage/README
index ab236ad8588..d04f4136b6a 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, 2013/01/28, v1.2l
+README for lastpage package, 2015/03/29, v1.2m
TABLE OF CONTENTS
@@ -17,8 +17,8 @@ TABLE OF CONTENTS
1 INTRODUCTION
==============
-This package puts the label LastPage (\AtEndDocument) into
-the .aux file, allowing the user to refer to the last page
+This LaTeX package puts the label LastPage (\AtEndDocument)
+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
@@ -27,21 +27,32 @@ 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,
which can be solved by using the pageslts package instead.
-This material is subject to the LaTeX Project Public License
-(LPPL). See http://www.ctan.org/license/lppl1.3
-for the details of that license.
+
+This material is published under the LPPL 1.3c: 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
+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.
2 DOWNLOAD
==========
`lastpage' is available on CTAN:
- http://www.ctan.org/tex-archive/macros/latex/contrib/lastpage
+https://www.ctan.org/pkg/lastpage
-Also a ZIP file is provided that contains the files, already
-sorted in a TDS tree:
- http://mirrors.ctan.org/install/macros/latex/contrib/
- lastpage.tds.zip
+Also a ZIP file is provided that contains the files:
+the manual (lastpage.pdf), the example (lastpage-example.tex),
+the compiled example (lastpage-example.pdf),
+driver (lastpage.drv), lastpage.dtx,
+installation file (lastpage.ins),
+the style files (lastpage.sty, lastpage209.sty),
+and this README, already sorted in a TDS tree:
+http://mirrors.ctan.org/install/macros/latex/contrib/lastpage.tds.zip
3 INSTALLATION
@@ -52,11 +63,11 @@ lastpage at some obsolete place in your system.
Installation with ZIP file in TDS format
----------------------------------------
-The ZIP file `lastpage.tds.zip' contains the files sorted
-in a TDS tree. Thus you can directly unpack the ZIP file
-inside a TDS tree.
-(See http://www.ctan.org/TDS-guidelines for an explanation
-of TDS.)
+The ZIP file `lastpage.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
+of TDS.
Example:
cd /...somewhere.../texmf
unzip /...downloadpath.../lastpage.tds.zip
@@ -67,20 +78,30 @@ Example:
Manual installation
-------------------
-a) Download the lastpage files from CTAN or the TUG server.
+a) Download the lastpage files from CTAN.
If necessary, unpack them.
b) Generate the package and driver files:
- tex lastpage.ins
+ tex lastpage.dtx
c) Install the file `*.sty' in your TDS tree:
cp *.sty TDS:tex/latex/lastpage/
Replace `TDS:' by the prefix of your TDS tree
(texmf directory).
-d) Copy the documentation files to
+d) Create the documentation, if necessary, e.g.
+ pdflatex lastpage.dtx
+ makeindex -s gind.ist lastpage.idx
+ pdflatex undolabl.dtx
+ makeindex -s gind.ist lastpage.idx
+ pdflatex lastpage.dtx
+e) Update the databases if necessary, e.g. for teTeX:
+ mktexlsr .../texmf
+f) Create the lastpage-example.pdf, if necessary, e.g.
+ pdflatex lastpage-example.tex
+ pdflatex lastpage-example.tex
+ pdflatex lastpage-example.tex
+g) Copy the documentation files to
"TDS:doc/latex/lastpage/":
README, lastpage.pdf, lastpage-example.tex,
lastpage-example.pdf.
-e) Update the databases if necessary, e.g. for teTeX:
- mktexlsr .../texmf
4 ADDITIONAL PACKAGES
@@ -88,25 +109,24 @@ e) Update the databases if necessary, e.g. for teTeX:
The lastpage package does not depend on other packages,
but the lastpage.dtx does (for unpacking and constructing
-the documentation), see "7.1 Downloads" in the manual,
-ftp://ftp.ctan.org/tex-archive/
-macros/latex/contrib/lastpage/lastpage.pdf
+the documentation), see "7.1 Downloads" in the manual
+http://mirrors.ctan.org/macros/latex/contrib/lastpage/lastpage.pdf
5 PACKAGE COMPATIBILITY
=======================
lastpage is not compatible with the very old version 2.0
-(and earlier) of the endfloat package. Newer versions of
-endfloat exists (at the time of writing this documentation:
-v2.5d as of 2011/12/25), which are available at www.CTAN.org.
-
+(and earlier) of the endfloat package. The recent version of
+endfloat is available at
+https://www.ctan.org/pkg/endfloat
6 AUTHORS/MAINTAINER
=====================
-* Author of the original main code: Jeffrey P. Goldberg (Thanks!)
-* Author of the recent package and maintainer:
+* Author of the original main code:
+ Jeffrey P. Goldberg (Thanks!)
+* Author of the recent package and current maintainer:
H.-Martin Münch
@@ -116,15 +136,15 @@ v2.5d as of 2011/12/25), which are available at www.CTAN.org.
A bug report should contain:
* Comprehensive problem description. This includes error or
warning messages.
- * \errorcontextlines=\maxdimen can be added in the
- TeX code to get more information in TeX error 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.
* 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
- of the LaTeX run.
+* If you are using LaTeX, then add "\listfiles". 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
necessary, so send them only on request.
diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf
index 8190c7c1af7..62112433023 100644
--- a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf
+++ b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex
index 9bf70ad0819..af4be9f42f0 100644
--- a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex
+++ b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex
@@ -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 <Martin dot Muench at Uni-Bonn dot de>
%% Portions of code copyrighted by other people as marked.
%%
@@ -34,26 +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.
%%
-\documentclass[british]{article}[2007/10/19]% v1.4h
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% In memoriam
+%% 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
\AtEndDocument{\message{^^JLaTeX Info: Executing hook `AtEndDocument'.}}
-\usepackage[draft]{showkeys}[2007/08/07]% v3.15
+\usepackage[draft]{showkeys}[2014/10/28]% v3.17
%% Use final instead of draft to hide the keys. %%
\usepackage{hyperref}[2012/11/06]% v6.83m
\hypersetup{%
@@ -70,7 +73,12 @@
pdfstartview=Fit,%
pdfpagelayout=SinglePage%
}
-\usepackage{lastpage}[2013/01/28]% v1.2l
+%% If hyperref is not used, the url package
+%% https://www.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}[2015/03/29]% v1.2m
\makeatletter
\renewcommand{\@evenfoot}{%
\normalsize\slshape \today\hfil \upshape %
@@ -86,7 +94,7 @@
\markboth{Example for lastpage}{Example for lastpage}
This example demonstrates the use of package\newline
-\textsf{lastpage}, v1.2l as of 2013/01/28 (HMM; JPG).\newline
+\textsf{lastpage}, v1.2m as of 2015/03/29 (HMM; JPG).\newline
The package takes no options.\newline
For more details please see the documentation!\newline
@@ -112,21 +120,14 @@ usage is to the benefit of the trademark owner.\newline
\textbf{Tip}: Use \textit{logical page numbers} for
the display of the pdf!\newline
-(In Adobe Reader XI (11.0.1): \underline{E}dit $>$
+(In Adobe Reader XI (11.0.10): \underline{E}dit $>$
Prefere\underline{n}ces (Ctrl+k) $>$ Page Display $>$
Page Content and Information $>$ Use logical page
\nolinebreak{\underline{n}umbers.)}\newline
If you are more ambitious in respect to your aims with this package,
-you might want to have a look at the \textsf{pageslts} package\newline
-\makeatletter
- \@ifundefined{Hy@Warning}{% hyperref not loaded
- \verb|http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/|).
- }{% hyperref loaded
- \href{http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/}{%
- CTAN:/macros/latex/contrib/pageslts/}).
- }%
-\makeatother
+you might want to have a look at the \textsf{pageslts} package:\newline
+\url{https://www.ctan.org/pkg/pageslts}.
\bigskip
diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf b/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf
index e57445607e4..2f4be291207 100644
--- a/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf
+++ b/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/lastpage/lastpage.drv b/Master/texmf-dist/source/latex/lastpage/lastpage.drv
index 5bc439355cd..f0245030379 100644
--- a/Master/texmf-dist/source/latex/lastpage/lastpage.drv
+++ b/Master/texmf-dist/source/latex/lastpage/lastpage.drv
@@ -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 <Martin dot Muench at Uni-Bonn dot de>
%% Portions of code copyrighted by other people as marked.
%%
@@ -34,26 +34,30 @@
%%
%% 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]
-\ProvidesFile{lastpage.drv}[2013/01/28 v1.2l
- Refers to last page's name (HMM)]
-\documentclass{ltxdoc}[2007/11/11]% v2.0u
+%% In memoriam
+%% Claudia Simone Barth + 1996/01/30
+%% Tommy Muench + 2014/01/02
+%% Hans-Klaus Muench + 2014/08/24
+%%
+\NeedsTeXFormat{LaTeX2e}[2014/05/01]
+\ProvidesFile{lastpage.drv}%
+ [2015/03/29 v1.2m Refers to last page's name (HMM)]
+\documentclass{ltxdoc}[2014/09/29]% v2.0u
\usepackage{holtxdoc}[2012/03/21]% v0.24
%% lastpage may work with earlier versions of LaTeX2e and those
%% class and package, but this was not tested.
@@ -77,7 +81,7 @@
pdfwindowui=true,%
pdfnewwindow=true%
}
-\usepackage{ulem}[2012/05/18]% no version given in the ulem.sty file
+\usepackage{ulem}[2012/05/18]% no version is given in the ulem.sty file
\CodelineIndex
\hyphenation{created every-thing ignored}
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
diff --git a/Master/texmf-dist/source/latex/lastpage/lastpage.dtx b/Master/texmf-dist/source/latex/lastpage/lastpage.dtx
index 03990425b79..5738fdc7029 100644
--- a/Master/texmf-dist/source/latex/lastpage/lastpage.dtx
+++ b/Master/texmf-dist/source/latex/lastpage/lastpage.dtx
@@ -1,16 +1,15 @@
% \iffalse meta-comment
%
% File: lastpage.dtx
-% 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 <Martin dot Muench at Uni-Bonn dot de>
% Portions of code copyrighted by other people as marked.
-% This package was invented by Jeffrey P. Goldberg (jeffrey+news at goldmark dot org).
+%
+% 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
+% 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.
@@ -30,51 +29,18 @@
%
% The Current Maintainer of this work is H.-Martin Muench.
%
-% 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.
-%
-% Distribution:
-% http://mirrors.ctan.org/macros/latex/contrib/lastpage/lastpage.dtx
-% http://mirrors.ctan.org/macros/latex/contrib/lastpage/lastpage.pdf
-% http://mirrors.ctan.org/install/macros/latex/contrib/lastpage.tds.zip
-%
-% Unpacking:
-% (a) If lastpage.ins is present:
-% tex lastpage.ins
-% (b) Without lastpage.ins:
-% tex lastpage.dtx
-% (c) If you insist on using LaTeX
-% latex \let\install=y\input{lastpage.dtx}
-% (quote the arguments according to the demands of your shell)
-%
-% Documentation:
-% (a) If lastpage.drv is present:
-% (pdf)latex lastpage.drv
-% makeindex -s gind.ist lastpage.idx
-% (pdf)latex lastpage.drv
-% makeindex -s gind.ist lastpage.idx
-% (pdf)latex lastpage.drv
-% (b) Without lastpage.drv:
-% (pdf)latex lastpage.dtx
-% makeindex -s gind.ist lastpage.idx
-% (pdf)latex lastpage.dtx
-% makeindex -s gind.ist lastpage.idx
-% (pdf)latex lastpage.dtx
-%
-% The class ltxdoc loads the configuration file ltxdoc.cfg
-% if available. Here you can specify further options, e.g.
-% use DIN A4 as paper format:
-% \PassOptionsToClass{a4paper}{article}
-%
-% Installation:
-% ! First, please make sure that there is no old version of !
-% ! lastpage at some obsolete place in your system. !
-% TDS:tex/latex/lastpage/lastpage.sty
-% TDS:doc/latex/lastpage/lastpage.pdf
-% TDS:doc/latex/lastpage/lastpage-example.tex
-% TDS:source/latex/lastpage/lastpage.dtx
+% 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.
+%
+% 'lastpage' is available on CTAN:
+% https://www.ctan.org/pkg/lastpage
+%
+% Also a TDS.ZIP file is provided that contains all the files
+% already sorted in a TDS tree:
+% http://mirrors.ctan.org/install/macros/latex/contrib/lastpage.tds.zip
%
%<*ignore>
\begingroup
@@ -91,7 +57,7 @@
\input docstrip.tex
\Msg{*********************************************************************}
\Msg{* Installation}
-\Msg{* Package: lastpage 2013/01/28 v1.2l Refers to last page's name (HMM)}
+\Msg{* Package: lastpage 2015/03/29 v1.2m Refers to last page's name (HMM)}
\Msg{*********************************************************************}
\keepsilent
@@ -103,9 +69,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 <Martin dot Muench at Uni-Bonn dot de>
Portions of code copyrighted by other people as marked.
@@ -128,21 +94,25 @@ This work has the LPPL maintenance status "maintained".
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
\endpreamble
\let\MetaPrefix\DoubleperCent
@@ -164,7 +134,7 @@ and the derived files
\Msg{* To finish the installation you have to move the following}
\Msg{* file into a directory searched by TeX:}
\Msg{*}
-\Msg{* lastpage.sty (or lastpage209.sty for TeX 2.09)}
+\Msg{* lastpage.sty (or lastpage209.sty for TeX 2.09)}
\Msg{*}
\Msg{* To produce the documentation run the file `lastpage.drv'}
\Msg{* through (pdf)LaTeX, e.g.}
@@ -190,7 +160,7 @@ and the derived files
% \section{The documentation driver file}
%
% The next bit of code contains the documentation driver file for
-% \TeX{}, i.\,e., the file that will produce the documentation you
+% \TeX , i.\,e., the file that will produce the documentation you
% are currently reading. It will be extracted from this file by the
% \texttt{docstrip} programme. That is, run \LaTeX{} on \texttt{docstrip}
% and specify the \texttt{driver} option when \texttt{docstrip}
@@ -198,10 +168,10 @@ and the derived files
%
% \begin{macrocode}
%<*driver>
-\NeedsTeXFormat{LaTeX2e}[2011/06/27]
-\ProvidesFile{lastpage.drv}[2013/01/28 v1.2l
- Refers to last page's name (HMM)]
-\documentclass{ltxdoc}[2007/11/11]% v2.0u
+\NeedsTeXFormat{LaTeX2e}[2014/05/01]
+\ProvidesFile{lastpage.drv}%
+ [2015/03/29 v1.2m Refers to last page's name (HMM)]
+\documentclass{ltxdoc}[2014/09/29]% v2.0u
\usepackage{holtxdoc}[2012/03/21]% v0.24
%% lastpage may work with earlier versions of LaTeX2e and those
%% class and package, but this was not tested.
@@ -225,7 +195,7 @@ and the derived files
pdfwindowui=true,%
pdfnewwindow=true%
}
-\usepackage{ulem}[2012/05/18]% no version given in the ulem.sty file
+\usepackage{ulem}[2012/05/18]% no version is given in the ulem.sty file
\CodelineIndex
\hyphenation{created every-thing ignored}
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
@@ -237,7 +207,7 @@ and the derived files
%
% \fi
%
-% \CheckSum{291}
+% \CheckSum{286}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -271,9 +241,10 @@ and the derived files
% \edef\x{\noexpand\DoNotIndex{\@backslashchar9}}%^^A
% }%^^A
% \expandafter\endgroup\x
+%
+% \DoNotIndex{\",\-,\,,\\,\noindent}
% \DoNotIndex{\documentclass,\usepackage,\ProvidesPackage}
% \DoNotIndex{\NeedsTeXFormat,\plainTeX,\TeX,\LaTeX,\pdfLaTeX}
-% \DoNotIndex{\",\-,\,,\\,\noindent}
% \DoNotIndex{\textbf,\textit,\textsf,\texttt,\underline,\mathord,\normalsize}
% \DoNotIndex{\textquotedblleft,\textquotedblright}
% \DoNotIndex{\ifx,\ifnum,\gdef,\href,\pageref,\empty}
@@ -285,14 +256,14 @@ and the derived files
% \DoNotIndex{\lastpage@testa,\lastpage@testb,\lastpage@one}
%
% \title{The \xpackage{lastpage} package}
-% \date{2013/01/28 v1.2l}
+% \date{2015/03/29 v1.2m}
% \author{H.-Martin M\"{u}nch\\\xemail{Martin.Muench at Uni-Bonn.de}\\
% invented by Jeffrey P. Goldberg\\\xemail{jeffrey+news at goldmark.org}}
%
% \maketitle
%
% \begin{abstract}
-% This \LaTeX{} package puts the label \texttt{LastPage}
+% \noindent This \LaTeX{} package puts the label \texttt{LastPage}
% (|\AtEndDocument|) into the \xfile{.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.~--\\
@@ -317,12 +288,10 @@ and the derived files
% $2\unit{g}$ CO$_{2}$ and $2\unit{g}$ wood:\\
% Therefore please print only if this is really necessary.}
%
-% \pagebreak
+% \newpage
%
% \tableofcontents
%
-% \pagebreak
-%
% \section{Introduction}
%
% \indent This \LaTeX{} package puts the label \texttt{LastPage}
@@ -394,6 +363,22 @@ and the derived files
% have got to look in the used class/package(s)/preamble instead of in the
% \xpackage{lastpage} package.\\
%
+% If the \emph{number} of the last page is needed, this can be extracted
+% from the reference with the \xpackage{refcount} package
+% (\url{https://www.ctan.org/pkg/refcount}, since version~2.0 of it):
+% \begin{verbatim}
+% \newcounter{lastpagenumber}%
+% \setcounter{lastpagenumber}{\getrefbykeydefault{LastPage}{page}{1}}%
+%\end{verbatim}
+% but this only works if the last page has an arabic number
+% (and it is not necessarily the total number of pages).
+% For example it would not work in the example file because of the
+% |Roman| pagenumbering scheme:\newline
+% |\getrefbykeydefault{LastPage}{page}{1}| would result in |IV| instead of |4|.
+% When using the \xpackage{pageslts} package, the counter |pagesLTS.pagenr|
+% holds the value of the total number of pages (after a compilation run
+% with writing access to the \xfile{.aux} file).
+%
% \section{A lot of WARNINGS\label{sec:warn}}
%
% \indent (Short: try using the \xpackage{pageslts} package instead,
@@ -434,7 +419,7 @@ and the derived files
% will usually work with \LaTeXe{}, it will not do so in combination
% with certain other packages.\textquotedblright{} (\xpackage{endfloat}
% v2.5d, 2011/12/25))\\
-% A note is placed in the style file.
+% A note is placed in the style file.\\
% If you want your \texttt{LastPage} to label the last page of these end floats,
% you need to load \xpackage{lastpage} after loading \xpackage{endfloat}
% (or use \texttt{VeryLastPage} from the \xpackage{pageslts} package instead).
@@ -451,8 +436,6 @@ and the derived files
% \xpackage{harvard} comes to mind. All of these will need to be
% modified swiftly. \textbf{If possible, update to \LaTeXe{}!}
%
-% \pagebreak
-%
% \subsection{Page name instead of page number}
%
% When any page numbering scheme other than \texttt{arabic} is used
@@ -547,6 +530,8 @@ and the derived files
% \indent (The \xpackage{pageslts} package with |\lastpageref{lastpage}| and
% appropriate package options should cope even with this case.)
%
+% \newpage
+%
% \subsection{Page counter overflow\label{ss:overflow}}
%
% \indent \textquotedblleft The ranges of supported counter values are more or less
@@ -577,9 +562,7 @@ and the derived files
% to correct this anyway, but the \xpackage{pageslts} package
% (with appropriate options) can do this.)\\
%
-% \pagebreak
-%
-%\subsection{Other packages manipulating \texttt{\textbackslash lastpage@putlabel}}
+% \subsection{Other packages manipulating \texttt{\textbackslash lastpage@putlabel}}
%
% The \xpackage{hyperref} package redefines the |\lastpage@putlabel| command,
% and the \xpackage{revtex4} class redefines the |\lastpage@putlabel| command,
@@ -599,6 +582,8 @@ and the derived files
% Because |\lastpage@putlabel| is no longer called, now there should not be any
% double definitions of the \texttt{lastpage} label.
%
+% \newpage
+%
% \section{Alternatives\label{sec:Alternatives}}
%
% There are similar packages, which do (or do not) similar things (or even more).
@@ -638,7 +623,7 @@ and the derived files
% \xpackage{pageslts} package)\textbf{!}
% \end{description}
%
-% \pagebreak
+% \newpage
%
% \DescribeMacro{pageslts}
% \begin{description}
@@ -713,10 +698,10 @@ and the derived files
% because they take over the complete page layout.\textquotedblright (\textsc{Piet van %
% Oostrum}: Page layout in \LaTeX{}, March~2, 2004, section~16; fancyhdr.pdf)\\
% \xpackage{nofm} as of 1991/02/25 (without version number), available at\\
-% \url{ftp://tug.ctan.org/pub/tex-archive/obsolete/macros/latex209/contrib/misc/nofm.sty},\\
+% \url{http://mirror.ctan.org/obsolete/macros/latex209/contrib/misc/nofm.sty},\\
% does not work with e.\,g. \xpackage{hyperref}, redefines |\enddocument|
% as well as |\@oddhead|, |\@evenhead|, |\@oddfoot|, and |\@evenfoot|.\\
-% If you know the (\CTAN{}) location of a \textbf{working}~(!) version,
+% If you know the (CTAN) location of a \textbf{working}~(!) version,
% please send an e-mail to the \xpackage{lastpage} maintainer, thanks!
% \end{description}
%
@@ -737,8 +722,8 @@ and the derived files
% \bigskip
%
% \noindent (You programmed or found another alternative,
-% which is available at \CTAN{}?\\
-% OK, send an e-mail to me with the name, location at \CTAN{},
+% which is available at CTAN.org?\\
+% OK, send an e-mail to me with the name, location at CTAN.org,
% and a short notice, and I will probably include it in the list above.)\\
%
% \smallskip
@@ -751,10 +736,9 @@ and the derived files
%
% \begin{macrocode}
%<*example>
-\documentclass[british]{article}[2007/10/19]% v1.4h
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\documentclass[british]{article}[2014/09/29]% v1.4h
\AtEndDocument{\message{^^JLaTeX Info: Executing hook `AtEndDocument'.}}
-\usepackage[draft]{showkeys}[2007/08/07]% v3.15
+\usepackage[draft]{showkeys}[2014/10/28]% v3.17
%% Use final instead of draft to hide the keys. %%
\usepackage{hyperref}[2012/11/06]% v6.83m
\hypersetup{%
@@ -771,7 +755,12 @@ and the derived files
pdfstartview=Fit,%
pdfpagelayout=SinglePage%
}
-\usepackage{lastpage}[2013/01/28]% v1.2l
+%% If hyperref is not used, the url package
+%% https://www.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}[2015/03/29]% v1.2m
\makeatletter
\renewcommand{\@evenfoot}{%
\normalsize\slshape \today\hfil \upshape %
@@ -787,7 +776,7 @@ and the derived files
\markboth{Example for lastpage}{Example for lastpage}
This example demonstrates the use of package\newline
-\textsf{lastpage}, v1.2l as of 2013/01/28 (HMM; JPG).\newline
+\textsf{lastpage}, v1.2m as of 2015/03/29 (HMM; JPG).\newline
The package takes no options.\newline
For more details please see the documentation!\newline
@@ -813,21 +802,14 @@ usage is to the benefit of the trademark owner.\newline
\textbf{Tip}: Use \textit{logical page numbers} for
the display of the pdf!\newline
-(In Adobe Reader XI (11.0.1): \underline{E}dit $>$
+(In Adobe Reader XI (11.0.10): \underline{E}dit $>$
Prefere\underline{n}ces (Ctrl+k) $>$ Page Display $>$
Page Content and Information $>$ Use logical page
\nolinebreak{\underline{n}umbers.)}\newline
If you are more ambitious in respect to your aims with this package,
-you might want to have a look at the \textsf{pageslts} package\newline
-\makeatletter
- \@ifundefined{Hy@Warning}{% hyperref not loaded
- \verb|http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/|).
- }{% hyperref loaded
- \href{http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/}{%
- CTAN:/macros/latex/contrib/pageslts/}).
- }%
-\makeatother
+you might want to have a look at the \textsf{pageslts} package:\newline
+\url{https://www.ctan.org/pkg/pageslts}.
\bigskip
@@ -880,9 +862,9 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \end{macrocode}
%
% \begin{macrocode}
-\NeedsTeXFormat{LaTeX2e}[2011/06/27]
-\ProvidesPackage{lastpage}[2013/01/28 v1.2l
- Refers to last page's name (HMM; JPG)]%
+\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
@@ -917,7 +899,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% and so interfered drastically with the \LaTeXe{} commands which
% make use of |\AtEndDocument|. Newer versions of \xpackage{endfloat}
% exists (at the time of writing this documentation: v2.5d as of 2011/12/25)
-% in modern documentation form, which are available from \CTAN{}
+% in modern documentation form, which are available from CTAN.org
% (see subsection~\ref{ss:Downloads}).
% A~note is placed here. (The \xpackage{pageslts} package even checks whether
% a (very) old \xpackage{endfloat} package is in use. If it is, a warning or
@@ -977,11 +959,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
\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}{%
@@ -989,11 +967,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
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%
@@ -1088,13 +1062,13 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% simple label into the \xfile{aux} file (and store the value of the page):
%
% \begin{macrocode}
- \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%
@@ -1216,7 +1190,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% \begin{macrocode}
\addtocounter{page}{+1}%
- \endgroup
+ \endgroup%
}
% \end{macrocode}
@@ -1232,13 +1206,13 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% \begin{macrocode}
\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%
}
% \end{macrocode}
@@ -1269,6 +1243,9 @@ I do NOT think, that it is necessary to print THIS file, really\newline
{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}%
@@ -1310,7 +1287,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% \begin{macrocode}
\AtEndDocument{%
- \gdef\lastpage@putlabel{\relax}
+ \gdef\lastpage@putlabel{\relax}%
\ifx\lastpage@LTS\lastpage@one%
\else%
\@ifundefined{lastpage@lastpage}%
@@ -1383,37 +1360,37 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% \subsection{Downloads\label{ss:Downloads}}
%
-% Everything is available at \CTAN{}, \url{http://www.ctan.org/tex-archive/},
+% Everything is available at \url{https://www.ctan.org},
% but may need additional packages themselves.\\
%
% \DescribeMacro{lastpage.dtx}
% For unpacking the |lastpage.dtx| file and constructing the documentation it is required:
% \begin{description}
-% \item[-] \TeX Format \LaTeXe{}: \url{http://www.CTAN.org/}
+% \item[-] \TeX Format \LaTeXe{}: \url{https://www.CTAN.org}
%
-% \item[-] document class \xpackage{ltxdoc}, 2007/11/11, v2.0u,\\
-% \CTAN{macros/latex/base/ltxdoc.dtx}
+% \item[-] document class \xpackage{ltxdoc}, 2014/09/29, v2.0u,\\
+% \url{https://www.ctan.org/pkg/ltxdoc}
%
% \item[-] package \xpackage{holtxdoc}, 2012/03/21, v0.24,\\
-% \CTAN{macros/latex/contrib/oberdiek/holtxdoc.dtx}
+% \url{https://www.ctan.org/pkg/holtxdoc}
%
% \item[-] package \xpackage{hypdoc}, 2011/08/19, v1.11,\\
-% \CTAN{macros/latex/contrib/oberdiek/hypdoc.dtx}
+% \url{https://www.ctan.org/pkg/hypdoc}
% \end{description}
%
% \DescribeMacro{lastpage.sty}
% The |lastpage.sty| for \LaTeXe{} (i.\,e. each document using
% the \xpackage{lastpage} package) requires:
% \begin{description}
-% \item[-] \TeX Format \LaTeXe{}, \url{http://www.CTAN.org/}
+% \item[-] \TeX Format \LaTeXe{}, \url{https://www.CTAN.org}
%
-% \item[-] package \xpackage{lastpage}, 2013/01/28, v1.2l,\\
-% \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}
+% \item[-] package \xpackage{lastpage}, 2015/03/29, v1.2m,\\
+% \url{https://www.ctan.org/pkg/lastpage}
% \end{description}
% and can use
% \begin{description}
% \item[-] package \xpackage{hyperref}, 2012/11/06, 6.83m,\\
-% \CTAN{macros/latex/contrib/hyperref.zip}
+% \url{https://www.ctan.org/pkg/hyperref}
% \end{description}
%
% \DescribeMacro{lastpage209.sty}
@@ -1422,8 +1399,8 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \begin{description}
% \item[-] \TeX Format \LaTeX{}, v2.09
%
-% \item[-] package \xpackage{lastpage209}, 2013/01/28, v1.2l, included in\\
-% \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}%
+% \item[-] package \xpackage{lastpage209}, 2015/03/29, v1.2m, included in\\
+% \hspace*{-2em}\url{http://mirrors.ctan.org/install/macros/latex/contrib/lastpage.tds.zip}%
% \end{description}
% and does not work with \xpackage{hyperref}, which needs \LaTeX2e{}.\\
%
@@ -1431,22 +1408,22 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% The \texttt{lastpage-example.tex} requires the same file as all
% documents using the \xpackage{lastpage} package, i.\,e.
% \begin{description}
-% \item[-] package \xpackage{lastpage}, 2013/01/28, v1.2l,\\
-% \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}\\
+% \item[-] package \xpackage{lastpage}, 2015/03/29, v1.2m,\\
+% \url{https://www.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
% have some version of it -- is it the current one?)
% \end{description}
% and additionally:
% \begin{description}
-% \item[-] class \xpackage{article}, 2007/10/19, v1.4h, from \xpackage{classes.dtx}:\\
-% \CTAN{macros/latex/base/classes.dtx}
+% \item[-] class \xpackage{article}, 2014/09/29, v1.4h,\\
+% \url{https://www.ctan.org/pkg/article}
%
-% \item[-] package \xpackage{showkeys}, 2007/08/07, v3.15,\\
-% \CTAN{macros/latex/required/tools/showkeys.dtx}
+% \item[-] package \xpackage{showkeys}, 2014/10/28, v3.17,\\
+% \url{https://www.ctan.org/pkg/showkeys}
%
% \item[-] package \xpackage{hyperref}, 2012/11/06, 6.83m,\\
-% \CTAN{macros/latex/contrib/hyperref.zip}
+% \url{https://www.ctan.org/pkg/hyperref}
% \end{description}
%
% \DescribeMacro{endfloat}
@@ -1456,7 +1433,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% here the recent one is listed:
% \begin{description}
% \item[-] package \xpackage{endfloat}, v2.5d, 2011/12/25,\\
-% \CTAN{macros/latex/contrib/endfloat/endfloat.dtx}
+% \url{https://www.ctan.org/pkg/endfloat}
% \end{description}
%
% \DescribeMacro{fancyhdr}
@@ -1467,10 +1444,10 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% here:
% \begin{description}
% \item[-] package \xpackage{fancyhdr}, 2005/03/22, v3.2,\\
-% \CTAN{macros/latex/contrib/fancyhdr.zip}
+% \url{https://www.ctan.org/pkg/fancyhdr}
%
% \item[-] package \xpackage{nccfancyhdr}, 2004/12/07, v1.1,\\
-% \CTAN{macros/latex/contrib/ncctools/source/nccfancyhdr.dtx}
+% \url{https://www.ctan.org/pkg/nccfancyhdr}
% \end{description}
%
% \DescribeMacro{regstats}
@@ -1478,7 +1455,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% package was mentioned (it is not required). It can be found at:
% \begin{description}
% \item[-] package \xpackage{regstats}, 2012/01/07, v1.0h,\\
-% \CTAN{macros/latex/contrib/regstats/regstats.dtx}
+% \url{https://www.ctan.org/pkg/regstats}
% \end{description}
%
% \DescribeMacro{count1to}
@@ -1488,25 +1465,25 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \DescribeMacro{zref}
% As possible alternatives in section~\ref{sec:Alternatives}, Alternatives, there are listed
% \begin{description}
-% \item[-] package \xpackage{pageslts}, 2013/01/28, v1.2b,\\
-% \CTAN{macros/latex/contrib/pageslts/pageslts.dtx}
+% \item[-] package \xpackage{pageslts}, 2014/01/19, v1.2c,\\
+% \url{https://www.ctan.org/pkg/pageslts}
%
% \item[-] package \xpackage{papermas}, 2011/08/22, v1.0h; the \xpackage{papermas}
% package can be considered as kind of add-on to the \xpackage{pageslts} package.\\
-% \CTAN{macros/latex/contrib/papermas/papermas.dtx}
+% \url{https://www.ctan.org/pkg/papermas}
%
% \item[-] package \xpackage{count1to}, 2009/05/24, v2.1,\\
-% \CTAN{macros/latex/contrib/ms/count1to.dtx}
+% \url{https://www.ctan.org/pkg/count1to}
%
% \item[-] package \xpackage{nofm}, 1991/02/25, v?.?,\\
-% \url{ftp://tug.ctan.org/pub/tex-archive/obsolete/macros/latex209/contrib/misc/nofm.sty},
-% does not work with e.\,g. \xpackage{hyperref}
+% \url{http://mirror.ctan.org/obsolete/macros/latex209/contrib/misc/nofm.sty},
+% does not work with e.\,g. \xpackage{hyperref}
%
% \item[-] package \xpackage{totpages}, 2005/09/19, v2.00,\\
-% \CTAN{macros/latex/contrib/totpages/totpages.dtx}
+% \url{https://www.ctan.org/pkg/totpages}
%
% \item[-] package \xpackage{zref}, 2012/04/04, v2.24,\\
-% \CTAN{macros/latex/contrib/oberdiek/zref.dtx},
+% \url{https://www.ctan.org/pkg/zref},
% requires $\varepsilon$-\TeX{}.
% \end{description}
%
@@ -1516,36 +1493,36 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% All packages of \textsc{Heiko Oberdiek's} bundle `oberdiek'
% (especially \xpackage{holtxdoc} and \xpackage{zref})
% are also available in a TDS compliant ZIP archive:\\
-% \CTAN{install/macros/latex/contrib/oberdiek.tds.zip}.\\
+% \url{http://mirrors.ctan.org/install/macros/latex/contrib/oberdiek.tds.zip}.\\
% It is probably best to download and use this, because the packages in there
% are quite probably both recent and compatible among themselves.\\
%
% \DescribeMacro{hyperref}
% \noindent \xpackage{hyperref} is not included in that bundle and needs to be downloaded
% separately,\\
-% \url{http://mirror.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\\
+% \url{http://mirrors.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\\
%
% \DescribeMacro{M\"{u}nch}
-% A hyperlinked list of my (other) packages can be found at
-% \url{http://www.Uni-Bonn.de/~uzs5pv/LaTeX.html}.\\
+% A hyperlinked list of my (other) packages can be found at\\
+% \url{https://www.ctan.org/author/muench-hm}.\\
%
% \subsection{Package, unpacking TDS}
%
-% \paragraph{Package.} This package is available on \CTAN{}.
+% \paragraph{Package.} This package is available on CTAN.org.
% \begin{description}
-% \item[\CTAN{macros/latex/contrib/lastpage/lastpage.dtx}]\hspace*{0.1cm} \\
+% \item[\url{http://mirrors.ctan.org/macros/latex/contrib/lastpage/lastpage.dtx}]\hspace*{0.1cm} \\
% The source file.
-% \item[\CTAN{macros/latex/contrib/lastpage/lastpage.pdf}]\hspace*{0.1cm} \\
+% \item[\url{http://mirrors.ctan.org/macros/latex/contrib/lastpage/lastpage.pdf}]\hspace*{0.1cm} \\
% The documentation.
-% \item[\CTAN{macros/latex/contrib/lastpage/lastpage-example.pdf}]\hspace*{0.1cm} \\
+% \item[\url{http://mirrors.ctan.org/macros/latex/contrib/lastpage/lastpage-example.pdf}]\hspace*{0.1cm} \\
% The compiled example file, as it should look like.
-% \item[\CTAN{macros/latex/contrib/lastpage/README}]\hspace*{0.1cm} \\
+% \item[\url{http://mirrors.ctan.org/macros/latex/contrib/lastpage/README}]\hspace*{0.1cm} \\
% The README file.
% \end{description}
% There is also a \texttt{lastpage.tds.zip} available:
% \begin{description}
-% \item[\CTAN{install/macros/latex/contrib/lastpage.tds.zip}]\hspace*{0.1cm} \\
-% Everything in TDS compliant, compiled format.
+% \item[\url{http://mirrors.ctan.org/install/macros/latex/contrib/lastpage.tds.zip}]\hspace*{0.1cm} \\
+% Everything in TDS compliant, compiled format
% \end{description}
% which additionally contains\\
% \begin{tabular}{ll}
@@ -1648,11 +1625,9 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% TDS installing feature, then some files can already be in the right
% place, see the documentation of \docstrip.
%
-% \pagebreak
-%
% \subsection{Refresh file name databases}
%
-% If your \TeX~distribution (\teTeX, \mikTeX,\dots) relies on file name
+% If your \TeX~distribution (\teTeX, \mikTeX,\TeX live,\dots) relies on file name
% databases, you must refresh these. For example, \teTeX{} users run
% \verb|texhash| or \verb|mktexlsr|.
%
@@ -1769,9 +1744,8 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \item Example |lastpage-example.tex|.
% \item Alternatives listing (section \ref{sec:Alternatives}).
% \item Listing of \TeX{} sources (subsection \ref{ss:Downloads}).
-% \item A~lot~(!) of details.
+% \item A lot (!) of details.
% \item Complete rewriting of the documentation.
-% \item Added a list of my other packages.
% \item Everything in \texttt{DTX} framework.
% \item Included a |\CheckSum|.
% \item Complete rewriting of the README file.
@@ -1780,7 +1754,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \item Bug fix: |\@PackageInfoNoLine| is only available,
% if the \xpackage{hyperref} package is loaded.
% (Bug reported by \textsc{Ulrike Fischer}, thanks!)
-% \item Detected another bug: |\ifHy@pageanchor| etc. do not work without
+% \item Bug fix: |\ifHy@pageanchor| etc. do not work without
% \xpackage{hyperref}, and |\else| related to |\ifHy@pageanchor| was
% wrongly associated with a preceding |\if|, and everything went wrong.
% Now everything should work again also without \xpackage{hyperref}.
@@ -1797,8 +1771,6 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \item Changed the |\unit| definition (got rid of an old |\rm|).
% \item Changed |\lastpage@puthyperlabel| to |\lastpage@putlabelhyper| analogous to
% |\pagesLTS@putlabelhyper| of the \xpackage{pageslts} package.
-% \item The recent version of the Adobe Reader\ \sout{is}\uwave{was}\ 9.3.3
-% (instead of 9.3.1).
% \item Updated version number and date of \xpackage{pagesLTS} package (especially
% for the check for outdated versions).
% \item Removed wrong \%\ from the driver file.
@@ -1811,9 +1783,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \begin{Version}{2010/09/12 v1.2e}
% \item \textsc{James Hedges} (Thanks!) pointed out, that there was no
% instruction in the documentation about suppressing hyperlinks:
-% added (also to the example).
-% \item The recent version of the Adobe Reader\ \sout{is}\uwave{was}\ 9.3.4
-% (instead of 9.3.3).
+% added (also to the example).
% \item Diverse small changes.
% \end{Version}
% \begin{Version}{2010/09/24 v1.2f}
@@ -1828,11 +1798,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \begin{Version}{2011/02/01 v1.2g}
% \item Updated to version 2010/04/24 v0.19 of the \xpackage{holtxdoc} package.
% \item New version of \xpackage{pagesLTS} package, 2011/02/01, v1.1m.
-% \item Replaced the list of my packages with a link to a web page list of those,
-% which has the advantage of showing the recent versions of all those packages.
% \item Updated to version 2010/12/16 v6.81z of the \xpackage{hyperref} package.
-% \item The recent version of the Adobe Reader\ \sout{is}\uwave{was}\ X~(10.0.0)
-% (instead of 9.3.4). Its handling of special page numbers was improved.
% \item Minor details.
% \end{Version}
% \begin{Version}{2011/07/03 v1.2h}
@@ -1840,17 +1806,9 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% therefore the warning in \xfile{drv} could be removed.~-- Adapted
% the style of this documentation to new \textsc{Oberdiek} \xfile{dtx}
% style.
-% \item New version of \xpackage{pagesLTS} package, 2011/03/17, v1.1o.
-% \item New version of \xpackage{ulem} package, \uwave{was} 2011/03/18.
-% \item There \sout{is}\uwave{was} a new version of the \xpackage{hyperref} package:
-% 2011/04/17, v6.82g.
-% \item There \sout{is}\uwave{was} a new version of the \xpackage{papermas} package:
-% 2011/06/02, v1.0f .
-% \item The recent version of the Adobe Reader\ \sout{is}\uwave{was}\ 10.1.0
-% (instead of 10.0.0).
-% \item Corrected a reference to \xpackage{lastpage} at \CTAN{}.
-% \item Corrected a reference to \xpackage{pagesLTS} at \CTAN{}.
-% \item Corrected references in the README.
+% \item New versions of \xpackage{pagesLTS}, \xpackage{ulem}, \xpackage{hyperref},%
+% \xpackage{papermas} packages.
+% \item Corrected references in the README and manual.
% \end{Version}
% \begin{Version}{2011/08/08 v1.2i}
% \item The \xpackage{pagesLTS} package has been renamed to \xpackage{pageslts}:
@@ -1858,10 +1816,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \item Some details.
% \end{Version}
% \begin{Version}{2011/08/31 v1.2j}
-% \item Updated to \TeX{} live 2011 (for compiling the documentation and example)
-% and installed the available updates. Therefore I can no longer test
-% whether \xpackage{lastpage} works with earlier versions of \LaTeX{}.
-% (It probably does, but there is no guarantee.)
+% \item Updated to \TeX{} live 2011 (for compiling the documentation and example).
% \item New version of \xpackage{papermas} package, 2011/08/22, v1.0h.
% \item Adapted for the use together with packages, which sometimes prevent writing
% to the \xfile{aux} file. (Bug reported by \textsc{Mikhail Titov}, thanks!)
@@ -1876,16 +1831,12 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \uwave{Seems to be fixed since v6.83m as of 2012/11/06.}
% \item Documentation update about \textquotedblleft No write access to the
% \xfile{aux} file\textquotedblright .
-% \item New version of \xpackage{regstats} package available:
-% \uwave{was} 2011/08/23, v1.0f.
+% \item New version of \xpackage{regstats} package available.
% \item Some small details.
% \end{Version}
% \begin{Version}{2013/01/28 v1.2l}
-% \item Updated to \TeX{} live 2012 (for compiling the documentation and example)
-% and installed the available updates. Therefore I can no longer test
-% whether \xpackage{lastpage} works with earlier versions of \LaTeX{}.
-% (It probably does, but there is no guarantee.)
-% \item New versions of Adobe Reader and of the packages
+% \item Updated to \TeX{} live 2012 (for compiling the documentation and example).
+% \item New versions of the packages
% \xpackage{endfloat}, \xpackage{holtxdoc}, \xpackage{hypdoc},
% \xpackage{hyperref}, \xpackage{pageslts}, \xpackage{regstats},
% \xpackage{ulem}, and \xpackage{zref} have become available.
@@ -1896,6 +1847,14 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% thanks to Micha\l{} Herman!) Fixed.
% \item Updates to several details, also in the documentation.
% \end{Version}
+% \begin{Version}{2015/03/29 v1.2m}
+% \item Updated to \TeX{} live 2014 (for compiling the documentation and example)
+% and installed the available updates. Therefore I can no longer test
+% whether \xpackage{lastpage} works with earlier versions of \LaTeX{}.
+% (It probably does, but there is no guarantee.)
+% \item Updates to a lot (!) of details in the documentation (manual \& README),
+% very small changes in code.
+% \end{Version}
% \end{History}
%
% \bigskip
diff --git a/Master/texmf-dist/source/latex/lastpage/lastpage.ins b/Master/texmf-dist/source/latex/lastpage/lastpage.ins
index 856d53afbdb..3f65f334825 100644
--- a/Master/texmf-dist/source/latex/lastpage/lastpage.ins
+++ b/Master/texmf-dist/source/latex/lastpage/lastpage.ins
@@ -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 <Martin dot Muench at Uni-Bonn dot de>
%% Portions of code copyrighted by other people as marked.
%%
@@ -34,26 +34,30 @@
%%
%% 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
%%
\input docstrip.tex
\Msg{*********************************************************************}
\Msg{* Installation}
-\Msg{* Package: lastpage 2013/01/28 v1.2l Refers to last page's name (HMM)}
+\Msg{* Package: lastpage 2015/03/29 v1.2m Refers to last page's name (HMM)}
\Msg{*********************************************************************}
\keepsilent
@@ -65,9 +69,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 <Martin dot Muench at Uni-Bonn dot de>
Portions of code copyrighted by other people as marked.
@@ -90,21 +94,25 @@ This work has the LPPL maintenance status "maintained".
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
\endpreamble
\let\MetaPrefix\DoubleperCent
@@ -126,7 +134,7 @@ and the derived files
\Msg{* To finish the installation you have to move the following}
\Msg{* file into a directory searched by TeX:}
\Msg{*}
-\Msg{* lastpage.sty (or lastpage209.sty for TeX 2.09)}
+\Msg{* lastpage.sty (or lastpage209.sty for TeX 2.09)}
\Msg{*}
\Msg{* To produce the documentation run the file `lastpage.drv'}
\Msg{* through (pdf)LaTeX, e.g.}
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 <Martin dot Muench at Uni-Bonn dot de>
%% 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 <Martin dot Muench at Uni-Bonn dot de>
%% 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