[latex3-commits] [git/LaTeX3-latex3-latex2e] utf-8-protected: \protect not \protected so expand correctly in bookmarks (4039b449)

David Carlisle d.p.carlisle at gmail.com
Sun Feb 20 20:04:57 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : utf-8-protected
Link       : https://github.com/latex3/latex2e/commit/4039b449573b10bf3a5f3ca8a6471b908270ea54

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

commit 4039b449573b10bf3a5f3ca8a6471b908270ea54
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Feb 20 19:04:57 2022 +0000

    \protect not \protected so expand correctly in bookmarks


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

4039b449573b10bf3a5f3ca8a6471b908270ea54
 base/testfiles/helpers/german.sty | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/base/testfiles/helpers/german.sty b/base/testfiles/helpers/german.sty
index 7fa727e1..7b93fde9 100644
--- a/base/testfiles/helpers/german.sty
+++ b/base/testfiles/helpers/german.sty
@@ -36,10 +36,10 @@
   \fi\fi
 \expandafter\mathchardef\csname grmn\string @VersionNo\endcsname
 =9806\relax % = v2.5f
-\message{v2.5f 1998-07-08}
+\message{v2.5f 2022-02-20}
 \begingroup\expandafter\expandafter\expandafter\endgroup
 \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
-  \ProvidesPackage{german}[1998/07/08 v2.5f %
+  \ProvidesPackage{german}[2022/02/20 v2.5f %
      Support for writing german texts (br)]
 \fi
 \chardef\atcode=\catcode`\@
@@ -364,7 +364,8 @@
     \grmn at dq@macro\noexpand{#1}\grmn at dq@macro\noexpand{#2}}%
   \x}
 \def\grmn at dqredefcheck#1{}
-\protected\def\@active at dq#1{%
+\def\@active at dq{\protect\grmn at active@dq@}
+\def\grmn at active@dq@#1{%
   \grmn at dq@macro\ifx{#1}\relax
     \ifnum\grmn at dqwarninglevel>\z@ \grmn at dq@error{#1}\fi
     \expandafter\grmn@@normal at dq





More information about the latex3-commits mailing list.