[latex3-commits] [git/LaTeX3-latex3-latex3] master: Drop IniTeX guards in l3text (see #776) (5649e83df)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Jul 19 16:15:00 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/5649e83df192dddc623e406d09a2a5cd5ce457a4

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

commit 5649e83df192dddc623e406d09a2a5cd5ce457a4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Jul 19 15:15:00 2020 +0100

    Drop IniTeX guards in l3text (see #776)


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

5649e83df192dddc623e406d09a2a5cd5ce457a4
 l3kernel/l3text.dtx | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/l3kernel/l3text.dtx b/l3kernel/l3text.dtx
index 2946a48df..ca766391d 100644
--- a/l3kernel/l3text.dtx
+++ b/l3kernel/l3text.dtx
@@ -515,7 +515,6 @@
 %   Special cases for accents and letter-like symbols, which in some cases will
 %   need to be converted further.
 %    \begin{macrocode}
-%<*package>
 \tl_new:N \l_text_accents_tl
 \tl_set:Nn \l_text_accents_tl
   { \` \' \^ \~ \= \u \. \" \r \H \v \d \c \k \b \t }
@@ -534,7 +533,6 @@
     \SS \ss
     \TH \th
   }
-%</package>
 %    \end{macrocode}
 % \end{variable}
 %
@@ -566,10 +564,8 @@
 %   Commands which need not to expand.
 %    \begin{macrocode}
 \tl_new:N \l_text_expand_exclude_tl
-%<*package>
 \tl_set:Nn \l_text_expand_exclude_tl
   { \begin \cite \end \label \ref }
-%</package>
 %    \end{macrocode}
 % \end{variable}
 %
@@ -862,13 +858,6 @@
 %    \begin{macrocode}
 \cs_new:Npn \@@_expand_exclude:N #1
   {
-%<*initex>
-    \exp_after:wN \@@_expand_exclude:NN
-      \l_text_math_arg_tl
-      #1
-      \q_@@_recursion_tail \q_@@_recursion_stop
-%</initex>
-%<*package>
     \exp_args:Ne \@@_expand_exclude:nN
       {
         \exp_not:V \l_text_math_arg_tl
@@ -876,24 +865,16 @@
         \exp_not:V \l_text_expand_exclude_tl
       }
     #1
-%</package>
   }
-%<*package>
 \cs_new:Npn \@@_expand_exclude:nN #1#2
   {
     \@@_expand_exclude:NN #2 #1
       \q_@@_recursion_tail \q_@@_recursion_stop
   }
-%</package>
 \cs_new:Npn \@@_expand_exclude:NN #1#2
   {
     \@@_if_recursion_tail_stop_do:Nn #2
-%<*initex>
-      { \@@_expand_cs:N #1 }
-%</initex>
-%<*package>
       { \@@_expand_letterlike:N #1 }
-%</package>
     \cs_if_eq:NNTF #2 #1
       {
         \@@_use_i_delimit_by_q_recursion_stop:nw
@@ -910,7 +891,6 @@
 %   Another list of exceptions: these ones take no arguments so are
 %   easier to handle.
 %    \begin{macrocode}
-%<*package>
 \cs_new:Npn \@@_expand_letterlike:N #1
   {
     \exp_after:wN \@@_expand_letterlike:NN \exp_after:wN
@@ -931,7 +911,6 @@
       }
       { \@@_expand_letterlike:NN #1 }
   }
-%</package>
 %    \end{macrocode}
 %   \LaTeXe{}'s \cs{protect} makes life interesting. Where possible, we
 %   simply remove it and replace with the \enquote{parent} command; of course,





More information about the latex3-commits mailing list.