summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2020-02-25 12:53:56 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2020-02-25 12:53:56 +0000
commit01f00a36df6fe7d5692b7dbbc01ab045fc1eac28 (patch)
tree62b89854de095fd9b6ddf973dbd3aa3789a46375
parent6001907a1e1618bbd696b962bc427ab9c03131eb (diff)
xetex.web: allow fetching a value from \Umathchardef
git-svn-id: svn://tug.org/texlive/trunk@53905 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/xetexdir/xetex.web2
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index 152ec64154b..198d66eb632 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-25 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * xetex.web: Allow fetching value from a token defined by
+ \Umathchardef, to be compatible with LuaTeX. Fixes #109.
+
2020-02-23 Clerk Ma <maqiyuan130324@vip.qq.com>
* xetex.web: Fix a potential bug in the primitive
diff --git a/Build/source/texk/web2c/xetexdir/xetex.web b/Build/source/texk/web2c/xetexdir/xetex.web
index ab02d793ffb..d9431aa843c 100644
--- a/Build/source/texk/web2c/xetexdir/xetex.web
+++ b/Build/source/texk/web2c/xetexdir/xetex.web
@@ -9774,7 +9774,7 @@ set_page_int:@<Fetch the |dead_cycles| or the |insert_penalties|@>;
set_page_dimen: @<Fetch something on the |page_so_far|@>;
set_shape: @<Fetch the |par_shape| size@>;
set_box_dimen: @<Fetch a box dimension@>;
-char_given,math_given: scanned_result(cur_chr)(int_val);
+char_given,math_given,XeTeX_math_given: scanned_result(cur_chr)(int_val);
assign_font_dimen: @<Fetch a font dimension@>;
assign_font_int: @<Fetch a font integer@>;
register: @<Fetch a register@>;