[latex3-commits] [latex3/latex2e] ltcmd-verb: Update the l3doc hack (3afde702)

github at latex-project.org github at latex-project.org
Fri Sep 1 10:51:01 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : ltcmd-verb
Link       : https://github.com/latex3/latex2e/commit/3afde7021ce0694b4b3811cce9fadf5739ce81fd

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

commit 3afde7021ce0694b4b3811cce9fadf5739ce81fd
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 1 09:51:01 2023 +0100

    Update the l3doc hack


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

3afde7021ce0694b4b3811cce9fadf5739ce81fd
 texmf/tex/latex/l3kernel/l3doc.cls | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/texmf/tex/latex/l3kernel/l3doc.cls b/texmf/tex/latex/l3kernel/l3doc.cls
index 79143afe..7898a99b 100644
--- a/texmf/tex/latex/l3kernel/l3doc.cls
+++ b/texmf/tex/latex/l3kernel/l3doc.cls
@@ -828,7 +828,7 @@
       {
         \tl_remove_all:Nx \l__codedoc_tmpa_tl
           { \iow_char:N \^^M \c_percent_str }
-        \tl_remove_all:Nx \l__codedoc_tmpa_tl { \token_to_str:N \par \c_space_tl \c_percent_str }
+        \tl_remove_all:Nx \l__codedoc_tmpa_tl { \token_to_str:N \obeyedline \c_space_tl \c_percent_str }
         \tl_remove_all:Nx \l__codedoc_tmpa_tl { \tl_to_str:n { ^ ^ A } }
         \tl_remove_all:Nx \l__codedoc_tmpa_tl { \iow_char:N \^^I }
         \tl_remove_all:Nx \l__codedoc_tmpa_tl { \iow_char:N \^^M }





More information about the latex3-commits mailing list.