summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-23 00:33:14 +0000
committerKarl Berry <karl@freefriends.org>2010-04-23 00:33:14 +0000
commitc0e1259ef738f3dc6e27246d797cf81a05836f97 (patch)
tree0b8a4267bd51f86fbf251d565d110e018e00dea6 /Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty
parent7ec0cd0175d99a635a9298554e4fb6f0e56599d1 (diff)
oberdiek update (22apr10)
git-svn-id: svn://tug.org/texlive/trunk@17966 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty20
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