summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/zref-perpage.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-11-30 21:50:13 +0000
committerKarl Berry <karl@freefriends.org>2018-11-30 21:50:13 +0000
commitbc1c525d19de0bd00e33e62eaa4dd1ed5466da25 (patch)
tree54927e776f140a72f177f8be929fb4d8a0790ca5 /Master/texmf-dist/tex/latex/oberdiek/zref-perpage.sty
parentaac57f0cd7aea0d101e3240a12321b2cba46fb28 (diff)
oberdiek (30nov18)
git-svn-id: svn://tug.org/texlive/trunk@49285 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/zref-perpage.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/zref-perpage.sty19
1 files changed, 15 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/zref-perpage.sty b/Master/texmf-dist/tex/latex/oberdiek/zref-perpage.sty
index b8e6ea15315..91d43276827 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/zref-perpage.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/zref-perpage.sty
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2016/05/21 v2.26
+%% Version: 2018/11/21 v2.27
%%
%% Copyright (C) 2006-2012 by
%% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
@@ -44,13 +44,13 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-perpage}%
- [2016/05/21 v2.26 Module perpage for zref (HO)]%
-\RequirePackage{zref-base}[2016/05/21]
+ [2018/11/21 v2.27 Module perpage for zref (HO)]%
+\RequirePackage{zref-base}[2018/11/21]
\ifx\ZREF@base@ok Y%
\else
\expandafter\endinput
\fi
-\RequirePackage{zref-abspage}[2016/05/21]
+\RequirePackage{zref-abspage}[2018/11/21]
\ZREF@NewPropPageValue
\zref@newlist{perpage}
\zref@addprops{perpage}{abspage,page,pagevalue}
@@ -63,6 +63,17 @@
\fi
\ZREF@org@stepcounter{#1}%
}
+\let\ZREF@org@@stpelt\@stpelt
+\def\@stpelt#1{%
+ \ifcsname ZREF@perpage@#1\endcsname
+ \begingroup
+ \let\stepcounter\ZREF@org@stepcounter
+ \ZREF@org@@stpelt{#1}%
+ \endgroup
+ \expandafter\ltx@gobbletwo
+ \fi
+ \ZREF@org@@stpelt{#1}%
+}
\ZREF@IfDefinable\zmakeperpage\def{%
{%
\@ifnextchar[\ZREF@makeperpage@opt{\ZREF@@makeperpage[\ltx@zero]}%