[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: hy at putcatalog can be dummy (4a0c681)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Jan 8 16:49:17 CET 2021
Repository : https://github.com/latex3/pdfresources
On branch : reworking-annot
Link : https://github.com/latex3/pdfresources/commit/4a0c681a9bfa1bcb5328276c87a738bdeff8bc9d
>---------------------------------------------------------------
commit 4a0c681a9bfa1bcb5328276c87a738bdeff8bc9d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Jan 8 16:49:17 2021 +0100
hy at putcatalog can be dummy
>---------------------------------------------------------------
4a0c681a9bfa1bcb5328276c87a738bdeff8bc9d
hyperref-generic.dtx | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 623a8de..41aeb30 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -807,8 +807,8 @@
% (but it would be possible), we also don't test for empty |\thepage|,
% \pkg{hyperref} seems to handle this fine and the pdf is valid.
%
-% The code has to refer to some \pkg{hyperref} commands as we can't yet
-% change code there. The switch for draftmode has been removed.
+% The code has to define |\Hy at PutCatalog| as we can't yet
+% change code in hyperref. The switch for draftmode has been removed.
%
% \begin{macrocode}
\cs_new_protected:Npn\@@_PageLabels_gpush:
@@ -816,7 +816,7 @@
\pdfmanagement_add:nnx {Catalog} {PageLabels}{<</Nums[\HyPL at Labels]>>}
}
-\def\Hy at PutCatalog #1 { \__hyp_PageLabels_gpush: }
+\def\Hy at PutCatalog #1 {}
\legacy_if:nT { Hy at pdfpagelabels }
@@ -824,10 +824,13 @@
\cs_set_protected:Npn \HyPL at StorePageLabel #1
{
\tl_gput_right:Nx \HyPL at Labels { \the\Hy at abspage<<#1>> }
- \__hyp_PageLabels_gpush:
+ \@@_PageLabels_gpush:
}
}
+% \end{macrocode}
+
+% \begin{macrocode}
% variants of hyperref commands to get attributes in the prop
% these are (temporary) commands to fill various attributes (color, border style) in
More information about the latex3-commits
mailing list.