diff options
author | Karl Berry <karl@freefriends.org> | 2011-02-02 01:05:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-02-02 01:05:33 +0000 |
commit | 0c1d3691276e9d52fe83398e4e2f0b6f0c528d15 (patch) | |
tree | bbdbd7dd82e77f679578933173b08bbeec0bf855 /Master/texmf-dist | |
parent | 9d5343983bbbf90fbc5a577e90f4624e2e7e41e1 (diff) |
pagesLTS (1feb11)
git-svn-id: svn://tug.org/texlive/trunk@21254 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/pagesLTS/README | 23 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdf | bin | 312525 -> 313156 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex | 47 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdf | bin | 588994 -> 600328 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/pagesLTS/ltxdoc.cfg | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/pagesLTS/pagesLTS.drv | 15 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/pagesLTS/pagesLTS.dtx | 370 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/pagesLTS/pagesLTS.ins | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pagesLTS/pagesLTS.sty | 75 |
9 files changed, 299 insertions, 243 deletions
diff --git a/Master/texmf-dist/doc/latex/pagesLTS/README b/Master/texmf-dist/doc/latex/pagesLTS/README index 907f08b4509..5034082c661 100644 --- a/Master/texmf-dist/doc/latex/pagesLTS/README +++ b/Master/texmf-dist/doc/latex/pagesLTS/README @@ -1,4 +1,4 @@ -README for pagesLTS package, 2010/09/27, v1.1l +README for pagesLTS package, 2011/02/01, v1.1m TABLE OF CONTENTS @@ -96,20 +96,17 @@ 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: +b) Generate the package and driver files: tex pagesLTS.ins -d) Install the files `*.sty' and `*.cfg' in your TDS tree: +c) 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 +d) 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: +e) Update the databases if necessary, e. g. for teTeX: mktexlsr .../texmf @@ -128,7 +125,7 @@ documentation it is required: 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, +- package geometry, 2010/09/12, v5.6, CTAN:macros/latex/contrib/geometry/geometry.dtx The pagesLTS.sty for LATEX2e (i. e. all documents using the @@ -140,7 +137,7 @@ The pagesLTS.sty for LATEX2e (i. e. all documents using the 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, +- package undolabl, 2011/02/01, v1.0h, CTAN:macros/latex/contrib/undolabl/undolabl.dtx The pagesLTS-example.tex requires the same files as all @@ -151,9 +148,9 @@ The pagesLTS-example.tex requires the same files as all 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, +- package hyperref, 2010/12/16, v6.81z, CTAN:macros/latex/contrib/hyperref.zip -- package pagesLTS, 2010/09/27, v1.1l, +- package pagesLTS, 2011/02/01, v1.1m, 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 @@ -184,7 +181,7 @@ which again load other packages in multiply definitions of the LastPage label. * undolabl package - Version >= 1.0g is needed. + Version >= 1.0h is needed. 6 AUTHOR/MAINTAINER ===================== diff --git a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdf b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdf Binary files differindex 4d382033e4a..cec4ff5451c 100644 --- a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdf +++ b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.pdf diff --git a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex index adaec2a2414..1ec7ffcdd6d 100644 --- a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex +++ b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS-example.tex @@ -60,7 +60,7 @@ \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 +\usepackage{hyperref}[2010/12/16]% v6.81z \hypersetup{% extension=pdf,% plainpages=false,% @@ -76,7 +76,7 @@ pdfpagelayout=SinglePage,% bookmarksopen=true% } -\usepackage[pagecontinue=true,alphMult=ab,AlphMulti=AB,fnsymbolmult=true,romanMult=true,RomanMulti=true]{pagesLTS}[2010/09/27]% v1.1l +\usepackage[pagecontinue=true,alphMult=ab,AlphMulti=AB,fnsymbolmult=true,romanMult=true,RomanMulti=true]{pagesLTS}[2011/02/01]% v1.1m %% These are the default options. %% \makeatletter \renewcommand{\@evenfoot}% @@ -106,7 +106,7 @@ \markboth{Example for pagesLTS}{Example for pagesLTS} This example demonstrates the most common uses of package\\ -\textsf{pagesLTS}, v1.1l as of 2010/09/27 (HMM).\\ +\textsf{pagesLTS}, v1.1m as of 2011/02/01 (HMM).\\ The used options were \texttt{pagecontinue=true}, \texttt{alphMult=ab}, \texttt{AlphMulti=AB}, \linebreak \texttt{fnsymbolmult=true}, @@ -149,7 +149,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 9.3.4: \underline{E}dit $>$ +(In Adobe Reader X (10.0.0): \underline{E}dit $>$ Prefere\underline{n}ces (Ctrl+k) $>$ Page Display $>$ Page Content and Information $>$ Use logical page \nolinebreak{\underline{n}umbers.)}\\ @@ -490,26 +490,31 @@ current page numbering sheme): \theCurrentPageLocal\\ \section{fnsymbol} -Adobe Acrobat Reader 9.3.4 does not show the correct page names +Adobe Reader X (10.0.0) 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 } \\ +\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 } \\ \end{tabular} +\end{center} \noindent and so on, while at least the (\ldots\ of \ldots ) part of the page number is displayed correctly.\\ diff --git a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdf b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdf Binary files differindex e6d128889ce..1fcc50e89c1 100644 --- a/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdf +++ b/Master/texmf-dist/doc/latex/pagesLTS/pagesLTS.pdf diff --git a/Master/texmf-dist/source/latex/pagesLTS/ltxdoc.cfg b/Master/texmf-dist/source/latex/pagesLTS/ltxdoc.cfg index d0f5c713229..4340361a91f 100644 --- a/Master/texmf-dist/source/latex/pagesLTS/ltxdoc.cfg +++ b/Master/texmf-dist/source/latex/pagesLTS/ltxdoc.cfg @@ -55,7 +55,7 @@ %% pagesLTS-example.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{ltxdoc.cfg}[2010/05/15 v1.0 configuration file for pagesLTS (HMM)] +\ProvidesFile{ltxdoc.cfg}[2011/02/01 v1.0b 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 diff --git a/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.drv b/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.drv index be0c8ad04dc..a464d58a802 100644 --- a/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.drv +++ b/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.drv @@ -55,10 +55,10 @@ %% pagesLTS-example.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{pagesLTS.drv}[2010/09/27 v1.1l +\ProvidesFile{pagesLTS.drv}[2011/02/01 v1.1m Refers to special pages' numbers/names (HMM)]% \documentclass[landscape]{ltxdoc}[2007/11/11]% v2.0u -\usepackage{geometry}[2010/07/13]% v5.5 +\usepackage{geometry}[2010/09/12]% v5.6 \usepackage{holtxdoc}[2010/04/24]% v0.19 %% pagesLTS may work with earlier versions of LaTeX2e and those %% class and package, but this was not tested. @@ -66,12 +66,12 @@ %% to the most recent version (if they are not already the most %% recent version). %% Warning: holtxdoc, 2010/04/24 v0.19, requires the packages -%% hypdoc, 2010/03/26, v1.9 -%% hyperref, 2010/03/30, v6.80u (latest: 2010/09/13 v6.81n) +%% hypdoc, 2010/03/26, v1.9 +%% hyperref, 2010/03/30, v6.80u (latest: 2010/12/16, v6.81z) %% pdftexcmds, 2010/04/01, v0.9 -%% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) -%% hologo, 2010/04/24, v1.2 -%% array (latest: 2008/09/09, v2.4c) +%% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) +%% hologo, 2010/04/24, v1.2 +%% array (latest: 2008/09/09, v2.4c) %% (or more recent versions) and does neither work with %% nor check for earlier versions! \hypersetup{% @@ -91,6 +91,7 @@ pdfwindowui=true,% pdfnewwindow=true% } +\usepackage{ulem}[2010/10/03] \setlength\hfuzz{1pt} % Ignore slight overfulls. \CodelineIndex \EnableCrossrefs diff --git a/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.dtx b/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.dtx index 5d4d9e6bef1..fe409f03ee6 100644 --- a/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.dtx +++ b/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.dtx @@ -1,11 +1,11 @@ % \iffalse meta-comment % % pagesLTS package (when searching on CTAN, look for pageslts) -% file version: v1.1l -% file date: 2010/09/27 -% documentation date: 2010/09/27 +% file version: v1.1m +% file date: 2011/02/01 +% documentation date: 2011/02/01 % -% Copyright (C) 2010 H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de) +% Copyright (C) 2010, 2011 H.-Martin M\"{u}nch (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 \textsf{lastpage} @@ -59,15 +59,6 @@ % use DIN A4 as paper format: % \PassOptionsToClass{a4paper}{article} % -% Programm calls to get the documentation (for example): -% pdflatex pagesLTS.dtx -% makeindex -s gind.ist pagesLTS.idx -% % makeindex -s gglo.ist -o pagesLTS.gls pagesLTS.glo -% pdflatex pagesLTS.dtx -% makeindex -s gind.ist pagesLTS.idx -% % makeindex -s gglo.ist -o pagesLTS.gls pagesLTS.glo -% pdflatex pagesLTS.dtx -% % Installation: % TDS:tex/latex/pagesLTS/pagesLTS.sty % TDS:doc/latex/pagesLTS/pagesLTS.pdf @@ -89,7 +80,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: pagesLTS v1.1l 2010/09/27 LaTeX2e package *} +\Msg{* Package: pagesLTS v1.1m 2011/02/01 LaTeX2e package *} \Msg{* Refers to special pages' numbers/names (HMM) *} \Msg{******************************************************} @@ -169,12 +160,12 @@ and the derived files \Msg{* pagesLTS.sty *} \Msg{* *} \Msg{* To produce the documentation run the file `pagesLTS.drv' *} -\Msg{* through (pdf)LaTeX, e. g. *} -\Msg{* pdflatex pagesLTS.dtx *} +\Msg{* through (pdf)LaTeX, e.g. *} +\Msg{* pdflatex pagesLTS.drv *} \Msg{* makeindex -s gind.ist pagesLTS.idx *} -\Msg{* pdflatex pagesLTS.dtx *} +\Msg{* pdflatex pagesLTS.drv *} \Msg{* makeindex -s gind.ist pagesLTS.idx *} -\Msg{* pdflatex pagesLTS.dtx *} +\Msg{* pdflatex pagesLTS.drv *} \Msg{* *} \Msg{* At least three runs are necessary e. g. to get the *} \Msg{* references right! *} @@ -202,10 +193,10 @@ and the derived files % \begin{macrocode} %<*driver> \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{pagesLTS.drv}[2010/09/27 v1.1l +\ProvidesFile{pagesLTS.drv}[2011/02/01 v1.1m Refers to special pages' numbers/names (HMM)]% \documentclass[landscape]{ltxdoc}[2007/11/11]% v2.0u -\usepackage{geometry}[2010/07/13]% v5.5 +\usepackage{geometry}[2010/09/12]% v5.6 \usepackage{holtxdoc}[2010/04/24]% v0.19 %% pagesLTS may work with earlier versions of LaTeX2e and those %% class and package, but this was not tested. @@ -213,12 +204,12 @@ and the derived files %% to the most recent version (if they are not already the most %% recent version). %% Warning: holtxdoc, 2010/04/24 v0.19, requires the packages -%% hypdoc, 2010/03/26, v1.9 -%% hyperref, 2010/03/30, v6.80u (latest: 2010/09/13 v6.81n) +%% hypdoc, 2010/03/26, v1.9 +%% hyperref, 2010/03/30, v6.80u (latest: 2010/12/16, v6.81z) %% pdftexcmds, 2010/04/01, v0.9 -%% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) -%% hologo, 2010/04/24, v1.2 -%% array (latest: 2008/09/09, v2.4c) +%% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) +%% hologo, 2010/04/24, v1.2 +%% array (latest: 2008/09/09, v2.4c) %% (or more recent versions) and does neither work with %% nor check for earlier versions! \hypersetup{% @@ -238,6 +229,7 @@ and the derived files pdfwindowui=true,% pdfnewwindow=true% } +\usepackage{ulem}[2010/10/03] \setlength\hfuzz{1pt} % Ignore slight overfulls. \CodelineIndex %\PageIndex % instead of \CodelineIndex to get the page numbers @@ -256,7 +248,7 @@ and the derived files % \begin{macrocode} %<*ltxdoc> \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{ltxdoc.cfg}[2010/05/15 v1.0 configuration file for pagesLTS (HMM)] +\ProvidesFile{ltxdoc.cfg}[2011/02/01 v1.0b 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 @@ -322,7 +314,7 @@ and the derived files % % \fi % -% \CheckSum{1650} +% \CheckSum{1683} % % \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 @@ -375,11 +367,11 @@ and the derived files % \DoNotIndex{{pagesLTS.arabic, pagesLTS.roman, pagesLTS.Roman, pagesLTS.alph, pagesLTS.Alph,\ldots }} % % \title{The \textsf{pagesLTS} package\footnote{This file% -% has version number v1.1l, last% -% revised 2010/09/27, documentation dated 2010/09/27.}} +% has version number v1.1m, last% +% revised 2011/02/01, documentation dated 2011/02/01.}} % \author{H.-Martin M\"{u}nch\\ % (\texttt{Martin dot Muench at Uni-Bonn dot de})} -% \date{2010/09/27} +% \date{2011/02/01} % % \maketitle % @@ -543,7 +535,7 @@ and the derived files % \textbf{logical page numbers} together with % \textsf{hyperref}!\label{logical page numbers} % \begin{description} -% \item [-] In Adobe Reader 9.3.4 enable:\\ +% \item [-] In Adobe Reader X (10.0.0) enable:\\ % \underline{E}dit $>$ Prefere\underline{n}ces (Ctrl+k) % $>$ Page Display $>$ Page Content and Information % $>$ Use logical page \nolinebreak{\underline{n}umbers\ .} @@ -904,8 +896,6 @@ and the derived files % Maybe have a look at the \xfile{.aux} file after compiling your % document to detect further labels (of other packages, too).\\ % -% \pagebreak -% % \subsubsection{If \texttt{\textbackslash pagenumbering\{\ldots \}} is used once\label{sss:once}} % % \DescribeMacro{pagesLTS.0} @@ -985,8 +975,6 @@ and the derived files % \texttt{pagecontinue=false}). It is even possible to use % a~page numbering scheme more than twice.\\ % -% \pagebreak -% % \phantomsection % \label{pagesLTS.pnscheme.nr} % \DescribeMacro{pagesLTS. page numbering scheme . number } @@ -1003,6 +991,9 @@ and the derived files % \indent |\section{Section title\label{RomanSection}}| \\ % (You know where you use |\pagenumbering{...}| and this is the % \textsf{pagesLTS} package, not the \textsf{firstpage} one).\\ +% +% \pagebreak +% % When you want to give the number of pages of each % \textquotedblleft sector\textquotedblright\ of the page numbering % scheme, you can use\\ @@ -1088,6 +1079,17 @@ and the derived files % % \section{A few warnings\label{sec:warn}} % +% \subsection{Hyperref and repeated page numbers} +% +% When two (or more) different page numbering schemes are used, or the page number +% is reset, or for any other reason there are two pages with the same number +% (maybe in different format, e.\,g. $1$ and \textsc{I}), and \textsf{hyperref} has +% not been configured right, this can cause problems. Use \textsf{hyperref} with +% \texttt{plainpages=false} and \texttt{pdfpagelabels=true}, and everything should +% be fine.\\ +% More details can be found at +% \ \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdfpagelabels}. +% % \subsection{\texttt{\textbackslash AtEndDocument}\label{ssec:aed}} % % \indent The output of a \LaTeXe\ run is not independent of the order @@ -1132,9 +1134,8 @@ and the derived files % then load in the reverse order. Independent from the order of % \textsf{pagesLTS} and \textsf{endfloat}, you will still need the % modified\footnote{The \textquotedblleft new\textquotedblright\ version -% is nearly 15~years old, so it might be time to update to this -% version, -% if you did not do it already.} version of \textsf{endfloat}.\\ +% is over 15~years old, so it might be time to update to this +% version, if you did not do it already.} version of \textsf{endfloat}.\\ % Using the % \nolinebreak{\texttt{LastPage}\textbf{\underline{s}}\ (\textit{s}!)}\ label % should get you to the last page in all cases: |\lastpageref{LastPages}|.\\ @@ -1144,6 +1145,17 @@ and the derived files % \textsf{harvard} comes to mind. All of these will need to be % modified swiftly. \textbf{If possible, update to \LaTeXe!} % +% \subsection{\textsf{showkeys} package\label{ssec:showkeys}} +% +% When the \textsf{showkeys} package has been loaded in \texttt{draft} mode, +% in the margin for each label a~box is displayed with the name of the label. +% \textsf{showkeys} accomplishes this by redefining |\label|, but +% \textsf{pagesLTS} does not use |\label|, but writes directly to the +% {\nobreak |\jobname|\xfile{.aux}-}\allowbreak file, and this is generally done +% \emph{after} the according page has shipped out, therefore no box can be placed +% on the \emph{preceding} page. At~least \textsf{pagesLTS} gives a warning, that +% \textsf{showkeys} cannot present the respective label. +% % \subsection{\textsf{lastpage} package\label{ssec:lastpage}} % % This package first started as a revision of the \textsf{lastpage} @@ -1154,7 +1166,7 @@ and the derived files % |\usepackage[pagecontinue=false,alphMult=0,AlphMulti=0,fnsymbolmult=false,romanMult=false,RomanMulti=false]{pagesLTS}|,\\ % if the behaviour of the \textsf{lastpage} package should be simulated. % Using \textbf{old}~(!) versions of the \textsf{lastpage} before the \textsf{pagesLTS} -% before the \textsf{hyperref} [2010/09/13 v6.81n] +% before the \textsf{hyperref} [2010/12/16 v6.81z] % package results in multiply definitions of the |LastPage| label. % While the \textsf{pagesLTS} package cancels the command |\lastpage@putlabel| % from the old \textsf{lastpage} package (because it does this itself, and better), @@ -1225,27 +1237,29 @@ and the derived files % \begin{description} % \item[-] There can be a counter overflow, see preceding subsection~\ref{ss:overflow}. % -% \item[-] Adobe Acrobat Reader 9.3.4 does not show the correct page names +% \item[-] Adobe Reader X (10.0.0) does not show the correct page names % for all pages with \texttt{fnsymbol} page numbering scheme: % % \begin{center} -% \begin{tabular}{c|c|c|c} -% page number & page name & shown by the Reader & with \textsf{alphalph} package and with \\ -% & & & \textsf{pagesLTS} package with |fnsymbolmult| option \\ \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 } \\ +% \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 } \\ % \end{tabular} % \end{center} % @@ -1346,7 +1360,7 @@ and the derived files \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 +\usepackage{hyperref}[2010/12/16]% v6.81z \hypersetup{% extension=pdf,% plainpages=false,% @@ -1362,7 +1376,7 @@ and the derived files pdfpagelayout=SinglePage,% bookmarksopen=true% } -\usepackage[pagecontinue=true,alphMult=ab,AlphMulti=AB,fnsymbolmult=true,romanMult=true,RomanMulti=true]{pagesLTS}[2010/09/27]% v1.1l +\usepackage[pagecontinue=true,alphMult=ab,AlphMulti=AB,fnsymbolmult=true,romanMult=true,RomanMulti=true]{pagesLTS}[2011/02/01]% v1.1m %% These are the default options. %% \makeatletter \renewcommand{\@evenfoot}% @@ -1392,7 +1406,7 @@ and the derived files \markboth{Example for pagesLTS}{Example for pagesLTS} This example demonstrates the most common uses of package\\ -\textsf{pagesLTS}, v1.1l as of 2010/09/27 (HMM).\\ +\textsf{pagesLTS}, v1.1m as of 2011/02/01 (HMM).\\ The used options were \texttt{pagecontinue=true}, \texttt{alphMult=ab}, \texttt{AlphMulti=AB}, \linebreak \texttt{fnsymbolmult=true}, @@ -1435,7 +1449,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 9.3.4: \underline{E}dit $>$ +(In Adobe Reader X (10.0.0): \underline{E}dit $>$ Prefere\underline{n}ces (Ctrl+k) $>$ Page Display $>$ Page Content and Information $>$ Use logical page \nolinebreak{\underline{n}umbers.)}\\ @@ -1776,26 +1790,31 @@ current page numbering sheme): \theCurrentPageLocal\\ \section{fnsymbol} -Adobe Acrobat Reader 9.3.4 does not show the correct page names +Adobe Reader X (10.0.0) 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 } \\ +\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 } \\ \end{tabular} +\end{center} \noindent and so on, while at least the (\ldots\ of \ldots ) part of the page number is displayed correctly.\\ @@ -1836,6 +1855,8 @@ with addition of a minus sign~($-$). \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 \\ @@ -2311,7 +2332,7 @@ was added.)\\ % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{pagesLTS}[2010/09/27 v1.1l +\ProvidesPackage{pagesLTS}[2010/09/27 v1.1m Refers to special pages' numbers/names (HMM)]% % \end{macrocode} @@ -2344,7 +2365,7 @@ was added.)\\ % package of Martin Schr\"oder (see subsection~\ref{ss:Downloads}): % % \begin{macrocode} -\RequirePackage{everyshi}[2001/05/15]%v 3.00 +\RequirePackage{everyshi}[2001/05/15]% v3.00 % \end{macrocode} % % For the handling of the options we need the \textsf{kvoptions} @@ -2360,7 +2381,7 @@ was added.)\\ % is used twice (or even more often). % % \begin{macrocode} -\RequirePackage{undolabl}[2010/09/12]% v1.0g +\RequirePackage{undolabl}[2011/02/01]% v1.0h % \end{macrocode} % % We must not forget to give the source of |Prelim@EveryShipout|: @@ -2411,8 +2432,8 @@ was added.)\\ % \begin{macrocode} \SetupKeyvalOptions{family = pagesLTS,prefix = pagesLTS@} \DeclareBoolOption[true]{pagecontinue} % \pagesLTS@pagecontinue -\DeclareStringOption{alphMult}[ab] -\DeclareStringOption{AlphMulti}[AB] +\DeclareStringOption[ab]{alphMult} +\DeclareStringOption[AB]{AlphMulti} \DeclareBoolOption[true]{romanMult} \DeclareBoolOption[true]{RomanMulti} \DeclareBoolOption[true]{fnsymbolmult} @@ -2648,6 +2669,7 @@ was added.)\\ \def\lastpageref{\lastpagereftxt} \def\pagesLTS@undolable{none} \def\pncmissing{0} +\def\pagesLTS@SK{0} % \end{macrocode} % % \pagebreak @@ -2729,10 +2751,10 @@ was added.)\\ % % \begin{macrocode} \newcommand{\xroman}[1]{% - \ifnum\value{#1}>0 % + \ifnum\value{#1}>0% \roman{#1}% \else% - \ifnum\value{#1}<0 % + \ifnum\value{#1}<0% % \end{macrocode} % % |\arabic{#1}| gives the arabic number of argument |#1|, @@ -2746,7 +2768,7 @@ was added.)\\ % sign back in front of it (for example -vii). % % \begin{macrocode} - -\romannumeral\number-\arabic{#1} + -\romannumeral\number-\arabic{#1}% \else% 0% \fi% @@ -2783,10 +2805,10 @@ was added.)\\ % % \begin{macrocode} \newcommand{\XRoman}[1]{% - \ifnum\value{#1}>0 % + \ifnum\value{#1}>0% \Roman{#1}% \else% - \ifnum\value{#1}<0 % + \ifnum\value{#1}<0% -\expandafter\@slowromancap\romannumeral\number-\arabic{#1}@% \else% 0% @@ -2924,15 +2946,15 @@ was added.)\\ %% The following code is from Heiko Oberdiek [2010/04/18], %% %% expanding his alphalph package [2010/04/18] v2.3. (Thanks!) %% \newcommand*{\erroralphalph}[2]{% - \ifnum\value{#2}>0 % + \ifnum\value{#2}>0% #1{\value{#2}}% - \else - \ifnum\value{#2}<0 % + \else% + \ifnum\value{#2}<0% -#1{\expandafter\@gobble\the\value{#2}}% - \else + \else% 0% - \fi - \fi + \fi% + \fi% } %% End of code from Heiko Oberdiek %% %% Check and Error/Warning messages have been moved to %% @@ -3650,12 +3672,14 @@ was added.)\\ \fi% \fi% \pagesLTS@putlabel{#1}{#2}{0}% - \@esphack + \@esphack% } % \end{macrocode} % \end{macro} % +% \pagebreak +% % \begin{macro}{\@pagesLTS@Prelim@EveryShipout} % \indent Because we cannot make references to pages with \textsf{fnsymbol} % page \textquotedblleft numbers\textquotedblright\ manually @@ -3754,7 +3778,7 @@ was added.)\\ \EveryShipout{% \ifnum\value{page}>0% \relax% - \else + \else% \ifnum\value{page}=0% \PackageWarning{pagesLTS}{% Counter `page' is zero!\MessageBreak% @@ -3763,7 +3787,7 @@ was added.)\\ (see Page counter overflow in the pagesLTS\MessageBreak% documentation), without other measures\MessageBreak% this will lead to a counter overflow.\MessageBreak% - } + }% \else% \ifnum\value{page}<0% \PackageWarning{pagesLTS}{% @@ -3773,20 +3797,18 @@ was added.)\\ (see Page counter overflow in the pagesLTS\MessageBreak% documentation), without other measures\MessageBreak% this will lead to a counter overflow.\MessageBreak% - } + }% \else% \PackageError{pagesLTS}{% Counter `page' does not have a recognized value:\MessageBreak% `\the\value{page}'\MessageBreak% \@ehd \MessageBreak% - } + }% \fi% \fi% \fi% % \end{macrocode} % -% \pagebreak -% % If the |CurrentPage| is equal to one, this is the first shipout. % % \begin{macrocode} @@ -3823,7 +3845,7 @@ was added.)\\ % |\pagenumbering{...}| (\textbf{as it schould be!}): % % \begin{macrocode} - \ifx\pagesLTS@called\pagesLTS@zero + \ifx\pagesLTS@called\pagesLTS@zero% % \end{macrocode} % % If it was not defined (i.\,e. |\pagesLTS@called| is zero), @@ -3855,8 +3877,8 @@ was added.)\\ % % \begin{macrocode} %% Code from Andres L\"{o}h, Universiteit Utrecht (NL) %% - \def\extract#1{\expandafter\extract@ #1\END} - \def\extract@#1\csname @#2\endcsname#3\END{#2} + \def\extract#1{\expandafter\extract@ #1\END}% + \def\extract@#1\csname @#2\endcsname#3\END{#2}% \edef\pagesLTS@tmpQ{\extract\thepage}% %% End of code from Andres L\"{o}h %% \let\pagesLTS@tmpP\pagesLTS@tmpQ% @@ -4015,7 +4037,8 @@ was added.)\\ % \end{macrocode} % \end{macro} % -% \begin{macro}{\pagesLTS@putlabel} +% \phantomsection +% \begin{macro}{\pagesLTS@putlabel}\label{pagesLTSputlabel} % \indent Since the page has been put out, we are on the page after % that page. We therefore subtract one from the page counter. % @@ -4024,6 +4047,29 @@ was added.)\\ \addtocounter{page}{-1}% % \end{macrocode} % +% When the \textsf{showkeys} package has been loaded in \texttt{draft} mode, +% in the margin for each label a box is displayed with the name of the label. +% \textsf{showkeys} accomplishes this by redefining |\label|, but +% \textsf{pagesLTS} does not use |\label|, but writes directly to the +% {\nobreak |\jobname|\xfile{.aux}-}\allowbreak file, and this is generally done +% \emph{after} the according page has shipped out, therefore no box can be placed +% on the \emph{preceding} page. At least \textsf{pagesLTS} gives a warning, that +% \textsf{showkeys} cannot present the respective label. +% +% \begin{macrocode} + \ifx\pagesLTS@SK\pagesLTS@one% + \message{^^J}% + \message{Package pagesLTS Warning: Package showkeys without option final loaded,}% + \ifnum\value{pagesLTS.pagenr}<1% + \message{(pagesLTS) but label #1 on page \thepage\space(about \theCurrentPage)}% + \else% + \message{(pagesLTS) but label #1 on page \thepage\space(about \theCurrentPage\space of \arabic{pagesLTS.pagenr})}% + \fi% + \message{(pagesLTS) cannot be shown, because pagesLTS does not use \string\label,}% + \message{(pagesLTS) but writes directly to the \jobname.aux file. ^^J}% + \fi% +% \end{macrocode} +% % If the \textsf{hyperref} package is used, % the format of the labels is somewhat longer. % @@ -4033,6 +4079,8 @@ was added.)\\ \else% % \end{macrocode} % +% \pagebreak +% % If the \textsf{hyperref} package is not used, there will be no hyperlinks, % and the label is written in the way of the old \textsf{lastpage} package. % But we must remember to undo the label first, if it already exists. @@ -4122,7 +4170,7 @@ was added.)\\ % % \begin{macrocode} \addtocounter{page}{+1}% - \pagesLTS@putlabel{LastPages}{\theCurrentPage}{1} + \pagesLTS@putlabel{LastPages}{\theCurrentPage}{1}% % \end{macrocode} % % \noindent Here should follow a\\ @@ -4136,7 +4184,7 @@ was added.)\\ % be increased: % % \begin{macrocode} - \addtocounter{CurrentPage}{1}% + \addtocounter{CurrentPage}{+1}% \addtocounter{pagesLTS.current.local.\pagesLTS@pnc}{1}% } @@ -4218,7 +4266,7 @@ was added.)\\ % \begin{macrocode} \@ifpackageloaded{lastpage}% {\@ifpackagelater{lastpage}{2010/07/28}% 2010/07/29 v1.2a - {\@ifpackagelater{lastpage}{2010/09/11}% 2010/09/12 v1.2e + {\@ifpackagelater{lastpage}{2011/01/31}% 2011/02/01 v1.2g {\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% @@ -4339,7 +4387,7 @@ was added.)\\ % \begin{macrocode} \@ifpackageloaded{undolabl}% {\@ifpackagelater{undolabl}{2010/07/14}% 2010/07/15 v1.0d - {\@ifpackagelater{undolabl}{2010/09/11}% 2010/09/12 v1.0g + {\@ifpackagelater{undolabl}{2011/01/31}% 2011/02/01 v1.0h {% 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% @@ -4367,7 +4415,7 @@ was added.)\\ % package is performed and if need be a warning is issued: % % \begin{macrocode} - \@ifpackagelater{hyperref}{2010/09/12}{% 2010/09/13 v6.81n + \@ifpackagelater{hyperref}{2010/12/15}{% 2010/12/16 v6.81z \relax}{% \PackageWarningNoLine{pagesLTS}{Old hyperref package detected:\MessageBreak% There is a newer version of the\MessageBreak% @@ -4376,7 +4424,7 @@ was added.)\\ }% }% %% pagesLTS supports the use of the package hyperref by - %% Heiko Oberdiek (hyperref version 2010/09/13 v6.81n). + %% Heiko Oberdiek (hyperref version 2010/12/16 v6.81z). %% pagesLTS may work with earlier versions of this packages, %% but this was not tested. }% @@ -4393,6 +4441,17 @@ was added.)\\ }% % \end{macrocode} % +% If the \textsf{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 \textsf{showkeys} after |\AtBeginDocument|, +% the check must be done here and the result remembered. +% +% \begin{macrocode} + \@ifpackageloaded{showkeys}{% + \@ifpackagewith{showkeys}{final}{\relax}{\gdef\pagesLTS@SK{1}}% + }{\relax}% +% \end{macrocode} +% % We want the rerun-hint (see below) to appear after e.\,g. the |listfiles|, % and therefore append it (|\pagesLTS@rerunwarning|) to |\@dofilelist| % (trick found in Harald Harders' \textsf{fnbreak} package, thanks!): @@ -4591,8 +4650,6 @@ was added.)\\ % \end{macrocode} % \end{macro} % -% \pagebreak -% % \begin{macro}{\AtVeryEndDocument} % \indent |\AtVeryEndDocument{...}| is even later: % \begin{quote} @@ -4646,7 +4703,7 @@ was added.)\\ % % \item[-] package \textsf{hypdoc}, 2010/03/26, v1.9, \CTAN{macros/latex/contrib/oberdiek/hypdoc.dtx} % -% \item[-] package \textsf{geometry}, 2010/07/13, v5.5, \CTAN{macros/latex/contrib/geometry/geometry.dtx} +% \item[-] package \textsf{geometry}, 2010/09/12, v5.6, \CTAN{macros/latex/contrib/geometry/geometry.dtx} % \end{description} % % \DescribeMacro{pagesLTS.sty} @@ -4676,9 +4733,9 @@ was added.)\\ % % \item[-] package \textsf{showkeys}, 2007/08/07, v3.15, \CTAN{macros/latex/required/tools/showkeys.dtx} % -% \item[-] package \textsf{hyperref}, 2010/09/13, v6.81n, \CTAN{macros/latex/contrib/hyperref.zip} +% \item[-] package \textsf{hyperref}, 2010/12/16, v6.81z, \CTAN{macros/latex/contrib/hyperref.zip} % -% \item[-] package \textsf{pagesLTS}, 2010/09/27, v1.1l, \CTAN{macros/latex/contrib/pagesLTS/pagesLTS.dtx}\\ +% \item[-] package \textsf{pagesLTS}, 2011/02/01, v1.1m, \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 \textsf{pagesLTS} package, it can be assumed that you already % have some version of it -- is it the current one?) @@ -4688,7 +4745,7 @@ was added.)\\ % The \textsf{papermas} package is not required, but requires itself the % the \textsf{pagesLTS} package and can be considered as kind of add-on: % \begin{description} -% \item[-] package \textsf{papermas}, 2010/07/29, v1.0d, \CTAN{macros/latex/contrib/papermas/papermas.dtx} +% \item[-] package \textsf{papermas}, 2011/02/01, v1.0e, \CTAN{macros/latex/contrib/papermas/papermas.dtx} % \end{description} % % \DescribeMacro{endfloat} @@ -4761,7 +4818,7 @@ was added.)\\ % \textbf{Warning}: holtxdoc, 2010/04/24 v0.19, requires the packages % \begin{description} % \item[-] hypdoc, 2010/03/26, v1.9 -% \item[-] hyperref, 2010/03/30, v6.80u (latest: 2010/09/13, v6.81n) +% \item[-] hyperref, 2010/03/30, v6.80u (latest: 2010/12/16, v6.81z) % \item[-] pdftexcmds, 2010/04/01, v0.9 % \item[-] ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) % \item[-] hologo, 2010/04/24, v1.2 @@ -4775,49 +4832,7 @@ was added.)\\ % recent and compatible.)\\ % % \DescribeMacro{M\"{u}nch} -% Packages of mine (alphabetically ordered):\\ -% \begin{description} -% \item[hrefhide] 2010/07/29, v1.0d, \CTAN{macros/latex/contrib/hrefhide/hrefhide.dtx} and\\ -% \CTAN{install/macros/latex/contrib/hrefhide.tds.zip}\\ -% That package allows to \textquotedblleft hide\textquotedblright\ some (hyperlinked) -% text when printing the document while keeping the layout. -% -% \item[lastpage] 2010/09/24, v1.2f, \CTAN{macros/latex/contrib/lastpage/lastpage.dtx} and\\ -% \CTAN{install/macros/latex/contrib/lastpage.tds.zip}\\ -% That package allows to refer to the (maybe not so) last page. -% \textit{The package was originally invented by Jeffrey P. Goldberg.} -% The \textsf{pagesLTS} package is much more mighty, but needs more resources -% (e.\,g.~new counters).\\ -% -% \item[pagesLTS] 2010/09/27, v1.1l, \CTAN{macros/latex/contrib/pagesLTS/pagesLTS.dtx} and\\ -% \CTAN{install/macros/latex/contrib/pagesLTS.tds.zip}\\ -% The package described in this very documentation:\\ -% This package allows to refer to the (very) last page, gives the total number of -% pages, references to special pages, facilitates the use of nearly any pagenumbering -% you like (e.\,g. negative |Roman| numbers or more than |Z| pages with |Alph| page numbering), -% and works even with |fnsymbol| page numbers. -% -% \item[papermas] 2010/07/29, v1.0d, \CTAN{macros/latex/contrib/papermas/papermas.dtx} and\\ -% \CTAN{install/macros/latex/contrib/papermas.tds.zip}\\ -% That package allows to compute the number of sheets of paper needed to -% print a document as well as the mass of that printed version of the document. -% Further that package allows to compute \textquotedblleft base to the power of -% exponent\textquotedblright\ inside \LaTeX. -% -% \item[undolabl] 2010/09/12, v1.0g, \CTAN{macros/latex/contrib/undolabl/undolabl.dtx} and\\ -% \CTAN{install/macros/latex/contrib/undolabl.tds.zip}\\ -% That package allows to override existing labels, especially automatically generated ones. -% \textit{The main code of that package was invented by } -% \textbf{Ulrich Diez} (\texttt{eu\_angelion@web.de})\textit{\ and first published in the } -% \Newsgroup{comp.text.tex} \textit{\ newsgroup at } -% \texttt{Sun,~20~Apr~2008~16:39:26~+0200}\textit{, with subject:} -% \texttt{Re:~How~to~undefine/overwrite~a~label?}\textit{\ (see e.\,g.\ } -% \url{http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326?dmode=source} -% \textit{\ as well as\ }\\ -% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source}\textit{).} -% \end{description} -% -% \pagebreak +% A list of my packages can be found at \url{http://www.Uni-Bonn.de/~uzs5pv/LaTeX.html}.\\ % % \subsection{Package, unpacking TDS} % @@ -4991,8 +5006,6 @@ was added.)\\ % and will need \textit{at least} (!) three compiler runs to get % all references right. % -% \pagebreak -% % \section{Acknowledgements} % % I (H.-Martin M\"{u}nch) would like to thank Jeffrey P. Goldberg @@ -5127,7 +5140,7 @@ was added.)\\ % \begin{Version}{2010/08/08 v1.1f} % \item Version 1.1e had a bug: AlphAlph was replaced by alphalph (because that package is named like this), % but this was done also in commands and definitions~- now reverted. -% \item The recent version of the Adobe Reader is 9.3.3 (instead of 9.3.1). +% \item The recent version of the Adobe Reader \sout{\ is}\uwave{\ was} 9.3.3 (instead of 9.3.1). % \end{Version} % \begin{Version}{2010/08/12 v1.1g} % \item Now the rerun warning is given \textit{after} e.\,g. the |\listfiles|, @@ -5173,6 +5186,31 @@ was added.)\\ % \item Updated to version 2010/04/24 v0.19 of the \textsf{holtxdoc} package. % \item \textsf{lastpage} package has a new version: 2010/09/24 v1.2f. % \end{Version} +% \begin{Version}{2011/02/01 v1.1m} +% \item Added a new warning subsection about \textsf{hyperref} and repeated page +% numbers. +% \item Bug fix: Missing \% after |-\romannumeral\number-\arabic{#1}| added. +% \item The \textquotedblleft new\textquotedblright\ version v2.4i of the +% \textsf{endfloat} package is now even older than 15~years. +% \item Put a warning in the documentation as well as in the \xfile{log}-file and +% at the screen during compilation about the \textsf{showkeys} package. +% (The labels of the \textsf{pagesLTS} package cannot be shown by the +% \textsf{showkeys} package.) +% \item Bug fix: In some situations a rerun warning was given even if no rerun +% was necessary. +% \item Replaced the list of my packages with a link to a web page list of those, +% which has the advantage of showing the recent versions of all those packages. +% \item There is a new version of the used \textsf{geometry} package: 2010/09/12,~v5.6. +% \item There is a new version of the \textsf{hyperref} package: 2010/12/16,~v6.81z. +% \item The recent version of the Adobe Reader is X (10.0.0) (instead of 9.3.3). +% Its handling of special page numbers was improved. +% \item The option \texttt{alphMult}\ \ is now set to \texttt{ab} by default. +% \item The option \texttt{AlphMulti}\ is now set to \texttt{AB} by default. +% \item There is a new version of the \textsf{lastpage} package: 2011/02/01,~v1.2g. +% \item There is a new version of the used \textsf{undolabl} package: 2011/02/01,~v1.0h. +% \item There is a new version of the \textsf{papermas} package: 2011/02/01,~v1.0e. +% \item Some details. +% \end{Version} % \end{History} % % % \PrintChanges @@ -5185,8 +5223,8 @@ was added.)\\ % % \bigskip % -% Note: J and Y are not missing in the index, but no commands beginning -% with these letters have been used in this \textsf{pagesLTS} package. +% Note: \textsf{Y} is not missing in the index, but no command beginning +% with this letter has been used in this \textsf{pagesLTS} package. % % \pagebreak % diff --git a/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.ins b/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.ins index 2d804f1bd20..ee68ac1e587 100644 --- a/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.ins +++ b/Master/texmf-dist/source/latex/pagesLTS/pagesLTS.ins @@ -59,7 +59,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: pagesLTS v1.1l 2010/09/27 LaTeX2e package *} +\Msg{* Package: pagesLTS v1.1m 2011/02/01 LaTeX2e package *} \Msg{* Refers to special pages' numbers/names (HMM) *} \Msg{******************************************************} @@ -139,12 +139,12 @@ and the derived files \Msg{* pagesLTS.sty *} \Msg{* *} \Msg{* To produce the documentation run the file `pagesLTS.drv' *} -\Msg{* through (pdf)LaTeX, e. g. *} -\Msg{* pdflatex pagesLTS.dtx *} +\Msg{* through (pdf)LaTeX, e.g. *} +\Msg{* pdflatex pagesLTS.drv *} \Msg{* makeindex -s gind.ist pagesLTS.idx *} -\Msg{* pdflatex pagesLTS.dtx *} +\Msg{* pdflatex pagesLTS.drv *} \Msg{* makeindex -s gind.ist pagesLTS.idx *} -\Msg{* pdflatex pagesLTS.dtx *} +\Msg{* pdflatex pagesLTS.drv *} \Msg{* *} \Msg{* At least three runs are necessary e. g. to get the *} \Msg{* references right! *} diff --git a/Master/texmf-dist/tex/latex/pagesLTS/pagesLTS.sty b/Master/texmf-dist/tex/latex/pagesLTS/pagesLTS.sty index df478ae5cfe..3596355be96 100644 --- a/Master/texmf-dist/tex/latex/pagesLTS/pagesLTS.sty +++ b/Master/texmf-dist/tex/latex/pagesLTS/pagesLTS.sty @@ -55,7 +55,7 @@ %% pagesLTS-example.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{pagesLTS}[2010/09/27 v1.1l +\ProvidesPackage{pagesLTS}[2010/09/27 v1.1m Refers to special pages' numbers/names (HMM)]% %% Allows for things like\\ @@ -71,9 +71,9 @@ %% 'Page d (57; local: 4) of ii(2) + XX(20) + *(1) + 30(30) + e(5) + C(3) = 61 pages.'. \RequirePackage{atveryend}[2010/03/24]% v1.5 -\RequirePackage{everyshi}[2001/05/15]%v 3.00 +\RequirePackage{everyshi}[2001/05/15]% v3.00 \RequirePackage{kvoptions}[2010/02/22]% v3.7 -\RequirePackage{undolabl}[2010/09/12]% v1.0g +\RequirePackage{undolabl}[2011/02/01]% v1.0h %% pagesLTS package uses Prelim@EveryShipout code from the %% prelim2e package [2009/05/29 v1.3] by Martin Schr\"{o}der, thanks! @@ -89,8 +89,8 @@ \SetupKeyvalOptions{family = pagesLTS,prefix = pagesLTS@} \DeclareBoolOption[true]{pagecontinue} % \pagesLTS@pagecontinue -\DeclareStringOption{alphMult}[ab] -\DeclareStringOption{AlphMulti}[AB] +\DeclareStringOption[ab]{alphMult} +\DeclareStringOption[AB]{AlphMulti} \DeclareBoolOption[true]{romanMult} \DeclareBoolOption[true]{RomanMulti} \DeclareBoolOption[true]{fnsymbolmult} @@ -271,6 +271,7 @@ \def\lastpageref{\lastpagereftxt} \def\pagesLTS@undolable{none} \def\pncmissing{0} +\def\pagesLTS@SK{0} \def\pagesLTS@messageNPN{% The pagesLTS package was used, but\MessageBreak% \textbackslash pagenumbering\MessageBreak% @@ -297,11 +298,11 @@ \newcounter{pagesLTS.pnc.0} \newcommand{\xroman}[1]{% - \ifnum\value{#1}>0 % + \ifnum\value{#1}>0% \roman{#1}% \else% - \ifnum\value{#1}<0 % - -\romannumeral\number-\arabic{#1} + \ifnum\value{#1}<0% + -\romannumeral\number-\arabic{#1}% \else% 0% \fi% @@ -309,10 +310,10 @@ } \newcommand{\XRoman}[1]{% - \ifnum\value{#1}>0 % + \ifnum\value{#1}>0% \Roman{#1}% \else% - \ifnum\value{#1}<0 % + \ifnum\value{#1}<0% -\expandafter\@slowromancap\romannumeral\number-\arabic{#1}@% \else% 0% @@ -350,15 +351,15 @@ %% The following code is from Heiko Oberdiek [2010/04/18], %% %% expanding his alphalph package [2010/04/18] v2.3. (Thanks!) %% \newcommand*{\erroralphalph}[2]{% - \ifnum\value{#2}>0 % + \ifnum\value{#2}>0% #1{\value{#2}}% - \else - \ifnum\value{#2}<0 % + \else% + \ifnum\value{#2}<0% -#1{\expandafter\@gobble\the\value{#2}}% - \else + \else% 0% - \fi - \fi + \fi% + \fi% } %% End of code from Heiko Oberdiek %% %% Check and Error/Warning messages have been moved to %% @@ -686,7 +687,7 @@ \fi% \fi% \pagesLTS@putlabel{#1}{#2}{0}% - \@esphack + \@esphack% } \newcommand{\@pagesLTS@Prelim@EveryShipout}{% @@ -746,7 +747,7 @@ \EveryShipout{% \ifnum\value{page}>0% \relax% - \else + \else% \ifnum\value{page}=0% \PackageWarning{pagesLTS}{% Counter `page' is zero!\MessageBreak% @@ -755,7 +756,7 @@ (see Page counter overflow in the pagesLTS\MessageBreak% documentation), without other measures\MessageBreak% this will lead to a counter overflow.\MessageBreak% - } + }% \else% \ifnum\value{page}<0% \PackageWarning{pagesLTS}{% @@ -765,13 +766,13 @@ (see Page counter overflow in the pagesLTS\MessageBreak% documentation), without other measures\MessageBreak% this will lead to a counter overflow.\MessageBreak% - } + }% \else% \PackageError{pagesLTS}{% Counter `page' does not have a recognized value:\MessageBreak% `\the\value{page}'\MessageBreak% \@ehd \MessageBreak% - } + }% \fi% \fi% \fi% @@ -780,12 +781,12 @@ }{% hyperref loaded \gdef\pagesLTS@hyper{1}% }% - \ifx\pagesLTS@called\pagesLTS@zero + \ifx\pagesLTS@called\pagesLTS@zero% \global\def\pncmissing{1}% \mathchardef\pagesLTS@tmpD=\arabic{page}% %% Code from Andres L\"{o}h, Universiteit Utrecht (NL) %% - \def\extract#1{\expandafter\extract@ #1\END} - \def\extract@#1\csname @#2\endcsname#3\END{#2} + \def\extract#1{\expandafter\extract@ #1\END}% + \def\extract@#1\csname @#2\endcsname#3\END{#2}% \edef\pagesLTS@tmpQ{\extract\thepage}% %% End of code from Andres L\"{o}h %% \let\pagesLTS@tmpP\pagesLTS@tmpQ% @@ -858,6 +859,17 @@ \newcommand{\pagesLTS@putlabel}[3]{% \addtocounter{page}{-1}% + \ifx\pagesLTS@SK\pagesLTS@one% + \message{^^J}% + \message{Package pagesLTS Warning: Package showkeys without option final loaded,}% + \ifnum\value{pagesLTS.pagenr}<1% + \message{(pagesLTS) but label #1 on page \thepage\space(about \theCurrentPage)}% + \else% + \message{(pagesLTS) but label #1 on page \thepage\space(about \theCurrentPage\space of \arabic{pagesLTS.pagenr})}% + \fi% + \message{(pagesLTS) cannot be shown, because pagesLTS does not use \string\label,}% + \message{(pagesLTS) but writes directly to the \jobname.aux file. ^^J}% + \fi% \ifx\pagesLTS@hyper\pagesLTS@one% \pagesLTS@putlabelhyper{#1}{#2}% \else% @@ -901,8 +913,8 @@ \fi% \fi% \addtocounter{page}{+1}% - \pagesLTS@putlabel{LastPages}{\theCurrentPage}{1} - \addtocounter{CurrentPage}{1}% + \pagesLTS@putlabel{LastPages}{\theCurrentPage}{1}% + \addtocounter{CurrentPage}{+1}% \addtocounter{pagesLTS.current.local.\pagesLTS@pnc}{1}% } @@ -943,7 +955,7 @@ }{}% \@ifpackageloaded{lastpage}% {\@ifpackagelater{lastpage}{2010/07/28}% 2010/07/29 v1.2a - {\@ifpackagelater{lastpage}{2010/09/11}% 2010/09/12 v1.2e + {\@ifpackagelater{lastpage}{2011/01/31}% 2011/02/01 v1.2g {\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% @@ -1024,7 +1036,7 @@ }{\relax}% \@ifpackageloaded{undolabl}% {\@ifpackagelater{undolabl}{2010/07/14}% 2010/07/15 v1.0d - {\@ifpackagelater{undolabl}{2010/09/11}% 2010/09/12 v1.0g + {\@ifpackagelater{undolabl}{2011/01/31}% 2011/02/01 v1.0h {% 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% @@ -1046,7 +1058,7 @@ Type X <return> to quit.\MessageBreak% }% } - \@ifpackagelater{hyperref}{2010/09/12}{% 2010/09/13 v6.81n + \@ifpackagelater{hyperref}{2010/12/15}{% 2010/12/16 v6.81z \relax}{% \PackageWarningNoLine{pagesLTS}{Old hyperref package detected:\MessageBreak% There is a newer version of the\MessageBreak% @@ -1055,7 +1067,7 @@ }% }% %% pagesLTS supports the use of the package hyperref by - %% Heiko Oberdiek (hyperref version 2010/09/13 v6.81n). + %% Heiko Oberdiek (hyperref version 2010/12/16 v6.81z). %% pagesLTS may work with earlier versions of this packages, %% but this was not tested. }% @@ -1063,6 +1075,9 @@ pagesLTS would support hyperref. The page references\MessageBreak% will NOT be hyperlinked!\MessageBreak }% }% + \@ifpackageloaded{showkeys}{% + \@ifpackagewith{showkeys}{final}{\relax}{\gdef\pagesLTS@SK{1}}% + }{\relax}% \newcommand\pagesLTS@dofilelist{}% \let\pagesLTS@dofilelist\@dofilelist% \def\@dofilelist{\pagesLTS@dofilelist\pagesLTS@rerunwarning}% |