[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: improve pagelabels, testfiles need updates (15e9c02)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Jan 8 00:02:27 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/15e9c0251d3eff99a0019259162ce125c41115ee

>---------------------------------------------------------------

commit 15e9c0251d3eff99a0019259162ce125c41115ee
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jan 8 00:02:27 2021 +0100

    improve pagelabels, testfiles need updates


>---------------------------------------------------------------

15e9c0251d3eff99a0019259162ce125c41115ee
 hyperref-generic.dtx |  8 +++++++-
 resave.bat           | 41 ++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 47 insertions(+), 2 deletions(-)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index e58d842..40375c5 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -812,7 +812,13 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn\@@_PageLabels_gpush:
   {
-    \pdfmanagement_add:nnx {Catalog} {PageLabels}{<</Nums[\HyPL at Labels]>>}
+    \str_if_eq:eeTF{\HyPL at Labels}{0<</S/D>>}
+     {
+       \pdfmanagement_remove:nn {Catalog} {PageLabels}
+     }
+     {
+       \pdfmanagement_add:nnx {Catalog} {PageLabels}{<</Nums[\HyPL at Labels]>>}
+     }
   }
 
 \def\Hy at PutCatalog #1 { \__hyp_PageLabels_gpush: }
diff --git a/resave.bat b/resave.bat
index edfcea1..83200fd 100644
--- a/resave.bat
+++ b/resave.bat
@@ -3,4 +3,43 @@ rem l3build save -e\2 \1
 rem l3build save -cconfig-dvips \1
 rem l3build save -cconfig-luatex -e\2 \1
 
-REM check (id)  - ./build/test/viewerpreferences.xetex.pdf.fc
+%all because of pagelabel improvement.
+
+  Check failed with difference files
+  - ./build/test/destination-options.luatex.pdf.fc
+  - ./build/test/destination-options.pdftex.pdf.fc
+  - ./build/test/embedfile.luatex.pdf.fc
+  - ./build/test/embedfile.pdftex.pdf.fc
+  - ./build/test/formtextfields.luatex.pdf.fc
+  - ./build/test/formtextfields.pdftex.pdf.fc
+  - ./build/test/infodict-new.luatex.pdf.fc
+  - ./build/test/infodict-new.pdftex.pdf.fc
+  - ./build/test/ismap.luatex.pdf.fc
+  - ./build/test/ismap.pdftex.pdf.fc
+  - ./build/test/linkbordercolor.luatex.pdf.fc
+  - ./build/test/linkbordercolor.pdftex.pdf.fc
+  - ./build/test/linkhook.luatex.pdf.fc
+  - ./build/test/linkhook.pdftex.pdf.fc
+  - ./build/test/ocgcolorlinks.luatex.pdf.fc
+  - ./build/test/ocgcolorlinks.pdftex.pdf.fc
+  - ./build/test/pdffilelink.luatex.pdf.fc
+  - ./build/test/pdffilelink.pdftex.pdf.fc
+  - ./build/test/transition.luatex.pdf.fc
+  - ./build/test/transition.pdftex.pdf.fc
+  - ./build/test/viewerpreferences.luatex.pdf.fc
+  - ./build/test/viewerpreferences.pdftex.pdf.fc
+
+Failed tests for configuration config-noxetex:
+
+  Check failed with difference files
+  - ./build/test-config-noxetex/calculationsortorder.luatex.pdf.fc
+  - ./build/test-config-noxetex/calculationsortorder.pdftex.pdf.fc
+  - ./build/test-config-noxetex/metadata.luatex.pdf.fc
+  - ./build/test-config-noxetex/metadata.pdftex.pdf.fc
+  - ./build/test-config-noxetex/pgfpatches.luatex.pdf.fc
+  - ./build/test-config-noxetex/pgfpatches.pdftex.pdf.fc
+
+Failed tests for configuration config-luatex:
+
+  Check failed with difference files
+  - ./build/test-config-luatex/non-ascii-links.luatex.pdf.fc





More information about the latex3-commits mailing list.