texlive[58916] Build/source/texk/web2c/luatexdir: Sync with upstream
commits+lscarso at tug.org
commits+lscarso at tug.org
Mon Apr 19 16:58:14 CEST 2021
Revision: 58916
http://tug.org/svn/texlive?view=revision&revision=58916
Author: lscarso
Date: 2021-04-19 16:58:13 +0200 (Mon, 19 Apr 2021)
Log Message:
-----------
Sync with upstream luatex. Accept par in math after halign and eqn when in supress mode; a patch for linkarea in rtl context.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/luatexdir/ChangeLog
trunk/Build/source/texk/web2c/luatexdir/luatex.c
trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
trunk/Build/source/texk/web2c/luatexdir/pdf/pdflink.c
trunk/Build/source/texk/web2c/luatexdir/tex/texmath.c
Modified: trunk/Build/source/texk/web2c/luatexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/ChangeLog 2021-04-19 01:05:21 UTC (rev 58915)
+++ trunk/Build/source/texk/web2c/luatexdir/ChangeLog 2021-04-19 14:58:13 UTC (rev 58916)
@@ -1,3 +1,6 @@
+2021-04-19 Luigi Scarso <luigi.scarso at gmail.com>
+ * A patch for linkarea in rtl context
+
2021-04-10 Luigi Scarso <luigi.scarso at gmail.com>
* LuaTeX version 1.13.2 with MetaPost 2.01.
The version change in MetaPost
@@ -7,6 +10,10 @@
* LuaTeX version 1.13.1,
The version change is due solely to the bug fix in btex .. etex
+2021-03-28 Luigi Scarso <luigi.scarso at gmail.com>
+ * also accept par in math after halign
+ and eqn when in supress mode (HH)
+
2021-03-23 Karl Berry <karl at tug.org>
* TL'21.
Modified: trunk/Build/source/texk/web2c/luatexdir/luatex.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex.c 2021-04-19 01:05:21 UTC (rev 58915)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex.c 2021-04-19 14:58:13 UTC (rev 58916)
@@ -32,9 +32,9 @@
stick to "0" upto "9" so users can expect a number represented as string.
*/
-int luatex_version = 113;
-int luatex_revision = '2';
-const char *luatex_version_string = "1.13.2";
+int luatex_version = 114;
+int luatex_revision = '0';
+const char *luatex_version_string = "1.14.0";
const char *engine_name = my_name;
#include <kpathsea/c-ctype.h>
Modified: trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h 2021-04-19 01:05:21 UTC (rev 58915)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h 2021-04-19 14:58:13 UTC (rev 58916)
@@ -1 +1 @@
-#define luatex_svn_revision 7430
+#define luatex_svn_revision 7432
Modified: trunk/Build/source/texk/web2c/luatexdir/pdf/pdflink.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/pdf/pdflink.c 2021-04-19 01:05:21 UTC (rev 58915)
+++ trunk/Build/source/texk/web2c/luatexdir/pdf/pdflink.c 2021-04-19 14:58:13 UTC (rev 58916)
@@ -106,7 +106,16 @@
pdf_ann_right(q) = pos.h + pdf_link_margin;
break;
case dir_TRT:
- pdf_ann_left(q) = pos.h - pdf_link_margin;
+ /*tex
+ In version 1.13.0 the test for swapping was moved
+ to the moment we write the rectangle, but it did not
+ consider this case.
+ */
+ if (pdf_ann_left(q)<pdf_ann_right(q)) {
+ pdf_ann_left(q) = pos.h - pdf_link_margin;
+ } else {
+ pdf_ann_right(q) = pos.h - pdf_link_margin;
+ }
break;
case dir_LTL:
case dir_RTT:
Modified: trunk/Build/source/texk/web2c/luatexdir/tex/texmath.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/tex/texmath.c 2021-04-19 01:05:21 UTC (rev 58915)
+++ trunk/Build/source/texk/web2c/luatexdir/tex/texmath.c 2021-04-19 14:58:13 UTC (rev 58916)
@@ -2554,8 +2554,12 @@
}
if (mode == -m) {
/*tex end of equation number */
+ RECHECK:
if (cur_cmd == math_shift_cmd) {
check_second_math_shift();
+ } else if (suppress_mathpar_error_par && cur_cmd == par_end_cmd) {
+ get_x_token();
+ goto RECHECK;
} else {
check_display_math_end();
}
@@ -2690,8 +2694,12 @@
void finish_display_alignment(pointer p, pointer q, halfword saved_prevdepth)
{
do_assignments();
+ RECHECK:
if (cur_cmd == math_shift_cmd) {
check_second_math_shift();
+ } else if (suppress_mathpar_error_par && cur_cmd == par_end_cmd) {
+ get_x_token();
+ goto RECHECK;
} else {
check_display_math_end();
}
More information about the tex-live-commits
mailing list.