[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks2: oops, space at the beginning of a line vanish (and ^M is not a space in expl3) (59620dbc)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Aug 18 09:37:25 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : lthooks2
Link       : https://github.com/latex3/latex2e/commit/59620dbcf6a343cb2c7b2497a7129e2eb87304cb

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

commit 59620dbcf6a343cb2c7b2497a7129e2eb87304cb
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Aug 18 09:37:25 2020 +0200

    oops, space at the beginning of a line vanish (and ^M is not a space in expl3)


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

59620dbcf6a343cb2c7b2497a7129e2eb87304cb
 base/lthooks.dtx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index c86efe8f..e9cb56cd 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -2856,8 +2856,8 @@
        {
          \@@_msg_pair_found:nnn {#1} {#2} {#3}
          \iow_term:x{--->~ Drop~ '#2'~ code~ from~
-           \iow_char:N \\ g_@@_ \l_@@_cur_hook_tl _code_prop
-            ~ because~ of~ '#1' }
+           \iow_char:N \\ g_@@_ \l_@@_cur_hook_tl _code_prop ~
+           because~ of~ '#1' }
        }
     \prop_put:Nnn \l_@@_work_prop {#2} { }
   }
@@ -2867,8 +2867,8 @@
        {
          \@@_msg_pair_found:nnn {#1} {#2} {#3}
          \iow_term:x{--->~ Drop~ '#1'~ code~ from~
-           \iow_char:N \\ g_@@_ \l_@@_cur_hook_tl _code_prop
-           ~ because~ of~ '#2' }
+           \iow_char:N \\ g_@@_ \l_@@_cur_hook_tl _code_prop ~
+           because~ of~ '#2' }
        }
     \prop_put:Nnn \l_@@_work_prop {#1} { }
   }
@@ -2900,9 +2900,9 @@
 \cs_new_protected:Npn \@@_msg_pair_found:nnn #1#2#3
   {
     \iow_term:x{~ \str_if_eq:nnTF {#3} {??} {default} {~normal} ~
-                rule~ \@@_label_pair:nn {#1} {#2}:~
-                \use:c { g_@@_#3_rule_ \@@_label_pair:nn {#1} {#2} _tl }
-                ~ found}
+        rule~ \@@_label_pair:nn {#1} {#2}:~
+        \use:c { g_@@_#3_rule_ \@@_label_pair:nn {#1} {#2} _tl } ~
+        found}
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.