[latex3-commits] [git/LaTeX3-latex3-hyperref] master: correct definition of begin/end in pdfstringdef (2b6acc2)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Feb 4 11:58:45 CET 2021


Repository : https://github.com/latex3/hyperref
On branch  : master
Link       : https://github.com/latex3/hyperref/commit/2b6acc2f118de4ef4b8cba86e4ced60c88b59aec

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

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

    correct definition of begin/end in pdfstringdef


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

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

diff --git a/hyperref.dtx b/hyperref.dtx
index 12a8cae..81474a1 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -1304,8 +1304,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.