From b023247997686a572f05029d69322998e894e1dd Mon Sep 17 00:00:00 2001 From: Luigi Scarso <luigi.scarso@gmail.com> Date: Sun, 2 Feb 2025 22:30:31 +0100 Subject: [PATCH] ixed subtype of beforedisplaypenalty (thanks to udifoglle@gmail.com) --- source/texk/web2c/luatexdir/ChangeLog | 4 ++++ source/texk/web2c/luatexdir/luatex_svnversion.h | 2 +- source/texk/web2c/luatexdir/tex/texmath.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source/texk/web2c/luatexdir/ChangeLog b/source/texk/web2c/luatexdir/ChangeLog index fda39ba26..022c5fa18 100644 --- a/source/texk/web2c/luatexdir/ChangeLog +++ b/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,7 @@ +2025-02-02 Luigi Scarso <luigi.scarso@gmail.com> + * Fixed subtype of beforedisplaypenalty (thanks to udifoglle@gmail.com) + + 2025-02-01 Luigi Scarso <luigi.scarso@gmail.com> * LuaJIT 2.1.1736781742 (work in progress) * LuaTeX 1.21.0 diff --git a/source/texk/web2c/luatexdir/luatex_svnversion.h b/source/texk/web2c/luatexdir/luatex_svnversion.h index 4f52995f0..5b936b380 100644 --- a/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1,4 +1,4 @@ #ifndef luatex_svn_revision_h #define luatex_svn_revision_h -#define luatex_svn_revision 7653 +#define luatex_svn_revision 7654 #endif diff --git a/source/texk/web2c/luatexdir/tex/texmath.c b/source/texk/web2c/luatexdir/tex/texmath.c index 4b34c1723..a8de18081 100644 --- a/source/texk/web2c/luatexdir/tex/texmath.c +++ b/source/texk/web2c/luatexdir/tex/texmath.c @@ -2510,7 +2510,7 @@ static void finish_displayed_math(boolean l, pointer eqno_box, pointer p) if (type(p) == glue_node) d = 0; } - tail_append(new_penalty(pre_display_penalty_par,after_display_penalty)); + tail_append(new_penalty(pre_display_penalty_par,before_display_penalty)); /* tex By default the short skip detection is not adapted to r2l typesetting and that -- GitLab