summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-09-14 20:25:24 +0000
committerKarl Berry <karl@freefriends.org>2023-09-14 20:25:24 +0000
commitbdf29fccef93127229dd75857543360f7932afa3 (patch)
tree9210032eda16d0561d61a678a961c65b5717f66b
parentd6880412cfd3146e7b1f60870c697dd57cb63375 (diff)
zref (14sep23)
git-svn-id: svn://tug.org/texlive/trunk@68278 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/zref/README.md5
-rw-r--r--Master/texmf-dist/doc/latex/zref/zref-example-lastpage.tex4
-rw-r--r--Master/texmf-dist/doc/latex/zref/zref-example-nextpage.tex4
-rw-r--r--Master/texmf-dist/doc/latex/zref/zref-example.tex4
-rw-r--r--Master/texmf-dist/doc/latex/zref/zref.pdfbin699064 -> 699604 bytes
-rw-r--r--Master/texmf-dist/source/latex/zref/zref.dtx165
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-abspage.sty18
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-abspos.sty40
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-base.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-counter.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-dotfill.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-env.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-hyperref.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-lastpage.sty9
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-marks.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-nextpage.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-pageattr.sty11
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-pagelayout.sty11
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-perpage.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-runs.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-savepos.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-thepage.sty8
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-titleref.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-totpages.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-user.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref-xr.sty6
-rw-r--r--Master/texmf-dist/tex/latex/zref/zref.sty6
27 files changed, 195 insertions, 174 deletions
diff --git a/Master/texmf-dist/doc/latex/zref/README.md b/Master/texmf-dist/doc/latex/zref/README.md
index 2406610dfd7..47531d90fb0 100644
--- a/Master/texmf-dist/doc/latex/zref/README.md
+++ b/Master/texmf-dist/doc/latex/zref/README.md
@@ -1,6 +1,6 @@
# zref packages for LaTeX
-Version: 2022-04-07 v2.34
+Version: 2023-09-14 v2.35
Package zref tries to get rid of the restriction
@@ -12,8 +12,9 @@ to the system and some applications that uses the new
reference scheme.
## Copyright (C)
+
* 2007, 2009-2011 Heiko Oberdiek
-* 2016-2022 Oberdiek Package Support Group
+* 2016-2023 Oberdiek Package Support Group
## License
LATEX Project Public License, version 1.3c or later.
diff --git a/Master/texmf-dist/doc/latex/zref/zref-example-lastpage.tex b/Master/texmf-dist/doc/latex/zref/zref-example-lastpage.tex
index ac6df93ec7b..6afbcdb94e4 100644
--- a/Master/texmf-dist/doc/latex/zref/zref-example-lastpage.tex
+++ b/Master/texmf-dist/doc/latex/zref/zref-example-lastpage.tex
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/doc/latex/zref/zref-example-nextpage.tex b/Master/texmf-dist/doc/latex/zref/zref-example-nextpage.tex
index b4a04036cc5..82e4c8ee76e 100644
--- a/Master/texmf-dist/doc/latex/zref/zref-example-nextpage.tex
+++ b/Master/texmf-dist/doc/latex/zref/zref-example-nextpage.tex
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/doc/latex/zref/zref-example.tex b/Master/texmf-dist/doc/latex/zref/zref-example.tex
index 3b1ad3d75d6..1ec1ed47fe2 100644
--- a/Master/texmf-dist/doc/latex/zref/zref-example.tex
+++ b/Master/texmf-dist/doc/latex/zref/zref-example.tex
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/doc/latex/zref/zref.pdf b/Master/texmf-dist/doc/latex/zref/zref.pdf
index 463bcaf221a..79c32906d49 100644
--- a/Master/texmf-dist/doc/latex/zref/zref.pdf
+++ b/Master/texmf-dist/doc/latex/zref/zref.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/zref/zref.dtx b/Master/texmf-dist/source/latex/zref/zref.dtx
index af22a5802ea..2cee7ca9f89 100644
--- a/Master/texmf-dist/source/latex/zref/zref.dtx
+++ b/Master/texmf-dist/source/latex/zref/zref.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% File: zref.dtx
-% Version: 2022-04-07 v2.34
+% Version: 2023-09-14 v2.35
% Info: A new reference scheme for LaTeX
%
% Copyright (C)
@@ -112,7 +112,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: zref 2022-04-07 v2.34 A new reference scheme for LaTeX (HO)}
+\Msg{* Package: zref 2023-09-14 v2.35 A new reference scheme for LaTeX (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -124,11 +124,11 @@
This is a generated file.
Project: zref
-Version: 2022-04-07 v2.34
+Version: 2023-09-14 v2.35
Copyright (C)
2006-2012 Heiko Oberdiek
- 2016-2022 Oberdiek Package Support Group
+ 2016-2023 Oberdiek Package Support Group
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -230,7 +230,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{zref.drv}%
- [2022-04-07 v2.34 A new reference scheme for LaTeX (HO)]%
+ [2023-09-14 v2.35 A new reference scheme for LaTeX (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\setlength{\emergencystretch}{1em}
@@ -245,7 +245,7 @@ and the derived files
% \GetFileInfo{zref.drv}
%
% \title{The \xpackage{zref} package}
-% \date{2022-04-07 v2.34}
+% \date{2023-09-14 v2.35}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/zref/issues}}}
%
@@ -852,22 +852,28 @@ and the derived files
% warnings.
%
% \subsection{Module \xmodule{abspage}}
-%
-% With the help of package \xpackage{atbegshi}
-% a new counter |abspage| with absolute page numbers is provided.
-% For technical and historical reasons the counter itself is zero based:
-% if you use it directly on the first page, e.g
-% with |\arabic{abspage}| you will get 0 as value. When using |\zref|
-% the first page will be page 1 as expected.
-% Also a new property |abspage| is defined and added to the
-% main property list. Thus you can reference the absolute
-% page number:
+% A new property |abspage| is defined and added to the
+% main property list. It makes use of the LaTeX count |\ReadonlyShipoutCounter|
+% to keep track of the page numbers.
+%
+% Thus you can reference the absolute page number:
% \begin{quote}
% |Section \zref{foo} is on page \zpageref{foo}.|\\
% |This is page \zref[abspage]{foo}|\\
% |of \zref[abspage]{LastPage}.|
% \end{quote}
% The example also makes use of module \xmodule{lastpage}.
+%
+% For compability also a counter |abspage| is provided
+% which is increased at shipout too.
+% For technical and historical reasons this counter is zero based:
+% if you use it directly on the first page, e.g
+% with |\arabic{abspage}| you will get 0 as value. (When using |\zref| to retrieve
+% the |abspage| property the first page will be page 1 as expected.).
+% It must be noted that the \texttt{perpage} package also provides a |abspage|
+% counter which is \emph{not} zero based but gives 1 on the first page if \texttt{zref-abspage} is
+% not loaded or loaded after \texttt{perpage}.
+%
%
% \subsection{Module \xmodule{lastpage}}
%
@@ -1663,7 +1669,7 @@ the height difference of the two baselines is
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref}
- [2022-04-07 v2.34 A new reference scheme for LaTeX (HO)]%
+ [2023-09-14 v2.35 A new reference scheme for LaTeX (HO)]%
% \end{macrocode}
%
% \subsubsection{Load basic module}
@@ -1750,7 +1756,7 @@ the height difference of the two baselines is
%<*base>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-base}%
- [2022-04-07 v2.34 Module base for zref (HO)]%
+ [2023-09-14 v2.35 Module base for zref (HO)]%
% \end{macrocode}
%
% \subsubsection{Utilities}
@@ -3070,7 +3076,7 @@ the height difference of the two baselines is
%<*user>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-user}%
- [2022-04-07 v2.34 Module user for zref (HO)]%
+ [2023-09-14 v2.35 Module user for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -3161,7 +3167,7 @@ the height difference of the two baselines is
%<*abspage>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-abspage}%
- [2022-04-07 v2.34 Module abspage for zref (HO)]%
+ [2023-09-14 v2.35 Module abspage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -3171,28 +3177,32 @@ the height difference of the two baselines is
%
% Module \xmodule{abspage} adds a new property \verb|abspage|
% to the \verb|main| property list for absolute page numbers.
-% These are recorded by the help of package \xpackage{atbegshi}.
-% \begin{macrocode}
-\RequirePackage{atbegshi}[2011/10/05]%
-% \end{macrocode}
+% These are recorded by the help of the standard LaTeX shipout hooks.
+% The count used as property is the standard LaTeX counter \verb|\ReadonlyShipoutCounter|,
+% but we still provide also the counter \verb|abspage| for compability with older
+% code.
% The counter \verb|abspage| must not go in the clear list
% of \verb|@ckpt| that is used to set counters in
% \xfile{.aux} files of included \hologo{TeX} files.
% \begin{macrocode}
\begingroup
- \let\@addtoreset\ltx@gobbletwo
- \newcounter{abspage}%
+ \@ifundefined{c@abspage}
+ {%
+ \let\@addtoreset\ltx@gobbletwo
+ \newcounter{abspage}%
+ }{}
\endgroup
\setcounter{abspage}{0}%
-\AtBeginShipout{%
+\AddToHook{shipout/before}{%
\stepcounter{abspage}%
}%
-\zref@newprop*{abspage}[0]{\the\c@abspage}%
+\zref@newprop*{abspage}[0]{\the\ReadonlyShipoutCounter}%
\zref@addprop\ZREF@mainlist{abspage}%
% \end{macrocode}
-% Note that counter \verb|abspage| shows the
+% Note that counter \verb|\ReadonlyShipoutCounter|
+% and \verb|abspage| show the
% previous page during page processing. Before
-% shipout the counter is incremented.
+% shipout the counters are incremented.
% Thus the property is correctly written with
% deferred writing. If the counter is written
% using \cs{zref@wrapper@immediate}, then the number
@@ -3209,7 +3219,7 @@ the height difference of the two baselines is
%<*counter>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-counter}%
- [2022-04-07 v2.34 Module counter for zref (HO)]%
+ [2023-09-14 v2.35 Module counter for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -3254,10 +3264,9 @@ the height difference of the two baselines is
%<*lastpage>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-lastpage}%
- [2022-04-07 v2.34 Module lastpage for zref (HO)]%
+ [2023-09-14 v2.35 Module lastpage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\RequirePackage{zref-abspage}[2019/11/29]
-\RequirePackage{atveryend}[2009/12/07]
\ifx\ZREF@base@ok Y%
\else
\expandafter\endinput
@@ -3272,7 +3281,7 @@ the height difference of the two baselines is
% the main property list are used.
% \begin{macrocode}
\zref@newlist{LastPage}
-\AfterLastShipout{%
+\AddToHook {enddocument/afterlastpage}{%
\if@filesw
\begingroup
\advance\c@page\m@ne
@@ -3326,7 +3335,7 @@ the height difference of the two baselines is
%<*thepage>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-thepage}%
- [2022-04-07 v2.34 Module thepage for zref (HO)]%
+ [2023-09-14 v2.35 Module thepage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -3350,7 +3359,7 @@ the height difference of the two baselines is
% \end{macro}
% \begin{macrocode}
\zref@addprop{thepage}{pagevalue}
-\AtBeginShipout{%
+\AddToHook{shipout/before}{%
\AtBeginShipoutAddToBox{%
\zref@thepage@atbegshi@hook
\zref@labelbylist{thepage\the\value{abspage}}{thepage}%
@@ -3401,7 +3410,7 @@ the height difference of the two baselines is
%<*nextpage>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-nextpage}%
- [2022-04-07 v2.34 Module nextpage for zref (HO)]%
+ [2023-09-14 v2.35 Module nextpage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -3505,7 +3514,7 @@ the height difference of the two baselines is
%<*totpages>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-totpages}%
- [2022-04-07 v2.34 Module totpages for zref (HO)]%
+ [2023-09-14 v2.35 Module totpages for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -3547,7 +3556,7 @@ the height difference of the two baselines is
%<*pagelayout>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-pagelayout}%
- [2022-04-07 v2.34 Module pagelayout for zref (HO)]%
+ [2023-09-14 v2.35 Module pagelayout for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -3558,7 +3567,6 @@ the height difference of the two baselines is
% \begin{macrocode}
\RequirePackage{zref-thepage}[2019/11/29]
\RequirePackage{iftex}[2019/11/07]%
-\RequirePackage{atveryend}[2010/03/24]
% \end{macrocode}
%
%
@@ -3675,7 +3683,7 @@ the height difference of the two baselines is
\fi
}%
}{}%
- \AtVeryEndDocument{\ZREF@pl@AtVeryEnd}%
+ \AddToHook{enddocument/afteraux}{\ZREF@pl@AtVeryEnd}%
\fi
}
% \end{macrocode}
@@ -3763,7 +3771,7 @@ the height difference of the two baselines is
% \end{macrocode}
% \end{macro}
% \begin{macrocode}
-\AfterLastShipout{%
+\AddToHook {enddocument/afterlastpage}{%
\ZREF@pl@AfterLastShipout
}
% \end{macrocode}
@@ -3779,7 +3787,7 @@ the height difference of the two baselines is
%<*pageattr>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-pageattr}%
- [2022-04-07 v2.34 Module pageattr for zref (HO)]%
+ [2023-09-14 v2.35 Module pageattr for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -3842,7 +3850,6 @@ the height difference of the two baselines is
% \end{macrocode}
% \begin{macrocode}
\RequirePackage{zref-abspage}[2019/11/29]
-\RequirePackage{atveryend}[2010/03/24]
\RequirePackage{pdftexcmds}[2010/04/01]
\let\ZREF@temp=Y%
\ltx@IfUndefined{pdf@escapehex}{\let\ZREF@temp=N}{}
@@ -3883,7 +3890,7 @@ the height difference of the two baselines is
\fi
}%
}{}%
- \AtVeryEndDocument{\ZREF@pa@AtVeryEnd}%
+ \AddToHook{enddocument/afteraux}{\ZREF@pa@AtVeryEnd}%
\fi
}
% \end{macrocode}
@@ -3996,7 +4003,7 @@ the height difference of the two baselines is
}%
}%
}
-\AfterLastShipout{%
+\AddToHook {enddocument/afterlastpage}{%
\ZREF@pa@AfterLastShipout
}
% \end{macrocode}
@@ -4011,7 +4018,7 @@ the height difference of the two baselines is
%<*marks>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-marks}%
- [2022-04-07 v2.34 Module marks for zref (HO)]%
+ [2023-09-14 v2.35 Module marks for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -4117,7 +4124,7 @@ the height difference of the two baselines is
%<*runs>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-runs}%
- [2022-04-07 v2.34 Module runs for zref (HO)]%
+ [2023-09-14 v2.35 Module runs for zref (HO)]%
% \end{macrocode}
%
% \begin{macro}{\zruns}
@@ -4149,7 +4156,7 @@ the height difference of the two baselines is
%<*perpage>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-perpage}%
- [2022-04-07 v2.34 Module perpage for zref (HO)]%
+ [2023-09-14 v2.35 Module perpage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -4352,7 +4359,7 @@ the height difference of the two baselines is
%<*titleref>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-titleref}%
- [2022-04-07 v2.34 Module titleref for zref (HO)]%
+ [2023-09-14 v2.35 Module titleref for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -4765,7 +4772,7 @@ the height difference of the two baselines is
%<*xr>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-xr}%
- [2022-04-07 v2.34 Module xr for zref (HO)]%
+ [2023-09-14 v2.35 Module xr for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -5301,7 +5308,7 @@ the height difference of the two baselines is
%<*hyperref>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-hyperref}%
- [2022-04-07 v2.34 Module hyperref for zref (HO)]%
+ [2023-09-14 v2.35 Module hyperref for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -5331,7 +5338,7 @@ the height difference of the two baselines is
%<*savepos>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-savepos}%
- [2022-04-07 v2.34 Module savepos for zref (HO)]%
+ [2023-09-14 v2.35 Module savepos for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -5504,7 +5511,7 @@ the height difference of the two baselines is
%<*abspos>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-abspos}%
- [2022-04-07 v2.34 Module abspos for zref (HO)]%
+ [2023-09-14 v2.35 Module abspos for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -5709,16 +5716,22 @@ the height difference of the two baselines is
%
% \subsubsection{Media}
%
+% Ensure that |\stockwidth| and |\stockheight| are defined
+% \begin{macrocode}
+\@ifundefined{stockwidth}{\newdimen\stockwidth}{}
+\@ifundefined{stockheight}{\newdimen\stockheight}{}
+% \end{macrocode}
+%
% \begin{macro}{\ZREF@abspos@media@width}
% \begin{macrocode}
\edef\ZREF@abspos@media@width{%
\ltx@ifundefined{pdfpagewidth}{%
\ltx@ifundefined{mediawidth}{%
- \ltx@ifundefined{stockwidth}{%
- paperwidth%
- }{%
+ \ifdim\stockwidth > \z@
stockwidth%
- }%
+ \else
+ paperwidth%
+ \fi
}{%
mediawidth%
}%
@@ -5736,21 +5749,21 @@ the height difference of the two baselines is
\edef\ZREF@abspos@media@height{%
\ltx@ifundefined{pdfpageheight}{%
\ltx@ifundefined{mediaheight}{%
- \ltx@ifundefined{stockheight}{%
- paperheight%
- }{%
+ \ifdim\stockwidth > \z@
stockheight%
- }%
+ \else
+ paperheight%
+ \fi
}{%
mediaheight%
}%
}{%
\noexpand\ifcase\pdfpageheight
- \ltx@ifundefined{stockheight}{%
- paperheight%
- }{%
+ \ifdim\stockwidth > \z@
stockheight%
- }%
+ \else
+ paperheight%
+ \fi
\noexpand\else
pdfpageheight%
\noexpand\fi
@@ -5759,11 +5772,11 @@ the height difference of the two baselines is
\ifluatex
\edef\ZREF@abspos@media@height{%
\noexpand\ifcase\pageheight
- \ltx@ifundefined{stockheight}{%
- paperheight%
- }{%
+ \ifdim\stockwidth > \z@
stockheight%
- }%
+ \else
+ paperheight%
+ \fi
\noexpand\else
pdfpageheight%
\noexpand\fi}%
@@ -6158,7 +6171,7 @@ the height difference of the two baselines is
%<*dotfill>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-dotfill}%
- [2022-04-07 v2.34 Module dotfill for zref (HO)]%
+ [2023-09-14 v2.35 Module dotfill for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -6258,7 +6271,7 @@ the height difference of the two baselines is
%<*env>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-env}%
- [2022-04-07 v2.34 Module env for zref (HO)]%
+ [2023-09-14 v2.35 Module env for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -6798,8 +6811,14 @@ the height difference of the two baselines is
% https://github.com/ho-tex/zref/issues/10
% \end{Version}
% \begin{Version}{2022-04-07 v2.34}
-% \item Updated
+% \item use the \texttt{zref@unique} counter in the include hook only if the module needs it
+% https://github.com/ho-tex/zref/issues/14
% \end{Version}
+% \begin{Version}{2023-09-14 v.2.35}
+% \item Define the abspage counter only if it is undefined
+% https://github.com/ho-tex/zref/issues/14
+% \item Remove dependency from atveryend.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/tex/latex/zref/zref-abspage.sty b/Master/texmf-dist/tex/latex/zref/zref-abspage.sty
index 825a876a71e..82ebef84e8b 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-abspage.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-abspage.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,22 +47,24 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-abspage}%
- [2022-04-07 v2.34 Module abspage for zref (HO)]%
+ [2023-09-14 v2.35 Module abspage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
\expandafter\endinput
\fi
-\RequirePackage{atbegshi}[2011/10/05]%
\begingroup
- \let\@addtoreset\ltx@gobbletwo
- \newcounter{abspage}%
+ \@ifundefined{c@abspage}
+ {%
+ \let\@addtoreset\ltx@gobbletwo
+ \newcounter{abspage}%
+ }{}
\endgroup
\setcounter{abspage}{0}%
-\AtBeginShipout{%
+\AddToHook{shipout/before}{%
\stepcounter{abspage}%
}%
-\zref@newprop*{abspage}[0]{\the\c@abspage}%
+\zref@newprop*{abspage}[0]{\the\ReadonlyShipoutCounter}%
\zref@addprop\ZREF@mainlist{abspage}%
\endinput
%%
diff --git a/Master/texmf-dist/tex/latex/zref/zref-abspos.sty b/Master/texmf-dist/tex/latex/zref/zref-abspos.sty
index 5bbd1611e6e..b8c91639373 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-abspos.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-abspos.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-abspos}%
- [2022-04-07 v2.34 Module abspos for zref (HO)]%
+ [2023-09-14 v2.35 Module abspos for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -154,14 +154,16 @@
\expandafter\ltx@firstoftwo
\fi
}
+\@ifundefined{stockwidth}{\newdimen\stockwidth}{}
+\@ifundefined{stockheight}{\newdimen\stockheight}{}
\edef\ZREF@abspos@media@width{%
\ltx@ifundefined{pdfpagewidth}{%
\ltx@ifundefined{mediawidth}{%
- \ltx@ifundefined{stockwidth}{%
- paperwidth%
- }{%
+ \ifdim\stockwidth > \z@
stockwidth%
- }%
+ \else
+ paperwidth%
+ \fi
}{%
mediawidth%
}%
@@ -175,21 +177,21 @@
\edef\ZREF@abspos@media@height{%
\ltx@ifundefined{pdfpageheight}{%
\ltx@ifundefined{mediaheight}{%
- \ltx@ifundefined{stockheight}{%
- paperheight%
- }{%
+ \ifdim\stockwidth > \z@
stockheight%
- }%
+ \else
+ paperheight%
+ \fi
}{%
mediaheight%
}%
}{%
\noexpand\ifcase\pdfpageheight
- \ltx@ifundefined{stockheight}{%
- paperheight%
- }{%
+ \ifdim\stockwidth > \z@
stockheight%
- }%
+ \else
+ paperheight%
+ \fi
\noexpand\else
pdfpageheight%
\noexpand\fi
@@ -198,11 +200,11 @@
\ifluatex
\edef\ZREF@abspos@media@height{%
\noexpand\ifcase\pageheight
- \ltx@ifundefined{stockheight}{%
- paperheight%
- }{%
+ \ifdim\stockwidth > \z@
stockheight%
- }%
+ \else
+ paperheight%
+ \fi
\noexpand\else
pdfpageheight%
\noexpand\fi}%
diff --git a/Master/texmf-dist/tex/latex/zref/zref-base.sty b/Master/texmf-dist/tex/latex/zref/zref-base.sty
index 17c7915ee5d..0f774d3fe5d 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-base.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-base.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-base}%
- [2022-04-07 v2.34 Module base for zref (HO)]%
+ [2023-09-14 v2.35 Module base for zref (HO)]%
\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
\RequirePackage{ltxcmds}[2010/12/02]
\RequirePackage{infwarerr}[2010/04/08]
diff --git a/Master/texmf-dist/tex/latex/zref/zref-counter.sty b/Master/texmf-dist/tex/latex/zref/zref-counter.sty
index e24f44f2d98..ad39fa1534a 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-counter.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-counter.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-counter}%
- [2022-04-07 v2.34 Module counter for zref (HO)]%
+ [2023-09-14 v2.35 Module counter for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-dotfill.sty b/Master/texmf-dist/tex/latex/zref/zref-dotfill.sty
index 21a9af110d3..6efaeb295ec 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-dotfill.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-dotfill.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-dotfill}%
- [2022-04-07 v2.34 Module dotfill for zref (HO)]%
+ [2023-09-14 v2.35 Module dotfill for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-env.sty b/Master/texmf-dist/tex/latex/zref/zref-env.sty
index 2de943ba8c1..fcef8a0d659 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-env.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-env.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-env}%
- [2022-04-07 v2.34 Module env for zref (HO)]%
+ [2023-09-14 v2.35 Module env for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-hyperref.sty b/Master/texmf-dist/tex/latex/zref/zref-hyperref.sty
index c5f44ed3db3..578a5292996 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-hyperref.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-hyperref.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-hyperref}%
- [2022-04-07 v2.34 Module hyperref for zref (HO)]%
+ [2023-09-14 v2.35 Module hyperref for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-lastpage.sty b/Master/texmf-dist/tex/latex/zref/zref-lastpage.sty
index 4a71d04b408..ebb7a18be6d 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-lastpage.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-lastpage.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,16 +47,15 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-lastpage}%
- [2022-04-07 v2.34 Module lastpage for zref (HO)]%
+ [2023-09-14 v2.35 Module lastpage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\RequirePackage{zref-abspage}[2019/11/29]
-\RequirePackage{atveryend}[2009/12/07]
\ifx\ZREF@base@ok Y%
\else
\expandafter\endinput
\fi
\zref@newlist{LastPage}
-\AfterLastShipout{%
+\AddToHook {enddocument/afterlastpage}{%
\if@filesw
\begingroup
\advance\c@page\m@ne
diff --git a/Master/texmf-dist/tex/latex/zref/zref-marks.sty b/Master/texmf-dist/tex/latex/zref/zref-marks.sty
index 8d26ac6571f..1a81f3d01db 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-marks.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-marks.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-marks}%
- [2022-04-07 v2.34 Module marks for zref (HO)]%
+ [2023-09-14 v2.35 Module marks for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-nextpage.sty b/Master/texmf-dist/tex/latex/zref/zref-nextpage.sty
index 84770c4f360..a69312aa862 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-nextpage.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-nextpage.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-nextpage}%
- [2022-04-07 v2.34 Module nextpage for zref (HO)]%
+ [2023-09-14 v2.35 Module nextpage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-pageattr.sty b/Master/texmf-dist/tex/latex/zref/zref-pageattr.sty
index 2a23ef190cc..3d702005c98 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-pageattr.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-pageattr.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-pageattr}%
- [2022-04-07 v2.34 Module pageattr for zref (HO)]%
+ [2023-09-14 v2.35 Module pageattr for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -99,7 +99,6 @@
\expandafter\endinput
\fi
\RequirePackage{zref-abspage}[2019/11/29]
-\RequirePackage{atveryend}[2010/03/24]
\RequirePackage{pdftexcmds}[2010/04/01]
\let\ZREF@temp=Y%
\ltx@IfUndefined{pdf@escapehex}{\let\ZREF@temp=N}{}
@@ -128,7 +127,7 @@
\fi
}%
}{}%
- \AtVeryEndDocument{\ZREF@pa@AtVeryEnd}%
+ \AddToHook{enddocument/afteraux}{\ZREF@pa@AtVeryEnd}%
\fi
}
\let\ZREF@temp=Y%
@@ -211,7 +210,7 @@
}%
}%
}
-\AfterLastShipout{%
+\AddToHook {enddocument/afterlastpage}{%
\ZREF@pa@AfterLastShipout
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/zref/zref-pagelayout.sty b/Master/texmf-dist/tex/latex/zref/zref-pagelayout.sty
index 618151887e0..cb60bd241dd 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-pagelayout.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-pagelayout.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-pagelayout}%
- [2022-04-07 v2.34 Module pagelayout for zref (HO)]%
+ [2023-09-14 v2.35 Module pagelayout for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -55,7 +55,6 @@
\fi
\RequirePackage{zref-thepage}[2019/11/29]
\RequirePackage{iftex}[2019/11/07]%
-\RequirePackage{atveryend}[2010/03/24]
\def\ZREF@temp#1{%
\begingroup
\escapechar=-1 %
@@ -149,7 +148,7 @@
\fi
}%
}{}%
- \AtVeryEndDocument{\ZREF@pl@AtVeryEnd}%
+ \AddToHook{enddocument/afteraux}{\ZREF@pl@AtVeryEnd}%
\fi
}
\def\ZREF@pl@AtVeryEnd{%
@@ -222,7 +221,7 @@
}{}%
}%
}
-\AfterLastShipout{%
+\AddToHook {enddocument/afterlastpage}{%
\ZREF@pl@AfterLastShipout
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/zref/zref-perpage.sty b/Master/texmf-dist/tex/latex/zref/zref-perpage.sty
index e72f5f56ec4..95e8d3fd0ad 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-perpage.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-perpage.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-perpage}%
- [2022-04-07 v2.34 Module perpage for zref (HO)]%
+ [2023-09-14 v2.35 Module perpage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-runs.sty b/Master/texmf-dist/tex/latex/zref/zref-runs.sty
index 72891359303..5c22a062a77 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-runs.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-runs.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-runs}%
- [2022-04-07 v2.34 Module runs for zref (HO)]%
+ [2023-09-14 v2.35 Module runs for zref (HO)]%
\providecommand*{\zruns}{0}%
\AtBeginDocument{%
\edef\zruns{\number\numexpr\zruns+1}%
diff --git a/Master/texmf-dist/tex/latex/zref/zref-savepos.sty b/Master/texmf-dist/tex/latex/zref/zref-savepos.sty
index ae3bea8dc48..fce74857d89 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-savepos.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-savepos.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-savepos}%
- [2022-04-07 v2.34 Module savepos for zref (HO)]%
+ [2023-09-14 v2.35 Module savepos for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-thepage.sty b/Master/texmf-dist/tex/latex/zref/zref-thepage.sty
index 3d3cc1d6ef7..a5bd1c99d62 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-thepage.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-thepage.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-thepage}%
- [2022-04-07 v2.34 Module thepage for zref (HO)]%
+ [2023-09-14 v2.35 Module thepage for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
@@ -60,7 +60,7 @@
\ZREF@NewPropPageValue
\let\zref@thepage@atbegshi@hook\ltx@empty
\zref@addprop{thepage}{pagevalue}
-\AtBeginShipout{%
+\AddToHook{shipout/before}{%
\AtBeginShipoutAddToBox{%
\zref@thepage@atbegshi@hook
\zref@labelbylist{thepage\the\value{abspage}}{thepage}%
diff --git a/Master/texmf-dist/tex/latex/zref/zref-titleref.sty b/Master/texmf-dist/tex/latex/zref/zref-titleref.sty
index a1d772d2d99..6b358218917 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-titleref.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-titleref.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-titleref}%
- [2022-04-07 v2.34 Module titleref for zref (HO)]%
+ [2023-09-14 v2.35 Module titleref for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-totpages.sty b/Master/texmf-dist/tex/latex/zref/zref-totpages.sty
index 6ffba528880..212fed50921 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-totpages.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-totpages.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-totpages}%
- [2022-04-07 v2.34 Module totpages for zref (HO)]%
+ [2023-09-14 v2.35 Module totpages for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-user.sty b/Master/texmf-dist/tex/latex/zref/zref-user.sty
index 89ca5dc63b6..a51e221970e 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-user.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-user.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-user}%
- [2022-04-07 v2.34 Module user for zref (HO)]%
+ [2023-09-14 v2.35 Module user for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref-xr.sty b/Master/texmf-dist/tex/latex/zref/zref-xr.sty
index a9e02733fff..428cbf99e77 100644
--- a/Master/texmf-dist/tex/latex/zref/zref-xr.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref-xr.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref-xr}%
- [2022-04-07 v2.34 Module xr for zref (HO)]%
+ [2023-09-14 v2.35 Module xr for zref (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\ifx\ZREF@base@ok Y%
\else
diff --git a/Master/texmf-dist/tex/latex/zref/zref.sty b/Master/texmf-dist/tex/latex/zref/zref.sty
index f7284ee7b34..d08661abed7 100644
--- a/Master/texmf-dist/tex/latex/zref/zref.sty
+++ b/Master/texmf-dist/tex/latex/zref/zref.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: zref
-%% Version: 2022-04-07 v2.34
+%% Version: 2023-09-14 v2.35
%%
%% Copyright (C)
%% 2006-2012 Heiko Oberdiek
-%% 2016-2022 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -47,7 +47,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{zref}
- [2022-04-07 v2.34 A new reference scheme for LaTeX (HO)]%
+ [2023-09-14 v2.35 A new reference scheme for LaTeX (HO)]%
\RequirePackage{zref-base}[2019/11/29]
\@ifundefined{ZREF@base@ok}{\endinput}{}
\def\ZREF@temp#1{%