diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty b/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty index 399023da74e..4ff928fa351 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty @@ -35,12 +35,13 @@ %% zref-totpages.sty, zref-user.sty, zref-xr.sty, %% zref-example.tex, zref-example-lastpage.tex, %% zref-example-nextpage.tex, zref-test1.tex, -%% zref-test-runs.tex, zref-test-titleref-memoir.tex. +%% zref-test-base.tex, zref-test-runs.tex, +%% zref-test-titleref-memoir.tex. %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{zref-savepos}% - [2010/04/17 v2.12 Module savepos for zref (HO)]% -\RequirePackage{zref-base}[2010/04/17] + [2010/04/22 v2.14 Module savepos for zref (HO)]% +\RequirePackage{zref-base}[2010/04/22] \@ifundefined{ZREF@baseok}{\endinput}{} \ltx@IfUndefined{pdfsavepos}{% \PackageError\ZREF@name{% @@ -52,23 +53,22 @@ \RequirePackage{ifpdf} \ifpdf \else - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname pdftexversion\endcsname\relax - \else + \ltx@IfUndefined{pdftexversion}{% + }{% \ifnum\pdftexversion<140 % \PackageError\ZREF@name{% - \string\pdfsavepos\space is not supported in DVI mode\MessageBreak + \string\pdfsavepos\space is not supported in DVI mode% + \MessageBreak of this pdfTeX version% }\ZREF@UpdatePdfTeX \expandafter\expandafter\expandafter\endinput \fi - \fi + }% \fi \zref@newlist{savepos} \zref@newprop*{posx}[0]{\the\pdflastxpos} \zref@newprop*{posy}[0]{\the\pdflastypos} -\zref@addprop{savepos}{posx} -\zref@addprop{savepos}{posy} +\zref@addprop{savepos}{posx,posy} \def\zsavepos#1{% \@bsphack \if@filesw |