summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/uptex
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
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')
-rw-r--r--Master/texmf-dist/tex/uptex/uptex-base/euptex.src14
-rw-r--r--Master/texmf-dist/tex/uptex/uptex-base/uptex.tex13
2 files changed, 17 insertions, 10 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
diff --git a/Master/texmf-dist/tex/uptex/uptex-base/uptex.tex b/Master/texmf-dist/tex/uptex/uptex-base/uptex.tex
index eff77729463..86521851069 100644
--- a/Master/texmf-dist/tex/uptex/uptex-base/uptex.tex
+++ b/Master/texmf-dist/tex/uptex/uptex-base/uptex.tex
@@ -1,11 +1,12 @@
-% This is the upTeX format
+% This is the upTeX format (community edition)
+% last update: texjporg 2017/03/12
%
% pTeX format file:
-% (C)copyright ASCII corporation,1987,1995,1997
+% (C)copyright ASCII corporation,1987,1995,1997
% and modified for upTeX
%
\input plain
-\catcode`@=11 % at signs are no longer letters
+\catcode`@=11 % at signs act like letters
\def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later
\ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi
\nobreak#1\@sf\vfootnote{#1}}
@@ -15,7 +16,7 @@
\font\sevenmin=upjisr-h at 7pt
\font\fivemin=upjisr-h at 5pt
%
-\font\tengt=upjisg-h % ugothic(KANJI)
+\font\tengt=upjisg-h % gothic(KANJI)
\font\sevengt=upjisg-h at 7pt
\font\fivegt=upjisg-h at 5pt
%
@@ -52,6 +53,6 @@
\autospacing\autoxspacing
\jcharwidowpenalty=500
%
-% identifies the current format
+% identifies the current format based on plain
\def\fmtname{uptex}
-\def\fmtversion{3.14159 p1.0b_u00}
+\edef\fmtversion{\fmtversion\space p1.0b_u00}