diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/pagesLTS/pagesLTS.sty | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/pagesLTS/pagesLTS.sty b/Master/texmf-dist/tex/latex/pagesLTS/pagesLTS.sty index a6f40cc72b5..df478ae5cfe 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/22 v1.1k +\ProvidesPackage{pagesLTS}[2010/09/27 v1.1l Refers to special pages' numbers/names (HMM)]% %% Allows for things like\\ @@ -270,6 +270,7 @@ \def\pagesLTS@esov{0} \def\lastpageref{\lastpagereftxt} \def\pagesLTS@undolable{none} +\def\pncmissing{0} \def\pagesLTS@messageNPN{% The pagesLTS package was used, but\MessageBreak% \textbackslash pagenumbering\MessageBreak% @@ -780,7 +781,7 @@ \gdef\pagesLTS@hyper{1}% }% \ifx\pagesLTS@called\pagesLTS@zero - \PackageError{pagesLTS}{pagenumbering missing}{\pagesLTS@messageNPN }% + \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} @@ -1071,6 +1072,9 @@ \let\pagesLTS@rerunwarning\relax% \AtEndDocument{% + \ifx\pncmissing\pagesLTS@one% + \PackageError{pagesLTS}{pagenumbering scheme missing}{\pagesLTS@messageNPN }% + \fi% \message{AED: pagesLTS setting LastPage ^^J}% \clearpage% \ifx\pagesLTS@pnc\pagesLTS@fns% |