summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-24 00:05:44 +0000
committerKarl Berry <karl@freefriends.org>2010-09-24 00:05:44 +0000
commitcc41c12a713449e038a621dfc5df9f19d58f92dd (patch)
treeb141a72b054e6cc53727a19e847727af4f522c80 /Master/texmf-dist/doc
parenta1da3507edbdaf0642d9fd6e2ca85303788dd75b (diff)
pagesLTS new version, author capitalization
git-svn-id: svn://tug.org/texlive/trunk@19864 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/pagesLTS/README225
-rw-r--r--Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdfbin0 -> 467051 bytes
-rw-r--r--Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex1008
-rw-r--r--Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdfbin0 -> 1013589 bytes
4 files changed, 1233 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pagesLTS/README b/Master/texmf-dist/doc/latex/pagesLTS/README
new file mode 100644
index 00000000000..9b55bb8c193
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pagesLTS/README
@@ -0,0 +1,225 @@
+README for pagesLTS package, 2010/09/22, v1.1k
+
+
+TABLE OF CONTENTS
+=================
+
+1 Introduction
+2 Download
+3 Installation
+4 Additional Packages
+5 Package Compatibility
+6 Author/Maintainer
+7 Bug Reports
+8 Known Problems
+
+
+1 INTRODUCTION
+==============
+
+This package puts the labels LastPage (\AtEndDocument) and
+VeryLastPage (\AfterLastShipout) into the .aux file,
+allowing the user to refer to the (very) 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, these
+references do not give the total number of pages. For this
+case the label LastPages is introduced. Additionally, at the
+last page of each page numbering scheme a label
+pagesLTS.<numbering scheme> is placed, where
+<numbering scheme> is e. g. arabic, roman, Roman, alph, or
+Alph. For fnsymbol please use
+\lastpageref{pagesLTS.fnsymbol} instead of
+\pageref{pagesLTS.fnsymbol}. When the same numbering scheme
+is used twice, the page numbers are either reset to one or
+continued automatically, depending on the option given when
+the package is called. The command \theCurrentPage prints
+the current total/absolute page number - in contrast to
+\thepage, which gives only the page name in the current page
+numbering scheme. \theCurrentPageLocal gives the current
+number of pages in the current page numbering scheme.
+\thepage and \theCurrentPageLocal are different e. g. when
+\addtocounter{pageg}{...} or \setcounter{page}{...} were
+used.
+At the first page of the document a label pagesLTS.0 is
+created. This label can be referred to, too. Further labels
+are provided for special cases.
+The alphalph package is supported, i. e. page numbers alph
+or Alph > 26 and fnyambol > 9 can be used (with according
+options set). Even zero and negative page numbers can be
+used with arabic, alph, Alph, roman, Roman, and fnsymbol
+page numbering (with alphalph package and according
+options).
+\pageref* and \pageref*, for using hyperref but suppressing
+links, are supported.
+
+
+2 DOWNLOAD
+==========
+
+`pagesLTS' is available on CTAN:
+ CTAN:macros/latex/contrib/pagesLTS/
+
+Also a ZIP file is provided that contains the files, already
+sorted in a TDS tree (should become available on CTAN soon):
+ CTAN:install/macros/latex/contrib/pagesLTS.tds.zip
+
+`CTAN:' means one of the `Comprehensive TeX Archive Network'
+nodes or one of its mirrors. This is explained in
+ http://www.tex.ac.uk/cgi-bin/texfaq2html?label=archives
+
+The CTAN stuff will be mirrored automatically from the
+ftp server, so
+ ftp://ftp.tug.org/pub/tex/pagesLTS/
+corresponds to
+ CTAN:macros/latex/contrib/pagesLTS/
+
+
+3 INSTALLATION
+==============
+
+Installation with ZIP file in TDS format
+----------------------------------------
+The ZIP file `pagesLTS.tds.zip' contains the files sorted
+in a TDS tree. Thus you can directly unpack the ZIP file
+inside a TDS tree.
+ (See CTAN:tds.zip for an explanation of TDS.)
+Example:
+ cd /...somewhere.../texmf
+ unzip /...downloadpath.../pagesLTS.tds.zip
+Do not forget to refresh the file name database of this
+TDS tree.
+Example:
+ texhash /...somewhere.../texmf
+
+Manual installation
+-------------------
+a) Download the pagesLTS files from CTAN or the TUG server.
+ If necessary, unpack them.
+b) If directory `beta' exists, replace the files by the
+ counterparts in this directory, if you want to use the
+ latest versions.
+c) Generate the package and driver files:
+ tex pagesLTS.ins
+d) Install the files `*.sty' and `*.cfg' in your TDS tree:
+ cp *.sty *.cfg TDS:tex/latex/pagesLTS/
+ Replace `TDS:' by the prefix of your TDS tree
+ (texmf directory).
+e) Copy the documentation files to
+ "TDS:doc/latex/pagesLTS/":
+ README, pagesLTS.pdf,pagesLTS-example.tex,
+ pagesLTS-example.pdf.
+f) Update the databases if necessary, e. g. for teTeX:
+ mktexlsr .../texmf
+
+
+4 ADDITIONAL PACKAGES
+=====================
+
+Depending on the driver and option settings, pagesLTS loads
+other packages:
+
+For unpacking the pagesLTS.dtx file and constructing the
+documentation it is required:
+- TeXFormat LaTeX2e, 1994/06/01, v2e
+- document class ltxdoc, 2007/11/11, v2.0u,
+ CTAN:macros/latex/base/ltxdoc.dtx
+- package holtxdoc, 2010/04/24, v0.19,
+ CTAN:macros/latex/contrib/oberdiek/holtxdoc.dtx
+- package hypdoc, 2010/03/26, v1.9,
+ CTAN:macros/latex/contrib/oberdiek/hypdoc.dtx
+- package geometry, 2010/07/13, v5.5,
+ CTAN:macros/latex/contrib/geometry/geometry.dtx
+
+The pagesLTS.sty for LATEX2e (i. e. all documents using the
+ pagesLTS package) requires:
+- TeXFormat LaTeX2e, 1994/06/01, v2e
+- package atveryend, 2010/03/24, v1.5,
+ CTAN:macros/latex/contrib/oberdiek/atveryend.dtx
+- package everyshi, 2001/05/15, v3.00,
+ CTAN:macros/latex/contrib/ms/everyshi.dtx
+- package kvoptions, 2010/02/22, v3.7,
+ CTAN:macros/latex/contrib/oberdiek/kvoptions.dtx
+- package undolabl, 2010/09/12, v1.0g,
+ CTAN:macros/latex/contrib/undolabl/undolabl.dtx
+
+The pagesLTS-example.tex requires the same files as all
+ documents using the pagesLTS package, and additionally:
+- package alphalph, 2010/04/18, v2.3,
+ CTAN:macros/latex/generic/oberdiek/alphalph.dtx
+- package lipsum, 2005/01/26, v1.0,
+ CTAN:macros/latex/contrib/lipsum/lipsum.dtx
+- package showkeys, 2007/08/07, v3.15,
+ CTAN:macros/latex/required/tools/showkeys.dtx
+- package hyperref, 2010/09/13, v6.81n,
+ CTAN:macros/latex/contrib/hyperref.zip
+- package pagesLTS, 2010/09/22, v1.1k,
+ CTAN:macros/latex/contrib/pagesLTS/pagesLTS.dtx
+ (Well, it is the example file for this package, and
+ because you are reading the README for the pagesLTS
+ package, it can be assumed that you already have some
+ version of it - is it the current one?)
+
+which again load other packages
+(see the result of the \listfiles comman in the log-file
+ of the example).
+
+
+5 PACKAGE COMPATIBILITY
+=======================
+
+* endfloat package
+ pagesLTS is not compatible with very old versions of
+ endfloat(2.0 and older).
+ Just get the recent version of the endfloat package
+ from CTAN.
+
+* lastpage package
+ \usepackage[pagecontinue=false,alphMult=0,AlphMulti=0,
+ fnsymbolmult=false,romanMult=false,RomanMulti=false]
+ {pagesLTS}
+ can simulate the behaviour of the lastpage package.
+ Loading old (!) versions of the lastpage package before
+ the pagesLTS package before the hyperref package results
+ in multiply definitions of the LastPage label.
+
+* undolabl package
+ Version >= 1.0g is needed.
+
+6 AUTHOR/MAINTAINER
+=====================
+
+* Hans-Martin Münch
+
+
+7 BUG REPORTS
+==============
+
+A bug report should contain:
+* Comprehensive problem description. This includes error or
+ warning messages.
+ * \errorcontextlines=\maxdimen can be added in the
+ TeX code to get more informations in TeX error messages.
+* Minimal test file that shows the problem, but does not
+ contain any unnecessary packages and code.
+* Used drivers/programs.
+* Version information about used packages and programs.
+ * If you are using LaTeX, then add "\listfiles". Then
+ a list of version informations is printed at the end
+ of the LaTeX run.
+* Please no other files than the minimal test file.
+ The other files .log, .dvi, .ps, .pdf are seldom
+ necessary, so send them only on request.
+* Please .zip or .tar.gz your file(s) before sending them!
+
+Bug address
+-----------
+Bug reports can be send to the maintainer:
+ Hans-Martin Münch
+ <Martin [dot] Muench [at] Uni-Bonn [dot] de>
+
+
+8 KNOWN PROBLEMS
+=================
+
+* as yet: none... \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdf b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdf
new file mode 100644
index 00000000000..c2e2dffb804
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex
new file mode 100644
index 00000000000..20e70751b43
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex
@@ -0,0 +1,1008 @@
+%%
+%% This is file `pagesLTS-example.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pagesLTS.dtx (with options: `example')
+%%
+%% This is a generated file.
+%%
+%% IMPORTANT NOTICE:
+%% On the first page backslash pagenumbering should be called
+%% (with the appropriate argument out of e.g.
+%% * roman - Lowercase Roman numerals: i, ii, iii, iv,...
+%% * Roman - Uppercase Roman numerals: I, II, III, IV,...
+%% * arabic - Arabic numerals: 1, 2, 3, 4,...
+%% * alph - Lowercase letters: a, b, c, d,...
+%% * Alph - Uppercase letters: A, B, C, D,...
+%% * fnsymbol - Footnote symbols: *, ^^86 (ddagger), ^^87 (dddagger),
+%% ^^a7 (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
+%% 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:
+%% 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.)
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and the latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% 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).
+%%
+%% 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.
+%%
+%% This work consists of the main source file pagesLTS.dtx
+%% and the derived files
+%% pagesLTS.sty, pagesLTS.pdf, pagesLTS.ins, pagesLTS.drv,
+%% pagesLTS-example.tex.
+%%
+\documentclass[british]{article}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage{alphalph}[2010/04/18]% v2.3
+\usepackage{lipsum}[2005/01/26]% v1.0
+\usepackage[draft]{showkeys}[2007/08/07]% v3.15
+%% Use final instead of draft to hide the keys. %%
+\usepackage{hyperref}[2010/09/13]% v6.81n
+\hypersetup{%
+ extension=pdf,%
+ plainpages=false,%
+ pdfpagelabels=true,%
+ hyperindex=false,%
+ pdflang={en},%
+ pdftitle={pagesLTS package example},%
+ pdfauthor={Hans-Martin Muench},%
+ pdfsubject={Example for the pagesLTS package},%
+ pdfkeywords={LaTeX, pagesLTS, Hans-Martin Muench},%
+ pdfview=Fit,%
+ pdfstartview=Fit,%
+ pdfpagelayout=SinglePage,%
+ bookmarksopen=true%
+}
+\usepackage[pagecontinue=true,alphMult=ab,AlphMulti=AB,fnsymbolmult=true,romanMult=true,RomanMulti=true]{pagesLTS}[2010/09/22]% v1.1k
+%% These are the default options. %%
+\makeatletter
+ \renewcommand{\@evenfoot}%
+ {Page \thepage\ (\theCurrentPage; local: \theCurrentPageLocal) of %
+ \lastpageref{pagesLTS.roman}(\lastpageref{pagesLTS.roman.local}) + %
+ \lastpageref{pagesLTS.Roman}(\lastpageref{pagesLTS.Roman.local}) + %
+ \lastpageref{pagesLTS.arabic}(\lastpageref{pagesLTS.arabic.local}) + %
+ \lastpageref{pagesLTS.fnsymbol}(\lastpageref{pagesLTS.fnsymbol.local}) + %
+ \lastpageref{pagesLTS.alph}(\lastpageref{pagesLTS.alph.local}) + %
+ \lastpageref{pagesLTS.Alph}(\lastpageref{pagesLTS.Alph.local}) = %
+ \lastpageref{LastPages} pages.%
+ }
+ \renewcommand{\@oddfoot}{\@evenfoot}
+ \def\pagesLTSexampleArabic{3}
+ \def\pagesLTSexamplealph{23}
+ \gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
+\makeatother
+\listfiles
+\begin{document}
+\pagenumbering{roman}
+%% Note the first \pagenumbering immediately behind \begin{document}. %%
+
+%%\addtocounter{page}{-2} %%
+
+\section*{Example for pagesLTS}
+\addcontentsline{toc}{section}{Example for pagesLTS}
+\markboth{Example for pagesLTS}{Example for pagesLTS}
+
+This example demonstrates the most common uses of package\\
+\textsf{pagesLTS}, v1.1k as of 2010/09/22 (HMM).\\
+The used options were \texttt{pagecontinue=true},
+\texttt{alphMult=ab}, \texttt{AlphMulti=AB}, \linebreak
+\texttt{fnsymbolmult=true},
+\texttt{romanMult=true}, and \texttt{RomanMulti=true}
+(the default ones).\\
+For more details please see the documentation!\\
+
+\label{keys} To hide the \pageref{keys}{\qquad } use option
+\texttt{final} instead of \texttt{draft} with the \textsf{showkeys}
+package (or remove the package call from the preamble of
+this document).\\
+
+\textbf{Hyperlinks or not:} If the \textsf{hyperref} package is loaded,
+the references are also hyperlinked:\\
+\smallskip
+Page \thepage\ (\theCurrentPage; local: \theCurrentPageLocal) of %
+\lastpageref{pagesLTS.roman}(\lastpageref{pagesLTS.roman.local}) + %
+\lastpageref{pagesLTS.Roman}(\lastpageref{pagesLTS.Roman.local}) + %
+\lastpageref{pagesLTS.arabic}(\lastpageref{pagesLTS.arabic.local}) + %
+\lastpageref{pagesLTS.fnsymbol}(\lastpageref{pagesLTS.fnsymbol.local}) + %
+\lastpageref{pagesLTS.alph}(\lastpageref{pagesLTS.alph.local}) + %
+\lastpageref{pagesLTS.Alph}(\lastpageref{pagesLTS.Alph.local}) = %
+\lastpageref{LastPages} pages.\\
+If the \textsf{hyperref} package is loaded, but the hyperlinks of the
+references shall be suppressed, \texttt{\textbackslash pageref*\{...\}}
+and \texttt{\textbackslash lastpageref*\{...\}} can be used:\\
+Page \thepage\ (\theCurrentPage; local: \theCurrentPageLocal) of %
+\lastpageref*{pagesLTS.roman}(\lastpageref*{pagesLTS.roman.local}) + %
+\lastpageref*{pagesLTS.Roman}(\lastpageref*{pagesLTS.Roman.local}) + %
+\lastpageref*{pagesLTS.arabic}(\lastpageref*{pagesLTS.arabic.local}) + %
+\lastpageref*{pagesLTS.fnsymbol}(\lastpageref*{pagesLTS.fnsymbol.local}) + %
+\lastpageref*{pagesLTS.alph}(\lastpageref*{pagesLTS.alph.local}) + %
+\lastpageref*{pagesLTS.Alph}(\lastpageref*{pagesLTS.Alph.local}) = %
+\lastpageref*{LastPages} pages.\\
+
+\textbf{Trademarks} appear throughout this example without any
+trademark symbol; they are the property of their respective
+trademark owner. There is no intention of infringement; the
+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 9.3.4: \underline{E}dit $>$
+Prefere\underline{n}ces (Ctrl+k) $>$ Page Display $>$
+Page Content and Information $>$ Use logical page
+\nolinebreak{\underline{n}umbers.)}\\
+
+You want negative page numbers? Not only arabic, but even roman,
+Roman, alph, Alph or fnsymbol ones? No problem, e.\,g. just give a\\
+\texttt{\textbackslash addtocounter\{page\}\{- \textit{some number}\}}
+in the source code of this example file (or uncomment the prepared
+line)!
+
+\bigskip
+
+Save per page about $200\unit{ml}$ water, $2\unit{g}$ CO$_{2}$
+and $2\unit{g}$ wood:\\
+Therefore please print only if this is really necessary.
+
+\pagebreak
+
+\tableofcontents
+
+\newpage
+
+\pagenumbering{roman}
+ % in case the page numbering is changed before,
+ % otherwise pagesLTS.current.local.roman on this page
+ % would be undefined
+
+\section{roman}
+
+\noindent (\texttt{roman} page numbering was started before,
+becaue the page numbering scheme was needed to start at
+the first page, of course.)\\
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+\lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+You can get this also in other formats:
+\roman{CurrentPage}, \Roman{CurrentPage}, \arabic{CurrentPage},
+\fnsymbol{CurrentPage}, \alph{CurrentPage}, \Alph{CurrentPage}.
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \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},
+\alph{pagesLTS.current.local.roman}, \Alph{pagesLTS.current.local.roman},
+but probably it only makes sense if page numbering scheme and format are
+the same, e.\,g.\\
+\texttt{\textbackslash Roman\{pagesLTS.current.local.Roman\}}\\
+or \texttt{\textbackslash Alph\{pagesLTS.current.local.Alph\}}.\ %
+\texttt{\textbackslash arabic\{\ldots \}}\ could make sense
+even if combined with another page numbering scheme.
+And this is exactly what \texttt{\textbackslash theCurrentPageLocal} does:\\
+\nolinebreak{\texttt{\textbackslash def\textbackslash theCurrentPageLocal%
+\{\textbackslash arabic\{pagesLTS.current.local.\textbackslash pagesLTS@pnc\}\}}.}\\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+When the option \texttt{pagecontinue=false} is used with the
+\textsf{pagesLTS} package, the
+\texttt{\textbackslash lastpageref\{pagesLTS.Roman\}} will point
+to the same page as before, but this will have a lower number.\\
+The \texttt{\textbackslash lastpageref\{pagesLTS.Roman.local\}}
+will not change, because the number of pages does not change
+(only the page numbers).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{lastpage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-3]
+
+\newpage
+
+\pagenumbering{Roman}
+
+\section{Roman\label{Roman}}
+\subsection{Common Roman page numbering}
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+\lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-4]
+
+\newpage
+
+\subsection{Last page of first Roman sector}
+\texttt{\textbackslash lastpageref\{pagesLTS.Roman\}} does \textbf{not}
+refer to this page (but there: \lastpageref{pagesLTS.Roman}),
+because the option \texttt{pagecontinue=true}
+was chosen. When a reference to this page is wanted,\\
+\texttt{\textbackslash lastpageref\{pagesLTS.Roman.1\}}
+can be used: \lastpageref{pagesLTS.Roman.1}.\\
+
+\bigskip
+There are \lastpages{Roman}{1}~pages
+(\texttt{\textbackslash lastpages\{Roman\}\{1\}})
+in this first Roman sector.\\
+The Roman page numbering scheme is continued later in
+section~\ref{Roman2})!
+
+\newpage
+
+\pagenumbering{arabic}
+
+\section{arabic}
+
+\subsection{Standard page numbering}
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+\lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-4]
+\newpage
+
+\subsection[Empty page style]{Also an empty page style is no problem\ %
+for the current or total page count}
+
+\bigskip
+
+\thispagestyle{empty}
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+\lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-4]
+
+\newpage
+
+\subsection[addtocounter, setcounter]{Neither\ %
+\texttt{\textbackslash addtocounter\{page\}} or\ %
+\texttt{\textbackslash setcounter\{page\}} is a problem for the\ %
+current or total page numbers}
+
+(Here is an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}}
+in the source code.)\\
+\addtocounter{page}{\pagesLTSexampleArabic}
+
+\noindent The page (from \texttt{\textbackslash thepage} command): \thepage \\
+
+\noindent Current page (from \texttt{\textbackslash theCurrentPage}\ %
+command), i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (from \texttt{\textbackslash theCurrentPageLocal}\ %
+command), i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal\\
+
+\noindent Last page's number (LastPages): \lastpageref{LastPages}{\hskip3em }
+(= total number of pages)\\
+
+\lipsum[1-7]
+
+\newpage
+
+\pagenumbering{fnsymbol}
+
+\section{fnsymbol}
+
+Adobe Acrobat Reader 9.3.4 does not show the correct page names
+for all pages with \texttt{fnsymbol} page numbering scheme:
+
+\begin{tabular}{c|c|c|c}
+page number & page name & shown by the Reader & \textsf{alphalph} \\ \hline
+$-1$ & \texttt{LaTeX Error} & & \ensuremath {- *} \\
+ $0$ & (ignored by \LaTeX) & & 0 \\
+ $1$ & \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 {**} \\
+ $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 {***} \\
+$12$ & \texttt{LaTeX Error} & & \ensuremath {\dagger \dagger \dagger } \\
+\end{tabular}
+
+\noindent and so on, while at least the (\ldots\ of \ldots ) part
+of the page number is displayed correctly.\\
+
+\bigskip
+
+Without option \texttt{fnsymbolmult=true} of the \textsf{pagesLTS} package
+(and the help of Heiko Oberdiek's \textsf{alphalph} package),
+after page~9
+(\textquotedblleft \ensuremath {\ddagger \ddagger }\textquotedblright )
+(and also for negative page numbers) there would just appear a
+\begin{quote}
+\begin{verbatim}
+LaTeX Error: Counter too large
+See the LaTeX manual or LaTeX Companion for explanation.
+You've lost some text. Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+\end{verbatim}
+\end{quote}
+Now the page numbers after 5 (\ensuremath {\mathparagraph }) are
+continued with the doubled \textquotedblleft number\textquotedblright\ of
+the first, second, third,\ldots\ page (\ensuremath {**},
+\ensuremath {\dagger \dagger }, \ensuremath {\ddagger \ddagger },
+\ensuremath {\mathsection \mathsection },
+\ensuremath {\mathparagraph \mathparagraph }),
+and after the tenth page the \textquotedblleft number\textquotedblright\ is
+tripled (\ensuremath {***}, \ensuremath {\dagger \dagger \dagger },\ldots).
+Page zero is named 0 and negative pages just named like the positive ones
+with addition of a minus sign~($-$).
+
+\bigskip
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+\lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-60]
+
+\newpage
+
+\pagenumbering{Roman}
+
+\section{Roman - again!\label{Roman2}}
+
+The page number would start with
+\textquotedblleft I\textquotedblright\ again -- but
+for the \textsf{pagesLTS} package (with option \texttt{pagecontinue=true},
+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
+done in Roman output, and therefore continues with page
+\textquotedblleft \thepage \textquotedblright .\\
+If you want to start with \textquotedblleft I\textquotedblright\ all
+over again, you will have two pages with the same name,
+but nevertheless you can do this by using option \texttt{pagecontinue=false}
+or a \texttt{\textbackslash setcounter\{page\}\{1\}}\ here
+(not demonstrated in this example file).\\
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+ \lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-6]
+
+\newpage
+
+\texttt{\textbackslash lastpageref\{pagesLTS.Roman\}} does \textbf{not}
+refer to this page (but there: \lastpageref{pagesLTS.Roman}),
+because the option \texttt{pagecontinue=true}
+was chosen. When a reference to this page is wanted,\\
+\texttt{\textbackslash lastpageref\{pagesLTS.Roman.2\}}
+can be used: \lastpageref{pagesLTS.Roman.2}.\\
+
+\bigskip
+There are \lastpages{Roman}{2}~pages
+(\texttt{\textbackslash lastpages\{Roman\}\{2\}})
+in this second Roman sector.\\
+The Roman page numbering scheme is continued later in
+section~\ref{Roman3})!
+
+\newpage
+
+\pagenumbering{alph}
+
+\section{alph\label{alph}}
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+ \lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-4]
+
+\newpage
+
+Without option \texttt{alphMult=ab} of the \textsf{pagesLTS} (and the help of
+Heiko Oberdiek's \textsf{alphalph} package), after page
+\textquotedblleft z\textquotedblright\ there would just appear a
+\begin{quote}
+\begin{verbatim}
+LaTeX Error: Counter too large
+See the LaTeX manual or LaTeX Companion for explanation.
+You've lost some text. Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+\end{verbatim}
+\end{quote}
+Now the page numbers are continued aa, ab, ac,\ldots\ (aa, bb, cc,\ldots\ is
+also possible, see the \textsf{pagesLTS} documentation).\\
+To demonstrate this, we add a\\
+\texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}}\\
+in the source code here.
+
+\addtocounter{page}{\pagesLTSexamplealph}
+
+\bigskip
+
+\lipsum[1-18]
+
+\newpage
+
+\pagenumbering{Roman}
+
+\section{Roman - third time!\label{Roman3}}
+
+The page number would start with
+\textquotedblleft I\textquotedblright\ again -- but
+for the \textsf{pagesLTS} package (with option \texttt{pagecontinue=true},
+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
+done in Roman output, and therefore continues with page
+\textquotedblleft \thepage \textquotedblright .\\
+If you want to start with \textquotedblleft I\textquotedblright\ all
+over again, you will have (at least) two pages with the same name,
+but nevertheless you can do this by using option
+\texttt{pagecontinue=false} instead of \texttt{pagecontinue=true}
+(not demonstrated here).\\
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+ \lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-3]
+
+\newpage
+
+\lastpageref{pagesLTS.Roman}
+(\texttt{\textbackslash lastpageref\{pagesLTS.Roman\}})
+\textbf{does} refers to this page, because the option
+\texttt{pagecontinue=true} was chosen. Also\\
+\texttt{\textbackslash lastpageref\{pagesLTS.Roman.3\}}
+can be used: \lastpageref{pagesLTS.Roman.3}.\\
+
+\bigskip
+
+There are \lastpages{Roman}{3}~pages
+(\texttt{\textbackslash lastpages\{Roman\}\{3\}})
+in this third Roman sector.\\
+
+\newpage
+
+\pagenumbering{Alph}
+
+\section{Alph}
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+ \lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\lipsum[1-3]
+
+Without option \texttt{alphMulti=AB} of the \textsf{pagesLTS} (and the help of
+Heiko Oberdiek's \textsf{alphalph} package), after page
+\textquotedblleft Z\textquotedblright\ there would just appear a
+\begin{quote}
+\begin{verbatim}
+LaTeX Error: Counter too large
+See the LaTeX manual or LaTeX Companion for explanation.
+You've lost some text. Try typing <return> to proceed.
+If that doesn't work, type X <return> to quit.
+\end{verbatim}
+\end{quote}
+Now the page numbers are continued AA, AB, AC,\ldots\ (AA, BB, CC,\ldots\ is
+also possible, see the \textsf{pagesLTS} documentation).\\
+This is not demonstrated here, but see section~\ref{alph}.
+
+\newpage
+
+\section{The End}
+
+\noindent First page (\texttt{\textbackslash lastpageref\{pagesLTS.0\}}):
+ \lastpageref{pagesLTS.0}\\
+
+\noindent The page (\texttt{\textbackslash thepage}): \thepage \\
+
+\noindent Current page (\texttt{\textbackslash theCurrentPage}),
+i.\,e. counted continuously from the first page): \theCurrentPage \\
+
+\noindent CurrentPageLocal (\texttt{\textbackslash theCurrentPageLocal}),
+i.\,e. counted continuously from the first page of the
+current page numbering sheme): \theCurrentPageLocal \\
+
+\noindent Last roman page (pagesLTS.roman): \lastpageref{pagesLTS.roman}{\hskip4em }
+(There are \lastpageref{pagesLTS.roman.local} pages with roman numbers.)\\
+
+\noindent Last Roman page (pagesLTS.Roman): \lastpageref{pagesLTS.Roman}{\hskip3em }
+(There are \lastpageref{pagesLTS.Roman.local}~pages with Roman numbers:\\
+\lastpages{Roman}{1}~pages in the first Roman sector
+(\pageref{Roman}{\hskip3em }-\lastpageref{pagesLTS.Roman.1}{\hskip3em }),\\
+\lastpages{Roman}{2}~pages in the second Roman sector
+(\pageref{Roman2}{\hskip3em }-\lastpageref{pagesLTS.Roman.2}{\hskip3em }), and\\
+\lastpages{Roman}{3}~pages in the third Roman sector
+(\pageref{Roman3}{\hskip3em }-\lastpageref{pagesLTS.Roman.3}{\hskip3em }).\\
+
+\noindent Last arabic page (pagesLTS.arabic): \lastpageref{pagesLTS.arabic}{\hskip5em }
+(There are only \lastpageref{pagesLTS.arabic.local} pages with arabic numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexampleArabic\}} was used.)\\
+
+\noindent Last fnsymbol page (pagesLTS.fnsymbol): \lastpageref{pagesLTS.fnsymbol} \\
+(\texttt{\textbackslash lastpageref\{pagesLTS.fnsymbol\}} -- never
+\texttt{\textbackslash pageref\{pagesLTS.fnsymbol\}}!)\\
+(There are \lastpageref{pagesLTS.fnsymbol.local} pages with fnsymbol numbers.)\\
+
+\noindent Last alph page (pagesLTS.alph): \lastpageref{pagesLTS.alph}{\hskip4em }
+(There are only \lastpageref{pagesLTS.alph.local} pages with alph numbers,
+because an \texttt{\textbackslash addtocounter\{page\}\{\pagesLTSexamplealph\}} was used.)\\
+
+\noindent Last Alph page (pagesLTS.Alph): \lastpageref{pagesLTS.Alph}{\hskip4em }
+(There are \lastpageref{pagesLTS.Alph.local} pages with Alph numbers.)\\
+
+\noindent Last page's \textit{name} (LastPage): \lastpageref{LastPage}\\
+
+\noindent Very last page's \textit{name} (VeryLastPage): \lastpageref{VeryLastPage}\\
+(\texttt{LastPage} and \texttt{VeryLastPage} are identical, unless
+a package with output \linebreak
+\texttt{\textbackslash AtEndDocument} after the \textsf{pagesLTS} package
+was added.)\\
+
+\noindent Last page's \textit{number} (LastPages): \lastpageref{LastPages}{\hskip3em }
+(=~total number of pages)\\
+
+\medskip
+
+\noindent Page \thepage\ (\theCurrentPage; local: \theCurrentPageLocal) of %
+\lastpageref{pagesLTS.roman} (\lastpageref{pagesLTS.roman.local}) + %
+\lastpageref{pagesLTS.Roman} (\lastpageref{pagesLTS.Roman.local}) + %
+\lastpageref{pagesLTS.arabic} (\lastpageref{pagesLTS.arabic.local}) + %
+\lastpageref{pagesLTS.fnsymbol} (\lastpageref{pagesLTS.fnsymbol.local}) + %
+\lastpageref{pagesLTS.alph} (\lastpageref{pagesLTS.alph.local}) + %
+\lastpageref{pagesLTS.Alph} (\lastpageref{pagesLTS.Alph.local}) = %
+\lastpageref{LastPages} pages.
+
+\end{document}
+\endinput
+%%
+%% End of file `pagesLTS-example.tex'.
diff --git a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdf b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdf
new file mode 100644
index 00000000000..f78976c18e3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdf
Binary files differ