summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/lastpage
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-01-29 23:34:52 +0000
committerKarl Berry <karl@freefriends.org>2013-01-29 23:34:52 +0000
commit2aa50a550686e193749ba9cf09b3398452fa8e1d (patch)
treeb30f4010d8af8b23f3ba2293ba80c72d50a735c4 /Master/texmf-dist/source/latex/lastpage
parent00db22e467544f6ebde833dc8fbb53ec70367306 (diff)
lastpage (29jan13)
git-svn-id: svn://tug.org/texlive/trunk@28985 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/lastpage')
-rw-r--r--Master/texmf-dist/source/latex/lastpage/lastpage.drv12
-rw-r--r--Master/texmf-dist/source/latex/lastpage/lastpage.dtx307
-rw-r--r--Master/texmf-dist/source/latex/lastpage/lastpage.ins14
3 files changed, 199 insertions, 134 deletions
diff --git a/Master/texmf-dist/source/latex/lastpage/lastpage.drv b/Master/texmf-dist/source/latex/lastpage/lastpage.drv
index f0ad701e795..5bc439355cd 100644
--- a/Master/texmf-dist/source/latex/lastpage/lastpage.drv
+++ b/Master/texmf-dist/source/latex/lastpage/lastpage.drv
@@ -9,13 +9,13 @@
%% This is a generated file.
%%
%% Project: lastpage
-%% Version: 2011/09/01 v1.2k
+%% Version: 2013/01/28 v1.2l
%%
-%% Copyright (C) 2010, 2011 by
+%% Copyright (C) 2010 - 2013 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
%% Portions of code copyrighted by other people as marked.
%%
-%% The usual disclaimer applys:
+%% 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.)
@@ -51,10 +51,10 @@
%% lastpage-example.tex.
%%
\NeedsTeXFormat{LaTeX2e}[2011/06/27]
-\ProvidesFile{lastpage.drv}[2011/09/01 v1.2k
+\ProvidesFile{lastpage.drv}[2013/01/28 v1.2l
Refers to last page's name (HMM)]
\documentclass{ltxdoc}[2007/11/11]% v2.0u
-\usepackage{holtxdoc}[2011/02/04]% v0.21
+\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.
%% Please consider updating your LaTeX, class, and package
@@ -77,7 +77,7 @@
pdfwindowui=true,%
pdfnewwindow=true%
}
-\usepackage{ulem}[2011/03/18]%
+\usepackage{ulem}[2012/05/18]% no version 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 63148724c70..03990425b79 100644
--- a/Master/texmf-dist/source/latex/lastpage/lastpage.dtx
+++ b/Master/texmf-dist/source/latex/lastpage/lastpage.dtx
@@ -1,9 +1,9 @@
% \iffalse meta-comment
%
% File: lastpage.dtx
-% Version: 2011/09/01 v1.2k
+% Version: 2013/01/28 v1.2l
%
-% Copyright (C) 2010, 2011 by
+% Copyright (C) 2010 - 2013 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).
@@ -36,9 +36,9 @@
% lastpage-example.tex.
%
% Distribution:
-% CTAN:macros/latex/contrib/lastpage/lastpage.dtx
-% CTAN:macros/latex/contrib/lastpage/lastpage.pdf
-% CTAN:install/macros/latex/contrib/lastpage.tds.zip
+% 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:
@@ -91,7 +91,7 @@
\input docstrip.tex
\Msg{*********************************************************************}
\Msg{* Installation}
-\Msg{* Package: lastpage 2011/09/01 v1.2k Refers to last page's name (HMM)}
+\Msg{* Package: lastpage 2013/01/28 v1.2l Refers to last page's name (HMM)}
\Msg{*********************************************************************}
\keepsilent
@@ -103,13 +103,13 @@
This is a generated file.
Project: lastpage
-Version: 2011/09/01 v1.2k
+Version: 2013/01/28 v1.2l
-Copyright (C) 2010, 2011 by
+Copyright (C) 2010 - 2013 by
H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
Portions of code copyrighted by other people as marked.
-The usual disclaimer applys:
+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.)
@@ -192,17 +192,17 @@ and the derived files
% The next bit of code contains the documentation driver file for
% \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}
+% \texttt{docstrip} programme. That is, run \LaTeX{} on \texttt{docstrip}
% and specify the \texttt{driver} option when \texttt{docstrip}
% asks for options.
%
% \begin{macrocode}
%<*driver>
\NeedsTeXFormat{LaTeX2e}[2011/06/27]
-\ProvidesFile{lastpage.drv}[2011/09/01 v1.2k
+\ProvidesFile{lastpage.drv}[2013/01/28 v1.2l
Refers to last page's name (HMM)]
\documentclass{ltxdoc}[2007/11/11]% v2.0u
-\usepackage{holtxdoc}[2011/02/04]% v0.21
+\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.
%% Please consider updating your LaTeX, class, and package
@@ -225,7 +225,7 @@ and the derived files
pdfwindowui=true,%
pdfnewwindow=true%
}
-\usepackage{ulem}[2011/03/18]%
+\usepackage{ulem}[2012/05/18]% no version given in the ulem.sty file
\CodelineIndex
\hyphenation{created every-thing ignored}
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
@@ -237,7 +237,7 @@ and the derived files
%
% \fi
%
-% \CheckSum{254}
+% \CheckSum{291}
%
% \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
@@ -285,21 +285,21 @@ and the derived files
% \DoNotIndex{\lastpage@testa,\lastpage@testb,\lastpage@one}
%
% \title{The \xpackage{lastpage} package}
-% \date{2011/09/01 v1.2k}
+% \date{2013/01/28 v1.2l}
% \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}
+% 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.~--\\
% When more than one page numbering scheme is used, or the fnsymbol 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,
+% or the page numbers exceed a certain range, there might be problems,
% which can be solved by using the \xpackage{pageslts} package instead.
% \end{abstract}
%
@@ -325,7 +325,7 @@ and the derived files
%
% \section{Introduction}
%
-% \indent This \LaTeX\ package puts the label \texttt{LastPage}
+% \indent 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 via |\pageref{LastPage}|.
% This might be particularly useful in places like headers or footers.
@@ -334,12 +334,12 @@ and the derived files
%
% This package was invented by \textbf{Jeffrey P. Goldberg},
% and is now maintained by \textsc{H.-Martin M\"{u}nch}. A~big
-% \textquotedblleft Thank you!\textquotedblright\ to
+% \textquotedblleft Thank you!\textquotedblright{} to
% \textsc{Jeffrey P. Goldberg} for granting this.
%
% \bigskip
%
-% If you are more ambitiouse in respect to your aims with this package,
+% If you are more ambitious in respect to your aims with this package,
% you might want to have a look at the \xpackage{pageslts} package
% (see section~\ref{sec:Alternatives}: Alternatives).
%
@@ -351,11 +351,11 @@ and the derived files
% \begin{quote}
% |\usepackage{lastpage}|
% \end{quote}
-% \noindent in the preamble of your \LaTeXe\ source file or
+% \noindent in the preamble of your \LaTeXe{} source file or
% \begin{quote}
% |\usepackage{lastpage209}|
% \end{quote}
-% \noindent in the preamble of your \LaTeX2.09\ source file.\\
+% \noindent in the preamble of your \LaTeX2.09{} source file.\\
%
% \indent For example for various draft forms it is desirable to have a
% page reference to the last page, so that e.\,g. page footers can
@@ -371,7 +371,7 @@ and the derived files
% \makeatletter
% \renewcommand{\@evenfoot}{%
% \normalsize\slshape DRAFT \today\hfil \upshape %
-% page \thepage\ of \pageref{LastPage}}
+% page \thepage{} of \pageref{LastPage}}
% \renewcommand{\@oddfoot}{\@evenfoot}
% \makeatother
%\end{verbatim}
@@ -385,12 +385,12 @@ and the derived files
% instead of |\pageref{...}| can be used.\\
%
% The \xpackage{lastpage} package does not provide the words
-% \textquotedblleft page\textquotedblright\ or \textquotedblleft of\textquotedblright{},
-% but e.\,g. the \xclass{handout} class uses \textquotedblleft of\textquotedblright\ in
+% \textquotedblleft page\textquotedblright{} or \textquotedblleft of\textquotedblright{},
+% but e.\,g. the \xclass{handout} class uses \textquotedblleft of\textquotedblright{} in
% the definition of the footer. (In the \texttt{lastpage-example} also
% |\@evenfoot| is redefined, but it is not the \xpackage{lastpage} \emph{package}
-% redefining this.) If you want to change \textquotedblleft page\textquotedblright\ or
-% \textquotedblleft of\textquotedblright\ (e.\,g. to another language), you therefore
+% redefining this.) If you want to change \textquotedblleft page\textquotedblright{} or
+% \textquotedblleft of\textquotedblright{} (e.\,g. to another language), you therefore
% have got to look in the used class/package(s)/preamble instead of in the
% \xpackage{lastpage} package.\\
%
@@ -403,7 +403,7 @@ and the derived files
%
% \subsection{\texttt{\textbackslash AtEndDocument}\label{ssec:aed}}
%
-% \indent The output of a \LaTeXe\ run is not independent of the order
+% \indent The output of a \LaTeXe{} run is not independent of the order
% in which the packages are loaded. It is often the case that the same
% formats for which one must put tables and figure at the end,
% are the ones in which endnotes are also required.
@@ -422,33 +422,41 @@ and the derived files
% \subsection{Interaction with very old versions of the \xpackage{endfloat} package\label{sec:endfloat}}
%
% \indent The \emph{very} old version~2.0 (and earlier) of the \xpackage{endfloat}
-% package actually redefined the |\enddocument| command, and so interferred
-% drastically with the \LaTeXe\ commands which make use of |\AtEndDocument|.
-% Newer versions of \xpackage{endfloat} exists \linebreak
-% (at the time of writing this documentation: v2.4i as of 1995/10/11)
+% package actually redefined the |\enddocument| command, and so interfered
+% drastically with the \LaTeXe{} commands which make use of |\AtEndDocument|.
+% Newer versions of \xpackage{endfloat} exist
+% (at~the time of writing this documentation: v2.5d as of 2011/12/25)
% in modern documentation form, which should be available from
-% the same source where you received this file, see subsection~\ref{ss:Downloads}.\\
+% the same source where you received this file, see subsection~\ref{ss:Downloads}.
+% (\textquotedblleft Note that versions~2.1 and beyond will no longer work
+% with \LaTeX209{}. Get your administrator to upgrade your site to the
+% new standard, \LaTeXe{}. Although version~2.0 (a \LaTeX209{} version)
+% 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.
% 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).
% If, on the other hand, you \emph{want} \texttt{LastPage} to refer
-% to the (not so) last page, exclusive of the the floats at the end,
+% to the (not so) last page, exclusive of the floats at the end,
% then load in the reverse order. Independent from the order of
% \xpackage{lastpage} and \xpackage{endfloat}, you will still need the
-% modified\footnote{The \textquotedblleft new\textquotedblright\ version
-% is over 15~years old, so it might be time to update to this version, \linebreak
-% if you did not do it already.} version of \xpackage{endfloat}.\\
+% modified\footnote{New versions are available since more than 15~years,
+% so it really might be time to update, if you did not do it already.}
+% version of \xpackage{endfloat}.\\
%
-% Other \LaTeX2.09\ (!) packages also seem to like to redefine
+% Other \LaTeX2.09{} (!) packages also seem to like to redefine
% |\enddocument|. In addition to the old \xpackage{endfloat},
% \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
-% at the page, which |\pageref{LastPage}| referes to, the \textit{name}
+% at the page, which |\pageref{LastPage}| refers to, the \textit{name}
% and not the \textit{number} of the page is given. For example,
% \texttt{Alph} page numbering scheme and $10$ pages will give \texttt{J} instead of 10,
% \texttt{Roman} page numbering scheme and $10$ pages will give \texttt{X} instead of 10,
@@ -469,7 +477,7 @@ and the derived files
% \texttt{LastPage} does not give the total \textbf{number} of pages
% (even if \texttt{arabic} is the page numbering scheme of that page).
% For example, for a document with VI+36 pages, it gives
-% \textquotedblleft 36\textquotedblright\ as reference to the last page.
+% \textquotedblleft 36\textquotedblright{} as reference to the last page.
% While this is correct, the total number of pages is $42$.\\
% \indent (The \xpackage{pageslts} package puts |\lastpageref{LastPages}|
% (with \textbf{s} at the end) at your disposal for remediation.)
@@ -498,7 +506,7 @@ and the derived files
%
% \subsection{Last pages of different page numbering schemes}
%
-% |\pageref{LastPage}| referes to the (maybe not so) last page of the last
+% |\pageref{LastPage}| refers to the (maybe not so) last page of the last
% page numbering scheme. References to the respective last page of the other
% page numbering schemes are not provided.\\
% \indent (The \xpackage{pageslts} package does this with labels
@@ -531,18 +539,18 @@ and the derived files
%
% \indent Using the \texttt{fnsymbol} page numbering scheme can result in problems!\\
% When the page, where |\pageref{lastpage}| points at, is in \texttt{fnsymbol}
-% page numbering scheme, this package might skrew up --
+% page numbering scheme, this package might screw up --
% and quite totally for that, especially when used together with old versions of the
% \xpackage{hyperref} package (e.\,g. \xpackage{hyperref} v6.80x as of 2010/04/17).
-% When testing with version v6.82h as of 2011/08/19, the hyperlink did not aim
-% at the last page, but at least the given name of the last page was right.\\
+% When testing with version v6.83m as of 2012/11/06 everything seemed to worked fine,
+% but this might not always be the case.\\
% \indent (The \xpackage{pageslts} package with |\lastpageref{lastpage}| and
% appropriate package options should cope even with this case.)
%
% \subsection{Page counter overflow\label{ss:overflow}}
%
% \indent \textquotedblleft The ranges of supported counter values are more or less
-% restricted. Only \cs{arabic} can be used with any counter value \TeX\ supports.
+% restricted. Only \cs{arabic} can be used with any counter value \TeX{} supports.
% \begin{quote}
% \catcode`\|=12 %
% \begin{tabular}{@{}l|l|l|l@{}}
@@ -561,7 +569,7 @@ and the derived files
% \end{tabular}\\[1ex]
% \texttt{MAX} = \texttt{2147483647}
% \end{quote}
-% \textquotedblright\ (\textsc{Heiko Oberdiek}:
+% \textquotedblright{} (\textsc{Heiko Oberdiek}:
% The \xpackage{alphalph} package, 2010/04/18, v2.3, first table, p.~2).\\
%
% \noindent When \textit{any} page is out of that range, there will be a counter overflow.\\
@@ -569,27 +577,27 @@ 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}}
%
% The \xpackage{hyperref} package redefines the |\lastpage@putlabel| command,
% and the \xpackage{revtex4} class redefines the |\lastpage@putlabel| command,
% and the \xpackage{hyperref} package redefines the |\lastpage@putlabel| command,
% if the \xpackage{revtex4} class is used, and the \xpackage{pageslts} package
-% \textquotedblleft kills\textquotedblright\ the |\lastpage@putlabel| command,
+% \textquotedblleft kills\textquotedblright{} the |\lastpage@putlabel| command,
% because that package uses more advanced labels.\\
% In my humble opinion it would be preferably if one package (the original one,
% i.\,e. \xpackage{lastpage}) would do the job right, all others packages would
% check for the version of that package, and if an old version is found,
% an error (or at least a warning) message about the use of an outdated
% package is given, and \textit{then} as
-% \textquotedblleft last aid\textquotedblright\ the command of the outdated
+% \textquotedblleft last aid\textquotedblright{} the command of the outdated
% package is redefined.\\
% Therefore here none of the definitions or commands of the other packages
% is altered, but |\lastpage@putlabel| was replaced by |\lastpage@putl@bel|.
% Because |\lastpage@putlabel| is no longer called, now there should not be any
-% double definitions of the \texttt{lastpage} label.\\
-%
-% \pagebreak
+% double definitions of the \texttt{lastpage} label.
%
% \section{Alternatives\label{sec:Alternatives}}
%
@@ -601,8 +609,8 @@ and the derived files
%
% \DescribeMacro{lastpage209.sty}
% \begin{description}
-% \item[-] If \LaTeX2.09\ is still used, and if you are unable to switch to
-% \LaTeXe{}, the \LaTeX2.09\ compatible \xpackage{lastpage209.sty} can be used,
+% \item[-] If \LaTeX2.09{} is still used, and if you are unable to switch to
+% \LaTeXe{}, the \LaTeX2.09{} compatible \xpackage{lastpage209.sty} can be used,
% which is defined as follows:\\
% (It is also generated automatically from \xfile{lastpage.dtx} when compiling it.)
%
@@ -626,14 +634,16 @@ and the derived files
% section~16; fancyhdr.pdf). Because |\enddocument| is redefined,
% similar problems as with the old version of the \xpackage{endfloat}
% package (see subsection~\ref{sec:endfloat}) will arise.\\
-% \textbf{If possible, update to \LaTeXe{}}\ (and maybe to the
+% \textbf{If possible, update to \LaTeXe{}} (and maybe to the
% \xpackage{pageslts} package)\textbf{!}
% \end{description}
%
+% \pagebreak
+%
% \DescribeMacro{pageslts}
% \begin{description}
% \item[-] The \xpackage{pageslts} package first started as a revision of this
-% \xpackage{lastpage} package, but it became obviouse that a replacement was
+% \xpackage{lastpage} package, but it became obvious that a replacement was
% needed to accomplish what the \xpackage{pageslts} package does. For backward
% compatibility, a label named |LastPage| is provided.
% Thus |\usepackage{lastpage}| can be replaced by\\
@@ -668,7 +678,7 @@ and the derived files
% e.\,g. when |\addtocounter{page}{...}| or |\setcounter{page}{...}| were used.
% \item[+] At the first page of the document a label \texttt{pagesLTS.0} is created.
% \item[+] The \xpackage{alphalph} package is supported, i.\,e.
-% page numbers alph or Alph $>26$ and fnyambol $>9$ can be used
+% page numbers alph or Alph $>26$ and fnsymbol $>9$ can be used
% (with according options set). Even zero and negative page numbers can be used
% with \texttt{arabic}, \texttt{alph}, \texttt{Alph}, \texttt{roman}, \texttt{Roman},
% and \texttt{fnsymbol} page numbering (with \xpackage{alphalph} package and
@@ -681,6 +691,8 @@ and the derived files
% Further labels are provided for special cases.
% \end{description}
%
+% \pagebreak
+%
% \DescribeMacro{totpages}
% \begin{description}
% \item[-] The \xpackage{totpages} package provides a \texttt{totpages} label similar to
@@ -688,7 +700,7 @@ and the derived files
% |\AtEndDocument| (instead of |\AfterLastShipout|, as done by \xpackage{pageslts}).
% The \xpackage{totpages} package additionally computes the number of paper sheets
% needed to (double) print the document (with one, two, three,\ldots{} pages on
-% one sheet of paper) (which can be achived also with the \xpackage{papermas} package,
+% one sheet of paper) (which can be achieved also with the \xpackage{papermas} package,
% an extension of the \xpackage{pageslts} package, which further allows to compute
% the mass of that printed version of the document, useful e.\,g. when sending it
% by mail to determine the postage).
@@ -744,7 +756,7 @@ and the derived files
\AtEndDocument{\message{^^JLaTeX Info: Executing hook `AtEndDocument'.}}
\usepackage[draft]{showkeys}[2007/08/07]% v3.15
%% Use final instead of draft to hide the keys. %%
-\usepackage{hyperref}[2011/08/19]% v6.82h
+\usepackage{hyperref}[2012/11/06]% v6.83m
\hypersetup{%
extension=pdf,%
plainpages=false,%
@@ -754,16 +766,16 @@ and the derived files
pdftitle={lastpage package example},%
pdfauthor={Hans-Martin Muench},%
pdfsubject={Example for the lastpage package},%
- pdfkeywords={LaTeX, lastpage, Hans-Martin Muench},%
+ pdfkeywords={LaTeX, lastpage, H.-Martin Muench},%
pdfview=Fit,%
pdfstartview=Fit,%
pdfpagelayout=SinglePage%
}
-\usepackage{lastpage}[2011/09/01]% v1.2k
+\usepackage{lastpage}[2013/01/28]% v1.2l
\makeatletter
\renewcommand{\@evenfoot}{%
\normalsize\slshape \today\hfil \upshape %
- page \thepage\ of \pageref{LastPage}}
+ page \thepage{} of \pageref{LastPage}}
\renewcommand{\@oddfoot}{\@evenfoot}
\makeatother
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
@@ -775,7 +787,7 @@ and the derived files
\markboth{Example for lastpage}{Example for lastpage}
This example demonstrates the use of package\newline
-\textsf{lastpage}, v1.2k as of 2011/09/01 (HMM; JPG).\newline
+\textsf{lastpage}, v1.2l as of 2013/01/28 (HMM; JPG).\newline
The package takes no options.\newline
For more details please see the documentation!\newline
@@ -801,12 +813,12 @@ 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 X (10.1.0): \underline{E}dit $>$
+(In Adobe Reader XI (11.0.1): \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 ambitiouse in respect to your aims with this package,
+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
@@ -860,7 +872,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% \section{The implementation}
%
-% We start off by checking that we are loading into \LaTeXe\ and
+% We start off by checking that we are loading into \LaTeXe{} and
% announcing the name and version of this package.
%
% \begin{macrocode}
@@ -869,7 +881,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[2011/06/27]
-\ProvidesPackage{lastpage}[2011/09/01 v1.2k
+\ProvidesPackage{lastpage}[2013/01/28 v1.2l
Refers to last page's name (HMM; JPG)]%
%% lastpage may work with earlier versions of LaTeX,
@@ -883,7 +895,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% \begin{macrocode}
%% Allows for things like
-%% Page \thepage\ of \pageref{LastPage}
+%% Page \thepage{} of \pageref{LastPage}
%% to get
%% 'Page 7 of 9'.
% \end{macrocode}
@@ -902,9 +914,9 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% The very old version~2.0 (and earlier) of the \xpackage{endfloat}
% package actually redefined the |\enddocument| command,
-% and so interferred drastically with the \LaTeXe\ commands which
+% 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.4i as of 1995/10/11)
+% exists (at the time of writing this documentation: v2.5d as of 2011/12/25)
% in modern documentation form, which are available from \CTAN{}
% (see subsection~\ref{ss:Downloads}).
% A~note is placed here. (The \xpackage{pageslts} package even checks whether
@@ -912,7 +924,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% even an error message is given, depending on \xpackage{endfloat} version.)
%
% \begin{macrocode}
-%% The recent version of the endfloat package is v2.4i as of 1995/10/11.
+%% The recent version of the endfloat package is v2.5d as of 2011/12/25.
%% The lastpage package is not fully compatible with version 2.0
%% (and earlier) of the endfloat package, because those versions
%% redefined the \enddocument command.
@@ -921,18 +933,19 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% There are no options to be introduced.\\
%
-% \indent For comparisons, \textquotedblleft one\textquotedblright\ is defined
+% \indent For comparisons, \textquotedblleft one\textquotedblright{} is defined
% (|\@ne| does not work for this).
%
% \begin{macrocode}
\def\lastpage@one{1}
% \end{macrocode}
%
-% We define |\lastpage@hyper| and |\lastpage@LTS| to be
-% \textquotedblleft \texttt{0}\textquotedblright{}.
+% We define |\lastpage@hyper|, |\lastpage@nameref|, and |\lastpage@LTS|
+% to be \textquotedblleft \texttt{0}\textquotedblright{}.
%
% \begin{macrocode}
\gdef\lastpage@hyper{0}
+\gdef\lastpage@nameref{0}
\gdef\lastpage@LTS{0}
% \end{macrocode}
%
@@ -955,6 +968,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
\AtBeginDocument{%
\@ifpackageloaded{tikz}{\gdef\lastpage@tikz{1}}{}%
\@ifpackageloaded{hyperref}{\gdef\lastpage@hyper{1}}{}%
+ \@ifpackageloaded{nameref}{\gdef\lastpage@nameref{1}}{}%
\@ifpackageloaded{pageslts}{%
\PackageWarning{lastpage}{Package pageslts found.\MessageBreak%
Therefore the lastpage package is no longer\MessageBreak%
@@ -989,9 +1003,10 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \end{macrocode}
%
% |\lastpage@putlabel|, used by older versions of this package,
-% is redefined e.\,g. by \xpackage{revtex} and \xpackage{hyperref}.
+% is redefined e.\,g. by \xpackage{revtex}, \xpackage{hyperref},
+% \xpackage{frenchle}, and \xpackage{PPRcorners}.
% While now |\lastpage@putl@bel| is used instead, \xpackage{revtex}
-% or \xpackage{hyperref} could also define a lable \texttt{LastPage},
+% or \xpackage{hyperref} could also define a label \texttt{LastPage},
% which then would be multiply defined. (Which is no big issue,
% if it is associated with the same page.) Therefore we define
%
@@ -1061,17 +1076,26 @@ I do NOT think, that it is necessary to print THIS file, really\newline
\else%
% \end{macrocode}
%
-% When \xpackage{hyperref} has not been loaded, we just write the
+% and also need to treat documents with \xpackage{nameref} differently:
+%
+% \begin{macrocode}
+ \ifx\lastpage@nameref\lastpage@one%
+ \lastpage@putlabelNR%
+ \else%
+% \end{macrocode}
+%
+% When those packages have not been loaded, we just write the
% simple label into the \xfile{aux} file (and store the value of the page):
%
% \begin{macrocode}
- \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
+ \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
+ \fi%
\fi%
\fi%
}
@@ -1133,10 +1157,10 @@ I do NOT think, that it is necessary to print THIS file, really\newline
\ifnum \value{page}=1%
% \end{macrocode}
%
-% We do not count the pages ourselfes, and so they could have been changed by
+% We do not count the pages ourselves, and so they could have been changed by
% e.\,g. |\pagenumbering{...}|, |\addtocounter{page}{...}|,\\
% |\setcounter{page}{...}|. Thus the page might have the number one
-% while not beeing the first page at all. Using the \xpackage{everyshi}
+% while not being the first page at all. Using the \xpackage{everyshi}
% package would help, but this package should not require other packages.
% The \xpackage{pageslts} package does a better handling, but requires
% some other packages.\\
@@ -1198,6 +1222,28 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\lastpage@putlabelNR}
+% \indent The \xpackage{nameref} package redefines |\label| to have five arguments
+% instead of two, therefore
+% \newline
+% |\newlabel{LastPage}{{}{\thepage}{}{}{}}|
+% instead of\newline
+% |\newlabel{LastPage}{{}{\thepage}}| must be used:
+%
+% \begin{macrocode}
+\newcommand{\lastpage@putlabelNR}{%
+ \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
+ }
+
+% \end{macrocode}
+% \end{macro}
+%
% \pagebreak
%
% \begin{macro}{\lastpage@fileswtest}
@@ -1296,7 +1342,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \end{macrocode}
%
% After this we issue a |\clearpage| to put out all floats,
-% which are still floatig, and place the \texttt{LastPage} label.
+% which are still floating, and place the \texttt{LastPage} label.
%
% \begin{macrocode}
\clearpage\lastpage@putl@bel%
@@ -1332,7 +1378,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
%
% \begin{center}
% {\large \textbf{First, please make sure that there is no old version of}}
-% {\large \textbf{\textsf{lastpage}\ at some obsolete place in your system!}}
+% {\large \textbf{\textsf{lastpage}{} at some obsolete place in your system!}}
% \end{center}
%
% \subsection{Downloads\label{ss:Downloads}}
@@ -1348,35 +1394,35 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \item[-] document class \xpackage{ltxdoc}, 2007/11/11, v2.0u,\\
% \CTAN{macros/latex/base/ltxdoc.dtx}
%
-% \item[-] package \xpackage{holtxdoc}, 2011/02/04, v0.21,\\
+% \item[-] package \xpackage{holtxdoc}, 2012/03/21, v0.24,\\
% \CTAN{macros/latex/contrib/oberdiek/holtxdoc.dtx}
%
-% \item[-] package \xpackage{hypdoc}, 2010/03/26, v1.9,\\
+% \item[-] package \xpackage{hypdoc}, 2011/08/19, v1.11,\\
% \CTAN{macros/latex/contrib/oberdiek/hypdoc.dtx}
% \end{description}
%
% \DescribeMacro{lastpage.sty}
-% The |lastpage.sty| for \LaTeXe\ (i.\,e. each document using
+% 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[-] package \xpackage{lastpage}, 2011/09/01, v1.2k,\\
+% \item[-] package \xpackage{lastpage}, 2013/01/28, v1.2l,\\
% \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}
% \end{description}
% and can use
% \begin{description}
-% \item[-] package \xpackage{hyperref}, 2011/08/19, v6.82h,\\
+% \item[-] package \xpackage{hyperref}, 2012/11/06, 6.83m,\\
% \CTAN{macros/latex/contrib/hyperref.zip}
% \end{description}
%
% \DescribeMacro{lastpage209.sty}
-% The |lastpage209.sty| for \LaTeX2.09\ (i.\,e. each document using
+% The |lastpage209.sty| for \LaTeX2.09{} (i.\,e. each document using
% the \xpackage{lastpage209} package) requires:
% \begin{description}
% \item[-] \TeX Format \LaTeX{}, v2.09
%
-% \item[-] package \xpackage{lastpage209}, 2011/09/01, v1.2k, included in\\
+% \item[-] package \xpackage{lastpage209}, 2013/01/28, v1.2l, included in\\
% \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}%
% \end{description}
% and does not work with \xpackage{hyperref}, which needs \LaTeX2e{}.\\
@@ -1385,7 +1431,7 @@ 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}, 2011/09/01, v1.2k,\\
+% \item[-] package \xpackage{lastpage}, 2013/01/28, v1.2l,\\
% \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}\\
% (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
@@ -1399,17 +1445,17 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \item[-] package \xpackage{showkeys}, 2007/08/07, v3.15,\\
% \CTAN{macros/latex/required/tools/showkeys.dtx}
%
-% \item[-] package \xpackage{hyperref}, 2011/08/19, v6.82h,\\
+% \item[-] package \xpackage{hyperref}, 2012/11/06, 6.83m,\\
% \CTAN{macros/latex/contrib/hyperref.zip}
% \end{description}
%
% \DescribeMacro{endfloat}
% The \xpackage{endfloat} package is not required, but because
-% the \xpackage{lastpage} package is incompatibel with \textit{very} old versions
+% the \xpackage{lastpage} package is incompatible with \textit{very} old versions
% of the \xpackage{endfloat} package (see subsection~\ref{sec:endfloat}),
% here the recent one is listed:
% \begin{description}
-% \item[-] package \xpackage{endfloat}, 1995/10/11, v2.4i,\\
+% \item[-] package \xpackage{endfloat}, v2.5d, 2011/12/25,\\
% \CTAN{macros/latex/contrib/endfloat/endfloat.dtx}
% \end{description}
%
@@ -1428,10 +1474,10 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \end{description}
%
% \DescribeMacro{regstats}
-% For counting the used couters (and other registers), the \xpackage{regstats}
+% For counting the used counters (and other registers), the \xpackage{regstats}
% package was mentioned (it is not required). It can be found at:
% \begin{description}
-% \item[-] package \xpackage{regstats}, 2011/08/23, v1.0f,\\
+% \item[-] package \xpackage{regstats}, 2012/01/07, v1.0h,\\
% \CTAN{macros/latex/contrib/regstats/regstats.dtx}
% \end{description}
%
@@ -1442,7 +1488,7 @@ 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}, 2011/08/08, v1.2a,\\
+% \item[-] package \xpackage{pageslts}, 2013/01/28, v1.2b,\\
% \CTAN{macros/latex/contrib/pageslts/pageslts.dtx}
%
% \item[-] package \xpackage{papermas}, 2011/08/22, v1.0h; the \xpackage{papermas}
@@ -1459,7 +1505,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \item[-] package \xpackage{totpages}, 2005/09/19, v2.00,\\
% \CTAN{macros/latex/contrib/totpages/totpages.dtx}
%
-% \item[-] package \xpackage{zref}, 2011/03/18, v2.21,\\
+% \item[-] package \xpackage{zref}, 2012/04/04, v2.24,\\
% \CTAN{macros/latex/contrib/oberdiek/zref.dtx},
% requires $\varepsilon$-\TeX{}.
% \end{description}
@@ -1506,7 +1552,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% lastpage.ins & The installation file.\\
% lastpage.drv & The driver to generate the documentation.\\
% lastpage.sty & The \xext{sty}le file.\\
-% lastpage209.sty & The \xext{sty}le file for \LaTeX2.09\ \textbf{only}.\\
+% lastpage209.sty & The \xext{sty}le file for \LaTeX2.09{} \textbf{only}.\\
% lastpage-example.tex & The example file.%
% \end{tabular}
%
@@ -1515,7 +1561,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \noindent For required other packages, see the preceding subsection.
%
% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
-% \docstrip\ archive. The files are extracted by running the
+% \docstrip{} archive. The files are extracted by running the
% \xfile{.dtx} through \plainTeX:
% \begin{quote}
% \verb|tex lastpage.dtx|
@@ -1607,7 +1653,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \subsection{Refresh file name databases}
%
% If your \TeX~distribution (\teTeX, \mikTeX,\dots) relies on file name
-% databases, you must refresh these. For example, \teTeX\ users run
+% databases, you must refresh these. For example, \teTeX{} users run
% \verb|texhash| or \verb|mktexlsr|.
%
% \subsection{Some details for the interested}
@@ -1615,11 +1661,11 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \paragraph{Unpacking with \LaTeX.}
% The \xfile{.dtx} chooses its action depending on the format:
% \begin{description}
-% \item[\plainTeX:] Run \docstrip\ and extract the files.
+% \item[\plainTeX:] Run \docstrip{} and extract the files.
% \item[\LaTeX:] Generate the documentation.
% \end{description}
-% If you insist on using \LaTeX\ for \docstrip\ (really,
-% \docstrip\ does not need \LaTeX), then inform the autodetect routine
+% If you insist on using \LaTeX{} for \docstrip{} (really,
+% \docstrip{} does not need \LaTeX), then inform the autodetect routine
% about your intention:
% \begin{quote}
% \verb|latex \let\install=y\input{lastpage.dtx}|
@@ -1664,11 +1710,11 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% inventing the \xpackage{lastpage} package as well as for granting me
% to update it. Further I would like to thank \textsc{Heiko Oberdiek}
% for providing a~lot~(!) of useful packages (from which I also got everything
-% I know about creating a file in \xfile{dtx} format, ok, say it: copying),
+% I know about creating a file in \xfile{dtx} format, OK, say it: copying),
% and the \Newsgroup{comp.text.tex} and \Newsgroup{de.comp.text.tex}
% newsgroups for their help in all things \TeX{}. Thanks for bug reports go
% to \textsc{Ulrike Fischer}, \textsc{Sebastian Bank}, \textsc{James Hedges},
-% and \textsc{Mikhail Titov}.
+% \textsc{Mikhail Titov}, and \textsc{Micha\l{} Herman}.
% Thanks to \textsc{Sven Siegmund} for pointing out a necessary further
% explanation in the documentation.
%
@@ -1702,8 +1748,8 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% and then the \xpackage{hyperref} package and the \xpackage{revtex4}
% class even redefine\\
% |\lastpage@putlabel| (at least \xpackage{hyperref} version
-% \sout{ 2010/09/13, v6.81n}\uwave{ 2011/08/19, v6.82h}, and
-% REV\TeX{}4\ version 2010/07/25, v4.1r, still do this).
+% \sout{ 2010/09/13, v6.81n}\uwave{ 2012/11/06, v6.83m}, and
+% REV\TeX{}4 version 2010/07/25, v4.1r, still do this).
% \end{Version}
% \begin{Version}{2010/02/18 v1.1}
% \item Proposed |LastPages| label by \textsc{H.-Martin M\"{u}nch}
@@ -1716,13 +1762,13 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% to \xpackage{fancyhdr} package, then removed the need for the
% \xpackage{fancyhdr} package at all.
% \item Included \textsf{lastpage209.sty} for \LaTeX2.09{}.
-% \item Replacement of |\filedate|, |-version|, |-name|,\ldots\ because
+% \item Replacement of |\filedate|, |-version|, |-name|,\ldots{} because
% of \LaTeX{}~bug 2705:\\
% Synopsis: Possible problem with |\fileversion| and |\filedate|\\
% \url{http://www.latex-project.org/cgi-bin/ltxbugs2html?category=LaTeX&responsible=anyone&state=anything&keyword=lastpage&pr=latex%2F2705&search=}
% \item Example |lastpage-example.tex|.
% \item Alternatives listing (section \ref{sec:Alternatives}).
-% \item Listing of \TeX\ sources (subsection \ref{ss:Downloads}).
+% \item Listing of \TeX{} sources (subsection \ref{ss:Downloads}).
% \item A~lot~(!) of details.
% \item Complete rewriting of the documentation.
% \item Added a list of my other packages.
@@ -1794,13 +1840,14 @@ 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 \uwave{was} 2011/03/17, v1.1o.
-% \item New version of \xpackage{ulem} package, 2011/03/18.
+% \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 is X (10.1.0; instead of 10.0.0).
+% \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.
@@ -1811,7 +1858,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 live2011 (for compiling the documentation and example)
+% \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.)
@@ -1821,16 +1868,34 @@ I do NOT think, that it is necessary to print THIS file, really\newline
% \item Minor details.
% \end{Version}
% \begin{Version}{2011/09/01 v1.2k}
-% \item Fixed |\thepage{}| to |\thepage\ |, where there should be a space.
+% \item Fixed |\thepage{}| to |\thepage{} |, where there should be a space.
% \item New version of the \xpackage{hyperref} package, 2011/08/19, v6.82h, but
% still problem with links to pages with
-% page-\textquotedblleft number\textquotedblright\ in \texttt{fnsymbol}
+% page-\textquotedblleft number\textquotedblright{} in \texttt{fnsymbol}
% pagenumbering scheme.
+% \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: 2011/08/23, v1.0f.
+% \item New version of \xpackage{regstats} package available:
+% \uwave{was} 2011/08/23, v1.0f.
% \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
+% \xpackage{endfloat}, \xpackage{holtxdoc}, \xpackage{hypdoc},
+% \xpackage{hyperref}, \xpackage{pageslts}, \xpackage{regstats},
+% \xpackage{ulem}, and \xpackage{zref} have become available.
+% \item The \xpackage{nameref} package redefines |\label| to have five arguments
+% instead of two, therefore |\newlabel{LastPage}{{}{\thepage}{}{}{}}| instead of
+% |\newlabel{LastPage}{{}{\thepage}}| must be used.
+% (Bug reported at \url{http://tex.stackexchange.com/q/95541/6865},
+% thanks to Micha\l{} Herman!) Fixed.
+% \item Updates to several details, also in the documentation.
+% \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 389c7961d59..856d53afbdb 100644
--- a/Master/texmf-dist/source/latex/lastpage/lastpage.ins
+++ b/Master/texmf-dist/source/latex/lastpage/lastpage.ins
@@ -9,13 +9,13 @@
%% This is a generated file.
%%
%% Project: lastpage
-%% Version: 2011/09/01 v1.2k
+%% Version: 2013/01/28 v1.2l
%%
-%% Copyright (C) 2010, 2011 by
+%% Copyright (C) 2010 - 2013 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
%% Portions of code copyrighted by other people as marked.
%%
-%% The usual disclaimer applys:
+%% 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.)
@@ -53,7 +53,7 @@
\input docstrip.tex
\Msg{*********************************************************************}
\Msg{* Installation}
-\Msg{* Package: lastpage 2011/09/01 v1.2k Refers to last page's name (HMM)}
+\Msg{* Package: lastpage 2013/01/28 v1.2l Refers to last page's name (HMM)}
\Msg{*********************************************************************}
\keepsilent
@@ -65,13 +65,13 @@
This is a generated file.
Project: lastpage
-Version: 2011/09/01 v1.2k
+Version: 2013/01/28 v1.2l
-Copyright (C) 2010, 2011 by
+Copyright (C) 2010 - 2013 by
H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
Portions of code copyrighted by other people as marked.
-The usual disclaimer applys:
+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.)