summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/uptex/uptex-base/euptex.src
diff options
context:
space:
mode:
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