[latex3-commits] [git/LaTeX3-latex3-latex2e] gh989: fix rollback (1584aedc)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Jan 30 18:55:06 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : gh989
Link       : https://github.com/latex3/latex2e/commit/1584aedc9ccde7f05d26912da72da62e6ba2779f

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

commit 1584aedc9ccde7f05d26912da72da62e6ba2779f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Jan 30 18:55:06 2023 +0100

    fix rollback


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

1584aedc9ccde7f05d26912da72da62e6ba2779f
 base/ltpara.dtx | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/base/ltpara.dtx b/base/ltpara.dtx
index 80d5fd19..4a1a4169 100644
--- a/base/ltpara.dtx
+++ b/base/ltpara.dtx
@@ -847,6 +847,18 @@
 %<latexrelease>    \msg_error:nnnn { hooks }{ para-mode }{begin}{vertical} \fi:
 %<latexrelease>  \__para_handle_indent:
 %<latexrelease>}
+%    \end{macrocode}
+%    We also have to add the \cs{everypar} toks register at the
+%    end. In case of rollback this is already allocated and we have to
+%    find out the correct number (hope this is correctly done)
+%    \begin{macrocode}
+%<latexrelease>\cs_set:Npn\cs_tmpa:nnnnn #1#2#3#4#5{}
+%<latexrelease>\tl_gput_right:Nx \g_@@_standard_everypar_tl {
+%<latexrelease>    \exp_not:N \the
+%<latexrelease>    \exp_not:N \toks
+%<latexrelease>    \exp_args:Nw \cs_tmpa:nnnnn \token_to_meaning:N \everypar
+%<latexrelease>    \c_space_tl
+%<latexrelease>}
 %<latexrelease>\EndIncludeInRelease
 %    \end{macrocode}
 %  \end{macro}





More information about the latex3-commits mailing list.