[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: fix rollback (73e2d840)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 15 18:10:02 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/73e2d84093d5c82ef1d6d42133cba510af8df071

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

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

    fix rollback


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

73e2d84093d5c82ef1d6d42133cba510af8df071
 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.