summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/uptex/uptex-base/euptex.src
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-17 22:25:54 +0000
committerKarl Berry <karl@freefriends.org>2017-04-17 22:25:54 +0000
commita367543b300faf3092d5847d0b107c4dab768cfe (patch)
tree9b9cad83a537ddb2ddda7d30f86eb98e509f9d73 /Master/texmf-dist/tex/uptex/uptex-base/euptex.src
parentc05f341f9c9efd31b3eb9325206b0983f5888a0a (diff)
uptex-base (17apr17)
git-svn-id: svn://tug.org/texlive/trunk@43900 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/uptex/uptex-base/euptex.src')
-rw-r--r--Master/texmf-dist/tex/uptex/uptex-base/euptex.src14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/uptex/uptex-base/euptex.src b/Master/texmf-dist/tex/uptex/uptex-base/euptex.src
index 2678731fe11..a6be4d61ddc 100644
--- a/Master/texmf-dist/tex/uptex/uptex-base/euptex.src
+++ b/Master/texmf-dist/tex/uptex/uptex-base/euptex.src
@@ -1,5 +1,5 @@
-%% e-upTeX macro
-%% derived from $TEXMF/tex/plain/etex/etex.src, eptex.src
+%% e-upTeX macro (2016/12/06)
+%% derived from $TEXMF/tex/plain/etex/etex.src (V2.1;0 01-FEB-1999), eptex.src
%% e-upTeX: euptex *euptex.src
% Assume a purely IniTeX environment and set up a minimal \catcode r\'egime
@@ -493,9 +493,15 @@
\count 265=\@cclvi % globally allocates \toks registers 256, 257, ...
\count 266=\@ne % globally allocates \marks classes 1, 2, ...
-\def \et@xmaxregs {32768}
+% There may be (u)pTeX + e-pTeX which does not have
+% FAM256 patch (e.g. ptex-ng) (2016/12/06)
+\ifx \undefined \omathchar
+ \def \et@xmaxregs {32768}
+\else
+ \def \et@xmaxregs {65536} % FAM256 patched (2016/05/16)
+\fi
-\count 270=\et@xmaxregs % locally allocates \count registers 32767, 32766, ...
+\count 270=\et@xmaxregs % locally allocates \count registers 65535, 65534, ...
\count 271=\et@xmaxregs % ditto for \dimen registers
\count 272=\et@xmaxregs % ditto for \skip registers
\count 273=\et@xmaxregs % ditto for \muskip registers