diff options
Diffstat (limited to 'Build/source/texk/web2c/xetexdir')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/ChangeLog | 9 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/xetex.web | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog index 56c7a1815a2..0342c56105e 100644 --- a/Build/source/texk/web2c/xetexdir/ChangeLog +++ b/Build/source/texk/web2c/xetexdir/ChangeLog @@ -1,3 +1,12 @@ +2021-07-26 Hironobu Yamashita <h.y.acetaminophen@gmail.com> + + * xetex.web: Avoid an error + ! TeX capacity exceeded, sorry [primitive size=500]. + after applying partoken.ch. + - prim_size increased from 500 to 2100. + - prim_prime increased from 431 to 1777. + Both values are based on pdftex.web. + 2021-03-23 Karl Berry <karl@tug.org> * TL'21. diff --git a/Build/source/texk/web2c/xetexdir/xetex.web b/Build/source/texk/web2c/xetexdir/xetex.web index 8aa90220eb4..53176c99e23 100644 --- a/Build/source/texk/web2c/xetexdir/xetex.web +++ b/Build/source/texk/web2c/xetexdir/xetex.web @@ -5392,7 +5392,7 @@ locations for control sequences that are perpetually defined @d end_write=frozen_control_sequence+8 {permanent `\.{\\endwrite}'} @d frozen_dont_expand=frozen_control_sequence+9 {permanent `\.{\\notexpanded:}'} -@d prim_size=500 {maximum number of primitives } +@d prim_size=2100 {maximum number of primitives } @d frozen_null_font=frozen_control_sequence+10 {permanent `\.{\\nullfont}'} @d frozen_primitive=frozen_control_sequence+11 @@ -6455,7 +6455,7 @@ A global boolean variable called |no_new_control_sequence| is set to @ Primitive support needs a few extra variables and definitions -@d prim_prime=431 {about 85\pct! of |primitive_size|} +@d prim_prime=1777 {about 85\pct! of |primitive_size|} @d prim_base=1 @d prim_next(#) == prim[#].lh {link for coalesced lists} @d prim_text(#) == prim[#].rh {string number for control sequence name, plus one} |