summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pageslts/pageslts.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-01-29 23:35:09 +0000
committerKarl Berry <karl@freefriends.org>2013-01-29 23:35:09 +0000
commit1df4164cecf42b2410d61a4494aa043968db89de (patch)
treeeeec7d19980682aee06c67c8e01da8859d35885b /Master/texmf-dist/source/latex/pageslts/pageslts.dtx
parent2aa50a550686e193749ba9cf09b3398452fa8e1d (diff)
pageslts (29jan13)
git-svn-id: svn://tug.org/texlive/trunk@28986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/pageslts/pageslts.dtx')
-rw-r--r--Master/texmf-dist/source/latex/pageslts/pageslts.dtx644
1 files changed, 327 insertions, 317 deletions
diff --git a/Master/texmf-dist/source/latex/pageslts/pageslts.dtx b/Master/texmf-dist/source/latex/pageslts/pageslts.dtx
index eb2b4e02c55..325ac6f7f4b 100644
--- a/Master/texmf-dist/source/latex/pageslts/pageslts.dtx
+++ b/Master/texmf-dist/source/latex/pageslts/pageslts.dtx
@@ -1,16 +1,15 @@
% \iffalse meta-comment
%
-% pageslts package
-% file version: v1.2a
-% file date: 2011/08/08
-% documentation date: 2011/08/08
+% File: pageslts.dtx
+% Version: 2013/01/28 v1.2b
%
-% Copyright (C) 2010, 2011 H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de)
+% 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 first started as a revision of the lastpage
% package of Jeffrey P. Goldberg (jeffrey+news at goldmark dot org),
-% but it became obviouse that a replacement was needed.
+% but it became obvious that a replacement was needed.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -28,8 +27,13 @@
%
% This work consists of the main source file pageslts.dtx
% and the derived files
-% pageslts.sty, pageslts.ins, pageslts.drv,
-% pageslts-example.tex, pageslts.pdf.
+% pageslts.sty, pageslts.pdf, pageslts.ins, pageslts.drv,
+% pageslts-example.tex.
+%
+% Distribution:
+% http://mirrors.ctan.org/macros/latex/contrib/pageslts/pageslts.dtx
+% http://mirrors.ctan.org/macros/latex/contrib/pageslts/pageslts.pdf
+% http://mirrors.ctan.org/install/macros/latex/contrib/pageslts.tds.zip
%
% Unpacking:
% (a) If pageslts.ins is present:
@@ -67,6 +71,8 @@
%
%<*ignore>
\begingroup
+ \catcode123=1 %
+ \catcode125=2 %
\def\x{LaTeX2e}%
\expandafter\endgroup
\ifcase 0\ifx\install y1\fi\expandafter
@@ -76,13 +82,10 @@
%</ignore>
%<*install>
\input docstrip.tex
-
-\obeyspaces
-\Msg{******************************************************}
-\Msg{* Installation *}
-\Msg{* Package: pageslts v1.2a 2011/08/08 LaTeX2e package *}
-\Msg{* Refers to special pages' numbers/names (HMM) *}
-\Msg{******************************************************}
+\Msg{*********************************************************************************}
+\Msg{* Installation}
+\Msg{* Package: pageslts 2013/01/28 v1.2b Refers to special pages' numbers/names (HMM)}
+\Msg{*********************************************************************************}
\keepsilent
\askforoverwritefalse
@@ -92,6 +95,13 @@
This is a generated file.
+Project: pageslts
+Version: 2013/01/28 v1.2b
+
+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.
+
IMPORTANT NOTICE:
On the first page backslash pagenumbering should be called
(with the appropriate argument out of e.g.
@@ -100,8 +110,8 @@ On the first page backslash pagenumbering should be called
* arabic - Arabic numerals: 1, 2, 3, 4,...
* alph - Lowercase letters: a, b, c, d,...
* Alph - Uppercase letters: A, B, C, D,...
- * fnsymbol - Footnote symbols: *, † (ddagger), ‡ (dddagger),
- § (mathsection),...
+ * fnsymbol - Footnote symbols: *, † (ddagger), ‡ (dddagger),
+ § (mathsection),...
). The command backslash pagenumbering is renewed, but no change
should be visible to the output text, because only labels are added.
backslash OrigPagenumbering can be used to get the original meaning
@@ -109,7 +119,7 @@ of backslash pagenumbering, but in that case this package does not
see the change in the page numbering scheme and will make mistakes.
The package takes options.
-The usual disclaimers apply:
+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.)
@@ -126,12 +136,11 @@ LaTeX version 2005/12/01 or later.
This work has the LPPL maintenance status "maintained".
-The Current Maintainer of this work is H.-Martin Muench
-(Martin dot Muench at Uni-Bonn dot de).
+The Current Maintainer of this work is H.-Martin Muench.
This package first started as a revision of the lastpage
package of Jeffrey P. Goldberg (jeffrey+news at goldmark dot org),
-but it became obviouse that a replacement was needed.
+but it became obvious that a replacement was needed.
This work consists of the main source file pageslts.dtx
and the derived files
@@ -144,38 +153,37 @@ and the derived files
\generate{%
\file{pageslts.ins}{\from{pageslts.dtx}{install}}%
\file{pageslts.drv}{\from{pageslts.dtx}{driver}}%
- \file{ltxdoc.cfg}{\from{pageslts.dtx}{ltxdoc}}%
\usedir{tex/latex/pageslts}%
\file{pageslts.sty}{\from{pageslts.dtx}{package}}%
\usedir{doc/latex/pageslts}%
\file{pageslts-example.tex}{\from{pageslts.dtx}{example}}%
}
-\obeyspaces
-\Msg{**************************************************************}
-\Msg{* *}
-\Msg{* To finish the installation you have to move the following *}
-\Msg{* file into a directory searched by TeX: *}
-\Msg{* *}
-\Msg{* pageslts.sty *}
-\Msg{* *}
-\Msg{* To produce the documentation run the file `pageslts.drv' *}
-\Msg{* through (pdf)LaTeX, e.g. *}
-\Msg{* pdflatex pageslts.drv *}
-\Msg{* makeindex -s gind.ist pageslts.idx *}
-\Msg{* pdflatex pageslts.drv *}
-\Msg{* makeindex -s gind.ist pageslts.idx *}
-\Msg{* pdflatex pageslts.drv *}
-\Msg{* *}
-\Msg{* At least three runs are necessary e. g. to get the *}
-\Msg{* references right! *}
-\Msg{* *}
-\Msg{* Happy TeXing! *}
-\Msg{* *}
-\Msg{**************************************************************}
+\catcode32=13\relax% active space
+\let =\space%
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* pageslts.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the file `pageslts.drv'}
+\Msg{* through (pdf)LaTeX, e.g.}
+\Msg{* pdflatex pageslts.drv}
+\Msg{* makeindex -s gind.ist pageslts.idx}
+\Msg{* pdflatex pageslts.drv}
+\Msg{* makeindex -s gind.ist pageslts.idx}
+\Msg{* pdflatex pageslts.drv}
+\Msg{*}
+\Msg{* At least three runs are necessary e. g. to get the}
+\Msg{* references right!}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
\endbatchfile
-
%</install>
%<*ignore>
\fi
@@ -184,20 +192,20 @@ 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}
+% \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}[2009/09/24]
-\ProvidesFile{pageslts.drv}[2011/08/08 v1.2a
- Refers to special pages' numbers/names (HMM)]%
+\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\ProvidesFile{pageslts.drv}[2013/01/28 v1.2b
+ Refers to special pages' numbers/names (HMM)]
\documentclass[landscape]{ltxdoc}[2007/11/11]% v2.0u
\usepackage{geometry}[2010/09/12]% v5.6
-\usepackage{holtxdoc}[2011/02/04]% v0.21
+\usepackage{holtxdoc}[2012/03/21]% v0.24
%% pageslts may work with earlier versions of LaTeX2e and those
%% class and packages, but this was not tested.
%% Please consider updating your LaTeX, class, and packages
@@ -205,7 +213,7 @@ and the derived files
%% recent version).
\hypersetup{%
pdfsubject={Refers to special pages' numbers/names (HMM)},%
- pdfkeywords={LaTeX, pageslts, pagesLTS, lastpage, page number, page name, Hans-Martin Muench},%
+ pdfkeywords={LaTeX, pageslts, pagesLTS, lastpage, page number, page name, H.-Martin Muench},%
pdfencoding=auto,%
pdflang={en},%
breaklinks=true,%
@@ -220,91 +228,23 @@ and the derived files
pdfwindowui=true,%
pdfnewwindow=true%
}
-\usepackage{ulem}[2011/03/18]% no version given in the ulem.sty file
-\setlength\hfuzz{1pt} % Ignore slight overfulls.
+\usepackage{ulem}[2012/05/18]% no version given in the ulem.sty file
\CodelineIndex
-%\PageIndex % instead of \CodelineIndex to get the page numbers
-\EnableCrossrefs
-%\DisableCrossrefs % Say \DisableCrossrefs if index is ready.
-%\RecordChanges % Gather update information.
-%\OnlyDescription % Comment out for implementation details.
\hyphenation{created every-thing ignored}
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
+\makeatletter
+\@ifundefined{eTeX}{\gdef\eTeX{$\m@th \varepsilon $-\TeX }}{% else \relax
+}
+\makeatother
\begin{document}
\DocInput{pageslts.dtx}%
\end{document}
%</driver>
% \end{macrocode}
%
-% \begin{macrocode}
-%<*ltxdoc>
-\NeedsTeXFormat{LaTeX2e}[2009/09/24]
-\ProvidesFile{ltxdoc.cfg}[2011/08/08 v1.2a configuration file for pageslts (HMM)]
- %% Code from original ltxdoc.cfg [2007/01/08 latex-tds: ltxdoc.cls configuration (HO)], %%
- % copyrighted 2006, 2007 Heiko Oberdiek, part of project `latex-tds'.
- % That file may be distributed and/or modified under the
- % conditions of the LaTeX Project Public License, either version 1.3
- % of this license or (at your option) any later version.
- % 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.
- % That work has the LPPL maintenance status `maintained'.
- % The Current Maintainer of that work is Heiko Oberdiek.
- \PassOptionsToClass{a4paper}{article}
- \AtEndOfClass{%
- \RequirePackage[numbered]{hypdoc}[2010/03/26]% v1.9
- \pdfstringdefDisableCommands{%
- \let\env\relax % longtable.dtx
- \let\mytt\relax % tabularx.dtx
- }%
- \addtolength{\topmargin}{-10mm}%
- \addtolength{\textheight}{20mm}%
- % Depending on the page style, the head or foot area
- % are put into the text area.
- % Usually the page style is the default "plain".
- % tools/verbatim.dtx uses "myheadings".
- \def\string@plain{plain}%
- \def\string@myheadings{myheadings}%
- \def\current@pagestyle{plain}%
- \let\ltxdoc@cfg@pagestyle\pagestyle
- \def\pagestyle#1{%
- \def\current@pagestyle{#1}%
- \ltxdoc@cfg@pagestyle{#1}%
- }%
- \edef\ltxdoc@cfg@jobname{\jobname}%
- \def\ltxdoc@cfg@longtable{longtable}%
- \@onelevel@sanitize\ltxdoc@cfg@longtable
- \ifx\ltxdoc@cfg@jobname\ltxdoc@cfg@longtable
- \def\current@pagestyle{both}%
- \fi
- \let\ltxdoc@cfg@document\document
- \def\document{%
- \ifx\current@pagestyle\string@plain
- \addtolength{\textheight}{\headheight}%
- \addtolength{\textheight}{\headsep}%
- \setlength{\headheight}{0pt}%
- \setlength{\headsep}{0pt}%
- \global\textheight\textheight
- \global\headheight\headheight
- \global\headsep\headsep
- \fi
- \ifx\current@pagestyle\string@myheadings
- \addtolength{\textheight}{\footskip}%
- \global\textheight\textheight
- \fi
- \ltxdoc@cfg@document
- }%
- %% End of code from original ltxdoc.cfg [2007/01/08 latex-tds: ltxdoc.cls configuration (HO)] %%
- %% Place additional code here. %%
- }
-
-%</ltxdoc>
-% \end{macrocode}
-%
% \fi
%
-% \CheckSum{1753}
+% \CheckSum{1786}
%
% \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
@@ -338,30 +278,24 @@ and the derived files
% \edef\x{\noexpand\DoNotIndex{\@backslashchar9}}%^^A
% }%^^A
% \expandafter\endgroup\x
-% \DoNotIndex{\documentclass,\usepackage,\hfuzz,\small,\tt,\begin,\end}
-% \DoNotIndex{\NeedsTeXFormat,\filedate,\fileversion,\DoNotIndex}
-% \DoNotIndex{\def,\edef,\divide,\advance,\multiply}
-% \DoNotIndex{\",\-,\,,\\,\hskip,\H,\ldots,\indent,\noindent,\textbackslash}
-% \DoNotIndex{\textbf,\textit,\textquotedblleft,\textquotedblright,\textsf,\texttt}
-% \DoNotIndex{\ifthenelse,\and,\equal,\whiledo,\if,\ifx,\ifnum,\else,\fi}
-% \DoNotIndex{\CodelineIndex,\EnableCrossrefs,\DisableCrossrefs}
-% \DoNotIndex{\DocInput,\AltMacroFont}
-% \DoNotIndex{\@ne,\tw@,\thr@@}
-% \DoNotIndex{\newpage,\pagebreak,\newline,\linebreak,\nolinebreak}
+% \DoNotIndex{\documentclass,\usepackage,\ProvidesPackage}
+% \DoNotIndex{\NeedsTeXFormat,\TeX,\LaTeX}
+% \DoNotIndex{\",\,,\\,\ldots,\thinspace,\textbackslash,\noindent}
+% \DoNotIndex{\begin,\end}
+% \DoNotIndex{\textbf,\textit,\textquotedblleft,\textquotedblright,\textsc,\textsf,\texttt,\underline}
+% \DoNotIndex{\ifx,\ifnum,\ifodd,\enduremath}
+% \DoNotIndex{\newpage,\pagebreak,\clearpage,\newline,\linebreak,\nolinebreak}
% \DoNotIndex{\lipsum,\MessageBreak,\pageref,\protect}
-% \DoNotIndex{\RecordChanges,\OnlyDescription}
-% \DoNotIndex{\smallskip,\medskip,\bigskip,\space}
-% \DoNotIndex{\item}
-% \DoNotIndex{\plainTeX,\TeX,\LaTeX,\pdfLaTeX}
-% \DoNotIndex{option: pagecontinue}
-% \DoNotIndex{{pagesLTS.arabic, pagesLTS.roman, pagesLTS.Roman, pagesLTS.alph, pagesLTS.Alph,\ldots }}
-%
-% \title{The \xpackage{pageslts} package\footnote{This file%
-% has version number v1.2a, last%
-% revised 2011/08/08, documentation dated 2011/08/08.}}
-% \author{H.-Martin M\"{u}nch\\
-% (\texttt{Martin dot Muench at Uni-Bonn dot de})}
-% \date{2011/08/08}
+% \DoNotIndex{\smallskip,\medskip,\bigskip,\hskip,\space,\hline}
+% \DoNotIndex{\advance,\@ne}
+% \DoNotIndex{\item,\listfiles}
+% \DoNotIndex{\@PackageInfoNoLine,\@bsphack,\@esphack,\@ehc,\@ehd,\@ifundefined,%
+% \addcontentsline,\arabic,\enddocument,\endinput,\href,\makeatletter,\makeatother,%
+% \section,\subsection,\tableofcontents,\verb}
+%
+% \title{The \xpackage{pageslts} package}
+% \date{2013/01/28 v1.2b}
+% \author{H.-Martin M\"{u}nch\\\xemail{Martin.Muench at Uni-Bonn.de}}
%
% \maketitle
%
@@ -396,7 +330,7 @@ and the derived files
% created. This label can be referred to, too.
% Further labels are provided for special cases.\\
% The \xpackage{alphalph} package is supported, i.\,e.
-% page numbers alph or Alph $>26$ and fnyambol $>9$
+% 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},
@@ -429,7 +363,7 @@ and the derived files
%
% \noindent This package first started as a revision of the
% \xpackage{lastpage} package of \textbf{Jeffrey P. Goldberg} (Thanks!),
-% but then it became obviouse that a replacement was needed.
+% but then it became obvious that a replacement was needed.
%
% \bigskip
%
@@ -484,7 +418,7 @@ and the derived files
% created. This label can be referred to, too. Further labels are
% provided for special cases.\\
% The \xpackage{alphalph} package is supported, i.\,e. page numbers
-% \texttt{alph} or \texttt{Alph} $>26$ and \texttt{fnyambol} $>9$ can
+% \texttt{alph} or \texttt{Alph} $>26$ and \texttt{fnsymbol} $>9$ can
% be used (with the according options set). Even zero or negative page
% numbers can be used with \texttt{arabic}, \texttt{alph}, \texttt{Alph}, and
% \texttt{fnsymbol} page numbering (with \xpackage{alphalph} package
@@ -504,7 +438,7 @@ and the derived files
% \bigskip
% \noindent This package first started as a revision of the
% \xpackage{lastpage} package of \textsc{Jeffrey P. Goldberg} (Thanks!),
-% but then it became obviouse that a replacement was needed to accomplish
+% but then it became obvious that a replacement was needed to accomplish
% what this package does.
%
% \bigskip
@@ -520,7 +454,7 @@ and the derived files
% \textbf{logical page numbers} together with \xpackage{hyperref}!
% \label{logical page numbers}
% \begin{description}
-% \item [-] In Adobe Reader X (10.1.0) enable:\\
+% \item [-] In Adobe Reader XI (11.0.1) enable:\\
% \underline{E}dit $>$ Prefere\underline{n}ces (Ctrl+k)
% $>$ Page Display $>$ Page Content and Information
% $>$ Use logical page \nolinebreak{\underline{n}umbers\ .}
@@ -704,7 +638,7 @@ and the derived files
% 10\,737\,415 only. If this number is not only used internally
% but printed, after number about 11\,705 (which is
% 2\,341 times \ensuremath {\mathparagraph }) the \LaTeXe\ capacity
-% is exeeded, depending on the remaining file and its use of
+% is exceeded, depending on the remaining file and its use of
% \TeX\ capacity, of course. (If you have a document with more than
% 11\,705~pages, you might think about splitting it in volumes.
% And page \textquotedblleft numbers\textquotedblright\ with
@@ -1080,31 +1014,32 @@ and the derived files
% should work all right. About how to get the \texttt{atveryend} package,
% please see subsection~\ref{ss:Downloads}.
%
-% \subsection{Interaction with very old versions of the \xpackage{endfloat} package\label{sec:endfloat}}
+% \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
-% (at the time of writing this documentation: v2.4i as of 1995/10/11)
+% 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}.\\
% A note is placed in the style file at the |\RequirePackage| section,
% and later it is even checked whether a (very) old \xpackage{endfloat}
% package is in use. If it is, a warning or even an error message
% is given, depending on \xpackage{endfloat} version.
-% This assumes, that the old versions of endfloat at least gave
+% This assumes, that the old versions of \xpackage{endfloat} at least gave
% a version date, of course.\\
% If you want your \texttt{LastPage} to label the last page of
% these end floats, you need to load \xpackage{pageslts} \emph{after}
% loading \xpackage{endfloat}, or to use \texttt{VeryLastPage} 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{pageslts} 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, if you did not do it already.} version of \xpackage{endfloat}.\\
+% modified\footnote{New versions are available for over $15$~years now,
+% so it might be time to update, if you did not do it already.} version of
+% \xpackage{endfloat}.\\
% Using the
% \nolinebreak{\texttt{LastPage}\textbf{\underline{s}}\ (\textit{s}!)}\ label
% should get you to the last page in all cases: |\lastpageref{LastPages}|.\\
@@ -1131,13 +1066,13 @@ and the derived files
%
% This package first started as a revision of the \xpackage{lastpage}
% package of \textsc{Jeffrey P. Goldberg} (jeffrey+news at goldmark dot org),
-% but it became obviouse that a replacement was needed to accomplish what this
+% but it became obvious that a replacement was needed to accomplish what this
% package does. For backward compatibility, a~label named |LastPage| is provided.
% Thus |\usepackage{lastpage}| can be replaced by\\
% |\usepackage[pagecontinue=false,alphMult=0,AlphMulti=0,fnsymbolmult=false,romanMult=false,RomanMulti=false]{pageslts}|,\\
% if the behaviour of the \xpackage{lastpage} package should be simulated.
% Using \textbf{old}~(!) versions of the \xpackage{lastpage} before the \xpackage{pageslts}
-% before the \xpackage{hyperref} [2011/04/17 v6.82g]
+% before the \xpackage{hyperref} [2012/11/06 v6.83m]
% package results in multiply definitions of the |LastPage| label.
% While the \xpackage{pageslts} package cancels the command |\lastpage@putlabel|
% from the old \xpackage{lastpage} package (because it does this itself, and better),
@@ -1148,7 +1083,7 @@ and the derived files
% \subsection{Using an unknown page numbering scheme\label{sec:unknown}}
%
% \indent I do not know whether \LaTeXe\ can handle another page numbering
-% scheme (e.\,g.~hebraic), but if you want to use it, this should be
+% scheme (e.\,g.~Hebraic), but if you want to use it, this should be
% no problem for the \xpackage{pageslts} package. But the original
% |\pagenumbering{...}| as well as the \xpackage{hyperref} package
% (if~used) might want to vote against it, especially when used together
@@ -1199,35 +1134,35 @@ and the derived files
% \ |\lastpageref{...}| \textbf{instead of}\ |\pageref{...}| \textbf{for any%
% link to any label provided by the \xpackage{pageslts} package.}\\
% While the \xpackage{pageslts} package tries really very hard to circumvent
-% any problem, other packages might skrew up -- and quite totally for that.
+% any problem, other packages might screw up -- and quite totally for that.
% So,~you have been warned!\\
%
% \begin{description}
% \item[-] There can be a counter overflow, see preceding subsection~\ref{ss:overflow}.
%
-% \item[-] Adobe Reader X (10.1.0) does not show the correct page names
+% \item[-] Adobe Reader XI (11.0.1) does not show the correct page names
% for all pages with \texttt{fnsymbol} page numbering scheme:
%
% \begin{center}
-% \begin{tabular}{c|c|c|c|c}
-% page & page & \multicolumn{2}{c|}{shown by the Reader} & with \xpackage{alphalph} package and \\
-% number & name & without & with & with \xpackage{pageslts} package \\
-% & & \multicolumn{2}{c|}{\xpackage{alphalph} \&\ \xpackage{pageslts}} & with \texttt{fnsymbolmult} option \\ \hline
-% $-2$ & \texttt{LaTeX Error} & & \ensuremath {-\ } & \ensuremath {- \dagger } \\
-% $-1$ & \texttt{LaTeX Error} & & \ensuremath {- *} & \ensuremath {- *} \\
-% $0$ & (ignored by \LaTeX) & & 0 & 0 \\
-% $1$ & \ensuremath {*} & * & \ensuremath {*} & \ensuremath {*} \\
-% $2$ & \ensuremath {\dagger } & & & \ensuremath {\dagger } \\
-% $3$ & \ensuremath {\ddagger } & & & \ensuremath {\ddagger } \\
-% $4$ & \ensuremath {\mathsection } & & & \ensuremath {\mathsection } \\
-% $5$ & \ensuremath {\mathparagraph } & & & \ensuremath {\mathparagraph } \\
-% $6$ & \ensuremath {\delimiter "026B30D } & "026B30D & \ensuremath {**} & \ensuremath {**} \\
-% $7$ & \ensuremath {**} & ** & & \ensuremath {\dagger \dagger } \\
-% $8$ & \ensuremath {\dagger \dagger } & & & \ensuremath {\ddagger \ddagger } \\
-% $9$ & \ensuremath {\ddagger \ddagger } & & & \ensuremath {\mathsection \mathsection } \\
-% $10$ & \texttt{LaTeX Error} & & & \ensuremath {\mathparagraph \mathparagraph }\\
-% $11$ & \texttt{LaTeX Error} & & \ensuremath {***} & \ensuremath {***} \\
-% $12$ & \texttt{LaTeX Error} & & & \ensuremath {\dagger \dagger \dagger } \\
+% \begin{tabular}{c|c|c|c}
+% page & page & \multicolumn{2}{c|}{shown by the Reader} \\
+% number & name & without & \multicolumn{1}{c|}{with} \\
+% & & \multicolumn{2}{c|}{\xpackage{alphalph} \&\ \xpackage{pageslts}}\\ \hline
+% $-2$ & \texttt{LaTeX Error} & & \ensuremath {-\ } \\
+% $-1$ & \texttt{LaTeX Error} & & \ensuremath {- *} \\
+% $0$ & (ignored by \LaTeX) & & 0 \\
+% $1$ & \ensuremath {*} & * & \ensuremath {*} \\
+% $2$ & \ensuremath {\dagger } & & \\
+% $3$ & \ensuremath {\ddagger } & & \\
+% $4$ & \ensuremath {\mathsection } & & \\
+% $5$ & \ensuremath {\mathparagraph } & & \\
+% $6$ & \ensuremath {\delimiter "026B30D } & "026B30D & \ensuremath {**} \\
+% $7$ & \ensuremath {**} & ** & \\
+% $8$ & \ensuremath {\dagger \dagger } & & \\
+% $9$ & \ensuremath {\ddagger \ddagger } & & \\
+% $10$ & \texttt{LaTeX Error} & & \\
+% $11$ & \texttt{LaTeX Error} & & \ensuremath {***} \\
+% $12$ & \texttt{LaTeX Error} & & \\
% \end{tabular}
% \end{center}
%
@@ -1237,7 +1172,7 @@ and the derived files
% When the \xpackage{alphalph} package and the \xpackage{pageslts} package with
% |fnsymbolmult| option are used, page names like
% \ensuremath {- *}, 0, \ensuremath {*}, \ensuremath {**} are
-% also presented correctly by the Reader.
+% also presented correctly by the Reader. (Adobe Reader~X even got the other pages right.)
% \end{description}
%
% \newpage
@@ -1308,8 +1243,8 @@ and the derived files
% \DescribeMacro{zref}
% \begin{description}
% \item[-] The \xpackage{zref} package of \textsc{Heiko Oberdiek} requires
-% \eTeX{}. \xpackage{pageslts} does not require \eTeX{}, but if you
-% already have \eTeX{}, you may have a look at the extensive
+% \eTeX . \xpackage{pageslts} does not require \eTeX , but if you
+% already have \eTeX , you may have a look at the extensive
% \xpackage{zref} package, whether it suits your needs better
% (or additionally or whatsoever).
% \end{description}
@@ -1317,8 +1252,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{}, and
+% which is available at \CTAN ?\\
+% OK, send an e-mail to me with the name, location at \CTAN , and
% a short notice, and I will probably include it in the list above.)\\
%
% \smallskip
@@ -1336,7 +1271,7 @@ and the derived files
\usepackage{lipsum}[2011/04/14]% v1.2
\usepackage[draft]{showkeys}[2007/08/07]% v3.15
%% Use final instead of draft to hide the keys. %%
-\usepackage{hyperref}[2011/04/17]% v6.82g
+\usepackage{hyperref}[2012/11/06]% v6.83m
\hypersetup{%
extension=pdf,%
plainpages=false,%
@@ -1346,13 +1281,13 @@ and the derived files
pdftitle={pageslts package example},%
pdfauthor={Hans-Martin Muench},%
pdfsubject={Example for the pageslts package},%
- pdfkeywords={LaTeX, pageslts, Hans-Martin Muench},%
+ pdfkeywords={LaTeX, pageslts, H.-Martin Muench},%
pdfview=Fit,%
pdfstartview=Fit,%
pdfpagelayout=SinglePage,%
bookmarksopen=true%
}
-\usepackage[pagecontinue=true,alphMult=ab,AlphMulti=AB,fnsymbolmult=true,romanMult=true,RomanMulti=true]{pageslts}[2011/08/08]% v1.2a
+\usepackage[pagecontinue=true,alphMult=ab,AlphMulti=AB,fnsymbolmult=true,romanMult=true,RomanMulti=true]{pageslts}[2013/01/28]% v1.2b
%% These are the default options. %%
\makeatletter
\renewcommand{\@evenfoot}%
@@ -1381,7 +1316,7 @@ and the derived files
\markboth{Example for pageslts}{Example for pageslts}
This example demonstrates the most common uses of package\\
-\textsf{pageslts}, v1.2a as of 2011/08/08 (HMM).\\
+\textsf{pageslts}, v1.2b as of 2013/01/28 (HMM).\\
The used options were \texttt{pagecontinue=true},
\texttt{alphMult=ab}, \texttt{AlphMulti=AB}, \linebreak
\texttt{fnsymbolmult=true},
@@ -1424,7 +1359,7 @@ usage is to the benefit of the trademark owner.\\
\textbf{Tip}: Use \textit{logical page numbers} for
the display of the pdf!\\
-(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.)}\\
@@ -1454,7 +1389,7 @@ Therefore please print only if this is really necessary.
\section{roman}
\noindent (\texttt{roman} page numbering was started before,
-becaue the page numbering scheme was needed to start at
+because the page numbering scheme was needed to start at
the first page, of course.)\\
\noindent First page (\verb|\lastpageref{pagesLTS.0}|):
@@ -1470,7 +1405,7 @@ You can get this also in other formats:
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
You can get also this in other formats, too:
\roman{pagesLTS.current.local.roman}, \Roman{pagesLTS.current.local.roman},
\arabic{pagesLTS.current.local.roman}, \fnsymbol{pagesLTS.current.local.roman},
@@ -1545,7 +1480,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -1618,7 +1553,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -1677,7 +1612,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -1736,7 +1671,7 @@ command), i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (from \verb|\theCurrentPageLocal|\ %
command), i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal\\
+current page numbering scheme): \theCurrentPageLocal\\
\noindent Last page's number (LastPages): \lastpageref{LastPages}{\hskip3em }
(= total number of pages)\\
@@ -1749,29 +1684,29 @@ current page numbering sheme): \theCurrentPageLocal\\
\section{fnsymbol}
-Adobe Reader X (10.1.0) does not show the correct page names
+Adobe Reader XI (11.0.1) does not show the correct page names
for all pages with \texttt{fnsymbol} page numbering scheme:
\begin{center}
-\begin{tabular}{c|c|c|c|c}
-page & page & \multicolumn{2}{c|}{shown by the Reader} & with \textsf{alphalph} package and \\
-number & name & without & with & with \textsf{pageslts} package \\
- & & \multicolumn{2}{c|}{\textsf{alphalph} \&\ \textsf{pageslts}} & with \texttt{fnsymbolmult} option \\ \hline
-$-2$ & \texttt{LaTeX Error} & & \ensuremath {-\ } & \ensuremath {- \dagger } \\
-$-1$ & \texttt{LaTeX Error} & & \ensuremath {- *} & \ensuremath {- *} \\
- $0$ & (ignored by \LaTeX) & & 0 & 0 \\
- $1$ & \ensuremath {*} & * & \ensuremath {*} & \ensuremath {*} \\
- $2$ & \ensuremath {\dagger } & & & \ensuremath {\dagger } \\
- $3$ & \ensuremath {\ddagger } & & & \ensuremath {\ddagger } \\
- $4$ & \ensuremath {\mathsection } & & & \ensuremath {\mathsection } \\
- $5$ & \ensuremath {\mathparagraph } & & & \ensuremath {\mathparagraph } \\
- $6$ & \ensuremath {\delimiter "026B30D } & "026B30D & \ensuremath {**} & \ensuremath {**} \\
- $7$ & \ensuremath {**} & ** & & \ensuremath {\dagger \dagger } \\
- $8$ & \ensuremath {\dagger \dagger } & & & \ensuremath {\ddagger \ddagger } \\
- $9$ & \ensuremath {\ddagger \ddagger } & & & \ensuremath {\mathsection \mathsection } \\
-$10$ & \texttt{LaTeX Error} & & & \ensuremath {\mathparagraph \mathparagraph }\\
-$11$ & \texttt{LaTeX Error} & & \ensuremath {***} & \ensuremath {***} \\
-$12$ & \texttt{LaTeX Error} & & & \ensuremath {\dagger \dagger \dagger } \\
+\begin{tabular}{c|c|c|c}
+page & page & \multicolumn{2}{c|}{shown by the Reader} \\
+number & name & without & \multicolumn{1}{c|}{with} \\
+ & & \multicolumn{2}{c|}{\textsf{alphalph} \&\ \textsf{pageslts}}\\ \hline
+$-2$ & \texttt{LaTeX Error} & & \ensuremath {-\ }\\
+$-1$ & \texttt{LaTeX Error} & & \ensuremath {- *}\\
+ $0$ & (ignored by \LaTeX) & & 0 \\
+ $1$ & \ensuremath {*} & * & \ensuremath {*} \\
+ $2$ & \ensuremath {\dagger } & & \\
+ $3$ & \ensuremath {\ddagger } & & \\
+ $4$ & \ensuremath {\mathsection } & & \\
+ $5$ & \ensuremath {\mathparagraph } & & \\
+ $6$ & \ensuremath {\delimiter "026B30D } & "026B30D & \ensuremath {**} \\
+ $7$ & \ensuremath {**} & ** & \\
+ $8$ & \ensuremath {\dagger \dagger } & & \\
+ $9$ & \ensuremath {\ddagger \ddagger } & & \\
+$10$ & \texttt{LaTeX Error} & & \\
+$11$ & \texttt{LaTeX Error} & & \ensuremath {***}\\
+$12$ & \texttt{LaTeX Error} & & \\
\end{tabular}
\end{center}
@@ -1815,7 +1750,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -1868,7 +1803,7 @@ or with option just \texttt{pagecontinue}, or even just
\nolinebreak{with\textbf{out}} option \texttt{pagecontinue=false}).
This package remembered the (\arabic{pagesLTS.double.Roman}-1)\footnote{%
OK, here you have to compute this value for yourself, but\ %
-subtracting one should be managable for \TeX{}nicians.} pages already
+subtracting one should be manageable for \TeX{}nicians.} pages already
done in Roman output, and therefore continues with page
\textquotedblleft \thepage \textquotedblright .\\
If you want to start with \textquotedblleft I\textquotedblright\ all
@@ -1886,7 +1821,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -1957,7 +1892,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -2056,7 +1991,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -2126,7 +2061,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -2196,7 +2131,7 @@ i.\,e. counted continuously from the first page): \theCurrentPage \\
\noindent CurrentPageLocal (\verb|\theCurrentPageLocal|),
i.\,e. counted continuously from the first page of the
-current page numbering sheme): \theCurrentPageLocal \\
+current page numbering scheme): \theCurrentPageLocal \\
\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
@@ -2250,7 +2185,7 @@ a package with output \linebreak
%</example>
% \end{macrocode}
%
-% \bigskip
+% \pagebreak
%
% \StopEventually{}
%
@@ -2267,8 +2202,8 @@ a package with output \linebreak
% \end{macrocode}
%
% \begin{macrocode}
-\NeedsTeXFormat{LaTeX2e}[1994/06/01]
-\ProvidesPackage{pageslts}[2011/08/08 v1.2a
+\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\ProvidesPackage{pageslts}[2013/01/28 v1.2b
Refers to special pages' numbers/names (HMM)]
% \end{macrocode}
@@ -2330,21 +2265,28 @@ a package with output \linebreak
% (see subsection~\ref{ss:Downloads}):
%
% \begin{macrocode}
-\RequirePackage{atveryend}[2011/04/23]% v1.7
+\RequirePackage{atveryend}[2011/06/30]% v1.8
% \end{macrocode}
%
% For its |\EveryShipout| command we need the \xpackage{everyshi}
% package by \textsc{Martin Schr\"{o}der} (see subsection~\ref{ss:Downloads}):
%
% \begin{macrocode}
-\RequirePackage{everyshi}[2001/05/15]% v3.00
+\RequirePackage{everyshi}[2001/05/15]% v3.00
% \end{macrocode}
%
-% For the handling of the options we need the \xpackage{kvoptions}
+% For its |\LetLtxMacro| command we need the \xpackage{letltxmacro}
% package by \textsc{Heiko Oberdiek} (see subsection~\ref{ss:Downloads}):
%
% \begin{macrocode}
-\RequirePackage{kvoptions}[2010/02/22]% v3.7
+\RequirePackage{letltxmacro}[2010/09/02]% v1.4
+% \end{macrocode}
+%
+% For the handling of the options we need the \xpackage{kvoptions}
+% package also by \textsc{Heiko Oberdiek} (see subsection~\ref{ss:Downloads}):
+%
+% \begin{macrocode}
+\RequirePackage{kvoptions}[2011/06/30]% v3.11
% \end{macrocode}
%
% The \xpackage{undolabl} package of \textsc{H.-Martin M\"{u}nch} (i.\,e. myself),
@@ -2353,7 +2295,7 @@ a package with output \linebreak
% is used twice (or even more often).
%
% \begin{macrocode}
-\RequirePackage{undolabl}[2011/08/08]% v1.0j
+\RequirePackage{undolabl}[2012/01/01]% v1.0k
% \end{macrocode}
%
% We use the \xpackage{rerunfilecheck} package by \textsc{Heiko Oberdiek}
@@ -2389,7 +2331,7 @@ a package with output \linebreak
%
% 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)
% in modern documentation form, which are available from \CTAN{}
@@ -2397,7 +2339,7 @@ a package with output \linebreak
% A~note is placed here, and later it is checked whether a (very) old
% \xpackage{endfloat} package is in use. If it is, a warning or even
% an error message is given, depending on \xpackage{endfloat} version.
-% This assumes, that the old versions of endfloat at least gave
+% This assumes, that the old versions of \xpackage{endfloat} at least gave
% a version date, of course.
%
% \begin{macrocode}
@@ -2474,12 +2416,12 @@ a package with output \linebreak
% the \xpackage{alphalph} package allows to extend the
% numbering scheme (not only for pages). Because some users
% prefer aa, ab, ac, ad,\ldots\ and some aa, bb, cc, dd,\ldots,
-% both schemes can be choosen via the options.
+% both schemes can be chosen via the options.
% The \texttt{fnsymbol} page numbering scheme was restricted to values
% $>0$ and \nolinebreak{$<10$.}\ The \xpackage{alphalph} package allows
% to extend this page numbering scheme, too. Option \texttt{fnsymbolmult}
-% can be choosen with the \xpackage{pageslts} package.
-% If no extension is whished (or another extension is whished
+% can be chosen with the \xpackage{pageslts} package.
+% If no extension is wished (or another extension is wished
% and implemented manually), \xpackage{pageslts} can be called with
% options set to 0 (zero) and false: |alphMult=0|, |AlphMulti=0|,
% |fnsymbolmult=false|.
@@ -2556,6 +2498,11 @@ a package with output \linebreak
\setkeys{pagesLTS}{AlphMulti=0}
\fi
\else
+% \end{macrocode}
+%
+% \pagebreak
+%
+% \begin{macrocode}
\ifx\pagesLTS@AlphMulti\pagesLTS@zero%
\PackageWarningNoLine{pageslts}{%
Option AlphMulti=0 found:\MessageBreak%
@@ -2589,15 +2536,15 @@ a package with output \linebreak
%
% \begin{macrocode}
\ifx\pagesLTS@alphMult\pagesLTS@zero% \relax
-\else \RequirePackage{alphalph}[2010/04/18]% v2.3
+\else \RequirePackage{alphalph}[2011/05/13]% v2.4
\fi
\ifx\pagesLTS@AlphMulti\pagesLTS@zero% \relax
-\else \RequirePackage{alphalph}[2010/04/18]% v2.3
+\else \RequirePackage{alphalph}[2011/05/13]% v2.4
\fi
\ifpagesLTS@fnsymbolmult%
-\RequirePackage{alphalph}[2010/04/18]% v2.3
+\RequirePackage{alphalph}[2011/05/13]% v2.4
\fi
% \end{macrocode}
@@ -2726,6 +2673,7 @@ a package with output \linebreak
\def\pagesLTS@Alph{Alph}
\def\pagesLTS@AlphAlph{0}
\def\pagesLTS@hyper{0}
+\def\pagesLTS@nameref{0}
\def\pagesLTS@rerun{0}
\def\pagesLTS@eso{0}
\def\pagesLTS@esov{0}
@@ -2771,7 +2719,7 @@ a package with output \linebreak
% \indent \qquad To keep the original meaning of |\pagenumbering|:
%
% \begin{macrocode}
-\let\OrigPagenumbering\pagenumbering
+\LetLtxMacro{\OrigPagenumbering}{\pagenumbering}
% \end{macrocode}
% \end{macro}
@@ -2851,6 +2799,8 @@ a package with output \linebreak
% \end{macrocode}
% \end{macro}
%
+% \pagebreak
+%
% \begin{macro}{\XRoman}
% |\XRoman| does the same for uppercase |\Roman| numbers.
% |-\uppercase{\romannumeral\number-\arabic{#1}}| cannot be used,
@@ -2863,8 +2813,6 @@ a package with output \linebreak
% and use |\@slowromancap|, which is a fully expandable macro,
% to do the trick for this:
%
-% \pagebreak
-%
% \noindent \textquotedblleft
% \begin{quote}
%\begin{verbatim}
@@ -3181,7 +3129,7 @@ a package with output \linebreak
% On the one hand, |\pagenumbering| could be called \textit{before}
% |\begin{document}| (where the current page should not be
% greater than one), and on the other hand we go one page back to
-% aim all references to that page. Obviousely at the first page
+% aim all references to that page. Obviously at the first page
% there is no going backward.
%
% \begin{macrocode}
@@ -3190,7 +3138,7 @@ a package with output \linebreak
\addtocounter{pagesLTS.current.local.\pagesLTS@pnc}{-1}%
% \end{macrocode}
%
-% For the case that the page numbering scheme is or will be splitted,
+% For the case that the page numbering scheme is or will be split,
% like e.\,g. the Roman one in the |pageslts-example.tex|, a counter
% like
% |pagesLTS.Roman.1.local.count|
@@ -3389,7 +3337,7 @@ a package with output \linebreak
%
% \begin{macrocode}
\else%
- %% before the first page has shiped out
+ %% before the first page has shipped out
% \end{macrocode}
%
% The current page numbering scheme is defined by the
@@ -3417,7 +3365,7 @@ a package with output \linebreak
% \end{macrocode}
%
% If a page numbering scheme is used, which is not known by
-% \LaTeX, an error might arise here - but maybe without error message.\\
+% \LaTeX , an error might arise here - but maybe without error message.\\
%
% If page numbering scheme |\alph|, |\Alph|, or |\fnsymbol| is used,
% \xpackage{pageslts} extends the page numbers according to
@@ -3452,6 +3400,8 @@ a package with output \linebreak
\fi%
% \end{macrocode}
%
+% \pagebreak
+%
% We do not need the temporary definitions any more.
%
% \begin{macrocode}
@@ -3462,8 +3412,6 @@ a package with output \linebreak
% \end{macrocode}
% \end{macro}
%
-% \pagebreak
-%
% \begin{macro}{\lastpageref*}
% If \xpackage{hyperref} is used, but (some) references to some last page shall
% not be hyperlinked, a command |\lastpageref*| (analogous to |\pageref*|) is
@@ -3599,8 +3547,6 @@ a package with output \linebreak
% \end{macrocode}
% \end{macro}
%
-% \pagebreak
-%
% \begin{macro}{\l@stpagerefend}
% The unstarred form (i.\,e. with hyperlinks, if \xpackage{hyperref} is loaded,
% otherwise without hyperlinks):
@@ -3700,6 +3646,11 @@ a package with output \linebreak
\else \pageref{VeryLastPage}%
\fi%
\else%
+% \end{macrocode}
+%
+% \pagebreak
+%
+% \begin{macrocode}
\def\pagesLTS@tmpB{LastPages}%
\ifx\pagesLTS@tmpA\pagesLTS@tmpB%
\ifx\pagesLTS@hyper\pagesLTS@one%
@@ -3887,7 +3838,7 @@ a package with output \linebreak
% |\AtBeginDocument| it is checked whether the \xpackage{hyperref} package is loaded,\\
% |\@ifpackageloaded{hyperref}{\gdef\pagesLTS@hyper{1}}{}|.\\
% |\@ifpackageloaded| cannot be used later than |\AtBeginDocument|.\\
-% Sebastian Bank found a~case, when this check is not sufficient. Using a class with\\
+% \textsc{Sebastian Bank} found a~case, when this check is not sufficient. Using a class with\\
% |\usepackage{lastpage}|\\
% |\AtBeginDocument{\usepackage{hyperref}}|\\
% leads to failed detection of the \xpackage{hyperref} package, because
@@ -3929,13 +3880,15 @@ a package with output \linebreak
% the \xfile{.log}-file, but into the document. Therefore we just make
% a note to give the error message later (|\AtEndDocument|). At that
% time unfortunately most of the document has already been compiled
-% (or did not compile due to this error), but I do not konw how to
+% (or did not compile due to this error), but I do not know how to
% change that.
%
% \begin{macrocode}
\global\def\pncmissing{1}%
% \end{macrocode}
%
+% \pagebreak
+%
% We save the current value of the page,
%
% \begin{macrocode}
@@ -3968,7 +3921,7 @@ a package with output \linebreak
% \end{macrocode}
%
% This resets the page to one (if option |pagecontinue=false|
-% was choosen), but because we do not start a new page numbering
+% was chosen), but because we do not start a new page numbering
% scheme here but manifest a page numbering scheme, which
% the user forgot to define, the page number should not have
% been reset to one. (This is the first page, but maybe the user
@@ -3995,7 +3948,7 @@ a package with output \linebreak
% and |\pagesLTS@esov| is set to the (real) number (not the name) of
% this page numbering scheme, |\arabic{pagesLTS.fnsymbol.cont}|.\\
% When no more pages with \xpackage{fnsymbol} page
-% \textquotedblleft number\textquotedblright\ are shiped out,
+% \textquotedblleft number\textquotedblright\ are shipped out,
% the value remains fixed and we have our reference to the last page
% of the \xpackage{fnsymbol} page numbering range.
% (At least we will have that reference after some more work,
@@ -4010,7 +3963,7 @@ a package with output \linebreak
% When another page numbering scheme was reused (in the example file
% \xpackage{Roman}), we also need to apply\\
% |\@pagesLTS@Prelim@EveryShipout|,
-% because otherwise we would get multiply definded labels.
+% because otherwise we would get multiply defined labels.
%
% \begin{macrocode}
\else%
@@ -4021,7 +3974,7 @@ a package with output \linebreak
% \end{macrocode}
%
% The |CurrentPage| as well as the |pagesLTS.current.local.\pagesLTS@pnc|
-% are advanced by one (because one page was shiped out and the next is
+% are advanced by one (because one page was shipped out and the next is
% about to begin).
%
% \begin{macrocode}
@@ -4156,8 +4109,18 @@ a package with output \linebreak
% \begin{macrocode}
\if@filesw%
\ifnum \value{pagesLTS.pnc.\pagesLTS@pnc}<2%
- \immediate\write\@auxout{\string
- \newlabel{#1}{{}{#2}}}%
+% \end{macrocode}
+%
+% When the \xpackage{nameref} package is used, |\newlabel| needs five instead of two arguments:
+%
+% \begin{macrocode}
+ \ifx\pagesLTS@nameref\pagesLTS@one%
+ \immediate\write\@auxout{\string
+ \newlabel{#1}{{}{#2}{}{}{}}}%
+ \else%
+ \immediate\write\@auxout{\string
+ \newlabel{#1}{{}{#2}}}%
+ \fi%
\else%
\edef\pagesLTStmpA{#1}%
\edef\pagesLTStmpB{pagesLTS.\pagesLTS@pnc.local}%
@@ -4175,8 +4138,13 @@ a package with output \linebreak
\undonewlabel{#1}}%
\fi%
\fi%
- \immediate\write\@auxout{\string
- \newlabel{#1}{{}{#2}}}%
+ \ifx\pagesLTS@nameref\pagesLTS@one%
+ \immediate\write\@auxout{\string
+ \newlabel{#1}{{}{#2}{}{}{}}}%
+ \else%
+ \immediate\write\@auxout{\string
+ \newlabel{#1}{{}{#2}}}%
+ \fi%
\fi%
\fi%
\fi%
@@ -4267,9 +4235,9 @@ a package with output \linebreak
% package is loaded, whether it is newer than March 1992 (i.\,e. at least
% April 1992 v2.0), in which case it is compatible with this
% \xpackage{pageslts} package.\\
-% If it is even newer than 1995/10/10, it is the recent version
+% If it is even newer than 2011/12/24, it is the recent version
% (as of the time of last revision of this documentation:
-% 1995/10/11 v2.4i).
+% 2011/12/25 v2.5d).
%
% \begin{macrocode}
\AtBeginDocument{%
@@ -4278,11 +4246,11 @@ a package with output \linebreak
\fi%
\@ifpackageloaded{endfloat}%
{\@ifpackagelater{endfloat}{1992/03/31}% April 1992 v2.0
- {\@ifpackagelater{endfloat}{1995/10/10}{% 1995/10/11 v2.4i
+ {\@ifpackagelater{endfloat}{2011/12/24}{% 2011/12/25 v2.5d
\relax}%
% \end{macrocode}
%
-% If it is compatibel, but not the recent version, a warning is given:
+% If it is compatible, but not the recent version, a warning is given:
%
% \begin{macrocode}
{\PackageWarningNoLine{pageslts}{Old endfloat package detected:\MessageBreak%
@@ -4301,10 +4269,10 @@ a package with output \linebreak
{\PackageError{pageslts}{Incompatible, very old endfloat package detected.}%
{The very old version 2.0 (and earlier) of the\MessageBreak%
endfloat package actually redefined the \ enddocument,\MessageBreak%
- and so interferred drastically with the LaTeX2e commands\MessageBreak%
+ and so interfered drastically with the LaTeX2e commands\MessageBreak%
which make use of \ AtEndDocument.\MessageBreak%
Newer versions of the endfloat package exists\MessageBreak%
- (at least: v2.4i as of 1995/10/11)\MessageBreak%
+ (at least: v2.5d as of 2011/12/25)\MessageBreak%
in modern documentation form,\MessageBreak%
which should be available from CTAN.\MessageBreak%
Please update your endfloat package\MessageBreak%
@@ -4315,6 +4283,8 @@ a package with output \linebreak
}{}%
% \end{macrocode}
%
+% \pagebreak
+%
% It is checked whether the old \xpackage{lastpage} package was loaded.\\
% (If it was loaded indeed, the |\lastpage@putlabel| is
% \textquotedblleft killed\textquotedblright ,
@@ -4323,7 +4293,7 @@ a package with output \linebreak
% \begin{macrocode}
\@ifpackageloaded{lastpage}%
{\@ifpackagelater{lastpage}{2010/07/28}% 2010/07/29 v1.2a
- {\@ifpackagelater{lastpage}{2011/08/07}% 2011/08/08 v1.2i
+ {\@ifpackagelater{lastpage}{2013/01/27}% 2013/01/28 v1.2l
{\PackageWarning{pageslts}{lastpage package detected.\MessageBreak%
With pageslts package in use, lastpage has no function.\MessageBreak%
Just remove the lastpage package from your document.\MessageBreak%
@@ -4372,11 +4342,13 @@ a package with output \linebreak
}
% \end{macrocode}
%
-% Further it is checked whether the \xpackage{hyperref} package is loaded.
+% \pagebreak
+%
+% Further it is checked whether the \xpackage{hyperref} package is loaded:
%
% \begin{macrocode}
\@ifpackageloaded{hyperref}%
- {\global\def\pagesLTS@hyper{1}%
+ {\gdef\pagesLTS@hyper{1}%
% \end{macrocode}
%
% and whether the \xpackage{pdfpages} package is loaded:
@@ -4387,7 +4359,7 @@ a package with output \linebreak
Using hyperref with pdfpages can cause problems. See\MessageBreak%
ftp://ftp.ctan.org/tex-archive/\MessageBreak%
macros/latex/contrib/pax/\MessageBreak%
- for project pax (PDFAnnotExtractor).%
+ for project pax (PDFAnnotExtractor)%
}%
}{% \relax
}%
@@ -4399,7 +4371,7 @@ a package with output \linebreak
% \begin{macrocode}
\@ifpackageloaded{undolabl}%
{\@ifpackagelater{undolabl}{2010/07/14}% 2010/07/15 v1.0d
- {\@ifpackagelater{undolabl}{2011/08/07}% 2011/08/08 v1.0j
+ {\@ifpackagelater{undolabl}{2011/12/31}% 2012/01/01 v1.0k
{% recent version as of the time of last revision of this package: OK
}{% old, but not obsolete version
\PackageWarningNoLine{pageslts}{Old version of undolabl package used.\MessageBreak%
@@ -4423,11 +4395,13 @@ a package with output \linebreak
}
% \end{macrocode}
%
+% \pagebreak
+%
% Additionally a version check of the available \xpackage{hyperref}
% package is performed and if need be a warning is issued:
%
% \begin{macrocode}
- \@ifpackagelater{hyperref}{2011/04/16}{% 2011/04/17 v6.82g
+ \@ifpackagelater{hyperref}{2012/11/05}{% 2012/11/06 v6.83m
\relax}{%
\PackageWarningNoLine{pageslts}{Old hyperref package detected:\MessageBreak%
There is a newer version of the\MessageBreak%
@@ -4436,14 +4410,12 @@ a package with output \linebreak
}%
}%
%% pageslts supports the use of the package hyperref by
- %% Heiko Oberdiek (hyperref version 2011/04/17 v6.82g).
+ %% Heiko Oberdiek (hyperref version 2012/11/06 v6.83m).
%% pageslts may work with earlier versions of this packages,
%% but this was not tested.
}%
% \end{macrocode}
%
-% \pagebreak
-%
% If no \xpackage{hyperref} package in use is detected, a warning is issued, too:
%
% \begin{macrocode}
@@ -4453,6 +4425,18 @@ a package with output \linebreak
}%
% \end{macrocode}
%
+% If the \xpackage{nameref} package has been loaded the check must be done here
+% and the result remembered, because it cannot be checked after |\AtBeginDocument|.
+% The check is needed because |\xpackage{nameref}| uses |\newlabel| with five
+% instead of two arguments.
+%
+% \begin{macrocode}
+ \@ifpackageloaded{nameref}%
+ {\gdef\pagesLTS@nameref{1}%
+ }{% relax, \pagesLTS@nameref stays 0
+ }%
+% \end{macrocode}
+%
% If the \xpackage{showkeys} package has been loaded in \texttt{draft} mode,
% warnings about missing label boxes will be issued (see p.~\pageref{pagesLTSputlabel}),
% but because it cannot be checked for \xpackage{showkeys} after |\AtBeginDocument|,
@@ -4488,7 +4472,7 @@ a package with output \linebreak
% \end{macrocode}
%
% After this we issue a |\clearpage| to put out all floats,
-% which are still floatig, remember the page number (if |fnsymbol|),
+% which are still floating, remember the page number (if |fnsymbol|),
% and after that we place the \texttt{LastPage} label.
%
% \begin{macrocode}
@@ -4607,7 +4591,7 @@ a package with output \linebreak
\fi%
\addtocounter{page}{+1}%
\addtocounter{CurrentPage}{-1}%
- \def\pagesLTS@tmpB{\arabic{CurrentPage}}%
+ \edef\pagesLTS@tmpB{\arabic{CurrentPage}}%
\if@filesw%
\immediate\write\@auxout{\string
\setcounter{pagesLTS.pagenr}{\pagesLTS@tmpB}}%
@@ -4615,6 +4599,8 @@ a package with output \linebreak
\addtocounter{CurrentPage}{+1}%
% \end{macrocode}
%
+% \pagebreak
+%
% The \texttt{VeryLastPage} label is set here, and when
% |\lastpageref{VeryLastPage}| instead of |\lastpageref{LastPage}| is used,
% it should really point to the last page.
@@ -4636,6 +4622,13 @@ a package with output \linebreak
\message{^^J%
AED: pageslts setting LastPages via AfterLastShipout ^^J}%
\pagesLTS@putlabels%
+ \typeout{^^J}%
+ \ifodd\pagesLTS@tmpB%
+ \@PackageInfoNoLine{pageslts}{Total number of pages is odd}%
+ \else%
+ \@PackageInfoNoLine{pageslts}{Total number of pages is even}%
+ \fi%
+ \typeout{^^J}%
% \end{macrocode}
%
% We do not need the temporary definitions any more.
@@ -4648,16 +4641,14 @@ a package with output \linebreak
% \end{macrocode}
% \end{macro}
%
-% \pagebreak
-%
% \begin{macro}{\AtEndAfterFileList}
% \indent |\AtEndAfterFileList{...}| is even later:
% \begin{quote}
% \textquotedblleft After the .aux file closing and reading \LaTeX{} prints the
% file list if requested by |\listfiles|. Then this hook is executed.\textquotedblright
% \end{quote}
-% (\xpackage{atveryend} package of \textsc{Heiko Oberdiek}, v1.7 as of 2011/04/23)\\
-% Here it is used for a rerun hint.\\
+% (\xpackage{atveryend} package of \textsc{Heiko Oberdiek}, v1.7 as of 2011/04/23,
+% newer version available.) Here it is used for a rerun hint.\\
% For example if the page numbering scheme of the last page of the
% \textsf{pageslts-example.tex} file is changed to |fnsymbol| and two runs
% of \pdfLaTeX{} are done, \pdfLaTeX{} will be happy and will not complain
@@ -4669,7 +4660,7 @@ a package with output \linebreak
\ifx\pagesLTS@rerun\pagesLTS@one%
\PackageWarningNoLine{pageslts}{%
Label(s) may have changed.\MessageBreak%
- Rerun to get cross-references right.\MessageBreak%
+ Rerun to get cross-references right%
}%
\fi%
}
@@ -4693,35 +4684,36 @@ a package with output \linebreak
% \DescribeMacro{pageslts.dtx}
% For unpacking the |pageslts.dtx| file and constructing the documentation it is required:
% \begin{description}
-% \item[-] \TeX Format \LaTeXe, 1994/06/01, v2$\varepsilon $: \CTAN{}
+% \item[-] \TeX Format \LaTeXe, 2011/06/27, v2$\varepsilon $: \CTAN{}
%
% \item[-] document class \textsf{ltxdoc}, 2007/11/11, v2.0u, \CTAN{macros/latex/base/ltxdoc.dtx}
%
-% \item[-] package \xpackage{holtxdoc}, 2011/02/04, v0.21, \CTAN{macros/latex/contrib/oberdiek/holtxdoc.dtx}
+% \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, \CTAN{macros/latex/contrib/oberdiek/hypdoc.dtx}
+% \item[-] package \xpackage{hypdoc}, 2011/08/19, v1.11, \CTAN{macros/latex/contrib/oberdiek/hypdoc.dtx}
%
% \item[-] package \xpackage{geometry}, 2010/09/12, v5.6, \CTAN{macros/latex/contrib/geometry/geometry.dtx}
%
-% \item[-] package \xpackage{ulem}, 2011/03/18, (no version number given),
-% \CTAN{macros/latex/contrib/ulem/}
+% \item[-] package \xpackage{ulem}, 2012/05/18, no version number given, \CTAN{macros/latex/contrib/ulem/}
% \end{description}
%
% \DescribeMacro{pageslts.sty}
% The |pageslts.sty| for \LaTeXe\ (i.\,e. all documents using
% the \xpackage{pageslts} package) requires:
% \begin{description}
-% \item[-] \TeX Format \LaTeXe, 1994/06/01, v2$\varepsilon $, \CTAN{}
+% \item[-] \TeX Format \LaTeXe, 2011/06/27, v2$\varepsilon $, \CTAN{}
%
-% \item[-] package \xpackage{atveryend}, 2010/03/24, v1.5, \CTAN{macros/latex/contrib/oberdiek/atveryend.dtx}
+% \item[-] package \xpackage{atveryend}, 2011/06/30, v1.8, \CTAN{macros/latex/contrib/oberdiek/atveryend.dtx}
%
% \item[-] package \xpackage{everyshi}, 2001/05/15, v3.00, \CTAN{macros/latex/contrib/ms/everyshi.dtx}
%
-% \item[-] package \xpackage{kvoptions}, 2010/02/22, v3.7, \CTAN{macros/latex/contrib/oberdiek/kvoptions.dtx}
+% \item[-] package \xpackage{kvoptions}, 2011/06/30, v3.11, \CTAN{macros/latex/contrib/oberdiek/kvoptions.dtx}
+%
+% \item[-] package \xpackage{letltxmacro}, 2010/09/02, v1.4, \CTAN{macros/latex/contrib/oberdiek/letltxmacro.dtx}
%
% \item[-] package \xpackage{rerunfilecheck}, 2011/04/15, v1.7, \CTAN{macros/latex/contrib/oberdiek/rerunfilecheck.dtx}
%
-% \item[-] package \xpackage{undolabl}, 2011/08/08, v1.0j, \CTAN{macros/latex/contrib/undolabl/undolabl.dtx}\\
+% \item[-] package \xpackage{undolabl}, 2012/01/01, v1.0k, \CTAN{macros/latex/contrib/undolabl/undolabl.dtx}\\
% \end{description}
%
% \DescribeMacro{pageslts-example.tex}
@@ -4730,15 +4722,15 @@ a package with output \linebreak
% \begin{description}
% \item[-] class \textsf{article}, 2007/10/19, v1.4h, from \textsf{classes.dtx}: \CTAN{macros/latex/base/classes.dtx}
%
-% \item[-] package \xpackage{alphalph}, 2010/04/18, v2.3, \CTAN{macros/latex/contrib/oberdiek/alphalph.dtx}
+% \item[-] package \xpackage{alphalph}, 2011/05/13, v2.4, \CTAN{macros/latex/contrib/oberdiek/alphalph.dtx}
%
% \item[-] package \xpackage{lipsum}, 2011/04/14, v1.2, \CTAN{macros/latex/contrib/lipsum/lipsum.dtx}
%
% \item[-] package \xpackage{showkeys}, 2007/08/07, v3.15, \CTAN{macros/latex/required/tools/showkeys.dtx}
%
-% \item[-] package \xpackage{hyperref}, 2011/04/17, v6.82g, \CTAN{macros/latex/contrib/hyperref.zip}
+% \item[-] package \xpackage{hyperref}, 2012/11/06, v6.83m, \CTAN{macros/latex/contrib/hyperref.zip}
%
-% \item[-] package \xpackage{pageslts}, 2011/08/08, v1.2a, \CTAN{macros/latex/contrib/pageslts/pageslts.dtx}\\
+% \item[-] package \xpackage{pageslts}, 2013/01/28, v1.2b, \CTAN{macros/latex/contrib/pageslts/pageslts.dtx}\\
% (Well, it is the example file for this package, and because you are reading the
% documentation for the \xpackage{pageslts} package, it can be assumed that you already
% have some version of it~-- is it the current one?)
@@ -4750,7 +4742,7 @@ a package with output \linebreak
% The \xpackage{papermas} package is not required, but requires itself the
% the \xpackage{pageslts} package and can be considered as kind of add-on:
% \begin{description}
-% \item[-] package \xpackage{papermas}, 2011/08/08, v1.0g, \CTAN{macros/latex/contrib/papermas/papermas.dtx}
+% \item[-] package \xpackage{papermas}, 2011/08/22, v1.0h, \CTAN{macros/latex/contrib/papermas/papermas.dtx}
% \end{description}
%
% \DescribeMacro{endfloat}
@@ -4759,7 +4751,7 @@ a package with output \linebreak
% 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, \CTAN{macros/latex/contrib/endfloat/endfloat.dtx}
+% \item[-] package \xpackage{endfloat}, 2011/12/25, v2.5d, \CTAN{macros/latex/contrib/endfloat/endfloat.dtx}
% \end{description}
%
% \DescribeMacro{prelim2e}
@@ -4788,7 +4780,7 @@ a package with output \linebreak
% \DescribeMacro{zref}
% As possible alternatives in section \ref{sec:Alternatives} there are listed
% \begin{description}
-% \item[-] package \xpackage{lastpage}, 2011/02/01, v1.2g , \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}
+% \item[-] package \xpackage{lastpage}, 2013/01/28, v1.2l, \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}
%
% \item[-] package \xpackage{totpages}, 2005/09/19, v2.00, \CTAN{macros/latex/contrib/totpages/totpages.dtx}
%
@@ -4800,19 +4792,20 @@ a package with output \linebreak
%
% \item[-] package \xpackage{count1to}, 2009/05/24, v2.1, \CTAN{macros/latex/contrib/ms/count1to.dtx}
%
-% \item[-] package \xpackage{zref}, 2011/03/18, v2.21, \CTAN{macros/latex/contrib/oberdiek/zref.dtx}
+% \item[-] package \xpackage{zref}, 2012/04/04, v2.24, \CTAN{macros/latex/contrib/oberdiek/zref.dtx}
% \end{description}
%
% \DescribeMacro{Oberdiek}
% \DescribeMacro{alphalph}
% \DescribeMacro{atveryend}
% \DescribeMacro{holtxdoc}
+% \DescribeMacro{letltxmacro}
% \DescribeMacro{kvoptions}
% \DescribeMacro{rerunfilecheck}
% \DescribeMacro{zref}
% All packages of \textsc{Heiko Oberdiek's} bundle `oberdiek'
-% (especially \xpackage{holtxdoc}, \xpackage{atveryend},
-% \xpackage{kvoptions}, \xpackage{alphalph}, \xpackage{zref}, \xpackage{rerunfilecheck})
+% (especially \xpackage{alphalph}, \xpackage{atveryend}, \xpackage{holtxdoc}, \xpackage{letltxmacro},
+% \xpackage{kvoptions}, \xpackage{rerunfilecheck}, and \xpackage{zref})
% are also available in a TDS compliant ZIP archive:\\
% \CTAN{install/macros/latex/contrib/oberdiek.tds.zip}.\\
% It is probably best to download and use this, because the packages in there
@@ -4845,8 +4838,6 @@ a package with output \linebreak
% \begin{tabular}{ll}
% pageslts.ins & The installation file.\\
% pageslts.drv & The driver to generate the documentation.\\
-% ltxdoc.cfg & The \LaTeX\ documentation configuration file,%
-% \ also for generating the documentation.\\
% pageslts.sty & The \xext{sty}le file.\\
% pageslts-example.tex & The example file.%
% \end{tabular}
@@ -5000,7 +4991,7 @@ a package with output \linebreak
%
% I (H.-Martin M\"{u}nch) would like to thank \textsc{Jeffrey P. Goldberg}
% for inventing the \xpackage{lastpage} package. This package first started
-% as a revision of the \xpackage{lastpage} package, but it became obviouse
+% as a revision of the \xpackage{lastpage} package, but it became obvious
% that a replacement was needed to accomplish what this package does.
% Further I would like to thank \textsc{Heiko Oberdiek} for providing the
% |\erroralphalph| command as well as a~lot~(!) of useful packages
@@ -5102,7 +5093,7 @@ a package with output \linebreak
% |\pagesLTS@putlabelhyper|) from the \xpackage{hyperref} package \textbf{as comment}~-
% what is the meaning of that code?
% \item In the documentation added the explanation of the occurence of multiply definitions
-% of the |LastPage| label whith \xpackage{lastpage}, \xpackage{pagesLTS}, \xpackage{hyperref}
+% of the |LastPage| label with \xpackage{lastpage}, \xpackage{pagesLTS}, \xpackage{hyperref}
% package (in that order).
% \item Corrected the given location of the \xpackage{pagesLTS.tds.zip} file at CTAN.
% \item Updated references to other packages: \xpackage{hyperref} and \xpackage{undolabl}.
@@ -5131,7 +5122,7 @@ a package with output \linebreak
% \begin{Version}{2010/08/12 v1.1g \xpackage{pagesLTS}}
% \item Now the rerun warning is given \textit{after} e.\,g. the |\listfiles|,
% increasing the chance of the user to read it (trick found in
-% Harald Harders' \xpackage{fnbreak} package, thanks!).
+% \textsc{Harald Harders'} \xpackage{fnbreak} package, thanks!).
% \end{Version}
% \begin{Version}{2010/08/23 v1.1h \xpackage{pagesLTS}}
% \item Renamed |\XXRoman| to |\XRoman|.
@@ -5236,11 +5227,12 @@ a package with output \linebreak
% \item There is a new version of the \xpackage{ulem} package: 2011/03/18
% (no version number given).
% \item There is a new version of the \xpackage{lipsum} package: 2011/04/14,~v1.2.
-% \item There is a new version of the used \xpackage{hyperref} package: 2011/04/17,~v6.82g.
-% \item |\AtEndAfterFileList| from the new version of the \xpackage{atveryend} package,
+% \item There \sout{\ is}\uwave{\ was}\ a new version of the used \xpackage{hyperref} package: 2011/04/17,~v6.82g.
+% \item |\AtEndAfterFileList| from the \uwave{then} new version of the \xpackage{atveryend} package,
% 2011/04/23, v1.7, by \textsc{Heiko Oberdiek}, is now used for the rerun hint
% instead of appending to |\@dofilelist|.
-% \item The recent version of the Adobe Reader is X~(10.1.0) (instead of 10.0.1).
+% \item The recent version of the Adobe Reader\ \sout{is}\uwave{was}\ 10.1.0
+% (instead of 10.0.1).
% \item Now defining $2$: |\def\pagesLTS@two{2}| (for example for the
% \xpackage{thumbs} package) and $3$: |\def\pagesLTS@three{3}|.
% \item Replaced |\texttt{\textbackslash|\ldots|}| by
@@ -5253,6 +5245,24 @@ a package with output \linebreak
% \item There is a new version of the \xpackage{lastpage} package: 2011/08/08,~v1.2i.
% \item A lot of details (also in the documentation).
% \end{Version}
+% \begin{Version}{2013/01/28 v1.2b}
+% \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{pageslts} works with earlier versions of \LaTeX{}.
+% (It probably does, but there is no guarantee.)
+% \item Replaced |\let| by |\LetLtxMacro|.
+% \item New versions of Adobe Reader and of the packages
+% \xpackage{alphalph}, \xpackage{atveryend}, \xpackage{endfloat}, \xpackage{holtxdoc},
+% \xpackage{hypdoc}, \xpackage{hyperref}, \xpackage{kvoptions}, \xpackage{lastpage},
+% \xpackage{papermas}, \xpackage{ulem}, \xpackage{undolabl}, 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 a lot of details, also in the documentation.
+% \end{Version}
% \end{History}
%
% \bigskip
@@ -5266,7 +5276,7 @@ a package with output \linebreak
% Note: \textsf{Y} is not missing in the following index, but no command beginning
% with this letter has been used in this \xpackage{pageslts} package.
%
-% \pagebreak
+% \bigskip
%
% \PrintIndex
%