[latex3-commits] [latex3/latex3] main: Make .cmds file more useful (450fdc760)

github at latex-project.org github at latex-project.org
Fri Dec 8 10:55:42 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/450fdc7602fd01e512cfa204104696d3973c5604

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

commit 450fdc7602fd01e512cfa204104696d3973c5604
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Dec 8 09:55:42 2023 +0000

    Make .cmds file more useful
    
    This removes the output from the .log,
    so it is more focussed.


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

450fdc7602fd01e512cfa204104696d3973c5604
 l3kernel/l3doc.dtx | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index c97150de0..4ec7cbc6f 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -3943,13 +3943,11 @@ and all files in that bundle must be distributed together.
             \seq_if_in:NnTF \g_doc_macros_seq {##1}
               {
                 \tl_put_right:Ne \l_@@_doc_def_tl
-                  { ##1 \iow_newline: }
-                \iow_now:Nn \g_@@_func_iow { > ~ ##1 }
+                  { \iow_newline: > ~ ##1 }
               }
               {
                 \tl_put_right:Ne \l_@@_doc_undef_tl
-                  { ##1 \iow_newline: }
-                \iow_now:Nn \g_@@_func_iow { ! ~ ##1 }
+                  { \iow_newline: ! ~ ##1 }
               }
           }
         \seq_map_inline:Nn \g_doc_macros_seq
@@ -3957,8 +3955,7 @@ and all files in that bundle must be distributed together.
             \seq_if_in:NnF \g_doc_functions_seq {##1}
               {
                 \tl_put_right:Ne \l_@@_undoc_def_tl
-                  { ##1 \iow_newline: }
-                \iow_now:Nn \g_@@_func_iow { ? ~ ##1 }
+                  { \iow_newline: ? ~ ##1 }
               }
           }
         \@@_functions_typeout:nN
@@ -3987,11 +3984,11 @@ and all files in that bundle must be distributed together.
   {
     \tl_if_empty:NF #2
       {
-        \typeout
+        \iow_now:Ne \g_@@_func_iow
           {
             \c_@@_iow_midrule_tl \iow_newline:
             #1 \iow_newline:
-            \c_@@_iow_midrule_tl \iow_newline:
+            \c_@@_iow_midrule_tl
             #2
           }
         \tl_clear:N #2





More information about the latex3-commits mailing list.