[latex3-commits] [git/LaTeX3-latex3-latex2e] gh239: Forgot an auxiliary (5a1c20ba)

PhelypeOleinik tex.phelype at gmail.com
Thu Jun 4 04:28:22 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : gh239
Link       : https://github.com/latex3/latex2e/commit/5a1c20ba964c7f5192c408e0f157db9fe89af6cc

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

commit 5a1c20ba964c7f5192c408e0f157db9fe89af6cc
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Wed Jun 3 23:28:22 2020 -0300

    Forgot an auxiliary


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

5a1c20ba964c7f5192c408e0f157db9fe89af6cc
 base/ltoutenc.dtx | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/base/ltoutenc.dtx b/base/ltoutenc.dtx
index 23047885..0d1c8a57 100644
--- a/base/ltoutenc.dtx
+++ b/base/ltoutenc.dtx
@@ -1370,6 +1370,22 @@
       \csname#1\@backslashchar#3\endcsname}}
 %    \end{macrocode}
 %
+%   Here's the \cs{@copy at declaretextcommand@enc} auxiliary:
+%    \begin{macrocode}
+\begingroup\edef\x{\endgroup
+\def\noexpand\@copy at declaretextcommand@enc
+  \detokenize{macro}:->%
+    \@backslashchar##1\detokenize{-cmd}##2\noexpand\@nil}\x{#1}
+%    \end{macrocode}
+%
+%   Finally, add both \cs{@if at DeclareTextCommand} and
+%   \cs{@copy at DeclareTextCommand} to \cs{@declarecommandcopylisthook}:
+%    \begin{macrocode}
+\edef\@declarecommandcopylisthook{%
+  \unexpanded\expandafter{\@declarecommandcopylisthook
+    {\@if at DeclareTextCommand \@copy at DeclareTextCommand}}}
+%    \end{macrocode}
+%
 %   Now the rollback code.
 %    \begin{macrocode}
 %</2ekernel|latexrelease>





More information about the latex3-commits mailing list.