[latex3-commits] [git/LaTeX3-latex3-hyperref] lang-extract: correct definition of begin/end in pdfstringdef (4d8124a)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Oct 19 19:49:05 CEST 2020


Repository : https://github.com/latex3/hyperref
On branch  : lang-extract
Link       : https://github.com/latex3/hyperref/commit/4d8124abae935380fc7671535f74a3b0dd2fc06d

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

commit 4d8124abae935380fc7671535f74a3b0dd2fc06d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Oct 19 19:49:05 2020 +0200

    correct definition of begin/end in pdfstringdef


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

4d8124abae935380fc7671535f74a3b0dd2fc06d
 hyperref.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hyperref.dtx b/hyperref.dtx
index d174932..422cf52 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -1306,8 +1306,8 @@
 %
 % \paragraph{Environments.}
 %    \begin{macrocode}
-    \def\begin#1{\csname#1\endcsname}%
-    \def\end#1{\csname end#1\endcsname}%
+    \def\begin##1{\csname##1\endcsname}%
+    \def\end##1{\csname end##1\endcsname}%
 %    \end{macrocode}
 %
 % \paragraph{Package color.}





More information about the latex3-commits mailing list.