From 07c0b354d913a32dd3faf79f05f0f103c55416d0 Mon Sep 17 00:00:00 2001 From: Luigi Scarso <luigi.scarso@gmail.com> Date: Sun, 19 Jan 2025 13:08:42 +0100 Subject: [PATCH] Fixed \shapemode does not reset at end of paragraphs (thanks to udifoglle@gmail.com) --- source/texk/web2c/luatexdir/ChangeLog | 4 ++++ source/texk/web2c/luatexdir/luatex_svnversion.h | 2 +- source/texk/web2c/luatexdir/tex/maincontrol.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source/texk/web2c/luatexdir/ChangeLog b/source/texk/web2c/luatexdir/ChangeLog index 36e1e7154..cfb811724 100644 --- a/source/texk/web2c/luatexdir/ChangeLog +++ b/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,7 @@ +2025-01-19 Luigi Scarso <luigi.scarso@gmail.com> + * Fixed \shapemode does not reset at end of paragraphs (thanks to udifoglle@gmail.com) + + 2025-01-18 Luigi Scarso <luigi.scarso@gmail.com> * In output_name_tree, sort_dest_names now compares literal strings or hexdecimal strings. * LuaTeX 1.20.5 diff --git a/source/texk/web2c/luatexdir/luatex_svnversion.h b/source/texk/web2c/luatexdir/luatex_svnversion.h index 5ad5a1026..75176b33f 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 7642 +#define luatex_svn_revision 7643 #endif diff --git a/source/texk/web2c/luatexdir/tex/maincontrol.c b/source/texk/web2c/luatexdir/tex/maincontrol.c index 7c00f0030..a66ad5439 100644 --- a/source/texk/web2c/luatexdir/tex/maincontrol.c +++ b/source/texk/web2c/luatexdir/tex/maincontrol.c @@ -1704,7 +1704,7 @@ void normal_paragraph(void) if (inter_line_penalties_par_ptr != null) eq_define(inter_line_penalties_loc, shape_ref_cmd, null); if (shape_mode_par > 0) - eq_word_define(dimen_base + shape_mode_code, 0); + eq_word_define(int_base + shape_mode_code, 0); } /*tex -- GitLab