[latex3-commits] [latex3/latex2e] remove-firstaid: remove firstaid for gh 591, unneeded and breaks fix for gh 989 (1dac96e1)

github at latex-project.org github at latex-project.org
Sat May 20 16:53:59 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : remove-firstaid
Link       : https://github.com/latex3/latex2e/commit/1dac96e16b8ba94213ef48dafc673229a404db9b

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

commit 1dac96e16b8ba94213ef48dafc673229a404db9b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat May 20 16:53:59 2023 +0200

    remove firstaid for gh 591, unneeded and breaks fix for gh 989


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

1dac96e16b8ba94213ef48dafc673229a404db9b
 required/firstaid/changes.txt                      |  6 +++
 .../latex2e-first-aid-for-external-files.dtx       | 57 ----------------------
 2 files changed, 6 insertions(+), 57 deletions(-)

diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index 50752bc7..e3269578 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -1,3 +1,9 @@
+2023-05-20  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
+
+	* latex2e-first-aid-for-external-files.dtx: removed temporary fix for 
+      GitHub issue 591, unneeded now and it breaks for luatex the fix for gh 989
+      (minipage/list spacing) 
+
 2022-12-06  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx (subsection{the crop package first aid}):
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 7dc162d1..d9c90255 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -675,63 +675,6 @@
 %    \end{macrocode}
 %
 %
-% \subsection[Temporary fixes for the kernel (until the next
-%             patch-level release)]
-%    {Temporary fixes for the kernel \\
-%     (until the next patch-level release)}
-%
-% This fixes GitHub issue 591. It is only needed in Lua\TeX\ and replaces just one
-% instance of \cs{tex\_par:D} with the following version which removes
-% other nodes in the current list first.
-%    \begin{macrocode}
-\ExplSyntaxOn
-\sys_if_engine_luatex:T
-  {
-    \newluafunction \g__para_end_empty_par_id_int
-    \exp_args:Nx \everyjob {
-      \exp_not:V \everyjob
-      \exp_not:N \lua_now:n {
-        local~texnest, flush_list, par_token = tex.nest, node.flush_list, token.create'tex_par:D'~
-        lua.get_functions_table()[\int_use:N \g__para_end_empty_par_id_int] = function()
-          local~nest_level = texnest.top~
-          local~cur_head = nest_level.head~
-          flush_list(cur_head.next)
-          nest_level.tail, cur_head.next = cur_head, nil~
-          token.put_next(par_token)
-        end
-      }
-    }
-    \protected \luadef \__para_end_empty_par: \g__para_end_empty_par_id_int
-    \group_begin:
-    \cs_set:Npn \__para_extract_everypar:w #1 \the \toks #2 \s_stop
-      {
-        \tl_gset:Nn \g__para_standard_everypar_tl {
-          \box_gset_to_last:N \g_para_indent_box
-          \group_begin:
-            \__para_end_empty_par:
-          \group_end:
-          \tex_everypar:D { \msg_error:nnnn { hooks }{ para-mode }{before}{vertical} }
-          \@kernel at before@para at before
-          \hook_use:n {para/before}
-          \group_begin:
-            \tex_everypar:D {}
-            \skip_zero:N \tex_parskip:D
-            \tex_noindent:D
-          \group_end:
-          \tex_everypar:D{\g__para_standard_everypar_tl}
-          \@kernel at before@para at begin
-          \hook_use:n {para/begin}
-          \if_mode_horizontal: \else:
-            \msg_error:nnnn { hooks }{ para-mode }{begin}{vertical} \fi:
-          \__para_handle_indent:
-          \the \toks #2
-        }
-      }
-    \exp_last_unbraced:No \__para_extract_everypar:w \g__para_standard_everypar_tl \s_stop
-    \group_end:
-  }
-\ExplSyntaxOff
-%    \end{macrocode}
 %
 %
 %    \begin{macrocode}





More information about the latex3-commits mailing list.