diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/zref-lastpage.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/zref-lastpage.sty | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/zref-lastpage.sty b/Master/texmf-dist/tex/latex/oberdiek/zref-lastpage.sty index 0c0c2cee7d6..c4820c2b996 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/zref-lastpage.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/zref-lastpage.sty @@ -28,9 +28,10 @@ %% This work consists of the main source file zref.dtx %% and the derived files %% zref.sty, zref.pdf, zref.ins, zref.drv, zref-base.sty, -%% zref-abspage.sty, zref-counter.sty, zref-dotfill.sty, -%% zref-hyperref.sty, zref-lastpage.sty, zref-marks.sty, -%% zref-nextpage.sty, zref-perpage.sty, zref-runs.sty, +%% zref-abspage.sty, zref-abspos.sty, zref-counter.sty, +%% zref-dotfill.sty, zref-hyperref.sty, zref-lastpage.sty, +%% zref-marks.sty, zref-nextpage.sty, zref-pageattr.sty, +%% zref-pagelayout.sty, zref-perpage.sty, zref-runs.sty, %% zref-savepos.sty, zref-thepage.sty, zref-titleref.sty, %% zref-totpages.sty, zref-user.sty, zref-xr.sty, %% zref-example.tex, zref-example-lastpage.tex, @@ -40,11 +41,14 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{zref-lastpage}% - [2010/04/23 v2.15 Module lastpage for zref (HO)]% -\RequirePackage{zref-base}[2010/04/23] -\RequirePackage{zref-abspage}[2010/04/23] + [2010/05/01 v2.17 Module lastpage for zref (HO)]% +\RequirePackage{zref-base}[2010/05/01] +\RequirePackage{zref-abspage}[2010/05/01] \RequirePackage{atveryend}[2009/12/07] -\@ifundefined{ZREF@baseok}{\endinput}{} +\ifx\ZREF@base@ok Y% +\else + \expandafter\endinput +\fi \zref@newlist{LastPage} \AfterLastShipout{% \if@filesw @@ -68,8 +72,8 @@ \expandafter\ltx@secondoftwo \fi } -\newcommand*{\ziflastpage}{% - \zref@wrapper@babel\ZREF@iflastpage +\ZREF@IfDefinable\ziflastpage\def{% + {\zref@wrapper@babel\ZREF@iflastpage}% } \def\ZREF@iflastpage#1{% \zref@refused{LastPage}% |