diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-02 21:50:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-02 21:50:45 +0000 |
commit | aa1776c78dfdb456e2228fbceaa886e64e36174c (patch) | |
tree | 7967af7f0f2079a632809a813221918af16ba8cc /Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty | |
parent | a86d14742b305868a1c2b1f33f1263a6b7d0e03d (diff) |
oberdiek (1may12)
git-svn-id: svn://tug.org/texlive/trunk@26177 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.sty | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty b/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty index e9ca2b5b160..b79c25008fa 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/zref-savepos.sty @@ -9,9 +9,9 @@ %% This is a generated file. %% %% Project: zref -%% Version: 2011/03/18 v2.21 +%% Version: 2012/04/04 v2.24 %% -%% Copyright (C) 2006-2011 by +%% Copyright (C) 2006-2012 by %% Heiko Oberdiek <heiko.oberdiek at googlemail.com> %% %% This work may be distributed and/or modified under the @@ -44,8 +44,8 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{zref-savepos}% - [2011/03/18 v2.21 Module savepos for zref (HO)]% -\RequirePackage{zref-base}[2011/03/18] + [2012/04/04 v2.24 Module savepos for zref (HO)]% +\RequirePackage{zref-base}[2012/04/04] \ifx\ZREF@base@ok Y% \else \expandafter\endinput @@ -81,14 +81,34 @@ \pdfsavepos \fi } +\def\ZREF@zsavepos#1#2#3{% + \@bsphack + \if@filesw + \zref@savepos + #1{#3}{#2}% + \ltx@IfUndefined{TeXXeTstate}{% + }{% + \ifnum\TeXXeTstate=\ltx@zero + \else + \zref@savepos + \fi + }% + \fi + \@esphack +} \ZREF@IfDefinable\zsavepos\def{% - #1{% - \@bsphack - \if@filesw - \zref@savepos - \zref@labelbylist{#1}{savepos}% - \fi - \@esphack + {% + \ZREF@zsavepos\zref@labelbylist{savepos}% + }% +} +\ZREF@IfDefinable\zsaveposx\def{% + {% + \ZREF@zsavepos\zref@labelbyprops{posx}% + }% +} +\ZREF@IfDefinable\zsaveposy\def{% + {% + \ZREF@zsavepos\zref@labelbyprops{posy}% }% } \newcommand*{\zposx}[1]{% |