[latex3-commits] [git/LaTeX3-latex3-latex2e] gh239: Rearrange \begin{macro} environments (7c4dcda3)

PhelypeOleinik tex.phelype at gmail.com
Fri Jun 12 01:23:38 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : gh239
Link       : https://github.com/latex3/latex2e/commit/7c4dcda37d79bfb8577153194b3297b671fe3bd0

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

commit 7c4dcda37d79bfb8577153194b3297b671fe3bd0
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Thu Jun 11 20:23:38 2020 -0300

    Rearrange \begin{macro} environments


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

7c4dcda37d79bfb8577153194b3297b671fe3bd0
 base/ltoutenc.dtx | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/base/ltoutenc.dtx b/base/ltoutenc.dtx
index dc90f23c..8a1c25cd 100644
--- a/base/ltoutenc.dtx
+++ b/base/ltoutenc.dtx
@@ -1236,15 +1236,6 @@
 % \subsubsection{Copying font commands}
 %
 % \begin{macro}{\@if at DeclareTextCommand}
-% \begin{macro}{\@copy at DeclareTextCommand}
-% \begin{macro}{\@copy at declaretextcommand}
-% \begin{macro}{\@copy at declaretextcommand@enc}
-% \begin{macro}{\@copy at declaretextcommand@defaults}
-% \begin{macro}{\@unexpanded at cdrcar}
-% \begin{macro}{\@if at text@composite at copy@else}
-% \begin{macro}{\@copy at text@composite}
-% \begin{macro}{\@copy at one@composite}
-% \begin{macro}{\@copy at composite@stop}
 % \changes{v1.5h}{2020/05/09}{Added \cs{DeclareCommandCopy} (gh/239)}
 %
 %   With the generic \cs{NewCommandCopy} macro defined earlier in
@@ -1319,6 +1310,7 @@
   \x}
 %    \end{macrocode}
 %
+% \begin{macro}{\@loaded at encoding@list}
 %   Commands defined with \cs{DeclareTextCommand} have multiple possible
 %   versions, depending on the encoding of the font used, and encoding
 %   defaults declared for that command.  To make sure we catch all
@@ -1328,6 +1320,7 @@
 \def\@loaded at encoding@list{OML,OMS,TS1}
 %    \end{macrocode}
 %
+% \begin{macro}{\@copy at DeclareTextCommand}
 %   To copy a command here, start by expanding (in a group) the list of
 %   loaded encodings, and then |x|-expand:
 %    \begin{macrocode}
@@ -1367,6 +1360,9 @@
   }\x}
 %    \end{macrocode}
 %
+% \begin{macro}{\@copy at declaretextcommand}
+% \begin{macro}{\@unexpanded at cdrcar}
+% \begin{macro}{\@copy at declaretextcommand@defaults}
 %   Now \cs{@copy at declaretextcommand} just checks if |\<enc>\#2| exists,
 %   and then prepares the arguments for
 %   \cs{@copy at declaretextcommand@defaults}, which will examine if the
@@ -1402,6 +1398,7 @@
   \fi}
 %    \end{macrocode}
 %
+% \begin{macro}{\@if at text@composite at copy@else}
 %   This command checks if the text command being copied is a text
 %   composite command.  Text composites are declared differently for
 %   each argument \meta{char}, and are stored as
@@ -1450,6 +1447,7 @@
      {\@firstofone}}
 %    \end{macrocode}
 %
+% \begin{macro}{\@copy at text@composite}
 %   Copying the composite command is rather easy, as we can temporarily
 %   redefine \cs{@text at composite} to do the hard work for us.
 %    \begin{macrocode}
@@ -1481,6 +1479,8 @@
   \x}
 %    \end{macrocode}
 %
+% \begin{macro}{\@copy at one@composite}
+% \begin{macro}{\@copy at composite@stop}
 %   To actually make the copy, use just \cs{ifcsname} as it prevents the
 %   csname from being added to the hash table, and makes the whole thing
 %   a bit faster, since it doesn't require the two test from





More information about the latex3-commits mailing list.