[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: allow to suppress the section patches in the generic driver too (8c9a7bc)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Jul 9 00:33:20 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/8c9a7bc4bab0a7a9ba180527dede704e11400b5e

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

commit 8c9a7bc4bab0a7a9ba180527dede704e11400b5e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Jul 9 00:33:20 2022 +0200

    allow to suppress the section patches in the generic driver too


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

8c9a7bc4bab0a7a9ba180527dede704e11400b5e
 hyperref-generic.dtx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 3986c08..9644406 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -5278,6 +5278,8 @@
     \hss
   }%
 }
+\@ifundefined{hyper at nopatch@sectioning}
+{
 \let\H at old@ssect\@ssect
 \def\@ssect#1#2#3#4#5{%
   \Hy at MakeCurrentHrefAuto{section*}%
@@ -5366,6 +5368,7 @@
     \H at old@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{#8}%
   }%
 }
+}{}
 \expandafter\def\csname Parent-4\endcsname{}
 \expandafter\def\csname Parent-3\endcsname{}
 \expandafter\def\csname Parent-2\endcsname{}





More information about the latex3-commits mailing list.