summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-10 16:41:08 +0000
committerKarl Berry <karl@freefriends.org>2016-05-10 16:41:08 +0000
commit446a1062c38803cf8c0bedb9025c9192ce4b5fa4 (patch)
treedc41c5802657c5f8eca880ef784c730ae2b2d617
parent780dd0f222b797bf295f18b82227c158a4ca74fb (diff)
ptex-base split from ptex (1may16)
git-svn-id: svn://tug.org/texlive/trunk@41002 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/Changelog_eptex_beforeTL159
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/Changelog_ptex317
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/LICENSE26
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/README.md27
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/README_ptex32
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/eptex_resume.pdfbin0 -> 225736 bytes
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/eptexdoc.pdfbin0 -> 338305 bytes
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/eptexdoc.tex803
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/fam256d.tex160
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/fam256p.tex75
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/jfm.pdfbin0 -> 82690 bytes
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/jfm.tex168
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/jtex.pdfbin0 -> 250788 bytes
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/jtex.tex653
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/jtexdoc.pdfbin0 -> 145172 bytes
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/jtexdoc.tex403
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/ptexdoc.pdfbin0 -> 262774 bytes
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/ptexdoc.tex924
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/ptexskip.pdfbin0 -> 164929 bytes
-rw-r--r--Master/texmf-dist/doc/ptex/ptex-base/ptexskip.tex387
-rw-r--r--Master/texmf-dist/tex/ptex/ptex-base/ascii-jplain.tex47
-rw-r--r--Master/texmf-dist/tex/ptex/ptex-base/eptex.ini4
-rw-r--r--Master/texmf-dist/tex/ptex/ptex-base/eptex.src772
-rw-r--r--Master/texmf-dist/tex/ptex/ptex-base/eptexdefs.lib91
-rw-r--r--Master/texmf-dist/tex/ptex/ptex-base/kinsoku.tex144
-rw-r--r--Master/texmf-dist/tex/ptex/ptex-base/ptex.ini4
-rw-r--r--Master/texmf-dist/tex/ptex/ptex-base/ptex.tex67
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds3
-rw-r--r--Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/ptex-base.tlpsrc0
-rw-r--r--Master/tlpkg/tlpsrc/ptex-fonts.tlpsrc3
-rw-r--r--Master/tlpkg/tlpsrc/ptex.tlpsrc4
33 files changed, 5272 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/Changelog_eptex_beforeTL b/Master/texmf-dist/doc/ptex/ptex-base/Changelog_eptex_beforeTL
new file mode 100644
index 00000000000..19216ed4a08
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/Changelog_eptex_beforeTL
@@ -0,0 +1,159 @@
+
+2008. 1. 1: 一応第1版としておこう.
+
+2008. 1. 2: document の更新.数値積分という sample の追加.
+
+2008. 1. 3: いつのまにか作業中に etex.ch を書き換えていたので修正.
+ teTeX3 下でのコンパイルについての補足を追加.
+
+2008. 1. 4: TeX--XeT 機能を試験的にサポート.
+ 数式の baseline を揃え方を変える
+ \mathdisplacementstate を追加 (in pTeX)
+
+build 80105.11, 21
+ o \lastnodetype, \currentiflevel を e-TeX の動作に合わせた.
+ o 日時表記を 80000+100*月+日+時間/100 の数値に変更.
+ o ./trip の使い方などを記入.
+ o \currentiflevel まわりの typo を fix.
+ o W32TeX と合わせたときの compile 手順(未チェック)を記入
+ o upTeX と合わせたときの compile 手順を改稿(compileだけ)
+ o README.txt から HOWTOINST.txt を分離.
+
+build 80106.14, 19
+ o W32TeX と合わせたときの compile 手順が正しくなかったのを修正.
+ o document のさらなる整備,resume.tex のコンパイル要件がわからなく
+ なった
+
+build 80108.19
+ o 「peTeX との一本化」.角藤さんが Windows 用 build を提供してくれる
+ ことになったので,W32TeX と合わせた build の解説を削除.
+ o ↑に伴う,ptex-hack-1.diff の削除.余計な ptex-orig.diff の廃止.
+
+build 80110.20
+ o upTeX とのマージ方法に関する部分を修正.
+ o 浮動小数点演算拡張の部分 fp.diff を WEB change file の形式に変更.
+ 同時に,減算で ∞ - ∞ の結果が NaN になっていなかったのを修正.
+
+build 80113.22
+ o 浮動小数点演算(以下 fp)でのワーク領域を確保する量の間違いにより,
+ Segfault する可能性があるバグを修正(実際には平方根の計算などが
+ 54 桁で行われている場合があったことによるので,そちらの方を修正し
+ た)
+ o resume.pdf は発表時としては使わないことにした(スライドを別に作っ
+ て,そちらを使う予定).しかしこのファイルがもと.
+
+build 80120.11, 19
+ o fp → integer の変換ミスを修正.
+ o eptexdefs.lib を作成.それに伴い eptex.src を少々改定
+ o upTeX-0.20 に合うように更新.
+ o license をちゃんと決めた.(「通りすがり2」さん,ありがとうございます)
+ o doc/ に浮動小数点演算のサンプル tri.tex を追加
+
+build 80125.09
+ o fp.pdf が壊れていたので修正.
+
+build 80131.21
+ o TeX--XeT での displacement node の取扱いを改良し,和欧文混在時の
+ 組版結果がちょっと良くなった.
+ o resume.pdf の更新.
+
+build 80316.xx
+ o 生存証明(笑)
+ o 浮動小数点演算に MPFR library を使用してみた.格納形式が変更され,
+ 仮数部が10進21桁から2進 78 bit(implicit 79 bit)に.
+
+注意:上の 80316.xx の路線はもはや継続されていません.
+
+build 90111.20
+ o TeX Live 2008 下でのコンパイルに対応
+ o pteTeX3-20080616 (+ upTeX-0.25) 下でのコンパイルに対応
+ (ttkさん,角藤さん,ありがとうございます)
+ o INSTALL.txt の大幅な書き直し.
+
+build 90218
+ o 80131.21 版ぐらいの修正で trip test が異常な結果になっていたこと
+ への修正(副作用あるかも)
+ o ドキュメント類の書き直し.
+ o 小数点以下(大体の時間を表す)はあまり意味がないので今回から省略.
+ o e-pTeX, e-upTeX 本体の version も起動時に出力するようにした.
+ どんどん banner が長くなってくる(笑)
+
+注意:本来はこの 90218 のリリースの予定はなかった.FAM256 パッチの調整に手間
+ 取りそうだったので,bugfix だけでも先に出すことにしたのだった.
+
+build 090220
+ o 「FAM256パッチ」を作成,追加.
+ (このパッチを使用しない場合は 90218 版からの変更はバージョン番号
+ の変更のみ)
+ o 「デビ丸」さんの指摘により,バージョン番号を 6 桁とした.
+ (デビ丸さん,ありがとうございます)
+
+build 090223
+ o コンパイルスクリプトの変更.
+ できるだけ upTeX 側のversionが変わっても通るようにした.
+
+build 090309
+ o FreeBSD (on qemu) でも一部開発を行うことに.
+ o ptexenc による pTeX の修正と,本 e-pTeX による pTeX の修正が全く
+ かち合わないと勘違いをしていた.これに伴い,ptexenc があることを
+ 動作要件とすることに.
+ o e-TeX の条件分岐拡張(\ifcsname ... \endcsname)の部分で
+ 漢字を考慮していなかった動作だったのを修正.
+ o texmfmem.h, ptexenc まわりの再検討.これにより,-funsigned-char や
+ 「case 12」が不要になり,eplatex.fmt 作成時に segfault するバグも
+ 潰せたと思う.
+
+build 090927
+ o FAM256 patch を標準で有効に.このため,有効時にバージョンの末尾に
+ ついていた「FAM256-PATCHED」はもはやつかない.
+ o 黒木さんなどから「e-TeX ベースにした方が良いのでは」という意見を
+ いただいたので,そのようにしてみた.
+ o コンパイルのベースとなる環境がたくさんあるので,とりあえず
+ 今回は ptetex3-20090610 と ptexlive-20090904 のみ作業してみた.
+ o I forgot to include copy of BSD license ^^;
+ o Implementation of floating-point arithmetic is deleted due to
+ its half-hearted implementation.
+ (Someday I want to re-implement floating-point arithmetic in TeX,
+ but not inside e-pTeX)
+ o Several files rewrite in English.
+
+build 091003
+ o Fixed several typos. (Thanks to Mr. Debimaru)
+ o In eptexdoc.tex, graphicx and color packages don't use anymore.
+ (now correctly displayed in xdvi)
+
+build 100131
+ o languages.def was added in the archive.
+ o Support upTeX-0.29.
+ (In upTeX-0.29, pTeX is updated to 3.1.11.)
+
+build 100201
+ o Bug fix: typo in script/install
+ (euptex.fmt and euplatex.fmt ware generated in compatible mode)
+
+build 100420
+ o Based on ptexlive for TeX Live 2009.
+ o Change installation method.
+ o fam256.ch: fixed typo in error message.
+
+build 101231
+ o Based on TeX Live 2010.
+ o \pdfstrcmp primitive (of pdfTeX) is now supported.
+ (Thanks to Akira Kakuto)
+
+build 110102
+ o Fixed typo in scripts/unpack.sh.
+ o \pdfstrcmp compares Kanji characters by their UTF-8 encoded strings.
+ o re-included otfstable.zip and utfsrc.zip.
+
+build 110227
+ o Fixed a conflict between the status of a box (TeX--XeT extension) and
+ the direction of a box (pTeX extension),
+ using ptex-base.ch.boxdir.diff and etex-lrstat.ch.
+ o Implemented \pdfsavepos.
+ o Modified the behavior of \lastnodetype. (Thanks to Peter Breitenlohner)
+ o (about pTeX) Included the following patches:
+ ptex-base.ch.110119PB.diff: patches by Peter Breitenlohner.
+ ptex-base.ch.110223_radical.diff
+ ptex-base.ch.110224_boxdim.diff (<- not bugfix)
+ o pxdvik and dvipdfmx now handle \dtou primitive correctly.
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/Changelog_ptex b/Master/texmf-dist/doc/ptex/ptex-base/Changelog_ptex
new file mode 100644
index 00000000000..2d7e4bae543
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/Changelog_ptex
@@ -0,0 +1,317 @@
+2009/08/17: (p3.1.11)
+ ptex: 2$B%P%$%HJ8;z4V$N%0%k!<$,$*$+$7$/$J$k%P%0$r=$@5(B
+ \{y|t}baselineshift $B$,?t<0$K$bH?1G$5$l$k$h$&$K=$@5(B
+ ($B$"$j$,$H$&$4$6$$$^$9(B $B3QF#$5$s!"EZB<$5$s(B)
+
+2006/07/18: (p3.1.10)
+ ptex, tftopl, pltotf, jbibtex: -kanji $B%*%W%7%g%s$,(B -version $B%*%W%7%g%s$N(B
+ $B4A;z%3!<%I>pJs$KH?1G$5$l$k$h$&=$@5!#(B
+ Makefile.in: texmf.cnf $BCf$N%Q%95-=R$,(B teTeX-3.0 $B$N5-K!$K6a$/$J$k$h$&$K=$@5(B
+ ($B$"$j$,$H$&$4$6$$$^$9(B $BEZB<$5$s(B)
+ ptex: $BJQ?t$N=i4|2=K:$l$N$?$a!"4D6-$K$h$C$FAHHG7k2L$,0[$J$k>I>u$r=$@5(B
+ ($B$"$j$,$H$&$4$6$$$^$9(B $BEZB<$5$s!"3QF#$5$s(B)
+ pltotf, tftopl: 16$B6h$N4A;z$N07$$$K<:GT$9$kIT6q9g$r=$@5(B
+ ($B$"$j$,$H$&$4$6$$$^$9(B TANAKA Takuji$B$5$s(B)
+
+2005/10/17: (p3.1.9)
+ mkconf: platex $B$N8!:w%Q%9$K(B tex/platex $B$rF~$l$J$$$h$&$K=$@5(B
+ ptex: $BC18l$N@hF,$G(B LIG/ $B$r9T$&$h$&$J(BTFM$B$r;HMQ$9$k$H%Y!<%9%i%$%s%7%U%H$,(B
+ 0$B$G$J$$>l9g$K0[>o=*N;$9$k%P%0$r=$@5(B
+
+2005/03/07: (p3.1.8)
+ Makefile.in: make install $B$N:G8e$K(B mktexlsr $B$N<B9T$rDI2C(B
+ Makefile.in, INSTALL.txt: teTeX-3.0$B$N(BTEXMF$B%G%#%l%/%H%j$NJQ99$KH<$$=$@5(B
+ ($B$"$j$,$H$&$4$6$$$^$9!"3QF#$5$s(B)$B!#(B
+
+2004/12/14: (p3.1.8)
+ ptex: $B%3%s%H%m!<%k%7!<%1%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: $B?t<0Fb$G(B \char $B$r;HMQ$7$?>l9g$K(B1$B%P%$%HJ8;z$,4A;z$H8mG'<1$5$l$k(B
+ $B%P%0$r=$@5!#(B
+ ($B$"$j$,$H$&$4$6$$$^$9!"3QF#$5$s(B)
+ $B7@Ls>rJ8OBLu$r=$@5!#(B
+
+2003/10/07: (p3.1.3)
+ ptex: -kanji=sjis $B$N$H$-!"(B\kansujichar $B$G!"4|BT$7$?J8;z$,@_Dj$5$l(B
+ $B$J$$$N$r=$@5(B($B$"$j$,$H$&!"3QF#$5$s(B)$B!#(B
+
+2003/09/30:
+ ptex: $BC<Kv(B/$B%m%0$X$N%a%C%;!<%8$G!"0u;z$G$-$J$$J8;z$,=PNO$5$l$k$3$H$,(B
+ $B$"$k$N$KBP=h!#(B
+
+2003/08/05:
+ pconvert: usage $B%a%C%;!<%8$NJQ99!#(Bpltotf, tftopl, pdvitype $B$N$H$-!"(B
+ fixwrites $B$K%*%W%7%g%s(B($target)$B$r;XDj$9$k$h$&$K$7$?!#(B
+
+2003/06/23: (p3.1.2)
+ configure: mktemp$B$r;H$o$J$$$h$&$K=$@5(B
+
+2003/06/17: (p3.1.2)
+ Makefile.in: BSD$BHG(B make $B$G(B texmf.cnf $B$N:n@.$K<:GT$7$F$$$k$N$r=$@5(B
+
+2003/02/18: (p3.1.2)
+ ptex: \kansuji $B%W%j%_%F%#%V$rI|3h$5$;$?!#(B
+ ptex: \kansujichar $B%W%j%_%F%#%V$K$h$j!"(B\kansuji $B$G=PNO$5$l$kJ8;z$r@_Dj(B
+ $B2DG=$K$7$?!#(B
+
+2003/02/14: (p3.1.1)
+ ptex: $B4A;z$,(B ^^ $B7A<0$G%3%s%=!<%k$KI=<($5$l$k$N$r=$@5!#(B
+ ptex: \uppercase, \lowercase $B$G(B core $B$r=P$9>l9g$,$"$k$N$r=$@5!#(B
+
+2003/02/13: (p3.1)
+ ptex: main_memory$B!"(Bhash_extra $B$rBg$-$/$7!"KDBg$J%^%/%mDj5A$r$9$k$H!"(B
+ $B!V(B!Missing control sequence inserted.$B!W$N%(%i!<$K$J$k$N$r=$@5!#(B
+
+2003/02/03: (p3.0.6)
+ ptex: tetex-2.0 $B$X$NBP1~(B
+ ptex: sjis $BF0:n0J30$N$H$-!"(B\char\sjis $B$,@5$7$/F0$+$J$$$N$r=$@5(B
+ ptex: $B<B83E*$KF~$l$F$"$C$?%W%j%_%F%#%V!J(B\kansuji$B!"(B\tozen$B!K$r<h$j=|$$$?(B
+ ptexextra.h: BANNER $BJ8;zNs$N99?7(B
+ ptexextra.c: tetex-2.0 $B$X$NBP1~(B
+
+2002/11/22:
+ Makefile.in: euc(jis), sjis $BMQ%U%)!<%^%C%H$r:n@.$9$k$h$&=$@5(B
+ platex $BMQ$N%j%s%/$r:n@.$9$k$h$&$K$7$?(B
+ mkconf: iniptex $B$N5-=R$r:o=|(B
+
+2002/11/15: (p3.0.5)
+ ptexextra.c: web2c-7.3.11 (teTeX-beta-20021114) $B$X$NBP1~(B
+
+2002/10/29: (p3.0.4)
+ --version $B$N#19TL\$N%U%)!<%^%C%H$rJQ99(B
+ jbibtex: $BG'<1$G$-$J$$%*%W%7%g%s$G(B core $B$r=P$9$N$r=$@5(B
+
+2002/10/28: (p3.0.3)
+ ptex: $B%P%J!<$N%U%)!<%^%C%H$rJQ99(B
+ tftopl.ch: pTeX$BMQ$N(BHELP$B$r;H$C$F$$$J$$$N$r=$@5(B
+ pltotf.ch: pTeX$BMQ$N(BHELP$B$r;H$C$F$$$J$$$N$r=$@5(B
+
+2002/10/24: (p3.0.2)
+ web2c-7.3.9 $B$KBP1~!#(B
+
+2002/01/18: (p3.0.1)
+ $B0J2<$N%=!<%9$rMQ$$$?$?$H$-$G$b%3%s%Q%$%k$G$-$k$h$&$K$7$?!#(B
+ * tetex-supp.tar.gz
+ * web2c-7.3.3.tar.gz
+ * teTeX-src-beta-20011202.tar.gz
+
+2002/01/15: (p3.0)
+ ptex-base.ch: fix hyphenation.
+
+2001/10/03:
+ README.txt: rewrite
+ INSTALL.txt: rewrite
+ ptex-base.ch: version 3.0
+ ptexextra-plain.c: removed local_maintainer and this_bug_address
+ ptexextra-src-special.c: removed local_maintainer and this_bug_address
+ jbibextra.c: removed local_maintainer and this_bug_address
+ maintain.h: removed local_maintainer and this_bug_address
+ version.c: modified message
+
+2001/07/26:
+ Change Licence to modified BSD license
+ COPYRIGHT: new file
+ COPYRIGHT.jis: new file
+ INSTALL.txt: new file
+ README.txt: cut short and move to INSTALL.txt
+ version.c: change licence filename (l.87,91, COPYING -> COPYRIGHT)
+
+2001/02/13:
+ version.c: typo (l.89, build -> build)
+ ptexhelp.h: typo (l.56, versobe -> verbose)
+ Changes.txt: typo (20001/02/09 -> 2001/02/09)
+
+2001/02/09:
+ REAMDE.txt: rewrite for 2.1.10
+ version.c: rewrite the copyright message. enable usage() function.
+ ptexhelp.h: newfile
+ help.h: removed
+ kanji.h.in: include "ptexhelp.h"
+ ptexextra-plain.c: rename TEXHELP to PTEXHELP.
+ ptexextra-src-special.c rename TEXHELP to PTEXHELP.
+ Makefile.in: depend on ptexhelp.h
+
+2000/11/13: (p2.1.10)
+2000/11/10:
+ ptex.ch: can't load JFM which the number of char_type less than
+ the glue types.
+ pltotf.ch: can't convert property list which has fullwidth space
+ '0x2121(JIS)' in charsintype.
+
+2000/08/17
+ mkconf: modify path separator to semicolon(;)
+
+2000/03/18
+ README.txt: fixed web2c-7.2 -> teTeX-1.0 (l.77)
+
+2000/03/01 (p2.1.9)
+ ptexextra-plain.c, ptexextra-src-special.c: version number 2.1.8 -> 2.1.9
+
+2000/02/29 (p2.1.9)
+ README.txt: rewrite.
+
+2000/02/28 (p2.1.9)
+ correspond to TeX 3.14159 with Web2c 7.3.1 and tex-src-special.
+ Makefile.in: distclean cleans tftopl.ch and pltotf.ch
+ ptexextra-plain.c, ptexextra-src-special.c: newfile
+ COPYING: newfile
+
+1998/04/09 (p2.1.8)
+1998/03/26 (p2.1.8.beta1)
+ correspond to TeX 3.14159 with Web2c 7.2.
+
+1998/03/19 (p2.1.7)
+ fix bug: \leaders
+
+1998/02/26 (p2.1.6)
+ fix bug: \inhibitxspcode
+
+1997/08/27 (p2.1.5)
+ official release.
+
+1997/08/27 (TFtoPL v1.3)
+ fix bug: occers core dump when loading a JFM.
+
+1997/08/14 (p2.1.5, beta12)
+ fix bug: kinsoku process doesn't work for ligatured character.
+
+1997/08/07 (p2.1.5, beta11)
+ changed specification: How to insert \xkanjiskip at surrounding a \hbox
+ (back to the p2.1.4 specification).
+
+1997/08/01 (p2.1.5, beta10)
+ fix bug: caused line breaking after a kinsoku penalty by
+ the \jcharwidowpenalty.
+
+1997/07/29 (p2.1.5, beta9)
+ fix bug: A penalty of kinsoku doesn't work well.
+ fix bug: italic correction is not inserted.
+
+1997/07/11 (p2.1.5, beta8)
+ fix bug: A penalty of kinsoku doesn't work well.
+ fix bug: Inserted \kanjiskip before widow KANJI character when the line
+ holds only it (embeded 2.1.5.beta6).
+ fix bug: Inserted \kanjiskip between kern of head of the line and
+ the next widow KANJI character (since from jTeX 1.7 p1.0.9G).
+ changed specification: How to insert \xkanjiskip at surrounding text-math.
+
+1997/06/29 (p2.1.5, beta7)
+ fix bug: pTeX occers coredump, when \{y,t}baselineskip is not equal zero,
+ and where explicit kern after ligature like `diff\/'.
+ changed specification: How to insert \xkanjiskip at surrounding text-math.
+
+1997/06/16 (p2.1.5, beta6)
+ fix bug: The \{y,t}baselineskip isn't work except the first place in
+ a paragraph.
+ fix bug: Doesn't hyphenation when the value of \{y,t}baselineskip is
+ not equals zero.
+ fix buf: Printed `(EUC)' in banner instead of making as JIS-version.
+ fix bug: `make install' increase the TEXINPUTS.{ptex,platex,platex209} at
+ texmf.cnf.
+
+1997/05/13 (p2.1.5, beta5)
+ fix bug: Fail to read euex10.tfm.
+
+1997/05/01 (p2.1.5, beta4)
+ fix bug: \char{\jis,\euc,\sjis,\kuten} after a 1byte character that have
+ a possibility of ligature like the "`" causes coredump or worng result.
+
+1997/03/17 (p2.1.5, beta3)
+ change banner strings.
+
+1997/03/14 (p2.1.5, beta3)
+ fix bug: can't run as iniptex/virptex.
+
+1997/03/12 (p2.1.5, beta2)
+ fix bug: \calcpos return wrong number.
+
+1997/02/27 (p2.1.5, beta1)
+ correspond to TeX 3.14159 with Web2c 7.0.
+
+1995/11/21 (p2.1.4)
+ new feature: accept kanji filename.
+
+1995/11/17 (p2.1.3)
+ fix bug : try_break routine doesn't corect action when the list
+ has disp_node or dir_node (Error `disc4').
+
+1995/11/07 (p2.1.2)
+ fix bug : \kanjiskip doesn't inserted after JFM glue/kern.
+
+1995/10/11
+ include jbibtex (Shouichi Matsui<matsui@denken.or.jp>) and
+ pdvitype (Thanks, Kazunori Asayama)
+
+1995/09/20 (p2.1.1)
+ fix bug : \xkanjiskip doesn't inserted after italic correction.
+ fix bug : italic correction doesn't inserted when \{y,t}baselineshift
+ is used.
+
+1995/09/08 (p2.1)
+ fix bug : \xkanjiskip doesn't inserted after math mode which correct
+ italic kern spacing.
+
+1995/08/29
+ rename `find_first' to `find_first_char' for djgpp 1.12.
+ (Thanks, Kazunori Asayama)
+
+1995/03/25
+ fix bug : Three minuses sequence (---) doesn't become em-hyphen.
+
+1995/03/11
+ imprement \kanji primitive.
+
+1995/01/17
+ translate/modify pTeX 2.0 change file for TeX 3.1415.
+
+1994/12/17
+ translate/modify pTeX 2.0 change file for TeX 3.141.
+
+1994/10/17
+ translate/modify pTeX 1.0.9F change file which based on TeX 2.99 to
+ pTeX 2.0 which based on TeX 3.14.
+
+== EOF ===
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/LICENSE b/Master/texmf-dist/doc/ptex/ptex-base/LICENSE
new file mode 100644
index 00000000000..90f23f1633d
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/LICENSE
@@ -0,0 +1,26 @@
+Copyright (C) 2010 ASCII MEDIA WORKS.
+Copyright (C) 2016 Japanese TeX Development Community
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. Neither the name of the author may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/README.md b/Master/texmf-dist/doc/ptex/ptex-base/README.md
new file mode 100644
index 00000000000..1eec4044ef6
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/README.md
@@ -0,0 +1,27 @@
+# ptex-base
+
+The bundle contains plain TeX format and documents for pTeX and e-pTeX.
+
+## Character encoding
+
+All the text files containing Japanese characters in ptex-texmf are
+encoded in ISO-2022-JP. This is because ISO-2022-JP encoded texts
+are most suitable for the traditional pTeX engine.
+
+## Repository
+
+The bundle is maintained on GitHub:
+https://github.com/texjporg/ptex-base
+
+If you have issues, please let us know from the above page.
+
+## License
+
+The bundle may be distributed and/or modified under the terms of
+the 3-clause BSD license (see LICENSE).
+
+## Release Date
+
+2016-04-17
+
+Japanese TeX Development Community
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/README_ptex b/Master/texmf-dist/doc/ptex/ptex-base/README_ptex
new file mode 100644
index 00000000000..e7697afae5c
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/README_ptex
@@ -0,0 +1,32 @@
+---------------------------------------------------------------------------
+$B!|(B $BF|K\8l(B TeX$B!J(BpTeX: publishing TeX$B!K$K$D$$$F(B
+---------------------------------------------------------------------------
+
+ * $BF|K\8l(B TeX$B!J(BpTeX$B!K$O!"K\3JE*$J>&6H=PHG$KBQ$($k(B TeX $B$r3+H/$9$k(B
+ $B$3$H$rL\I8$K$7$F$$$^$9!#(B
+
+ * pTeX $B$O!"2#AH$_@lMQ$N!VF|K\8l(B TeX$B!W$K=DAH$_5!G=$rDI2C$7$?$b$N(B
+ $B$G$9!#F|K\8l2=$N%P%0%U%#%C%/%9$O$9$Y$F(B pTeX $B$KBP$7$F$N$_9T$J$$!"(B
+ $B2#AH$N$_$NF|K\8l(B TeX $B$KBP$7$F$O9T$J$$$^$;$s$N$G!"$4N;>5$/$@$5$$!#(B
+
+ * pTeX $B$O!"(BWEB $B$N%A%'%s%8%U%!%$%k$r;H$C$F<B8=$5$l$F$$$^$9!#(B
+
+ * $B%$%s%9%H!<%k$N<j=g$K$D$$$F$O!"IUB0$N(B INSTALL.txt $B%U%!%$%k$r;2>H(B
+ $B$7$F$/$@$5$$!#(B
+
+ * pTeX $B$N;HMQ$*$h$SG[IU$K4X$7$F$O!"IUB0$N(B COPYRIGHT $B%U%!%$%k$r(B
+ $B;2>H$7$F$/$@$5$$!#(B
+
+---------------------------------------------------------------------------
+$B!|(B $BLd$$9g$o$;@h$J$I(B
+---------------------------------------------------------------------------
+pTeX $B$K$D$$$F$N$*Ld$$9g$o$;$O!"EE;R%a!<%k$G(B ptex-staff@ml.asciimw.jp $B08$F(B
+$B$K$*4j$$$7$^$9!#(B
+
+pTeX $B$N(B WEB $B%Z!<%8!J(Bhttp://ascii.asciimw.jp/pb/ptex/$B!K$G$O!"%P%0>pJs$d(B
+$B%$%s%9%H!<%k$N%R%s%H!"(BpTeX $B$GDI2C$5$l$?%W%j%_%F%#%V0lMw$J$I$r7G:\$7$F(B
+$B$$$^$9!#$3$A$i$b$4Mw$/$@$5$$!#(B
+
+-------------------------------------
+$B3t<02q<R%"%9%-!<!&%a%G%#%"%o!<%/%9(B
+=============================================================== EOT =====
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/eptex_resume.pdf b/Master/texmf-dist/doc/ptex/ptex-base/eptex_resume.pdf
new file mode 100644
index 00000000000..5eed1b3f9b4
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/eptex_resume.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/eptexdoc.pdf b/Master/texmf-dist/doc/ptex/ptex-base/eptexdoc.pdf
new file mode 100644
index 00000000000..c759bcdea48
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/eptexdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/eptexdoc.tex b/Master/texmf-dist/doc/ptex/ptex-base/eptexdoc.tex
new file mode 100644
index 00000000000..2746dc73fd0
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/eptexdoc.tex
@@ -0,0 +1,803 @@
+%#!platex eptexdoc && mendex -s gind.ist eptexdoc.idx && ptex2pdf -l eptexdoc
+\documentclass[a4paper,11pt]{jsarticle}
+\input fam256p.tex
+\usepackage[textwidth=42zw,lines=40,truedimen,centering]{geometry}
+\usepackage{amsmath,mathtools,amssymb,multicol,comment}
+\usepackage[dvipdfmx]{graphicx}
+\usepackage[T1]{fontenc}
+\usepackage{booktabs,enumitem}
+\usepackage{lmodern}
+\usepackage[dvipdfmx]{hyperref}
+\usepackage{pxjahyper}
+\usepackage[bold,deluxe]{otf}
+\usepackage{hologo}
+\usepackage{makeidx}\makeindex
+
+%%%%%%%%%%%%%%%%
+\makeatletter
+\newcommand{\OMEGA}{$\Omega$}
+\def\epTeX{$\varepsilon$-\pTeX}\def\eTeX{$\varepsilon$-\TeX}
+\def\upTeX{u\pTex}\def\upTeX{p\kern-.15em\TeX}
+\def\NTS{\leavevmode\hbox{$\cal N\kern-0.35em\lower0.5ex\hbox{$\cal T$}%
+ \kern-0.2emS$}\,}
+\def\headfont{\normalfont\mathversion{bold}\gtfamily\bfseries}
+\def\node#1{\textit{#1}}
+\def\.#1{\texorpdfstring{%
+ \leavevmode\hbox{\texttt{\textbackslash#1}}\ifmmode\else\textcompwordmark\fi}{\textbackslash #1}}
+\let\orig@cs=\.
+\def\ind@cs#1{\orig@cs{#1}\index{{\texttt{\textbackslash #1}}}}
+\newlist{cslist}{description}1
+\setlist[cslist]{%
+ style=nextline,itemsep=\medskipamount,
+ font=\normalfont\mdseries}
+\def\csitem[#1]{\item[\llap{$\blacktriangleright$~}\let\.=\ind@cs#1]}
+\def\emph#1{{\bfseries\gtfamily\mathversion{bold}#1}}
+\def\listx{\def\makelabel{\hbox to 1em{\hfil\textbullet\hfil}}\def\@{\hfill}
+\labelwidth=13zw\leftmargin15zw\itemindent=0zw}
+\def\paragraph#1{\par\medskip\par\noindent\emph{$B"#(B#1}\par\nobreak}
+\def\Pkg#1{\textsf{#1}}
+\catcode`\<=13
+\xspcode`\\=3
+\xspcode`\*=3
+\xspcode`\-=3
+\xspcode23=3 % \textcompwordmark
+\def<#1>{\ensuremath{\langle\hbox{\normalfont\itshape #1\/}\rangle}}
+
+\font\man=manfnt at 10pt
+\def\dbend{\raise0pt\hbox{\man\char'177}}
+\AtBeginDvi{\special{pdf:mapfile otf-ipaex.map}}
+\def\delbit#1#2{\underbracket[0.4pt]{#1}_{\text{#2}}}
+
+\def\TeXXeT{\TeX-\reflectbox{\bfseries \TeX-}}
+
+\newenvironment{multilist}[2]%
+ {$$\setbox\z@=\hbox\bgroup % catch some funny things -> \mathord
+ \let\a=\empty
+ \let\b=\empty
+ \count@=\z@
+ \toks@={#2}%
+ \def\item##1\cr
+ {\ifnum \count@=\z@
+ \count@=#1%
+ \expandafter\def\expandafter\b\expandafter{\b\y{}}%
+ \fi
+ \advance\count@ by\m@ne
+ \expandafter\def\expandafter\a\expandafter{\a\x{##1}}}%
+ \ignorespaces}%
+ {\loop
+ \ifnum \count@>\z@
+ \expandafter\def\expandafter\a\expandafter{\a\expandafter\z\b\relax}%
+ \advance\count@ by\m@ne
+ \repeat
+ \def\x##1{\expandafter\y\b\relax{##1}}%
+ \def\y\y##1##2\relax##3%
+ {\ifx @##1@%
+ \def\b{##2\y{##3}}%
+ \else
+ \def\b{##2\y{##1&##3}}%
+ \fi}%
+ \def\z\y##1##2\relax{\def\b{##2\y{##1}}}%
+ \a
+ \def\x
+ {\expandafter\egroup\expandafter\halign\expandafter\bgroup
+ \expandafter&\the\toks@\cr}%
+ \def\y##1{\expandafter\def\expandafter\x\expandafter{\x##1\cr}}%
+ \b
+ \x\egroup $$}
+
+\makeatletter
+\def\hex#1{%
+{\count@=#1\@tempcnta=#1\@tempcntb=\@tempcnta\relax
+\divide\@tempcntb by 16%
+\ifnum\count@=0\else
+ \multiply\@tempcntb by16%
+ \advance\@tempcnta-\@tempcntb
+ \divide\@tempcntb by16%
+ \hex{\the\@tempcntb}%
+ \ifcase\@tempcnta\relax 0\or1\or2\or3\or4\or5\or6\or
+ 7\or8\or9\or A\or B\or C\or D\or E\pr F\fi
+\fi}}
+\clubpenalty=8000\widowpenalty=8000
+
+\normalsize
+\bigskipamount=\baselineskip
+\medskipamount=.5\baselineskip
+\smallskipamount=.25\baselineskip
+
+\usepackage{etoolbox}
+\patchcmd\@verbatim\@totalleftmargin{\dimexpr\@totalleftmargin+3zw\relax}{}{}
+
+\newenvironment{curve}{%
+ \par\small\leftskip=\dimexpr\textwidth-44zw\relax\@totalleftmargin=\leftskip
+ \parindent1zw\noindent\kern-\leftskip\hbox to\leftskip{\dbend\hss}%
+ \everypar{\everypar{}}\ignorespaces
+}{\par\medskip}
+
+\renewenvironment{theindex}{%
+ \def\presectionname{}\def\postsectionname{}%
+ \section*{\indexname}
+ \@mkboth{\indexname}{\indexname}%
+ \plainifnotempty % \thispagestyle{plain}
+ \parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \let\item\@idxitem
+ \raggedright
+ \begin{multicols}{2}
+ }{
+ \end{multicols}
+ \clearpage
+ }
+\makeatother
+%%%%%%%%%%%%%%%%
+
+\def\_{\leavevmode\vrule width .45em height -.2ex depth .3ex\relax}
+\frenchspacing
+\begin{document}
+\title{\emph{\epTeX $B$K$D$$$F(B}}
+\author{$BKL@n(B $B90E5(B\null
+\thanks{\url{http://osdn.jp/projects/eptex/wiki/},\
+e-mail: \texttt{h\_kitagawa2001(at)yahoo.co.jp}}}
+\date{version 160201$B!$(B\today}
+\maketitle
+
+\tableofcontents
+
+\newpage
+\section{$B$O$8$a$K(B}
+\epTeX $B$O!$El5~Bg3XM}3XIt?t3X2J(B3$BG/@8BP>]$N(B2007$BG/EY$N<x6H!V7W;;?t3X(BII$B!W(B
+\footnote{\url{http://ks.ms.u-tokyo.ac.jp/}$B!%(B}$B$K$*$$$FKL@n$,:n@.$7$?%W%m%0(B
+$B%i%`$G$"$k!%$b$H$b$H$O(B\pTeX\ 3.1.10$B$r4pHW$H$7$F!$(B\eTeX\ 2.2$BAjEv$N5!G=$d(B
+10$B?J(B21$B7e$NIbF0>.?tE@1i;;$rDI2C$7$?$b$N$G$"$C$?$,!$:#$G$O<!$NE@$,JQ$o$C$F$$$k!%(B
+\begin{itemize}
+ \item \TeX~Live~2011$B$K<h$j9~$^$l$k$K$"$?$j!$(B
+ \eTeX $B$r%Y!<%9$K$7$F!$$=$N>e$K(B\pTeX $B3HD%$d$=$NB>DI2C5!G=$r:\$;$kJ}?K$X$H(B
+ $BJQ99$5$l$?!%(B
+ \item $BIbF0>.?tE@1i;;$N5!G=$O(B090927$BHG(B(2009/9)$B$+$i:o=|$5$l$F$$$k(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(B\eTeX $B$N%^%K%e%"%k(B
+\cite{etexman}$B$K$O!$3+H/L\E*$,0J2<$N$h$&$K=R$Y$i$l$F$$$k!%(B
+
+\begin{quotation}
+The \NTS\ project intends to develop an `New Typesetting System' (\NTS)
+that will eventually replace today's \TeX3. The \NTS\ program will
+include many features missing in \TeX, but there will also exist a mode
+of operation that is 100\% compatible with \TeX3. It will, necessarily,
+require quite some time to develop \NTS\ to maturity and make it widely
+available.
+
+Meanwhile \eTeX\ intends to fill the gap between \TeX3 and the future
+\NTS. It consists of a series of features extending the capabilities of
+\TeX3.
+\end{quotation}
+
+\NTS $B$,$I$&$J$C$?$N$+KM$OCN$i$J$$!%$7$+$7!$>/$J$/$H$b(B\eTeX $B3HD%<+BN$O<BMQ(B
+$BE*$JJ*$G$"$j!$$=$N$;$$$+(B$\aleph$~(Aleph), \hologo{pdfTeX}, \hologo{XeTeX}$B$J$I$NB>$N3HD%(B
+$B$K$b%^!<%8$5$l$F$*$j!$$+$J$j$N?M$,(B\eTeX $B3HD%$r;H$&$3$H$,$G$-$k$h$&$K$J$C(B
+$B$F$$$k!%(B
+
+\eTeX $B3HD%$GDI2C$5$l$k5!G=$K$D$$$F!$>\$7$/$O(B\cite{etexman}$B$r;2>H$7$FM_$7(B
+$B$$$,!$(B\cite{h7k}$BCf$N(B4.2$B@a!V(B\eTeX $B$N5!G=!W$+$i0lIt2~JQ$7$F0zMQ$9$k!%(B
+
+\begin{quotation}
+\eTeX $B$K$O(BCompatibility mode$B$H(BExtended mode$B$N(B2$B$D$,B8:_$7!$A0<T$G$O(B\eTeX
+$BFCM-$N3HD%$OL58z$K$J$k$N$G$D$^$i$J$$!%8e<T$,$*$b$7$m$$!%(B
+
+$B3HD%5!G=$r;H$&$K$O%U%!%$%kL>$rEO$9$H$-$K(B\texttt{*}$B$r$D$1$k$+(B
+$B%3%^%s%I%i%$%s%*%W%7%g%s$H$7$F(B\texttt{-etex}$B%9%$%C%A$r$D$1$l$P$$$$(B
+$B$,!$(B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se register$B$H$7$F!$$D$^$j!$I,MW(B
+$B$J;~$K;O$a$F%D%j!<9=B$$NCf$G3NJ]$5$l$k$h$&$K$J$C$F$$$k!%(B
+
+\paragraph{$B<0$,;HMQ2DG=$K(B}
+\TeX $B$K$*$1$k?tNL$N7W;;$O=<<B$7$F$$$k$H$O8@$$Fq$$!%Nc$($P!$(B
+
+\noindent\null\hfill\verb+\dimen123+${}\leftarrow($\verb+\dimen42+
+${}+{}$\verb+\@tempdima+$)/2$\hfill\null
+
+\noindent $B$H$$$&7W;;$r85!9$N(B\TeX $B$G=q$3$&$H$9$k$H!$(B
+\begin{verbatim}
+\dimen123=\dimen42
+\advance\dimen123by\@tempdima
+\dimen123=0.5\@tempdima
+\end{verbatim}
+$B$N$h$&$K=q$+$J$$$H$$$1$J$$!%BeF~!$2C;;BeF~!$>h;;BeF~!$=|;;BeF~$0$i$$$7$+(B
+$B1i;;$,MQ0U$5$l$F$$$J$$>uBV$K$J$C$F$$$k!J>e$N%3!<%I$N$h$&$K!$(B$d_2\mathrel{+\!\!=}
+0.8 d_1$$B$H$$$&$h$&$JDj?tG\$r4'$9$k$3$H$OJ?5$!K!%(B
+
+\eTeX $B$G$O!$$=$N%l%8%9%?$N1i;;$K!$B>$N%W%m%0%i%_%s%08@8l$G;H$o$l$F$$$k$h(B
+$B$&$J?t<0$NI=8=$,;H$($k$h$&$K$J$C$?!%>e$N(BPDF$B$G$O<BNc$H$7$F(B
+\begin{verbatim}
+\ifdim \dimexpr (2pt-5pt)*\numexpr 3-3*13/5\relax + 34pt/2<\wd20
+\end{verbatim}
+$B$,=q$+$l$F$$$k!%$3$l$O!$(B\def\mpt{\,\mathrm{pt}}
+{\catcode`\<12\[
+ 32\mpt=(2\mpt-5\mpt)\left(3-\mathop{\mathrm{div}}(3\cdot 13,5)\right)
++\frac{34\mpt}{2}<\text{{\tt \char'134 box20}$B$NI}(B}
+\]}
+$B$,??$+56$+$rH=Dj$7$F$$$k$3$H$K$J$k!%(B
+
+\paragraph{\.{middle} primitive}
+\TeX $B$K(B\.{left}, \.{right}$B$H$$$&(Bprimitive$B$,$"$j!$$=$l$r;H$($P3g(B
+$B8L$NBg$-$5$,<+F0D4@0$5$l$k$N$O$h$/CN$i$l$F$$$k!%(B\eTeX $B$G$O!$(B
+$B$5$i$K(B\.{middle}\index{\.{middle}}\ primitive$B$,DI2C$5$l$?!%(B
+
+$B6qBNNc$r=R$Y$k!%(B
+\def\set#1#2{\setbox0=\hbox{$\displaystyle #1,#2$}%
+\left\{\, \vphantom{\copy0}#1 \,\right|\!\left.\, \vphantom{\copy0}#2 \,\right\}}
+\def\eset#1#2{\left\{\, #1 \,\middle|\, #2 \,\right\}}
+\[ \set{n+\frac12}{n\in \omega} \eset{n+\frac12}{n\in \omega} \]
+$B$3$l$O0J2<$N(Bsource$B$G=PNO$7$?$b$N$G$"$k!'(B
+
+{\narrowbaselines
+\begin{verbatim}
+\def\set#1#2{\setbox0=\hbox{$\displaystyle #1,#2$}%
+ \left\{\, \vphantom{\copy0}#1 \,\right|\!\left.\, %
+ \vphantom{\copy0}#2 \,\right\}}
+\def\eset#1#2{\left\{\, #1 \,\middle|\, #2 \,\right\}}
+\[ \set{n+\frac12}{n\in \omega} \eset{n+\frac12}{n\in \omega} \]
+\end{verbatim}}
+$BN>J}$H$b=89g$NI=5-$r9T$&%3%^%s%I$G$"$k!%(B\TeX $BN.$N(B\.{set}$B$G$O(B2$B$D$N(B
+\.{left}, \.{right}$B$NAH$G<B8=$5$;$J$1$l$P$J$i$:!$$=$N$?$a$K(B$|$$B$N(B
+$B:8B&$H1&B&$KF~$k<0$N:GBg@#K!$rB,Dj$9$k$H$$$&LLE]$JJ}K!$r;H$C$F$$$k!%$=$N(B
+$B>e!$$3$NDj5A$G$O(B\.{textstyle}$B0J2<$N?t<0!JJ8Cf?t<0$H$+!K$G$O$=$N$^(B
+$B$^;H$($:!$$=$l$K$bBP1~$5$;$h$&$H$9$k$HLLE]$K$J$k!%0lJ}!$(B\eTeX $B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$N%N!<%I$,(B
+$BDI2C$5$l$?!%A0<T$O!$8=:_$N%j%9%H$NCf$K0c$&AHJ}8~$N(Bbox$B$rA^F~$9$k:]$K@#K!$rJd@5$9$k$?$a$K:n$i$l!$(B
+\.{hbox}$B$d(B\.{vbox}$B$N%3%s%F%J$H$J$C$F$$$k!%(B
+$B$^$?8e<T$O!$2$J8J8;z$N%Y!<%9%i%$%sJd@5$N$?$a$K;H$o$l$k!%(B
+
+\epTeX~110102 $B$^$G$O$3$l$i$N%N!<%I$b(B\.{lastnodetype}$B$NCM$H$7$F=PNO$5$;$k$h$&$K$7$?!%(B
+$B$7$+$7!$N><T$H$b$K(B\epTeX $B$,<+F0E*$KA^F~$9$k!J%f!<%6!<$,0U<1$9$kI,MW$O$J$$!K%N!<%I$G$"$k$3$H$+$i!$(B
+\epTeX~110227$B0J9_$G$O(B\node{dir\_node}$B$H(B\node{disp\_node}$B$O(B
+\.{lastnodetype}\index{\.{lastnodetype}}$B$NBP>]$H$9$k!V:G8e$N%N!<%I!W$H$O$J$i$J$$$h$&$K$7$F$$$k(B
+\footnote{%
+ $B:G8e$N%N!<%I$,(B\node{dir\_node}$B$G$"$C$?>l9g!$(B\.{lastnodetype}$B$O$=$N%N!<%I$,3JG<$7$F$$$k(B
+ \node{hlist\_node}$B$+(B\node{vlist\_node}$B$N<oN`$rJV$9!%(B
+}$B!%(B
+\begin{multilist}{3}{\hfil\hskip1.5zw#:&\quad#\qquad\hfil}
+\item $-1$&none (empty list)\cr\item 0&char node\cr\item 1&hlist node\cr
+\item 2&vlist node\cr\item 3&rule node\cr\item 4&ins node\cr
+\item 5&mark node\cr\item 6&adjust node\cr\item 7&ligature node\cr
+\item 8&disc node\cr\item 9&whatsit node\cr\item 10&math node\cr
+\item 11&glue node\cr\item 12&kern node\cr\item 13&penalty node\cr
+\item 14&unset node\cr\item 15&math mode nodes\cr
+\end{multilist}
+
+\vskip-\baselineskip
+
+\.{currentiftype}\index{\.{currentiftype}}$B$K$*$1$k>r7oH=CGJ8$H$=$l$rI=$9?t;z$H$NBP1~$O!$0J(B
+$B2<$N$h$&$K$J$C$F$$$k!%(B21--27$B$,!$(B\pTeX $B3HD%$GDI2C$5$l$?>r7oH=CGJ8$KBP1~$9$k!%(B
+28$B$N(B\.{ifpdfprimitive}$B$O(B\hologo{pdfTeX}$BM3Mh$N%W%j%_%F%#%V!J8e=R!K$G$"$k!%(B
+\begin{multilist}{3}{\hfil\hskip1.5zw#:&\quad#\qquad\hfil}
+\item 1&\.{if}\cr\item 2&\.{ifcat}\cr\item 3&\.{ifnum}\cr\item 4&\.{ifdim}\cr
+\item 5&\.{ifodd}\cr\item 6&\.{ifvmode}\cr\item 7&\.{ifhmode}\cr
+\item 8&\.{ifmmode}\cr\item 9&\.{ifinner}\cr\item 10&\.{ifvoid}\cr
+\item 11&\.{ifhbox}\cr\item 12&\.{ifvbox}\cr\item 13&\.{ifx}\cr
+\item 14&\.{ifeof}\cr\item 15&\.{iftrue}\cr\item 16&\.{iffalse}\cr
+\item 17&\.{ifcase}\cr\item 18&\.{ifdefined}\cr\item 19&\.{ifcsname}\cr
+\item 20&\.{iffontchar}\cr\item \bf 21&\.{iftdir}\cr\item \bf 22&\.{ifydir}\cr
+\item \bf 23&\.{ifddir}\cr\item \bf 24&\.{ifmdir}\cr\item \bf 25&\.{iftbox}\cr
+\item \bf 26&\.{ifybox}\cr\item \bf 27&\.{ifdbox}\cr\item \bf 28&\.{ifpdfprimtive}\cr
+\end{multilist}
+
+
+\section{\OMEGA $BM3Mh$N5!G=!J5lL>>N!'(B\texttt{FAM256}$B%Q%C%A!K(B}
+\epTeX $B$K$O!$7G<(HD(B\TeX\ Q\ \&\ A$B$N;3K\;a$N=q$-9~$_(B
+\cite{yamamoto}$B$K;I7c$5$l$F:n$C$?!$K\@a$G$K@bL@$9$k(B\OMEGA $B$N0lIt(B
+$B5!G=$r;H$($k$h$&$K$9$k%Q%C%A$,B8:_$9$k!%(B
+$B$3$l$O(B\texttt{FAM256}$B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(B256$B8D@)8B!W$r(B$2^{16}$$B8D$K$^$G4KOB$7$?$3$H$,5s$2$i$l$k!%F1MM$K!$(B
+\OMEGA $B$G$O!J(B\cite{yamamoto}$B$K$b$"$k$h$&$K!K?t<0%U%)%s%H$rF1;~$K(B256$B8D$^$G(B
+$BMQ$$$k$3$H$,$G$-!$3F%U%)%s%H$b(B65536$BJ8;z$^$G5v$5$l$k$h$&$K$J$C$F$$$k!%(B
+
+\medskip
+
+\epTeX $B$G$O!$CfESH>C<$@$,!$?t<0%U%)%s%H(B1$B$D$"$?$j(B
+$B$N;HMQ2DG=J8;z?t$O(B256$B8D$N$^$^$G!$F1;~$K?t<0%U%)%s%H$r(B256$B8D$^$G;H$($k$h$&(B
+$B$K$7$F$$$k!%4pK\E*$K$O(B\OMEGA $B$HF1MM$NJ}K!$rMQ$$$F$$$k$,!$(B
+$BFbIt$G$N%G!<%?9=B$$K0c$$$,$"$k!J?t;z$O$9$Y$F(Bbit$BI}!K!'(B
+\begin{center}
+\small\baselineskip=1.5zw
+\begin{tabular}{crrrrr}%
+\toprule
+ &category&family&char&\multicolumn{1}{c}{math code}
+ &\multicolumn{1}{c}{delimiter code}\\\midrule
+\TeX82&3&4&8 &$3+4+8=15$ &$3+\delbit{4+8}{small}+\delbit{4+8}{large}=27$\\
+\OMEGA&3&8&16&$3+8+16=27$&$(3+\delbit{8+16}{small},\delbit{8+16}{large})=(27,24)$\\
+\epTeX&3&8&8 &$3+8+8=21$&$(3+\delbit{8+8}{small},\delbit{8+8}{large})=(19,16)$\\\bottomrule
+\end{tabular}
+\end{center}
+
+\def\bits#1{<\textup{#1}-bit\ number>}
+\TeX $B$KK\Mh$"$C$?%W%j%_%F%#%V$O8_49@-0];}$N$?$a$KF1$8F0:n$H$9$kI,MW$,$"$k$N$G!$(B
+16$BHV$+$i(B255$BHV$N%U%)%s%H$rMxMQ$9$k:]$K$OJL$N%W%j%_%F%#%V$,I,MW$H$J$k!%!J<BAu<+(B
+$BBN$K(B\OMEGA $B$NN.57$r;H$C$F$$$k$+$i!K(B
+$B$3$3$G$O!$(B\OMEGA $B$N%W%j%_%F%#%VL>$rN.MQ$9$k$3$H$K$7$?!%(B
+$B$9$J$o$A!$0J2<$N%W%j%_%F%#%V$,DI2C$5$l$F$$$k(B\footnote{\OMEGA $B$G$O(B\bits{8}$B$N$H$3$m$,(B\bits{16}$B$K(B
+$B$J$C$F$$$k!%(B}$B!%(B
+\begin{cslist}[itemsep=\dimexpr-\baselineskip+\medskipamount]
+\csitem[\.{omathcode} \bits{8}\texttt{=}\bits{27}]\
+\csitem[\.{omathcode} \bits{8}]\
+\csitem[\.{omathchar} \bits{27}]\
+\csitem[\.{omathaccent} \bits{27}]\
+\csitem[\.{omathchardef} <control sequence>\texttt{=}\bits{27}]\
+\csitem[\.{odelcode} \bits{8}\texttt{=}\bits{27}\ \bits{24}]\
+\csitem[\.{odelimiter} \bits{27}\ \bits{24}]\
+\csitem[\.{oradical} \bits{27}\ \bits{24}]\
+\end{cslist}
+\vspace{-\baselineskip}
+$B$3$3$G!$(B27\,bit$B$H$+(B24\,bit$B$N<+A3?t$N0UL#$K$D$$$F$O!$>e$NI=$N(B
+\OMEGA $B$N9T$r;2>H$7$FM_$7$$!%>e$K=q$$$?FbIt$N%G!<%?9=B$$+$i?dB,$G$-$kDL$j!$(B
+\.{omathchar}$BEy$N(Bcharacter code$B$N;XDj$K;H$o$l$k(B16\,bit$B$N?tCM$N$&$A<B:]$K;H$o$l$k$N$O2<0L(B
+8\,bit$B$G$"$j!$>e0L(B8\,bit$B$OL5;k$5$l$k!%(B
+$BNc$($P!$(B\.{omathchar"4012345}$B$H(B\.{omathchar"4010045}$B$OFbItI=8=$H$7$F$OA4$/F1$8$G$"$k!%(B
+
+$B$J$*!$(B\.{odelcode}\ \bits 8$B$H$7$F(B
+delimiter code$B$r<hF@$7$h$&$H$7$F$b!$8=;~E@$N%Q%C%A$G$O!$$&$^$/F0:n$7$J$$(B
+\footnote{51\,bit$B<+A3?t$rJV$5$J$$$H$$$1$J$$$G$9$+$i$M$(!%$d$k5$$,$"$l$P(B
+$B8!F$$7$F$_$^$9!%(B}$B!%(B
+
+\medskip
+\LaTeX $B$K$*$$$F?t<0%U%)%s%H$rF1;~$K(B16$B8D0J>e;H$&$K$O!$(B\.{omathchar}%
+$B$J$I$N%W%j%_%F%#%V$KBP1~$7$?%^%/%m$r;H$&I,MW$,$"$k!%(B
+$B:G6a$N(B\LaTeX$B!J>/$J$/$H$b(B2016-01-01$B0J9_!K$G$O!$(B
+\emph{\.{DeclareMathAlphabet}$B$rMQ$$$F?t<0MQ%"%k%U%!%Y%C%H$r;H$&$@$1$J$i(B}
+\begin{verbatim}
+\makeatletter
+\mathchardef\e@mathgroup@top=256
+\makeatother
+\end{verbatim}
+$B$r%W%j%"%s%V%k$K5-=R$9$l$PNI$$!%$@$,!$$3$l$@$1$G$O5-9fN`$NDj5A$KMQ$$$i$l$k(B
+\.{DeclareMathSymbol}$B$d(B\.{DeclareMathDelimiter}$B$,(B\.{omathchar}$B$d(B
+\.{odelcode}$B$r;HMQ$7$J$$$N$GIT==J,$G$"$k!%(B
+$B<B83E*$H=q$+$l$F$O$$$k$,!$(B
+$B;3K\;a$K$h$k!V:GDc8B$N%Q%C%1!<%8!W(B\cite{yamamoto3}$B$,<j$C<h$jAa$$$h$&$J5$(B
+$B$,$9$k!%(B
+
+\paragraph{$BL58B$N%l%Y%k(B}
+\TeX $B$G$O!$(Bglue$B$N?-=LNL$K(B\texttt{fil}, \texttt{fill}, \texttt{filll}
+$B$H$$$&(B3$B$D$NL58BBg$N%l%Y%k$,B8:_$7!$(B\texttt{l}$B$,B?$$$[$IL58BBg$N%*!<%@!<$,9b$/$J$C$F$$$?!%(B
+\OMEGA $B$G$O!$!V(Binter-letter spacing$B$N$?$a$K!W(B\texttt{fi}$B$H$$$&!$M-8B$H(B
+\texttt{fil}$B$NCf4V$K$"$?$kL58BBg$N%l%Y%k$,IU$12C$($i$l!$(B\.{hfi}, \.{vfi}$B$H$$$&(B2$B$D(B
+$B$N%W%j%_%F%#%V$bDI2C$5$l$?!%$=$3$G!$$3$NL58BBg%l%Y%k(B
+\texttt{fi}$B$b:NMQ$9$k$3$H$K$7$?!%(B
+
+\medskip
+
+$B<BAuJ}K!$O!$Bg$^$+$K$O(B\OMEGA $B$G(B\texttt{fi}$B$N<BAu$r9T$C$F$$$k(Bchange file\
+\texttt{omfi.ch}$B$NDL$j$G$"$k$N$@$,!$$3$l$K(B\pTeX $B$d(B\eTeX $B$KH<$&>/!9$N=$@5$r9T$C$F$$$k!%(B
+\begin{itemize}
+\item $B%W%j%_%F%#%V(B\.{pagefistretch}$B$r?7$?$KDj5A$7$F$$$k!%(B
+\item \.{gluestretchorder}, \.{glueshrinkorder}$B$NF0:n$r(B\eTeX $B$N$=$l$H9g$o$;$?!%(B
+ $B6qBNE*$K$O!$$"$kE,Ev$J(Bglue~\.{someglue}$B$N?-$SNL$r(B<stretch>$B$H$*$/$H$-!$(B
+\[
+ \hbox{\.{gluestretchorder}\.{someglue}}=
+\begin{cases}
+0&<stretch>\text{$B$,9b!9(B\texttt{fi}$B%l%Y%k$NNL(B}\\
+1&<stretch>\text{$B$,$A$g$&$I(B\texttt{fil}$B%l%Y%k$NL58BNL(B}\\
+2&<stretch>\text{$B$,$A$g$&$I(B\texttt{fill}$B%l%Y%k$NL58BNL(B}\\
+3&<stretch>\text{$B$,$A$g$&$I(B\texttt{filll}$B%l%Y%k$NL58BNL(B}
+\end{cases}
+\]
+$B$H$J$C$F$$$k!%FbIt$G$O(B\texttt{fi}$B%l%Y%k$,(B1$B!$(B\texttt{fil}$B%l%Y%k$,(B2$B!$!D!D$H$7$F=h(B
+ $BM}$7$F$$$k!%(B
+\end{itemize}
+
+\paragraph{$B%l%8%9%?$K$D$$$F(B}
+\OMEGA $B$G$O!JA0$K$b=q$$$?$,!K%G!<%?9=B$$NJQ99$,9T$o$l!$$=$l$K$h$C$F%l%8(B
+$B%9%?$,3F<oN`$"$?$j(B65536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9$k!%(B
+
+ \pTeX $B$G$O2#AH!&=DAH$HAHJ}8~$,J#?t$"$k$N$G!$(B\.{pdflastxpos}, \.{pdflastypos}$B$NCM$N:BI87O$r(B
+ $B!VJ*M}E*$J!W8~$-$H$9$Y$-$+!$$=$l$H$b!VAHJ}8~$K1~$8$?!W8~$-$H$9$Y$-$+$OG:$_$I$3$m$G$"$k!%(B
+ 110227$BHG0J9_!$8=:_$^$G$NHG$G$O>e5-$N$h$&$KJ*M}E*$J8~$-$H$7$F$$$k!%(B
+
+ \csitem[\.{pdfcreationdate}, \.{pdffilemoddate}, \.{pdffilesize}]
+ $B:G=i$K$3$N%W%j%_%F%#%V$,<B9T$5$l$?;~9o$r!$(B\texttt{\pdfcreationdate}$B$N7A<0$GI=$7$?J8;zNs$KE83+$5$l$k!%(B
+ $B$3$l$O(B\Pkg{standalone}$B%Q%C%1!<%8$r(B\epTeX $B$G07$&$?$a$K(B2013/06/05$B$K<BAu$5$l$?%W%j%_%F%#%V$G$"$k$,!$(B
+ $B8=:_;~9o$N!VIC!W$^$GF@$k$?$a$K$b;HMQ$G$-$k!J(B\TeX 82$B$G$OJ,C10L$G$7$+<hF@$G$-$J$$!K!%(B
+
+ \csitem[\.{pdffilemoddate} <filename>, \.{pdffilesize} <filename>]
+ $B$=$l$>$l(B<filename>$B$N99?7;~9o!J(B\.{pdfcreationdate}$B$HF1$87A<0!K$H(B
+ $B%U%!%$%k%5%$%:$rI=$9J8;zNs$KE83+$9$k!%(B
+ $B$3$l$i$b(B\Pkg{standalone}$B%Q%C%1!<%8$N$?$a$K(B\epTeX $B$K<BAu$5$l$?%W%j%_%F%#%V$G$"$k!%(B
+
+ \csitem[\.{pdffiledump} \textrm{[}\texttt{offset} <offset>\textrm{]}%
+ \ \texttt{length} <length> <filename>]
+ <filename>$B$GM?$($i$l$?%U%!%$%kL>$N(B<offset>$B%P%$%HL\!J@hF,$O(B0$B!K$+$i(B<length>$B%P%$%H$rFI$_9~$_!$(B
+ 16$B?JI=5-!JBgJ8;z!K$7$?$b$N$KE83+$5$l$k!%(B
+
+ $BK\%W%j%_%F%#%V$O(BHeiko Oberdiek$B;a$K$h$k(B\Pkg{bmpsize}$B%Q%C%1!<%8$r(B\epTeX $B$G$b;H$&$?$a$K(B
+ $B3QF#$5$s$,<BAu$7$?$b$N$G$"$k(B(2014/05/06)$B!%(B
+
+ \csitem[\.{pdfshellescape}]
+ \.{write18}$B$K$h$k(Bshell-escape$B$,MxMQ2DG=$K$J$C$F$$$k$+$r<($9FbIt@0?t!JFI$_<h$j@lMQ!K!%(B
+ 0$B$J$i$PIT5v2D!$(B1$B$J$i$P5v2D!$(B2$B$J$i$P(Brestricted shell-escape%
+ \footnote{$B$"$i$+$8$a!V0BA4!W$HG'$a$i$l$?%W%m%0%i%`!J(B\texttt{texmf.cnf}$BCf$G;XDj$9$k!K(B
+ $B$N$_<B9T$r5v2D$9$k;EAH$_!%(B}%
+ $B$G$"$k!%(B
+
+ $BK\%W%j%_%F%#%V$O(B\TeX $B%f!<%6$N=8$$(B2014$B$G%j%/%(%9%H$r<u$1$F<BAu$5$l$?(B(\cite{pdfse})$B!%(B
+
+
+ \csitem[\.{pdfmdfivesum} {[\texttt{file}]} <general text>]
+ $B0z?t(B<general text>$B$N(BMD5$B%O%C%7%eCM$+!$$"$k$$$O(B\texttt{file}$B$,;XDj$5$l$?>l9g$O(B
+ $B%U%!%$%kL>$,(B<general text>$B$N%U%!%$%k$N(BMD5$B%O%C%7%eCM$r7W;;$9$k!%(B
+
+ $B$3$N%W%j%_%F%#%V$O(B\cite{xe5}$B0J9_$N5DO@$r85$K!$3QF#$5$s$,%j%/%(%9%H$7$?$b$N$G!$(B
+ 2015/07/04$B$K(B\epTeX $B$K<BAu$5$l$F$$$k!%(B
+
+ \csitem[\.{pdfpritimive}, \.{ifpdfprimitive}]
+ \.{pdfprimitive}$B$O<!$KB3$/@)8fDV$,%W%j%_%F%#%V$HF1$8L>>N$G$"$C$?>l9g$K!$(B
+ $B%W%j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$B$K$h$C$FF~$k%0%k!<(B
+ \item $B9TKv6XB'=hM}$N$?$a$KA^F~$5$l$k%Z%J%k%F%#(B
+ \item $B2$J8J8;z$N%Y!<%9%i%$%sJd@5MQ$N%N!<%I(B
+ \end{itemize}
+ $B$OL5;k$5$l$k!%$^$?!$!V:G8e$N%N!<%I!W$,2$J8J8;z$N%j%,%A%c$G$"$C$?>l9g$O!$%j%,%A%c$=$l<+?H$N%3!<%IHV9f$G$O$J$/!$(B
+ $B:G8e$N9=@.MWAG$NJ8;z$N%3!<%IHV9f$rJV$9!%!V:G8e$N%N!<%I!W$,J8;z$rI=$9$b$N$G$J$+$C$?>l9g$O!$(B$-1$$B$,JV$k!%(B
+\end{cslist}
+
+$BNc$($P!$(B\.{lastnodechar}$B$r;H$C$F(B
+\begin{verbatim}
+$B$3$l$O!$(B\the\lastnodechar\textmc{$B!X$[$2E^@k8@!Y(B}$B!D!D(B
+\end{verbatim}
+$B$HF~NO$9$k$H!$(B
+\begin{quote}
+$B$3$l$O!$(B\the\lastnodechar\textmc{$B!X$[$2E^@k8@!Y(B}$B!D!D(B
+\end{quote}
+$B$N$h$&$K$J$j!$(B\.{lastnodechar}$B<B9T;~$N!V:G8e$N%N!<%I!W!JJ8;z!V!$!W$rI=$9!K$NFbIt%3!<%I(B
+\footnote{%
+ $BFbIt%3!<%I$,(BEUC$B$N>l9g$O(B$\texttt{"A1A4} = 41380$$B!$(BSJIS$B$N>l9g$O(B
+ $\texttt{"8143} = 33091$$B$H$J$k!%(B
+}$B$,F@$i$l$k!%$3$l$K$h$C$F!$(B\.{textmc}$BEy$NL?Na$ND>A0$NJ8;z$rCN$k$3$H$,$G$-$k$N$G!$(B
+$B$"$H$O(B\TeX $B%^%/%mB&$G$J$s$H$+$G$-$k$@$m$&!$$H$$$&L\O@8+$G$"$k!%(B
+
+\newpage
+$B$^$?!$>e5-$N@bL@$K$"$k$H$*$j!$(B
+\begin{verbatim}
+abcfi\the\lastnodechar, abc\char"1C \the\lastnodechar
+\end{verbatim}
+$B$O(B
+\begin{quote}
+abcfi\the\lastnodechar, abc\char"1C \the\lastnodechar
+\end{quote}
+$B$H$J$j!$8+$?L\$G$OF1$8!V(Bfi$B!W$,(B\.{lastnodechar}$B<B9T;~$N!V:G8e$N%N!<%I!W$G$"$k$+$N$h$&$K8+$($F$b!$(B
+$B$=$l$,9g;z$N>l9g!J:8B&!K$G$O(B\.{lastnodechar}$B$N<B9T7k2L$O:G8e$N9=@.MWAG!V(Bi$B!W$N%3!<%IHV9f(B105$B$H$J$k!%(B
+
+\medskip
+\begin{curve}
+ $B!V(B\verb+$B$3$l$O!$(B+$B!W$H%=!<%9Cf$KF~NO$7$?$H$-$N(B
+ $B%N!<%I$N>uBV$r(B\.{showlists}$B$GD4$Y$F$_$k$H<!$N$h$&$K$J$C$F$*$j!$(B
+ $BK\Ev$K0lHV:G8e$N%N!<%I$O(BJFM$B$K$h$C$FA^F~$5$l$kFsJ,6u$-$N6uGr(B
+ $B!J!V!$!W$HDL>o$NOBJ8J8;z$N4V$KF~$k$O$:$N$b$N!K$G$"$k$3$H$,$o$+$k!%(B
+\begin{verbatim}
+### yoko direction, horizontal mode entered at line 465
+\hbox(0.0+0.0)x9.24683
+\JY1/hmc/m/it/10 $B$3(B
+\JY1/hmc/m/it/10 $B$l(B
+\JY1/hmc/m/it/10 $B$O(B
+\penalty 10000(for kinsoku)
+\JY1/hmc/m/it/10 $B!$(B
+\glue(refer from jfm) 4.62341 minus 4.62341
+\end{verbatim}
+ $B$7$+$7!$?tCJMn>e$N@bL@$NDL$j!$(B\.{lastnodechar}$B$O(B\pTeX $B$NOBJ8=hM}$K$h$C$F<+F0E*$KA^F~$5$l$?(B
+ $B$3$l$i(BJFM$BM3Mh$N6uGr$rL5;k$9$k!%(B
+\end{curve}
+
+$B!V:G8e$N%N!<%I!W$r8+$F$$$k$N$G!$(B
+\begin{verbatim}
+$B$3$l$O!$(B\relax\sffamily{}\the\lastnodechar\textmc{$B!X$[$2E^@k8@!Y(B}$B!D!D(B
+\end{verbatim}
+$B$J$I$H%N!<%I$K4X78$7$J$$$b$N$,ESCf$K$"$C$F$b!$$=$l$OC1=c$KL5;k$5$l$F(B
+\begin{quote}
+$B$3$l$O!$(B\relax\sffamily{}\the\lastnodechar\textmc{$B!X$[$2E^@k8@!Y(B}$B!D!D(B
+\end{quote}
+$B$H$J$k!%(B
+
+
+
+\section{\.{epTeXinputencoding}$B%W%j%_%F%#%V(B}
+$B8=:_FI$_9~$s$G$$$k%U%!%$%k$NJ8;z%3!<%I$r@Z$jBX$($k%W%j%_%F%#%V$G$"$j!$(B
+2016/02/01$B$K0$It5*9T$5$s$K$h$C$F<BAu$5$l$?!%>\:Y$O<BAu<T$N2r@b5-;v(B
+\cite{eptexinputenc}$B$r;2>H$7$F$[$7$$$,!$$*$*$^$+$K=R$Y$k$H0J2<$N$h$&$K$J$k$@$m$&!%(B
+
+\begin{cslist}
+ \csitem[\.{epTeXinputencoding} <encoding>]
+ $B8=:_FI$_9~$s$G$$$k%U%!%$%k$NJ8;z%3!<%I$r(B<encoding>$B$KJQ99$9$k!%(B
+ $B<B:]$KJQ99$5$l$k$N$O!V<!$N9T!W$G$"$j!$$^$?8=:_$N%U%!%$%k$+$i$5$i$K(B\.{input}$BEy$G(B
+ $BFI$^$l$?%U%!%$%k$K$O8zNO$r5Z$\$5$J$$!%(B
+
+ <encoding>$B$NCM$O!$4pK\E*$K$O(B\pTeX $B$N(B\texttt{-kanji}$B%*%W%7%g%s$G;XDj$G$-$kCM(B
+ (\texttt{euc}, \texttt{sjis}, \texttt{jis}, \texttt{utf8})$B$G$"$k!%(B
+\end{cslist}
+
+
+\begin{comment}
+ \section{$B8_49@-(B}
+\eTeX, \pTeX $B$H$N8_49@-$r$O$+$k$N$KM-8z$J<jCJ$H$7$F$O!$$^$:(B\texttt{TRIP}
+test$B$,$"$k!%(B\cite{h7k}$B$K$b=q$$$?$,!$$3$l$O(B\TeX $B$N%=!<%9$NA49T$r<B9T$9$k(B
+$B$h$&$J%F%9%H%=!<%9$G$"$j!$(B\texttt{TRIP} test$B$N<B9T7k2L$,0c$($P!$$I$3$+$N(B
+$BF0:n$,0c$C$F$$$k$3$H$,J,$+$k$H$$$&;E3]$1$G$"$k!%(B
+
+$B9,$$$K$b!$(B\epTeX $B$N!J(Bcompatibility mode$B$K$*$1$k!K(B\texttt{TRIP} test$B$N<B9T7k2L$O!$(B\pTeX $B$N$=$l$H$[$H$s(B
+$B$IF1$8$G$"$j!$0c$&E@$O0J2<$N$_$G$"$C$?!'(B
+\begin{itemize}
+\item \texttt{Memory usage}$B$N0c$$!'(B
+\begin{alltt}
+ Memory usage before: \(x\,\)&\(\,y\); after: \(z\,\)\&\(\,w\); still untouched: \(u\)
+\end{alltt}
+$B$N$H$3$m$G!$(B$x$, $z$$B$,(B4$BB?$/!$(B$u$$B$,(B4$B>/$J$$!%(B
+\item $B!J(B\texttt{FAM256}$B%Q%C%A$N$*$+$2$G!K?t<0%U%)%s%H$,(B256$B8DF1;~$K(B
+$B07$($k$h$&$K$J$C$?$3$H$K$h$k!$%(%i!<$NL$H/@8$d%(%i!<%a%C%;!<%8$N0c$$!%(B
+\item $B%m%0$N:G8e$K=P$F$/$k!$%a%b%jAm;HMQNL!%(B
+\end{itemize}
+$B$^$?!$(Bextended mode$B$H(B
+compatibility mode$B$K$h$k=PNO$N0c$$$r8!>Z$9$k$H!$(BMemory usage$B$N0c$$$d%a%b%jAm;HMQNL$NB>$K(B
+$B$O!$(B\texttt{e-TRIP}$B$N@bL@=q(Bp.\ 4$B$N9`L\(B4.$B$K$"$k0c$$$7$+8+<u$1$i$l$J$+$C$?!$(B
+
+\par\vskip0.5\baselineskip\par
+
+$B<!$K!$(B\eTeX $B$K$O!$(B\eTeX $B$K$h$C$F3HD%$5$l$?ItJ,$rD4$Y$k!$F1MM$N(B
+\texttt{e-TRIP} test$B$,B8:_$9$k!%(B\pTeX $B7ONs$G$O!$(B\verb+\showbox+$B$J$I$G$$(B
+$B$A$$$AAHJ}8~$rI=<($9$k$N$G!$$=$l$r(B
+\begin{verbatim}
+ $ alias sep='sed "s/, yoko direction//;s/yoko direction, //;\
+ s/yoko(math) direction, //"'
+\end{verbatim}
+$B$H$$$&(Balias$B$rMxMQ$9$k$3$H$G(Blog file$B$+$i=|5n$7!$$=$l$H(B\eTeX $B$G$N(B
+\texttt{e-TRIP} test$B$N=PNO$HHf$Y$?7k2L!$(B
+\begin{itemize}
+\item Memory Usage$B$N0c$$!JN,!K(B
+\item $B%l%8%9%?$N;HMQ2DG=8D?t$r(B65536$B8D(B/$B<oN`$H$7$?$3$H$K$h$k%(%i!<$NL$H/@8(B
+\item $B!JOBJ8J8;z$N$?$a!K(Bcharacter code$B$K(B256$B0J>e$b5v$9$3$H$K$h$k(B
+ $B%(%i!<$NL$H/@8!%(B
+\end{itemize}
+$B$H$$$&0c$$$rF@$?!%(B
+
+\par\vskip0.5\baselineskip\par
+
+$B$9$k$H!$:G8e$K!$(B\pTeX $BFCM-$N3HD%ItJ,$N%F%9%H$r$7$?$/$J$k$o$1$@$,!$KL@n$N(B
+$BCN$k8B$j$K$*$$$F$O!$$=$N$h$&$J%F%9%H%=!<%9$O8x<0$K$OB8:_$7$J$$$h$&$G$"$k!%(B
+$B$7$+$7!$$d$O$j5$$K$J$kLdBj$G$"$j(B{\tiny $B!J$5$kJ}LL$+$i05NO$b$-$?$N$G!K(B}$B!$(B
+$B8D?ME*$K:n$C$F$_$?$b$N$,(B\texttt{ptex-qtrip}$B$G$"$k!%>\:Y$J@bL@$O$=$A$i$N(B
+$B%I%-%e%a%s%H$K>y$k!%$H$b$+$/!$$3$l$rF0:n$5$;$F(Blog file$B$rHf$Y$F$_$k$H!$%a(B
+$B%b%j4XO"$d(B\texttt{FAM256}$B4XO"0J30$O(B
+\begin{verbatim}
+ -% split2 to -0.01802,6.94444 p=-10000
+ +% split2 to -0.01806,6.94444 p=-10000
+\end{verbatim}
+$B0J30$N0c$$$7$+$J$+$C$?!%$o$:$+(B$0.00004$$B$N0c$$!JC10L$,$b$7(Bpoint$B$@$H$7$?$i(B
+$3$\,sp$B!K$@$,!$$I$3$+5$$K$J$k$H$3$m$G$"$k!%(B
+
+$B>e$N2U=j$b$"$k$7!$$^$?(B\texttt{ptex-qtrip}$B<+BN$,$^$@40A4$J$b$N$G$O$J$N$@(B
+$B$,!$(B\pTeX $B$H(B\epTeX $B$O<BMQ>e$K$*$$$F$O8_49$H8@$($=$&$J5$$b$7$J$/$b$J$$!%(B
+
+\end{comment}
+
+\begin{thebibliography}{99}
+ \bibitem{h7k} $BKL@n(B $B90E5!$!V7W;;?t3X(BII$B!!:n6H5-O?!W!$(B2008$B!%(B\\
+ \url{https://osdn.jp/projects/eptex/document/resume/ja/1/resume.pdf}$B$[$+!$(B
+ $BK\(Bpdf$B$HF1$8%G%#%l%/%H%j$K$"$k(B\texttt{resume.pdf}$B$,$=$l$K$"$?$k!%(B
+ \bibitem{yamamoto} $B;3K\(B $BOB5A!$!V?t<0(Bfam$B$N@)8B$H(Bluatex$B!W!$7G<(HD!V(B\TeX\
+ Q\ \&\ A$B!W!$(B2009/02/12$B!%(B
+ \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52744.html}
+ \bibitem{yamamoto2} $B;3K\(B $BOB5A!$!V(BRe: $B?t<0(Bfam$B$N@)8B$H(Bluatex$B!W!$7G<(HD!V(B\TeX\
+ Q\ \&\ A$B!W!$(B2009/02/16$B!%(B
+ \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52767.html}
+\bibitem{yamamoto3} $B;3K\(B $BOB5A!$!V?t<0(Bfam$B3HD%%^%/%m(B for e-pTeX$BEy!W!$7G<(HD!V(B\TeX\
+ Q\ \&\ A$B!W!$(B2009/02/21$B!%(B
+ \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52799.html}
+\bibitem{expl31} $B2O86!$!V%Q%C%1!<%8$H%G%#%9%H%j%S%e!<%7%g%s$K$D$$$F!W!$7G<(HD!V(B\TeX\
+ Q\ \&\ A$B!W!$(B2010/12/16$B!%(B
+ \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/55464.html}
+ \bibitem{expl32} $B3QF#(B $BN<!$!V(BRe: $B%Q%C%1!<%8$H%G%#%9%H%j%S%e!<%7%g%s$K$D$$$F!W!$7G<(HD!V(B\TeX\
+ Q\ \&\ A$B!W!$(B2010/12/19$B!%(B
+ \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/55478.html}
+ \bibitem{expl33} zrbabbler$B!$!V(BLaTeX3 $B$H(B expl3 $B%Q%C%1!<%8!W!$%V%m%0!V%^%/%m%D%$!<%?!<!WFb(B
+ $B!$(B2010/12/22$B!%(B
+ \url{http://d.hatena.ne.jp/zrbabbler/20101222/1293050561}
+ \bibitem{strcmp} $B3QF#(B $BN<!$!V(BRe: e-pTeX 101231$B!W!$7G<(HD!V(B\TeX\
+ Q\ \&\ A$B!W!$(B2011/01/01$B!%(B\\
+ \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/55528.html}
+ \bibitem{pdfse} Dora TeX$B!$!V(BRe: \textbackslash pdfshellescape,
+ \textbackslash lastnodechar $B$N<BAu!W!$(B\TeX~Forum$B!$(B2014/11/19$B!%(B
+ \url{http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1435#p8053}
+ \bibitem{lnc} $BKL@n(B $B90E5!$!V(B\textbackslash lastnodechar $B%W%j%_%F%#%V$K$D$$$F!W!$(B2014/12/15$B!%(B\\
+ \url{https://osdn.jp/projects/eptex/wiki/lastnodechar}
+ \bibitem{xe5} Joseph Wright, ``[XeTeX] \textbackslash (pdf)mdfivesum'',
+ 2015/07/01,\\
+ \url{http://tug.org/pipermail/xetex/2015-July/026044.html}
+ \bibitem{15715} tat tsan$B!$!V(B[expl3 / e(u)ptex] 2015/07/15 $BHG(B expl3 $B%Q%C%1!<%8$,(B
+ $B!"(B(u)platex $B$GDL$i$J$$!W!$(B\TeX~Forum$B!$(B2015/07/26$B!%(B\\
+ \url{http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1632}
+ \bibitem{eptexinputenc} $B0$It(B $B5*9T!$!V(B2016$BG/(B2$B7n(B2$BF|!W!$(B2016/02/02$B!%(B\\
+ \url{http://abenori.blogspot.jp/2016/02/e-ptexeptexinputencoding.html}$B!%(B
+ \bibitem{etexman} The \NTS\!\ Team. \textit{The \eTeX\ manual} (v2.0). \\
+ \verb+$TEXMFDIST/doc/etex/base/etex_man.pdf+
+ \bibitem{omegaman} J.\ Plaice, Y.\ Haralambous. \textit{Draft
+ documentation for the $\it\Omega$ system}, 1999.\\
+ \verb+$TEXMFDIST/doc/omega/base/doc-1.8.tex+
+ \bibitem{pdftexman} H\`an Th\'{\^e} Th\`anh et al. \textit{The
+ \hologo{pdfTeX}\ user manual}, 2015.\\
+ \verb+$TEXMFDIST/doc/pdftex/manual/pdftex-a.pdf+
+\end{thebibliography}
+
+\printindex
+
+\newpage\scrollmode
+\input fam256d.tex
+
+\newpage
+\end{document}
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/fam256d.tex b/Master/texmf-dist/doc/ptex/ptex-base/fam256d.tex
new file mode 100644
index 00000000000..97a077a2170
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/fam256d.tex
@@ -0,0 +1,160 @@
+\begin{center}
+ \Large\bfseries
+ Test source for \texttt{FAM256} patch
+\end{center}
+
+
+$BK\%=!<%9$O;3K\OB5A;a$K$h$k!V?t<0(Bfam$B$N@)8B$H(Bluatex$B!W!J(Bqa:52744$B!KCf$N%3!<(B
+$B%I$r%Y!<%9$K$7$?$b$N$G$"$k!%(B
+
+\bigskip
+
+\paragraph{More than 16 math font families.}
+\font\fontA=cmr10
+$
+\mbfa{A}
+\mbfb{B}
+\mbfc{C}
+\mbfd{D}
+\mbfe{E}
+\mbff{F}
+\mbfg{G}
+\mbfh{H}
+\mbfi{I}
+\mbfj{J}
+\mbfk{K}
+\mbfl{L\ fam=\the\fam\ }$
+
+$
+\mbfaa{Aa}
+\mbfab{Ab}
+\mbfac{Ac}
+\mbfad{Ad}
+\mbfae{Ae}
+\mbfaf{Af}
+\mbfag{Ag}
+\mbfah{Ah}
+\mbfai{Ai}
+\mbfaj{Aj}
+\mbfak{Ak}
+\mbfal{Al}
+\mbfam{Am}
+\mbfan{An}
+\mbfao{Ao}
+\mbfap{Ap\ fam\the\fam\ }
+$
+
+$
+\mbfba{Aa}
+\mbfbb{Ab}
+\mbfbc{Ac}
+\mbfbd{Ad}
+\mbfbe{Ae}
+\mbfbf{Af}
+\mbfbg{Ag}
+\mbfbh{Ah}
+\mbfbi{Ai}
+\mbfbj{Aj}
+\mbfbk{Ak}
+\mbfbl{Al}
+\mbfbm{Am}
+\mbfbn{An}
+\mbfbo{Ao}
+\mbfbp{Ap\ fam\the\fam\ }
+$
+
+$
+\mbfca{Aa}
+\mbfcb{Ab}
+\mbfcc{Ac}
+\mbfcd{Ad}
+\mbfce{Ae}
+\mbfcf{Af}
+\mbfcg{Ag}
+\mbfch{Ah}
+\mbfci{Ai}
+\mbfcj{Aj}
+\mbfck{Ak}
+\mbfcl{Al}
+\mbfcm{Am}
+\mbfcn{An}
+\mbfco{Ao}
+\mbfcp{Ap\ fam\the\fam\ }
+$
+
+$
+\mbfda{Aa\ fam\the\fam\ }
+\mbfdb{Ab\ fam\the\fam\ }
+\mbfdc{Ac\ fam\the\fam\ }
+\mbfdd{Ad\ fam\the\fam\ }
+%
+\ \textfont255=\fontA \fam255 roman
+$
+
+\medskip
+
+\paragraph{\.{omathchar}\ etc.}
+\omathcode`<="3460065
+\mathcode`>="4065
+\xdef\lx{\odelimiter"4450068"030001}
+\odelcode`[="410074"03000B
+${\tt \verb|\mathchar"7F25|:\ }\mathchar"7F25,\
+{\tt \verb|\omathchar"7420125|:\ }
+\omathchar"7420125$
+
+{\tt meaning of \verb|\langle|:\ \meaning\langle},
+
+{\tt meaning of \verb|\lx|:\ \meaning\lx}
+
+
+${\tt \verb|\lx|:\ }\lx,\
+{\tt \verb|\bigl\lx|:\ } \bigl\lx,\
+{\tt \verb|\Bigl\lx|:\ } \Bigl\lx$
+
+
+{\tt \verb+\the\mathcode`\f+:\ \hex{\the\mathcode`\f}},
+{\tt \verb+\the\omathcode`\f+:\ \hex{\the\omathcode`\f}}$B!J$I$A$i$b(B16$B?J$K(B
+$BJQ49$7$?!K(B
+
+$\left[\right.\bigl[\Bigl[\Bigr)\bigr)) <>$
+
+$\radical"270370{}$,\ $\oradical"460070"030074{} $\
+$\radical"270370{a}$,\ $\oradical"460070"030074{a} $\
+$\radical"270370{\int_V f\,d\mu}$,\ $\oradical"460070"030074{\int_V f\,d\mu} $
+
+\medskip
+
+\.{odelcode} primitive$B$K$h$k(B\emph{delimiter code$B$N<hF@(B}$B$O$&$^$/F0$+$J$$!'(B\\
+{\tt \verb+\the\delcode`\|+:} ${\the\delcode`\|}$,
+{\tt \verb+\the\odelcode`\|+:} ${\the\odelcode`\|}$$B!J$I$A$i$b(B10$B?J!K(B
+
+\medskip
+
+\paragraph{Infinite level ``fi''}
+\def\na{\hskip 0pt plus 1fi({\tt fi})\hskip 0pt plus 1fi}
+\def\nb{\hskip 0pt plus 1fil({\tt fil})\hskip 0pt plus 1fil}
+\def\nc{\hskip 0pt plus 1fill({\tt fill})\hskip 0pt plus 1fill}
+\def\nd{\hskip 0pt plus 1filll({\tt filll})\hskip 0pt plus 1filll}
+\fbox{\hbox to 14cm{$B"#(B\na $B"#(B\nb $B"#(B\nc $B"#(B\nd $B"#(B}}
+
+\fbox{\hbox to 14cm{$B"#(B\na $B"#(B\nb $B"#(B\nc $B"#(B}}
+
+\fbox{\hbox to 14cm{$B"#(B\na $B"#(B\nb $B"#(B}}
+
+\fbox{\hbox to 14cm{$B"#(B\na $B"#(B\na\na $B"#(B}}
+
+
+
+\paragraph{65536 registers}
+\leavevmode
+{\tracingall
+\setbox40000=\hbox to 10mm{fuga!}\copy40000
+{\setbox40000=\hbox to 10mm{a}\copy40000
+ {\setbox40000=\hbox to 10mm{$B4A;z2>L>(B}\copy40000}
+\global\setbox40000=\hbox to 10mm{asdf}}\copy40000
+{\setbox40000=\hbox to 10mm{\TeX}\copy40000
+ {\setbox40000=\hbox to 10mm{$B$[$2$[$2(B}\copy40000}\copy40000}}
+
+\count34656=465\count45486=124
+\advance\count34656 by\count45486
+\the\count34656\nonstopmode
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/fam256p.tex b/Master/texmf-dist/doc/ptex/ptex-base/fam256p.tex
new file mode 100644
index 00000000000..ea54feb243e
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/fam256p.tex
@@ -0,0 +1,75 @@
+\makeatletter
+\mathchardef\e@mathgroup@top=256
+\makeatother
+
+
+
+\DeclareMathAlphabet{\mbfa}{OT1}{cmr}{m}{n}
+\DeclareMathAlphabet{\mbfb}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfc}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfd}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfe}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbff}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfg}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfh}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfi}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfj}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfk}{OT1}{cmr}{bx}{n}
+\DeclareMathAlphabet{\mbfl}{OT1}{cmr}{bx}{n}% $B$3$3$G(B15$BHV(B
+
+\DeclareMathAlphabet{\mbfaa}{OT1}{cmtt}{m}{n} % 16
+\DeclareMathAlphabet{\mbfab}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfac}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfad}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfae}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfaf}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfag}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfah}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfai}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfaj}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfak}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfal}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfam}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfan}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfao}{OT1}{cmtt}{m}{n}
+\DeclareMathAlphabet{\mbfap}{OT1}{cmtt}{m}{n}
+
+\DeclareMathAlphabet{\mbfba}{OT1}{cmss}{m}{it} % 32
+\DeclareMathAlphabet{\mbfbb}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbc}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbd}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbe}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbf}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbg}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbh}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbi}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbj}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbk}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbl}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbm}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbn}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbo}{OT1}{cmss}{m}{it}
+\DeclareMathAlphabet{\mbfbp}{OT1}{cmss}{m}{it}
+
+\DeclareMathAlphabet{\mbfca}{OT1}{ptm}{m}{n} % 48
+\DeclareMathAlphabet{\mbfcb}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcc}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcd}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfce}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcf}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcg}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfch}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfci}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcj}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfck}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcl}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcm}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcn}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfco}{OT1}{ptm}{m}{n}
+\DeclareMathAlphabet{\mbfcp}{OT1}{cmr}{bx}{n}
+
+\DeclareMathAlphabet{\mbfda}{OT1}{phv}{m}{n} % 64
+\DeclareMathAlphabet{\mbfdb}{OT1}{pcr}{m}{n}
+\DeclareMathAlphabet{\mbfdc}{OT1}{pag}{m}{n}
+\DeclareMathAlphabet{\mbfdd}{OT1}{ppl}{m}{n}
+
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/jfm.pdf b/Master/texmf-dist/doc/ptex/ptex-base/jfm.pdf
new file mode 100644
index 00000000000..9ebb05c2411
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/jfm.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/jfm.tex b/Master/texmf-dist/doc/ptex/ptex-base/jfm.tex
new file mode 100644
index 00000000000..426b2c6509a
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/jfm.tex
@@ -0,0 +1,168 @@
+\documentclass[twoside]{jarticle}
+\addtolength{\textwidth}{0.9in}
+\setlength{\oddsidemargin}{.4in}
+\setlength{\evensidemargin}{.4in}
+\pagestyle{headings}
+\begin{document}
+\section{JFM file format}
+%JFM$B%U%!%$%k%U%)!<%^%C%H(B
+JFM$B%U%!%$%k$N%U%)!<%^%C%H$O!"(B
+$B4pK\E*$K$O(BTFM$B%U%!%$%k$N%U%)!<%^%C%H$K=`5r$7$F$*$j!"(B
+TFM$B$r3HD%$7$?7A$K$J$C$F$$$k!#(B
+$B$3$3$G$O!"<g$K$=$N3HD%ItJ,$K$D$$$F@bL@$r9T$$!"(B
+$B$=$NB>$NItJ,$K4X$7$F$O!"(B
+\TeX\ the program$BEy$N(BTFM$B$N@bL@$r;2>H$7$F$b$i$$$?$$!#(B
+\subsection{JFM$B%U%!%$%k$N9=@.(B}
+JFM$B%U%!%$%kA4BN$N9=@.$O!"(B
+Table\ref{$B9=@.(B}(\pageref{$B9=@.(B}$B%Z!<%8(B)$B$K<($9$H$*$j$G$"$k!#(B \\
+$B$3$3$G(BTFM$B$H0[$J$k$N$O<!$NE@$G$"$k!#(B
+\begin{enumerate}
+\item {\it char\_type}$B$N%F!<%V%k$,IU$12C$($i$l$?$3$H!#(B
+\item {\it ligature}$B$N49$o$j$K(B{\it glue}$B$N%F!<%V%k$,@_$1$i$l$?$3$H!#(B
+\item 2$B$K4XO"$7$F!"(B{\it lig\_kern}$B$+$i(B{\it glue\_kern}$B%F!<%V%k$XJQ99$5$l$?$3$H!#(B
+\item $B$3$l$i$KH<$$!"@hF,$N%U%!%$%kFb$N3FItJ,$r5,Dj$9$k(B
+ $B%Q%i%a!<%?I=$,JQ99$5$l$F$$$k!#(B
+ $B$^$?!"%*%j%8%J%k$N(BTFM$B$H$N6hJL$N$?$a$K(Bid$B$rIU2C$7$F$$$k!#(B
+\end{enumerate}
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$k!#(B
+$B3F%F!<%V%k$X$N%$%s%G%C%/%9Ey$N>pJs$r<!$N=gHV$G%Q%C%-%s%0(B
+$B$7$F(B1$B%o!<%I$K<}$a$F$"$k!#(B
+\begin{description}
+\item{width\_index(8bits)} width\_table $B$X$N%$%s%G%C%/%9(B
+\item{height\_index(4bits)} height\_table $B$X$N%$%s%G%C%/%9(B
+\item{depth\_index(4bits)} depth\_table $B$X$N%$%s%G%C%/%9(B
+\item{italic\_index(6bits)} italic\_table $B$X$N%$%s%G%C%/%9(B
+\item{tag(2bits)}
+ \begin{description}
+ \item{tag=0} {\it remainder}$B$N9`$OL58z$G$"$j;HMQ$7$J$$$3$H$r<($9!#(B
+ \item{tag=1} {\it glue\_kern}$B%W%m%0%i%`$,(B{\it glue\_kern[remender]}
+ $B$+$i$K<}$a$l$l$F$$$k$3$H$r<($9!#(B
+ \item{tag=2$B!"(B3} $B;HMQ$7$J$$!#(B
+ \end{description}
+\item{remainder(8bits)}
+\end{description}
+%
+\subsection{glue\_kern}
+$BFCDj$N%-%c%i%/%?%?%$%W$NAH$_9g$;;~$KA^F~$9$Y$-(Bglue$BKt$O(Bkern$B$r(B
+$B4JC1$J%W%m%0%i%`8@8l$K$h$C$F;XDj$9$k!#(B
+$B3FL?Na$O!"0J2<$N(B4$B%P%$%H$G9=@.$5$l$k!#(B
+\begin{description}
+\item{$BBh(B1$B%P%$%H(B} 128$B0J>e$N;~!"$3$N%o!<%I$G%W%m%0%i%`=*N;!#(B
+\item{$BBh(B2$B%P%$%H(B}
+ \begin{itemize}
+ \item $B<!$NJ8;z$N%-%c%i%/%?%?%$%W$,!"(B
+ $B$3$N%P%$%H$G<($9%-%c%i%/%?%?%$%W$HF1$8>l9g!"(B
+ $BBh(B3$B%P%$%H$N=hM}$r<B9T$7!"%W%m%0%i%`=*N;!#(B
+ \item $B$=$&$G$J$1$l$P<!$N%9%F%C%W$X!#(B
+ \end{itemize}
+\item{$BBh(B3$B%P%$%H(B}
+ $B$3$NCM$K$h$C$F%0%k!<$r07$&$+%+!<%s$r07$&$+$r5,Dj$9$k!#(B
+ \begin{itemize}
+ \item 127$B0J2<$N>l9g(B{\it glue[remainder$\times$3]}$B$N%0%k!<$rA^F~!#(B
+ \item 128$B0J>e$N>l9g(B{\it kern[remainder]}$B$N%+!<%s$rA^F~!#(B
+ \end{itemize}
+\item{$BBh(B4$B%P%$%H(B} remainder
+\end{description}
+\subsection{glue$B%F!<%V%k(B}
+3$B%o!<%I$G(B1$B$D$N%0%k!<$r9=@.$9$k!#(B
+$B3FCM$O!"(B$design size\times2^{-20}$$B$rC10L$H$7$FI=$9!#(B
+\begin{description}
+\item{$BBh(B1$B%o!<%I(B} width
+\item{$BBh(B2$B%o!<%I(B} stretch
+\item{$BBh(B3$B%o!<%I(B} shrink
+\end{description}
+\subsection{param$B%F!<%V%k(B}
+\begin{description}
+\item{param[1]} italic slant$B!#(B
+\item{param[2][3][4]} $B4A;z%U%)%s%H4V$KA^F~$9$k%0%k!<$N%G%U%)%k%HCM!#(B
+\item{param[5][6][7]} $B4A;z(B--$B1Q;z%U%)%s%H4V$KA^F~$9$k%0%k!<$N%G%U%)%k%HCM!#(B
+\end{description}
+\newpage
+\begin{table}[h]
+\begin{minipage}[b]{2in}
+\begin{tabular}{|c|c|} \hline
+\hbox to.8in{\hfil$id$\hfil} & \hbox to.8in{\hfil$nt$\hfil} \\ \hline
+$lf$ & $lh$ \\ \hline
+$bc$ & $ec$ \\ \hline
+$nw$ & $nh$ \\ \hline
+$nd$ & $ni$ \\ \hline
+$nl$ & $nk$ \\ \hline
+$ng$ & $np$ \\ \hline
+\multicolumn{2}{|c|}{} \\
+\multicolumn{2}{|c|}{header} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{} \\
+\multicolumn{2}{|c|}{char\_type} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{char\_info} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{width} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{height} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{depth} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{italic} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{glue\_kern} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{kern} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{glue} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\multicolumn{2}{|c|}{}\\
+\multicolumn{2}{|c|}{patam} \\
+\multicolumn{2}{|c|}{}\\ \hline
+\end{tabular}
+\end{minipage}
+\begin{minipage}[b]{3.3in}
+\noindent
+\begin{tabular}{l}
+$id=$ JFM\_ID number. ($=11$) \\
+$nt=$ number of words in the character type table. \\
+$lf=$ length of the entire file, in words. \\
+$lh=$ length of the header data, in words. \\
+$bc=$ smallest character type in the font. \\
+$ec=$ largest character type in the font. \\
+$nw=$ number of words in the width table. \\
+$nh=$ number of words in the height table. \\
+$nd=$ number of words in the depth table. \\
+$ni=$ number of words in the italic correction table. \\
+$nl=$ number of words in the glue/kern table. \\
+$nk=$ number of words in the kern table. \\
+$ng=$ number of words in the glue table. \\
+$np=$ number of font parameter words. \\
+\end{tabular}
+\end{minipage}
+\caption{JFM$B%U%!%$%k$N9=@.(B\label{$B9=@.(B}}
+\end{table}
+\end{document}
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/jtex.pdf b/Master/texmf-dist/doc/ptex/ptex-base/jtex.pdf
new file mode 100644
index 00000000000..7ffcf212f49
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/jtex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/jtex.tex b/Master/texmf-dist/doc/ptex/ptex-base/jtex.tex
new file mode 100644
index 00000000000..d26b4f8fdc5
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/jtex.tex
@@ -0,0 +1,653 @@
+\newcommand{\cs}[1]{{$\backslash$#1}}
+\documentstyle[twoside]{jarticle}
+\addtolength{\textheight}{.5in}
+\addtolength{\textwidth}{.7in}
+\setlength{\oddsidemargin}{.4in}
+\setlength{\evensidemargin}{.4in}
+\title{\TeX $B%7%9%F%`$NF|K\8l2=(B}
+\author{$BARBt(B $BNI0l(B\\ASCII Corporation}
+\date{$B><OB(B62$BG/(B 3$B7n(B}
+\pagestyle{headings}
+\begin{document}
+\maketitle
+\begin{abstract}
+$B8=:_!"(B\TeX $B%7%9%F%`(B $B$NF|K\8l2=$r?J$a$F$$$k$,!"(B
+$B8=;~E@$G0l1~$NF0:n$,2DG=$H$J$C$?!#(B
+$B$=$3$G!"$3$3$K$=$NJs9p$H6&$K$=$NFbMF$KIU$$$F2r@b$9$k!#(B
+$B$?$@$7!"$3$3$KJs9p$9$kFbMF$K$D$$$F$O!"(B
+$B7h$7$F:G=*E*$J$b$N$G$O$J$/!"(B
+$B8=;~E@$G$N;CDjE*$J$b$N$G$"$k$3$H$r>5CN$7$F$b$i$$$?$$!#(B
+$B>0!"K\9F$O$3$NF|K\8l2=$5$l$?(B\TeX $B%7%9%F%`$G(B\LaTeX $B$rMQ$$$F:n@.$7$?!#(B
+\end{abstract}
+%
+\newpage
+\tableofcontents
+\newpage
+%\listoftables
+%\newpage
+%
+\section{\TeX $B%7%9%F%`F|K\8l2=$NJ}?K(B}
+\TeX $B%7%9%F%`$rF|K\8l2=$9$k$K$"$?$j!"<!$N;v9`$KN10U$7(B
+$B$=$NJ}?K$r7hDj$7$?!#(B
+\begin{enumerate}
+\item $B40A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}
+$B4{B8$N%W%j%_%F%#%V$K4X$7$F$O!"=PMhF@$k8B$j2$J8!"OBJ8$N6hJL$r$;$:$K(B
+$B07$($k$h$&3HD%$r9T$C$?!#(B
+$B$^$?FbIt$G07$&%H!<%/%s$KBP$9$kF|K\8l2=$r9T$&$3$H$K$h$C$F!"(B
+$B%W%j%s%F%#%s%0%-%c%i%/%?$N$_$G$J$/!"%^%/%mL>$d%H!<%/%s%j%9%H(B
+$B$K$bA43QJ8;z$rH>3QJ8;z$H:.:_$7$F07$($k$h$&$K$J$C$F$$$k!#(B
+
+\noindent $BNc(B.
+\begin{quote}
+\cs{char}''82A0\\
+\cs{accent}''5F`$B$"(B\\
+\cs{def}\cs{$B2~%Z!<%8(B}\{\cs{eject}\}
+\end{quote}
+%
+\begin{table}[htb]
+\begin{tabular}{|l|p{4in}|} \hline
+\cs{\it prebreakpenalty} &
+ $B;XDj$9$k%-%c%i%/%?%3!<%I$NA0J}$KA^F~$9$k%Z%J%k%F%#$NCM$r@_Dj$9$k!#(B
+ $B9TF,6XB'$N;XDj$H$7$FMQ$$$k!#(B \\
+& $BNc(B. {\tt\cs{prebreakpenalty}`$B!"(B$=$1000} \\ \hline
+\cs{\it postbreakpenalty} &
+ $B;XDj$9$k%-%c%i%/%?%3!<%I$N8eJ}$KA^F~$9$k%Z%J%k%F%#$NCM$r@_Dj$9$k!#(B
+ $B9TKv6XB'$N;XDj$H$7$FMQ$$$k!#(B\\
+& $BNc(B. {\tt\cs{postbreakpenalty}`$B!N(B$=$1000} \\ \hline
+\cs{\it jis} &
+ $B4A;z%3!<%I$NJQ49$r9T$&$?$a$N%W%j%_%F%#%V$G!"(B
+ JIS$B%3!<%I$+$iFbIt%3!<%I$G$"$k%7%U%H(BJIS$B$KJQ49$9$k!#(B\\
+& $BNc(B. {\tt\cs{prebreakpenalty}\cs{jis}"2122$=$1000} \\ \hline
+\cs{\it kuten} &
+ \cs{jis}$B$HF1MM$K6hE@%3!<%I$+$i%7%U%H(BJIS$B$XJQ49$9$k!#(B\\
+& $BNc(B. {\tt\cs{postbreakpenalty}\cs{kuten}"0146$=$1000} \\ \hline
+\cs{\it sjis} &
+ $B>e5-$N#2$D$HF1MM$G$"$k$,!"FbIt%3!<%I$,%7%U%H(BJIS$B$G$"$k$N$G!"(B
+ $B$=$N$^$^$NCM$r$+$($9!#(B\\ \hline
+\cs{\it kanjiskip} &
+ $BA43Q%3!<%I4V$K<+F0E*$KA^F~$5$l$k%0%k!<$r;}$D%l%8%9%?!#(B\\
+& $BNc(B. {\tt\cs{kanjiskip}$=$0pt puls .3pt minus .3pt} \\ \hline
+\cs{\it xkanjiskip} &
+ $BA43Q(B--$BH>3Q%3!<%I4V$K<+F0E*$KA^F~$5$l$k%0%k!<$r;}$D%l%8%9%?!#(B\\
+& $BNc(B. {\tt\cs{xkanjiskip}$=$2.5pt puls 1pt minus 1pt} \\ \hline
+\cs{\it autospacing} &
+ $BA43Q%3!<%I4V$X$N%0%k!<$N<+F0A^F~$r9T$&$?$a$N;XDj!#(B \\ \hline
+\cs{\it noautospacing} &
+ $BA43Q%3!<%I4V$X$N%0%k!<$N<+F0A^F~$r9T$o$J$$$?$a$N;XDj!#(B \\ \hline
+\cs{\it autoxspacing} &
+ $BA43Q(B--$BH>3Q%3!<%I4V$X$N%0%k!<$N<+F0A^F~$r9T$&$?$a$N;XDj!#(B\\ \hline
+\cs{\it noautoxspacing} &
+ $BA43Q(B--$BH>3Q%3!<%I4V$X$N%0%k!<$N<+F0A^F~$r9T$o$J$$$?$a$N;XDj!#(B\\ \hline
+\cs{\it xspcode} &
+ $BA43Q(B--$BH>3Q%3!<%I4V$X$N%0%k!<$N<+F0A^F~$NBP>]$H$J$k(B
+ $BH>3Q%3!<%I$r;XDj$9$k!#(B
+ $B8=:_%G%U%)%k%H$NCM$H$7$F%"%k%U%!%Y%C%H$*$h$S?t;z$KBP$7$F(B
+ $B%9%Z!<%9$,A^F~$5$l$k$h$&$K@_Dj$5$l$F$$$k!#(B \\
+& $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+F0E*$KA^F~$5$l$k!"A43Q4V$*$h$SA43Q(B--$BH>3Q4V$N%9%Z!<%9$O!"(B
+ {\bf\cs{kanji\-skip}}$B!"(B{\bf\cs{xkanji\-skip}}$B$NCM$,I,$:(B
+ $B;H$o$l$F$7$^$&$,!"$3$l$O(BJFM$B%U%!%$%kCf$K!"%G%U%)%k%HCM$r(B
+ $B@_Dj=PMh$k$h$&$K$7$F!"%U%)%s%H$NJQ99$H6&$K:GE,CM$r(B
+ $B;HMQ$G$-$k$h$&$K$7$?$$!#(B
+\item $BA43Q$N5-9fEy$O!"A43QI}8GDj$G$O$J$/!"4pK\E*$K$O$=$NJ8;z$N;}$D(B
+ $B<B:]$NI}$G<h$j07$($J$1$l$P!"9TF,$d9TKv$K$*$+$l$k>l9g!"(B
+ $B9T$>$m$($,@53N$K9T$($:(B\. $BH~(B\. $B$7(B\. $B$/(B\. $B$J(B\. $B$$!#(B
+ $B$3$&$7$?5-9fN`$O4A;z%U%)%s%H$G$"$C$F$b!"(B
+ $BFH<+$N;zI}>pJs$r;}$D$h$&$K$7$?$$!#(B
+\item $BA43QJ8;z$KBP$7$F$b!"J8;z$NAH$_9g$;$K$h$k%+!<%K%s%0$r(B
+ $B9T$&$Y$-$G$"$k!#(B $BFC$K$R$i$,$J%+%?%+%J$N8e$K!"%T%j%*%I!"(B
+ $B%+%s%^$NN`$NJ8;z$,B3$$$?>l9g$N!"(B
+ $B%9%Z!<%9$N6u$-J}$,IT<+A3$J$3$H$,>l9g$,$"$j!"(B
+ $BD4@0$G$-$k$h$&$K$9$kI,MW$,$"$k!#(B
+\end{itemize}
+%
+%\appendix{TFM$B%U%!%$%k$N9=B$(B}
+%\begin{tabular}{|cp{2in}|} \hline
+%lf & lh \\ \hline
+%bc & ec \\ \hline
+%nw & nh \\ \hline
+%nd & ni \\ \hline
+%nl & nk \\ \hline
+%ne & np \\ \hline
+%\multicolumn{2}{|c|}{} \\ hline
+\newpage
+\appendix
+\section{$B6XB'%Z%J%k%F%#$N@_DjNc(B}
+$B6XB'%Z%J%k%F%#$N@_DjNc$H$7$F!"(B
+$B$3$N%F%-%9%H@):n;~$K;HMQ$7$?@_Dj$r>e$2$F$*$/!#(B
+
+\vspace{15pt}
+{\tt\noindent
+\begin{tabular}{lll}
+%$BH>3QJ8;z(B
+\cs{prebreakpenalty}`.=1000 &
+\cs{prebreakpenalty}`,=1000 &
+\cs{prebreakpenalty}`\}=1000 \\
+\cs{postbreakpenalt}y`\{=1000 &
+\cs{prebreakpenalty}`)=1000 &
+\cs{postbreakpenalty}`(=1000 \\
+\cs{prebreakpenalty}`]=1000 &
+\cs{postbreakpenalty}`[=1000 &
+\cs{postbreakpenalty}`!=500 \\
+\cs{postbreakpenalty}`\#=500 &
+\cs{postbreakpenalty}`\$=500 &
+\cs{postbreakpenalty}`\%=500 \\
+\cs{postbreakpenalty}`\&=500 &
+\cs{postbreakpenalty}`\`=500 &
+\cs{prebreakpenalty}`|=500 \\
+\cs{prebreakpenalty}`;=500 &
+\cs{prebreakpenalty}`?=500 &
+\cs{prebreakpenalty}`:=500 \\
+%$BA43QJ8;z(B
+\cs{prebreakpenalty}`$B!"(B=1000 &
+\cs{prebreakpenalty}`$B!#(B=1000 &
+\cs{prebreakpenalty}`$B!$(B=1000 \\
+\cs{prebreakpenalty}`$B!%(B=1000 &
+\cs{prebreakpenalty}`$B!&(B=1000 &
+\cs{prebreakpenalty}`$B!'(B=500 \\
+\cs{prebreakpenalty}`$B!((B=500 &
+\cs{prebreakpenalty}`$B!)(B=500 &
+\cs{prebreakpenalty}`$B!*(B=500 \\
+\cs{prebreakpenalty}`$B!K(B=800 &
+\cs{postbreakpenalty}`$B!J(B=800 &
+\cs{prebreakpenalty}`$B!Q(B=800 \\
+\cs{postbreakpenalty}`$B!P(B=800 &
+\cs{prebreakpenalty}`$B!N(B=800 &
+\cs{postbreakpenalty}`$B!O(B=800 \\
+\cs{postbreakpenalty}`$B!F(B=1000 &
+\cs{prebreakpenalty}`$B!G(B=1000 &
+\cs{prebreakpenalty}`$B!<(B=200 \\
+\cs{prebreakpenalty}`$B!\(B=200 &
+\cs{prebreakpenalty}`$B!](B=200 &
+\cs{prebreakpenalty}`$B!a(B=200 \\
+\cs{postbreakpenalty}`$B!t(B=200 &
+\cs{postbreakpenalty}`$B!p(B=200 &
+\cs{postbreakpenalty}`$B!s(B=200 \\
+\cs{postbreakpenalty}`$B!u(B=200 &
+\cs{prebreakpenalty}`$B$!(B=150 &
+\cs{prebreakpenalty}`$B$#(B=150 \\
+\cs{prebreakpenalty}`$B$%(B=150 &
+\cs{prebreakpenalty}`$B$'(B=150 &
+\cs{prebreakpenalty}`$B$)(B=150 \\
+\cs{prebreakpenalty}`$B$C(B=150 &
+\cs{prebreakpenalty}`$B$c(B=150 &
+\cs{prebreakpenalty}`$B$e(B=150 \\
+\cs{prebreakpenalty}`$B$g(B=150 &
+\cs{prebreakpenalty}`$B%!(B=150 &
+\cs{prebreakpenalty}`$B%#(B=150 \\
+\cs{prebreakpenalty}`$B%%(B=150 &
+\cs{prebreakpenalty}`$B%'(B=150 &
+\cs{prebreakpenalty}`$B%)(B=150 \\
+\cs{prebreakpenalty}`$B%C(B=150 &
+\cs{prebreakpenalty}`$B%c(B=150 &
+\cs{prebreakpenalty}`$B%e(B=150 \\
+\cs{prebreakpenalty}`$B%g(B=150 \\
+\end{tabular}
+\begin{tabular}{ll}
+\cs{prebreakpenalty}\cs{jis}"212B=1000 &
+\cs{prebreakpenalty}\cs{jis}"212C=1000 \\
+\cs{prebreakpenalty}\cs{jis}"212D=1000 &
+\cs{postbreakpenalty}\cs{jis}"212E=1000 \\
+\cs{prebreakpenalty}\cs{jis}"2139=250 &
+\cs{prebreakpenalty}\cs{jis}"2144=250 \\
+\cs{prebreakpenalty}\cs{jis}"2145=250 &
+\cs{postbreakpenalty}\cs{jis}"2146=1000 \\
+\cs{prebreakpenalty}\cs{jis}"2147=1000 &
+\cs{postbreakpenalty}\cs{jis}"2148=1000 \\
+\cs{prebreakpenalty}\cs{jis}"2149=1000 &
+\cs{postbreakpenalty}\cs{jis}"214C=800 \\
+\cs{prebreakpenalty}\cs{jis}"214D=800 &
+\cs{postbreakpenalty}\cs{jis}"2152=800 \\
+\cs{prebreakpenalty}\cs{jis}"2153=800 &
+\cs{postbreakpenalty}\cs{jis}"2154=800 \\
+\cs{prebreakpenalty}\cs{jis}"2155=800 &
+\cs{postbreakpenalty}\cs{jis}"2156=800 \\
+\cs{prebreakpenalty}\cs{jis}"2157=800 &
+\cs{postbreakpenalty}\cs{jis}"2158=800 \\
+\cs{prebreakpenalty}\cs{jis}"2159=800 &
+\cs{postbreakpenalty}\cs{jis}"215A=800 \\
+\cs{prebreakpenalty}\cs{jis}"215B=800 &
+\cs{prebreakpenalty}\cs{jis}"246E=150 \\
+\cs{prebreakpenalty}\cs{jis}"256E=150 &
+\cs{prebreakpenalty}\cs{jis}"2575=150 \\
+\cs{prebreakpenalty}\cs{jis}"2576=150 \\
+\end{tabular}}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/jtexdoc.pdf b/Master/texmf-dist/doc/ptex/ptex-base/jtexdoc.pdf
new file mode 100644
index 00000000000..128201475be
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/jtexdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/jtexdoc.tex b/Master/texmf-dist/doc/ptex/ptex-base/jtexdoc.tex
new file mode 100644
index 00000000000..321b66c5cf5
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/jtexdoc.tex
@@ -0,0 +1,403 @@
+\def\cs#1{$\backslash$\kern0pt#1}
+\def\angle#1{$\langle$\kern0pt#1\kern0pt$\rangle$}
+\documentstyle{jarticle}
+\begin{document}
+\title{$BF|K\8l(B\TeX}
+\author{$BARBt(B $BNI0l(B\\ASCII Corporation}
+\date{$B><OB(B62$BG/(B8$B7n(B \\ $B><OB(B62$BG/(B12$B7n(B \\ $BJ?@.85G/(B10$B7n(B}
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N$H2>Dj$7$F$$$^$9!#(B
+ \begin{quote}
+ min5, min6, min7, min8, min9, min10,
+ min10 magstephalf, min10 magstep1,
+ min10 magstep2, min10 magstep3,
+ min10 magstep4, min10 magstep5, \\
+ goth5, goth6, goth7, goth8, goth9, goth10,
+ goth10 magstephalf, goth10 magstep1,
+ goth10 magstep2, goth10 magstep3,
+ goth10 magstep4, goth10 magstep5
+ \end{quote}
+ $B$3$l$i$,!"$-$A$s$H0u;z$5$l$k$+$I$&$+$O%W%j%s%?%I%i%$%P$N@UG$$G$9!#(B
+ $B$^$?!"$3$l$i$N%U%)%s%H$K$O%+!<%K%s%0!&%Q%i%a!<%?$,@_Dj$5$l$F$$$^$9!#(B
+ $B%+!<%K%s%0$r9T$$$?$/$J$$>l9g$O!">e5-$N%U%)%s%H$NBe$j$K0J2<$N$b$N$r(B
+ $B;HMQ$7$F$/$@$5$$!#$3$A$i$N%U%)%s%H$O!"%+!<%K%s%0$N%Q%i%a!<%?$,@_Dj(B
+ $B$5$l$F$$$J$$$3$H$r=|$$$F>e5-$N$b$N$HA4$/F1$8$b$N$G$9!#(B
+ \begin{quote}
+ nmin5, nmin6, nmin7, nmin8, nmin9, nmin10,
+ nmin10 magstephalf, nmin10 magstep1,
+ nmin10 magstep2, nmin10 magstep3,
+ nmin10 magstep4, nmin10 magstep5, \\
+ ngoth5, ngoth6, ngoth7, ngoth8, ngoth9, ngoth10,
+ ngoth10 magstephalf, ngoth10 magstep1,
+ ngoth10 magstep2, ngoth10 magstep3,
+ ngoth10 magstep4, ngoth10 magstep5
+ \end{quote}
+\item $B8=:_$N%P!<%8%g%s$G$O!"A43Q%9%Z!<%9$O$[$+$N4A;z%-%c%i%/%?$HF1$8$h$&$K(B
+ $B07$o$l$^$9!#(B
+ $BH>3Q%9%Z!<%9$N$h$&$JFCJL$N=hM}$O9T$C$F$$$^$;$s$N$GCm0U$7$F$/$@$5$$!#(B
+\item $B%3%s%H%m!<%k%7!<%1%s%9L>$K$bA43QJ8;z$r;HMQ$9$k$3$H$,$G$-$^$9$,(B
+ $B<!$NE@$KCm0U$7$F$/$@$5$$!#(B
+ \begin{enumerate}
+ \item $BA43Q$N(B1$B6h!"(B2$B6h!"(B7$B6h$K4^$^$l$kJ8;z$O!"%+%F%4%j!<%3!<%I$N(B
+ 12$B$D$^$j(B `Other\_character' $B$HF1MM$N07$$$K$J$j$^$9!#(B
+ $B$7$?$,$C$F!"$3$l$i$NJ8;z$O(B ``$B%(%9%1!<%WJ8;z(B$+$1$BJ8;z(B'' $B$N(B
+ $B%3%s%H%m!<%k%7!<%1%s%9$H$7$F$N$_07$($^$9!#(B
+ \item $B$=$N$[$+$NJ8;z$KIU$$$F$O!"%+%F%4%j!<%3!<%I$N(B11(letter)$B$H(B
+ $BF1MM$K07$o$l$^$9!#(B
+ $B$^$?!"$3$l$i$NJ8;z$OH>3QJ8;z$H:.:_$7$F;HMQ$9$k$3$H$,(B
+ $B$G$-$^$9!#(B
+ \end{enumerate}
+\item $BH>3Q%+%J$O;H$($^$;$s!#869FFb$KH>3Q%+%J$N%3!<%I$,F~$i$J$$$h$&$K$7(B
+ $B$F$/$@$5$$!#(B
+\end{itemize}
+
+\section{$BDI2C$5$l$?%W%j%_%F%#%V(B}
+
+$BF|K\8l(B\TeX $B$K$O$D$.$N%W%j%_%F%#%V$,DI2C$5$l$F$$$^$9!#(B
+\begin{itemize}
+\item \cs{{\bf kanjiskip}}
+ \begin{quote}
+ \cs{kanjiskip}$=$\angle{dimen}
+ \end{quote}
+ $BO"B3$9$k(B2$B%P%$%H%3!<%I4V$K<+F0E*$KA^F~$9$k%0%k!<$NCM$r(B
+ $B3JG<$9$k%l%8%9%?$G$9!#(B
+ $B$?$@$7!"$3$N=hM}$O(B\cs{autospacing}$B!"(B\cs{noautospacing}$B$K$h$C$F(B
+ $B9T$&$+9T$o$J$$$+$N;XDj$,$G$-$^$9!#(B\\
+ $B$3$N%l%8%9%?$NCM$O!"%Q%i%0%i%U$N=*$o$j$^$?$O(B\cs{hbox}$B$N:G8e$N(B
+ $B;~E@$G<h$j9~$^$l!"=hM}$5$l$^$9!#(B
+ $B$7$?$,$C$F!"F10l%Q%i%0%i%UFb!"$"$k$$$O(B\cs{hbox}$BFb$G2?EY$+CM$r(B
+ $BJQ2=$5$;$?$H$7$F$b!":G8e$K@_Dj$5$l$?CM$K$h$C$FA4$F=hM}$5$l$^$9!#(B
+
+ \noindent
+ $B;HMQNc(B\\
+ {\tt\cs{kanjiskip}$=$10pt plus 1pt minus 1pt}\\
+ {\kanjiskip=10pt plus 1pt minus 1pt
+ $B$H$9$k$H$3$&$J$j$^$9!#(B\par}
+\item \cs{{\bf xkanjiskip}}
+ \begin{quote}
+ \cs{xkanjiskip}$=$\angle{dimen}
+ \end{quote}
+ $BO"B3$9$k(B2$B%P%$%H%3!<%I$H(B\cs{xspcode}$B$G;XDj$5$l$?(B1$B%P%$%H%3!<%I$N4V$K(B
+ $B<+F0E*$KA^F~$9$k%0%k!<$NCM$r3JG<$9$k%l%8%9%?$G$9!#(B
+ $B$?$@$7!"$3$N=hM}$O(B\cs{autoxspacing}$B!"(B\cs{noautoxspacing}$B$K$h$C$F(B
+ $B9T$&$+9T$o$J$$$+$N;XDj$,$G$-$^$9!#(B\\
+ \cs{kanjiskip}$B$HF1MM$N%?%$%_%s%0$G<h$j9~$^$l=hM}$5$l$^$9!#(B
+
+ \noindent
+ $B;HMQNc(B\\
+ {\tt\cs{xkanjiskip}$=$10pt plus 1pt minus 1pt}\\
+ {\xkanjiskip=10pt plus 1pt minus 1pt
+ $B$H$9$k$H(Balphabet$B$d(Bnumber$B$H$N4V$KA^F~$5$l$k%0%k!<$,(B
+ 10pt plus 1pt minus 1pt$B$K$J$j$^$9!#(B\par}
+\item \cs{{\bf sjis}}
+ \begin{quote}
+ \cs{sjis}\angle{16--bit number}
+ \end{quote}
+ $B%7%U%H(BJIS$B%3!<%I$+$iFbIt%3!<%I$X$NJQ49$r9T$$$^$9!#(B
+
+ \noindent
+ $B;HMQNc(B\\
+ {\tt\cs{char}\cs{sjis}"889F}\\
+ $B$H$9$l$P!"(B`\char\sjis"889F' $B$H$J$j$^$9!#(B
+\item \cs{{\bf jis}}
+ \begin{quote}
+ \cs{jis}\angle{16--bit number}
+ \end{quote}
+ JIS$B%3!<%I$+$iFbIt%3!<%I$X$NJQ49$r9T$$$^$9!#(B
+
+ \noindent
+ $B;HMQNc(B\\
+ {\tt\cs{char}\cs{jis}"3022}\\
+ $B$H$9$l$P!"(B`\char\jis"3022' $B$H$J$j$^$9!#(B
+\item \cs{{\bf kuten}}
+ \begin{quote}
+ \cs{kuten}\angle{16--bit number}
+ \end{quote}
+ $B6hE@%3!<%I$+$iFbIt%3!<%I$X$NJQ49$r9T$$$^$9!#(B
+ 16$B?J(B4$B7e$N>e(B2$B7e$,6h$r2<(B2$B7e$,E@$G$"$k$H2r<a$7$^$9!#(B
+
+ \noindent
+ $B;HMQNc(B\\
+ {\tt\cs{char}\cs{kuten}"1003}\\
+ $B$H$9$l$P!"(B`\char\kuten"1003' $B$H$J$j$^$9!#(B
+\item \cs{{\bf xspcode}}
+ \begin{quote}
+ \cs{xspcode}\angle{8--bit number}$=$\angle{$0|1|2|3$}
+ \end{quote}
+ 2$B%P%$%H%3!<%I$H(B1$B%P%$%H%3!<%I$N4V$K<+F0E*$K%9%Z!<%9$,A^F~$5$l$^$9$,!"(B
+ $B$3$N%W%j%_%F%#%V$K$h$C$F$I$N(B1$B%P%$%H%3!<%I$H$N4V$G$3$N=hM}$r9T$&$+(B
+ $B$I$&$+$r;XDj$G$-$^$9!#$3$N;XDj$O(B0--3$B$N$$$:$l$+$rA*Br$9$k$3$H$K$h$j(B
+ $B<!$N$h$&$JF0:n$rA*Br$G$-$^$9!#(B
+ \begin{itemize}
+ \item 0$B$r@_Dj$9$k$3$H$K$h$j$3$N(B1$B%P%$%H%3!<%IJ8;z$H(B2$B%P%$%H%3!<%IJ8;z(B
+ $B$N4V$G$N=hM}$r6X;_$7$^$9!#(B
+ \item 1$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%9%Z!<%9$rA^F~$9$k$3$H$r6X;_$7$^$9!#(B
+ \item 2$B$r@_Dj$9$k$3$H$K$h$jD>8e$N(B1$B%P%$%H%3!<%IJ8;z$H$N4V$K(B
+ $B%9%Z!<%9$rA^F~$9$k$3$H$r6X;_$7$^$9!#(B
+ \item 3$B$r@_Dj$9$k$3$H$GA08e$N(B1$B%P%$%H%3!<%IJ8;z$H$N4V$G$N%9%Z!<%9$N(B
+ $BA^F~$r5v2D$7$^$9!#(B
+ \end{itemize}
+ $B$3$N%W%j%_%F%#%V$O!"F|K\8l(B\TeX $B$N%P!<%8%g%s(B1.4$B$GDI2C$7$^$7$?!#(B
+
+ \noindent
+ $B;HMQNc(B\\
+ {\tt\cs{xspjcode}`$B!)(B=0\\
+ \cs{xspjcode}`$B!J(B=2\\
+ \cs{xspjcode}`$B!K(B=1}
+\item \cs{{\bf jcharwidowpenalty}}
+ \begin{quote}
+ \cs{jcharwidowpenalty}$=$\angle{number}
+ \end{quote}
+ $B%Q%i%0%i%U$N:G8e$NA43QJ8;z$,!"8IN)$7$F2~9T$5$l$k$N$rKI$0$?$a$N(B
+ $B%Z%J%k%F%#$G$9!#$^$?%Q%i%0%i%U$N:G8e$,(B1$BJ8;z0J>e$N(B1$B6h!"(B2$B6h!"(B7$B6h(B
+ $B$K4^$^$l$kJ8;z$N>l9g$O!"$=$ND>A0$K$"$kA43QJ8;z$KBP$7$F$3$N(B
+ $B%Z%J%k%F%#$,;H$o$l$^$9!#(B
+\item \cs{{\bf autospacing}}
+ \begin{quote}
+ \cs{autospacing}
+ \end{quote}
+ $B$3$N%W%j%_%F%#%V$K$h$C$F(B2$B%P%$%H%3!<%I4V$X$N%0%k!<$N<+F0A^F~$r5v2D(B
+ $B$7$^$9!#(B
+\item \cs{{\bf noautospacing}}
+ \begin{quote}
+ \cs{noautospacing}
+ \end{quote}
+ $B$3$N%W%j%_%F%#%V$K$h$C$F(B2$B%P%$%H%3!<%I4V$X$N%0%k!<$N<+F0A^F~$r6X;_(B
+ $B$7$^$9!#(B
+\item \cs{{\bf autoxspacing}}
+ \begin{quote}
+ \cs{autoxspacing}
+ \end{quote}
+ $B$3$N%W%j%_%F%#%V$K$h$C$F(B2$B%P%$%H%3!<%I$H(B1$B%P%$%H%3!<%I4V$X$N%0%k!<$N(B
+ $B<+F0A^F~$r5v2D$7$^$9!#(B
+\item \cs{{\bf noautoxspacing}}
+ \begin{quote}
+ \cs{noautoxspacing}
+ \end{quote}
+ $B$3$N%W%j%_%F%#%V$K$h$C$F(B2$B%P%$%H%3!<%I$H(B1$B%P%$%H%3!<%I4V$X$N%0%k!<$N(B
+ $B<+F0A^F~$r6X;_$7$^$9!#(B
+\item \cs{{\bf prebreakpenalty}}
+ \begin{quote}
+ \cs{prebreakpenalty}\angle{16--bit number}$=$\angle{number}
+ \end{quote}
+ $B;XDj$9$kJ8;z$NA0J}$KA^F~$9$k%Z%J%k%F%#CM$r@_Dj$7$^$9!#(B
+ $B$3$N;XDj$O!"9TF,6XB'$N;XDj$K$"$?$j$^$9!#(B
+
+ \noindent
+ $B;HMQNc(B\\
+ {\tt\cs{prebreakpenalty}`$B$"(B$=$1000}\\
+ $B$H$9$k$3$H$K$h$j!"(B`$B$"(B' $B$NA0J}$K(B1000$B$N%Z%J%k%F%#CM$,IU$1$i$l$^$9!#(B
+\item \cs{{\bf postbreakpenalty}}
+ \begin{quote}
+ \cs{postbreakpenalty}\angle{16--bit number}$=$\angle{number}
+ \end{quote}
+ $B;XDj$9$kJ8;z$N8eJ}$KA^F~$9$k%Z%J%k%F%#CM$r@_Dj$7$^$9!#(B
+ $B$3$N;XDj$O!"9TKv6XB'$N;XDj$K$"$?$j$^$9!#(B\\
+ $B$?$@$7!"(B\cs{prebreakpenalty}$B$H(B\cs{postbreakpenalty}$B$rF10l$N(B
+ $BJ8;z$KBP$7$FF1;~$K@_Dj$9$k$3$H$O$G$-$^$;$s!#(B
+ $BF10l$NJ8;z$KBP$7$FN>J}$N;XDj$r9T$C$?>l9g!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}
+
+\subsection{$B<+F0A^F~$5$l$k%9%Z!<%9$K$D$$$F(B}
+\cs{kanjiskip}$B$d(B\cs{xkanjiskip}$B$N<+F0A^F~$O!"C1=c$KO"B3$9$kJ8;zNs$P$+$j$G$J$/(B
+shift\_amount$B$,(B0$B$G$"$k(B\cs{hbox}$BFb$NJ8;z$H$NA08e4X78$K$*$$$F$b9T$o$l$^$9!#(B
+$B$3$l$O!"(B\cs{hbox}$B$,F~;R>u$K$J$C$F$$$k>l9g$G$bF1$8$G$9!#(B
+$B$D$^$j!"$=$N(B\cs{hbox}$BFb$K8=$l$k:G=i$NJ8;z$H:G8e$NJ8;z$H$,!"(B
+box$B$NA08e$NJ8;z$KO"B3$9$kJ8;zNs$H$7$F2r<a$5$l!"(B
+$B$=$3$K;XDj$5$l$?%9%Z!<%9$,A^F~$5$l$k$3$H$K$J$j$^$9!#(B
+\cs{vbox}$B$O$=$NBP>]$H$O$J$j$^$;$s!#6qBNE*$K$O0J2<$NNc$r;29M$K$7$F$/$@$5$$!#(B
+
+\begin{tabular}{l@{ $\longrightarrow$ }c}
+\verb|$B$"(B\hbox{A}$B$$(B| & $B$"(B\hbox{A}$B$$(B \\
+\verb|$B$"(B\hbox{\hbox{A}}$B$$(B| & $B$"(B\hbox{\hbox{A}}$B$$(B \\
+\verb|$B$"(B\hbox{\hbox{\hbox{A}}}$B$$(B| & $B$"(B\hbox{\hbox{\hbox{A}}}$B$$(B \\
+\verb|$B$"(B\hbox{\hbox{\hbox{\hbox{A}}}}$B$$(B| & $B$"(B\hbox{\hbox{\hbox{\hbox{A}}}}$B$$(B \\
+\verb|$B$"(B\hbox{A\hbox{\vbox{\hbox{A}}}B}$B$$(B| &
+ $B$"(B\hbox{A\hbox{\vbox{\hbox{A}}}B}$B$$(B \\
+\verb|$B$"(B\hbox{\hbox{\vbox{\hbox{A}}}B}$B$$(B| &
+ $B$"(B\hbox{\hbox{\vbox{\hbox{A}}}B}$B$$(B \\
+\verb|$B$"(B\hbox{A\hbox{\vbox{\hbox{A}}}}$B$$(B| &
+ $B$"(B\hbox{A\hbox{\vbox{\hbox{A}}}}$B$$(B \\
+\verb|$B$"(Bfi$B$$(B| & $B$"(Bfi$B$$(B \\
+\verb|$B$"(B\hbox{\hbox{\vbox{\hbox{A}}}}$B$$(B| &
+ $B$"(B\hbox{\hbox{\vbox{\hbox{A}}}}$B$$(B \\
+\verb|$B$"(B\hbox{\vbox{\hbox{\hbox{A}}}}$B$$(B| &
+ $B$"(B\hbox{\vbox{\hbox{\hbox{A}}}}$B$$(B \\
+\verb|$B$"(B\vbox{\hbox{\hbox{\hbox{A}}}}$B$$(B| &
+ $B$"(B\vbox{\hbox{\hbox{\hbox{A}}}}$B$$(B \\
+\verb|A\hbox{$B$"(B}A| & A\hbox{$B$"(B}A \\
+\verb|A\hbox{\hbox{$B$"(B}}A| & A\hbox{\hbox{$B$"(B}}A \\
+\verb|A\hbox{\hbox{\hbox{$B$"(B}}}A| & A\hbox{\hbox{\hbox{$B$"(B}}}A \\
+\verb|A\hbox{\hbox{\hbox{\hbox{$B$"(B}}}}A| & A\hbox{\hbox{\hbox{\hbox{$B$"(B}}}}A \\
+\verb|A\hbox{$B$"(B\hbox{\vbox{\hbox{$B$"(B}}}$B$"(B}A| &
+ A\hbox{$B$"(B\hbox{\vbox{\hbox{$B$"(B}}}$B$"(B}A \\
+\verb|A\hbox{\hbox{\vbox{\hbox{$B$"(B}}}$B$"(B}A| &
+ A\hbox{\hbox{\vbox{\hbox{$B$"(B}}}$B$"(B}A \\
+\verb|A\hbox{$B$"(B\hbox{\vbox{\hbox{$B$"(B}}}}A| &
+ A\hbox{$B$"(B\hbox{\vbox{\hbox{$B$"(B}}}}A \\
+\verb|A\hbox{\hbox{\vbox{\hbox{$B$"(B}}}}A| \\
+ A\hbox{\hbox{\vbox{\hbox{$B$"(B}}}}A \\
+\verb|A\hbox{\vbox{\hbox{\hbox{$B$"(B}}}}A| &
+ A\hbox{\vbox{\hbox{\hbox{$B$"(B}}}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$,(B
+ $BJQ$C$F$7$^$$$^$9!#(B
+ $B$?$H$($P!"(B`\{' $B$O%U%)%s%H(Bcmsy$B$N(B66$_{16}$$B$KBP1~IU$1$i$l$F$$$^$9!#(B
+ 66$_{16}$$B$O!"%"%9%-!<%3!<%I$G(B `n' $B$r<($9$o$1$G$9$+$i6XB'$NBP>]J8;z(B
+ $B$H$O$J$C$F$$$J$$$O$:$G$9!#(B
+
+ $B$7$?$,$C$F!":#$N$^$^$G$O(B `\{' $B$N$h$&$JJ8;z$KBP$7$F<+F0E*$K6XB'=hM}$d(B
+ $B%0%k!<$N<+F0A^F~$r9T$&$3$H$OIT2DG=$G$9!#(B
+\end{itemize}
+%% cmsy $B$N(B \{ $B$O(B 0x6E $B$G$J$/(B 0x66 (2001/08/24)
+\end{document}
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/ptexdoc.pdf b/Master/texmf-dist/doc/ptex/ptex-base/ptexdoc.pdf
new file mode 100644
index 00000000000..9939162df72
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/ptexdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/ptexdoc.tex b/Master/texmf-dist/doc/ptex/ptex-base/ptexdoc.tex
new file mode 100644
index 00000000000..90a3ed85c17
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/ptexdoc.tex
@@ -0,0 +1,924 @@
+\documentstyle{jarticle}
+
+\$B@>Nq(B
+
+\title{\TeX $B$N=PHG$X$N1~MQ(B\\
+ \large--- $B=DAH$_5!G=$NAH$_9~$_(B ---}
+\author{$B_@Ln(B $B>0?M(B\thanks{$B!J3t!K(B\kern-2pt $B%"%9%-!<(B %
+ $B=PHG6I(B $BEE;RJT=88&5fE}3mIt(B $B=PHG5;=QIt(B}
+ \and $BEDB<(B $BL@;K(B${}^*$
+ \and $BARBt(B $BNI0l(B\thanks{$B!J3t!K(B\kern-2pt $B%"%9%-!<(B %
+ $B%7%9%F%`%=%U%H%&%'%";v6HIt(B $B5;=QE}3mIt(B $B%*%U%#%9%7%9%F%`5;=QIt(B}}
+\date{\ }
+
+\setlength{\unitlength}{0.1in}
+
+\def\angle#1{$\langle{}$#1${}\rangle$}
+\def\pTeX{p\kern-.2em\TeX}
+
+\begin{document}
+
+\maketitle \thispagestyle{empty}
+
+\begin{abstract}
+$BF|K\8l(B\TeX $B$r=PHGJ,Ln$GK\3JE*$K1~MQ$9$k$?$a(B, $B=DAH$_5!G=$rDI2C$7$?(B.
+$B3HD%$5$l$?(B\TeX $B$O0J2<$N$h$&$JFCD9$r;}$D(B.
+\begin{itemize}
+\item $BF10lJ8=q(B, $BF10l%Z!<%8$K=D(B/$B2#AH$_$N:.:_$,$G$-(B,
+ $B=DAH$_Cf$G$bOB(B/$B2$J8(B/$B?t<0$N:.:_$,2DG=$G$"$k(B.
+\item $B1Q8lHG$N%*%j%8%J%k(B\TeX $B$d!J2#AH$_!KF|K\8l(B\TeX $B$H8_49@-$,$"$j(B,
+ $B=>Mh$N(B\TeX $B$NJ8=q$d%^%/%m$r$=$N$^$^=hM}$9$k$3$H$,$G$-$k(B.
+\item $B=DAH$_$r;HMQ$9$k$H(B, $B3HD%%U%)!<%^%C%H$N(B{\tt DVI}$B%U%!%$%k$r=PNO$9$k(B.
+ $B$?$@$7(B, $B2#AH$_$N$_;HMQ$7$F$$$k>l9g$O(B,
+ $B=>Mh$N%U%)!<%^%C%H$N(B{\tt DVI}$B%U%!%$%k$r=PNO$9$k(B.
+\end{itemize}
+$BK\O@J8$G$O$=$N@_7W$H<B8=J}K!$K$D$$$F@bL@$9$k(B.
+\end{abstract}
+
+% \tableofcontents
+
+
+\section{$B$O$8$a$K(B}
+
+\TeX $B$O%9%?%s%U%)!<%IBg3X$N%/%L!<%965<x$K$h$C$F3+H/$5$l$?AHHG%7%9%F%`$G$"$j(B,
+$BAHHG$NH~$7$5$H6/NO$J%^%/%m5!G=$rFCD'$H$7$F$$$k(B.
+$BF|K\8l2=$5$l(B\cite{jtex}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B\begin{quote}
+% \verb|\belowdisplayshortskip|, \verb|\belowdisplayskip|,
+% \verb|\lower|,\\
+% \verb|\abovedisplayshortskip|, \verb|\abovedisplayskip|,
+% \verb|\raise|,\\
+% \verb|\rightskip|, \verb|\moveright|,\\
+% \verb|\leftskip|, \verb|\moveleft|
+% \end{quote}$B$N$h$&$J$b$N$b$"$k(B.
+% $B$3$l$i$N(B, below, lower$B$O9TAw$jJ}8~(B, above, raise$B$O9TAw$j$N5UJ}8~(B,
+% right$B$O;zAw$jJ}8~(B, left$B$O;zAw$j$N5UJ}8~$r0UL#$7$F$$$k$b$N$H$7$F(B,
+% $B=DAH$_$G$b$=$N$^$^;HMQ$9$k(B.
+
+
+\section{$B%\%C%/%9(B}
+
+$B%*%j%8%J%k$N(B\TeX $B$G$O(B, $BJ8;z$rJB$Y$F(B``$B9T(B''$B$N%\%C%/%9$r:n$k%b!<%I$r(Bh$B%b!<%I$H8@$$(B,
+$B$G$-$?%\%C%/%9$r(Bh$B%\%C%/%9$H8F$V(B.
+$B$3$l$O(B\TeX $B$,%"%a%j%+$G3+H/$5$l$?%7%9%F%`$G$"$j(B,
+$B1Q8l$G$OJ8;z$,?eJ?!J(B\kern0pt horizontal\kern0pt $B!K$KJB$V$+$i$G$"$k(B.
+$B%G%#%l%/%7%g%s$,2#$N>l9g$O$=$N$^$^$GLdBj$J$$(B.
+$B%G%#%l%/%7%g%s$,=D$N>l9g(B, $B9T$NCf$GJ8;z$O?bD>$KJB$V$N$@$,(B,
+$B$d$O$j(B, $BJ8;z$rJB$Y$F9T$N%\%C%/%9$r:n$k%b!<%I$r(Bh$B%b!<%I$H8@$$(B,
+$B$G$-$?%\%C%/%9$r(Bh$B%\%C%/%9$H8F$V$3$H$K$7$?(B.
+$B2#AH$_$H=DAH$_$NN>J}$G;H$($k%^%/%m$r:n$j$d$9$$$h$&$K(B,
+`$B2#AH$_$N9T$N%\%C%/%9(B'$B$H(B`$B=DAH$_$N9T$N%\%C%/%9(B'$B$OF1$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$>uBV$G(B\verb|\tate|$B%W%j%_%F%#%V$r<B9T$9$k$H(B,
+$B=D%G%#%l%/%7%g%s$N(Bv$B%b!<%I$K$J$k(B.
+$B$3$3$GJ8;z$rF~NO$9$k$H=D%G%#%l%/%7%g%s$N(Bh$B%b!<%I$K0\9T$7(B
+$BJ8;z$r>e$+$i2<$KJB$Y$F$$$/(B.
+$B%i%$%s%V%l!<%/$K$h$C$F:n$i$l$?(Bh$B%\%C%/%9$O(B,
+$B=D%G%#%l%/%7%g%s$N(Bv$B%b!<%I$G1&$+$i:8$KJB$Y$F$$$/(B.
+
+$B%\%C%/%9$NBg$-$5!J%Y!<%9%i%$%s$N0LCV!K$rI=$9MQ8l$H$7$F(B,
+\TeX $B$G$O(BWidth, Depth, Height$B$H$$$&8@MU$r;H$C$F$$$k(B.
+\pTeX $B$G$O(B,
+$B$3$l$i$N8@MU$r(B, $B%\%C%/%9$N;zAw$jJ}8~$NBg$-$5!J(B\kern0pt Width\kern0pt $B!K(B,
+$B9TAw$jJ}8~B&$NBg$-$5!J(B\kern0pt Depth\kern0pt $B!K(B,
+$B9TAw$jJ}8~$NH?BPB&$NBg$-$5!J(B\kern0pt Height\kern0pt $B!K$G$"$k$HDj5A$7$?(B.
+$B$h$C$F(B, $B=D%G%#%l%/%7%g%sCf$N%\%C%/%9$G$O(B, $B%\%C%/%9$N9b$5$r(B$W$$B$H$$$$(B,
+$B:8B&$NI}$r(B$D$$B$H$$$$(B, $B1&B&$NI}$r(B$H$$B$H$$$&(B.
+\begin{quote} \begin{picture}(50,24)(0,4)
+ \put(4,26){\makebox(24,0)[b]{$B2#%G%#%l%/%7%g%sCf$N%\%C%/%9(B}}
+ \put(4,24){\begin{picture}(0,0)(0,0)
+ \thicklines
+ \put(0,0){\vector(1,0){6}}
+ \put(0,0.5){\makebox(6,0)[b]{\small $B;zAw$jJ}8~(B}}
+ \put(0,0){\vector(0,-11){6}}
+ \put(0,-6){\makebox(0,0)[t]{\small $B9TAw$jJ}8~(B}}
+ \end{picture}}
+ \put(6,6){\begin{picture}(0,0)(0,0)
+ \thicklines
+ \put(6,0){\framebox(12,10){}} \put(6,4){\line(1,0){12}}
+
+ \thinlines
+ \put(0,4){\line(1,0){5}} \put(19,4){\line(1,0){5}}
+ \put(3,0){\line(1,0){2}} \put(3,10){\line(1,0){2}}
+ \put(6,11){\line(0,1){2}} \put(18,11){\line(0,1){2}}
+
+ \put(4,0){\vector(0,1){4}} \put(4,0){\vector(0,-1){0}}
+ \put(3.5,0){\makebox(0,4)[r]{$D$}}
+ \put(4,10){\vector(0,-1){6}} \put(4,10){\vector(0,1){0}}
+ \put(3.5,4){\makebox(0,6)[r]{$H$}}
+ \put(6,12){\vector(1,0){12}} \put(6,12){\vector(-1,0){0}}
+ \put(6,12.5){\makebox(12,0)[b]{$W$}}
+ \end{picture}}
+ \put(35,26){\makebox(18,0)[b]{$B=D%G%#%l%/%7%g%sCf$N%\%C%/%9(B}}
+ \put(53,24){\begin{picture}(0,0)(0,0)
+ \thicklines
+ \put(0,0){\vector(-1,0){6}}
+ \put(-6,0.5){\makebox(6,0)[b]{\small $B9TAw$jJ}8~(B}}
+ \put(0,0){\vector(0,-11){6}}
+ \put(0,-6){\makebox(0,0)[t]{\small $B;zAw$jJ}8~(B}}
+ \end{picture}}
+ \put(35,0){\begin{picture}(0,0)(0,0)
+ \thicklines
+ \put(0,6){\framebox(10,12){}} \put(4,6){\line(0,1){12}}
+
+ \thinlines
+ \put(4,19){\line(0,1){5}} \put(4,0){\line(0,1){5}}
+ \put(0,19){\line(0,1){2}} \put(10,19){\line(0,1){2}}
+ \put(11,6){\line(1,0){2}} \put(11,18){\line(1,0){2}}
+
+ \put(12,6){\vector(0,1){12}} \put(12,6){\vector(0,-1){0}}
+ \put(12.5,6){\makebox(0,12)[l]{$W$}}
+
+ \put(4,20){\vector(-1,0){4}} \put(4,20){\vector(1,0){0}}
+ \put(0,20.5){\makebox(4,0)[b]{$D$}}
+ \put(4,20){\vector(1,0){6}} \put(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G%#%l%/%7%g%s$r;}$D(B.
+$B$7$+$70J2<$N$h$&$K(B\verb|\yoko|$B%W%j%_%F%#%V$r;H$&$H(B,
+$B=D%G%#%l%/%7%g%s$NCf$K(B,
+`123'$B$H$$$&FbMF$N2#%G%#%l%/%7%g%s$r;}$D(Bh$B%\%C%/%9$rCV$/$3$H$b$G$-$k(B.
+\begin{quote}
+ $B!J=D%G%#%l%/%7%g%s!K(B\\
+ \verb|\hbox{\yoko 123}|
+\end{quote}
+
+\verb|\hbox|, \verb|\vbox|$B$G%G%#%l%/%7%g%s$N0[$J$k%\%C%/%9$r:n$k$H(B,
+$B2#%G%#%l%/%7%g%s$r;}$D%\%C%/%9$O(B, $B=DAH$_Cf$G$O(B
+$W_t=H_y+D_y$, $H_t=W_y/2$, $D_t=W_y/2$
+$B!J(B$H_y$$B$O(B, $B%\%C%/%9$N2#%G%#%l%/%7%g%sCf$K$*$1$k(B$H$$B!K$H$J$k(B.
+$B=D%G%#%l%/%7%g%s$r;}$D%\%C%/%9$O(B, $B2#AH$_Cf$G$O(B
+$W_y=H_t+D_t$, $H_y=W_t$, $D_y=0$$B$H$J$k(B.
+
+\begin{quote} \begin{picture}(50,24)(0,0)
+ \put(0,22){\makebox(16,0)[b]{$B=DAH$_Cf$N2#AH$_$N%\%C%/%9(B}}
+ \put(0,0){\begin{picture}(0,0)(0,0)
+ \thicklines
+ \put(0,6){\framebox(12,10){}} \put(0,10){\line(1,0){12}}
+
+ \thinlines
+ \put(2,10){\vector(0,-1){4}} \put(2,10){\vector(0,1){0}}
+ \put(2.5,6){\makebox(0,4)[l]{$D_y$}}
+ \put(2,10){\vector(0,1){6}} \put(2,10){\vector(0,-1){0}}
+ \put(2.5,10){\makebox(0,4)[l]{$H_y$}}
+ \put(0,14){\vector(1,0){12}} \put(0,14){\vector(-1,0){0}}
+ \put(0,13.5){\makebox(12,0)[t]{$W_y$}}
+
+ \put(6,0){\line(0,1){5}} \put(6,17){\line(0,1){5}}
+ \put(0,17){\line(0,1){2}} \put(12,17){\line(0,1){2}}
+ \put(13,6){\line(1,0){2}} \put(13,16){\line(1,0){2}}
+
+ \put(14,6){\vector(0,1){10}} \put(14,6){\vector(0,-1){0}}
+ \put(14.5,6){\makebox(0,10)[l]{$W_t$}}
+ \put(6,18){\vector(-1,0){6}} \put(6,18){\vector(1,0){0}}
+ \put(0,18.5){\makebox(6,0)[b]{$D_t$}}
+ \put(6,18){\vector(1,0){6}} \put(6,18){\vector(-1,0){0}}
+ \put(6,18.5){\makebox(6,0)[b]{$H_t$}}
+ \end{picture}}
+ \put(30,22){\makebox(22,0)[b]{$B2#AH$_Cf$N=DAH$_$N%\%C%/%9(B}}
+ \put(30,4){\begin{picture}(0,0)
+ \thicklines
+ \put(6,0){\framebox(10,12){}} \put(10,0){\line(0,1){12}}
+
+ \thinlines
+ \put(14,0){\vector(0,1){12}} \put(14,0){\vector(0,-1){0}}
+ \put(13.5,0){\makebox(0,12)[r]{$W_t$}}
+ \put(10,10){\vector(-1,0){4}} \put(10,10){\vector(1,0){0}}
+ \put(6,9.5){\makebox(4,0)[t]{$D_t$}}
+ \put(10,10){\vector(1,0){6}} \put(10,10){\vector(-1,0){0}}
+ \put(10,9.5){\makebox(4,0)[t]{$H_t$}}
+
+ \put(0,0){\line(1,0){5}} \put(17,0){\line(1,0){5}}
+ \put(3,12){\line(1,0){2}}
+ \put(6,13){\line(0,1){2}} \put(16,13){\line(0,1){2}}
+
+ \put(4,0){\line(0,-1){2}} \put(4,0){\vector(0,1){0}}
+ \put(3.5,-2){\makebox(0,2)[r]{$D_y$}}
+ \put(4,0){\vector(0,1){12}} \put(4,0){\vector(0,-1){0}}
+ \put(3.5,0){\makebox(0,12)[r]{$H_y$}}
+ \put(6,14){\vector(1,0){10}} \put(6,14){\vector(-1,0){0}}
+ \put(6,14.5){\makebox(10,0)[b]{$W_y$}}
+ \end{picture}}
+\end{picture} \end{quote}
+
+$BFs$D$N>l9g$G(B$W$, $D$, $H$$B$N;;=PJ}K!$,0[$J$k$N$O(B,
+$B=DAH$_(B, $B2#AH$_$G$NJ8;z$N07$$$N0c$$!J(B\ref{jfont}$B;2>H!K$rH?1G$7$F$$$k(B.
+
+\TeX $B$K$O(B256$B8D$N%\%C%/%9%l%8%9%?$,MQ0U$5$l$F$$$F(B
+\begin{quote}
+ \verb|\setbox123\hbox{\yoko |\angle{$BJ8(B}\verb|}|
+\end{quote}
+$B$H=q$1$P(B, $B%\%C%/%9%l%8%9%?$N(B123$BHV$K(B\angle{$BJ8(B}$B$rFbMF$H$9$k(B
+$B2#%G%#%l%/%7%g%s$N(Bh$B%\%C%/%9$,EPO?$5$l$k(B.
+$BEPO?$5$l$?%\%C%/%9$O(B
+\begin{quote} \begin{verbatim}
+ \advance\ht123 by \dp123
+ \dp123=0
+\end{verbatim} \end{quote}
+$B$N$h$&$K(B, \verb|\wd|, \verb|\dp|, \verb|\ht|$B$r;H$C$F(B
+$B%\%C%/%9$NBg$-$5$d%Y!<%9%i%$%s$N0LCV$r<+M3$KJQ$($k$3$H$,$G$-$k(B.
+\pTeX $B$G$O(B, $B%l%8%9%?$NFbMF$O(B
+\begin{quote} \begin{verbatim}
+ \hbox{\tate\copy123}
+ \hbox{\yoko\box123}
+\end{verbatim} \end{quote}
+$B$N$h$&$K$I$N%G%#%l%/%7%g%s$G;HMQ$5$l$k$+$o$+$i$:(B,
+$B%\%C%/%9$,;HMQ$5$l$k%G%#%l%/%7%g%s$K$h$C$F(B, $W$, $D$, $H$$B$O0[$J$kCM$r;}$D(B.
+$B$=$3$G(B\verb|\wd|$B$J$I$b(B,
+$B$=$N$H$-$N%G%#%l%/%7%g%sMQ$N(B$W$$B$J$I$r%"%/%;%9$9$k$3$H$K$7$?(B.
+\begin{quote}
+ \verb|\hbox{\yoko \global\wd123=|\angle{$B=D9b$5(B}\verb|}|\\
+ \verb|\hbox{\tate \global\wd123=|\angle{$B2#I}(B}\verb|}|\\
+ \verb|\hbox{\tate\copy123}|\\
+ \verb|\hbox{\yoko\box123}|
+\end{quote}
+$B$N$h$&$K=q$1$P(B, 3$B9TL\$N(B\verb|\copy123|$B$N(B$W$$B$O(B\angle{$B=D9b$5(B}$B$G$"$j(B,
+4$B9TL\$N(B\verb|\box123|$B$N(B$W$$B$O(B\angle{$B2#I}(B}$B$G$"$k(B.
+
+$B$3$N>l9gCm0U$7$J$1$l$P$J$i$J$$$N$O(B,
+\verb|\hbox|, \verb|\vbox|$B$G:n$i$l$?%\%C%/%9$O(B
+$W_t=H_y+D_y$, $W_y=H_t+D_t$$B$G$"$k$,(B,
+\verb|\wd|, \verb|\dp|, \verb|\ht|$B$r;H$C$F(B$W$, $D$, $H$$B$rJQ99$9$k$H(B
+$B$3$N4X78$OI,$:$7$b@.N)$7$J$$$H$$$&$3$H$G$"$k(B.
+$B%G%#%l%/%7%g%s$K$h$C$F%\%C%/%9$NBg$-$5$,JQ2=$9$k$3$H$K$J$k(B.
+
+\subsection{$B0[%G%#%l%/%7%g%s$N%"%8%c%9%H(B, $B%$%s%5!<%H(B}
+
+v$B%b!<%I$dFbIt(Bv$B%b!<%I$NCf$N(Bh$B%\%C%/%9$NCf$K(B\verb|\vadjust|$B$r;H$&$H(B,
+v$B%j%9%H$N$=$N%\%C%/%9$N<!$K(B, \verb|\vadjust|$B$NFbMF$,A^F~$5$l$k(B.
+$B0J2<$N$h$&$K%G%#%l%/%7%g%s$N0[$J$k(Bh$B%\%C%/%9$NCf$G$b(B
+$B;Y>c$J$/(B\verb|vadjust|$B$,;H$($k$h$&$K$7$?(B.
+\begin{quote}
+ $B!J=D%G%#%l%/%7%g%s(B, v$B%b!<%I!K(B\\
+ \verb|\hbox{\yoko |\ldots\verb|\vadjust{|\ldots\verb|}|\ldots\verb|}|
+\end{quote}
+\verb|\vadjust|$B$NCf3g8L$NFbB&$O(B, $B<+F0E*$K(B,
+$B$=$l$,%"%8%c%9%H$5$l$k%j%9%H$N%G%#%l%/%7%g%s$G$"$k=D%G%#%l%/%7%g%s$K$J$k(B.
+
+\verb|\insert|$B$N>l9g(B, $B%/%i%9$K$h$C$F%G%#%l%/%7%g%s$rJQ$($?$$>l9g$b$"$k(B.
+$B$?$H$($PJ8=qA4BN$O=DAH$_$G(B, $B5SCm$O2#AH$_$9$k$H$7$h$&(B.
+$B?^$r%/%i%9(B12$B$N%$%s%5!<%H$G(B, $B5SCm$r%/%i%9(B34$B$N%$%s%5!<%H$G=hM}$9$k$3$H$K$9$k(B.
+\begin{quote}
+ $B!J=D%G%#%l%/%7%g%s(B, v$B%b!<%I!K(B\\
+ \ldots\verb|\insert12{\tate |\ldots\verb|}|\ldots\\
+ \ldots\verb|\insert34{\yoko |\ldots\verb|}|\ldots\\
+ \ldots\verb|\insert12{\tate |\ldots\verb|}|\ldots\\
+ \ldots\verb|\insert34{\yoko |\ldots\verb|}|\ldots
+\end{quote}
+$B$3$N$h$&$K=q$1$P(B,
+$B%\%C%/%9%l%8%9%?(B12$B$K$O=D%G%#%l%/%7%g%s$G?^$,=8$a$i$l(B,
+$B%\%C%/%9%l%8%9%?(B34$B$K$O2#%G%#%l%/%7%g%s$G5SCm$,=8$a$i$l$k$h$&$K$7$?(B.
+$B$J$*(B, $BF1$8%/%i%9$K0c$&%G%#%l%/%7%g%s$r:.$<$F;H$&$3$H$O$G$-$J$$(B.
+
+
+\section{$B=DAH$_$K;HMQ$9$kJ8;z(B} \label{font}
+
+\subsection{$B=DAH$_MQF|K\8l%U%)%s%H(B}
+
+\TeX $B$O3F%U%)%s%H$K0l$D$:$DMQ0U$5$l$F$$$k(B
+{\tt TFM}$B!J(B\kern0pt{\it\TeX\/} {\it F\/}ont {\it M\/}etric\kern0pt $B!K%U%!%$%k$r(B
+$B;2>H$7$FAHHG$r9T$&(B.
+{\tt TFM}$B%U%!%$%k$K$O$=$N%U%)%s%H$K4^$^$l$k3FJ8;z$NBg$-$5$J$I(B
+$BAHHG$KI,MW$J>pJs$,Dj5A$7$F$"$k(B.
+
+\pTeX $B$G$bF1MM$G$"$k$,(B, $BF|K\8l$N%U%)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1{$rDL$k$3$H$K$7$?(B.
+$B9T$NESCf$GJ8;z$NBg$-$5$rJQ$($?$H$-(B, $B$=$N$[$&$,<+A3$@$HH=CG$7$?$+$i$G$"$k(B.
+
+\subsection{$B=DAH$_Cf$N2$J8(B}
+
+$B=DAH$_$NItJ,$K2$J8$d?t<0$,=P$F$/$k$H(B,
+$B=>Mh$N(B\TeX $B$N2$J8MQ%U%)%s%H$r(B$90^\circ$$B2sE>$7$F>e$+$i2<$K8~$+$C$FAH$s$G$$$/(B.
+$B$3$l$OIaDL$K2#$KAH$s$@2$J8$r(B, 90$BEY2sE>$5$;$?$h$&$J7k2L$K$J$k(B.
+$B$H$3$m$,(B, \ref{jfont}$B$G@bL@$7$?$h$&$K(B,
+$B=DAH$_$NOBJ8$N%Y!<%9%i%$%s$OJ8;z$NCf?4$rDL$k$h$&$K$7$?$N$G(B,
+$B$=$3$K2$J8$N%Y!<%9%i%$%s$r0lCW$5$;$k$H9T$,$:$l$F8+$($F$7$^$&(B.
+$B$=$3$G(B, \verb|\tbaselineshift|$B$H$$$&(Bdimen$BJQ?t$rMQ0U$7(B,
+$B$=$N@#K!$@$1=DAH$_Cf$N2$J8$N%Y!<%9%i%$%s$r%7%U%H$5$;$k$3$H$K$7$?(B.
+
+$B2#AH$_$G$b(B, $BOBJ8$H2$J8$N%Y!<%9%i%$%s$N0LCV$r:Y$+$/D4@a$7$J$$$H(B,
+$B%U%)%s%H$N%G%6%$%s$K$h$C$F$O%P%i%s%9$,0-$/$J$k>l9g$,$"$j(B,
+\verb|\ybaselineshift|$B$rMQ0U$7$FD4@a2DG=$K$7$?(B.
+
+\begin{quote} \begin{picture}(0,46)
+ \put(4,41){\line(0,1){5}}
+ \put(4,40){\begin{picture}(0,0)
+ \thicklines
+ \put(-7,-14){\framebox(14,14){$B=DAH$_$N4A;z(B}}
+ \put(0,0){\line(0,-1){14}}
+
+ \thinlines
+ \put(8,0){\line(1,0){2}} \put(8,-14){\line(1,0){2}}
+ \put(-7,1){\line(0,1){2}} \put(7,1){\line(0,1){2}}
+
+ \put(9,0){\vector(0,-1){14}} \put(9,0){\vector(0,1){0}}
+ \put(9.5,-14){\makebox(0,14)[l]{$W$}}
+ \put(0,2){\vector(1,0){7}} \put(0,2){\vector(-1,0){0.0}}
+ \put(0,2.5){\makebox(7,0)[b]{$H$}}
+ \put(0,2){\vector(-1,0){7}} \put(0,2){\vector(1,0){0.0}}
+ \put(-7,2.5){\makebox(7,0)[b]{$D$}}
+ \end{picture}}
+ \put(4,19){\line(0,1){6}} \put(0,19){\line(0,1){5}}
+ \put(0,23){\vector(1,0){4}} \put(0,23){\vector(-1,0){0}}
+ \put(4.5,23){\makebox(0,0)[l]{\tt \char92 tbaselineshift}}
+ \put(0,18){\begin{picture}(0,0)
+ \thicklines
+ \put(-4,-12){\framebox(12,12){$B1Q;z!J(B$90^\circ$ $B2sE>!K(B}}
+ \put(0,0){\line(0,-1){12}}
+
+ \thinlines
+ \put(-4,1){\line(0,1){2}} \put(8,1){\line(0,1){2}}
+ \put(9,0){\line(1,0){2}} \put(9,-12){\line(1,0){2}}
+
+ \put(-4,2){\vector(1,0){4}} \put(-4,2){\vector(-1,0){0}}
+ \put(-4,2.5){\makebox(4,0)[b]{$D$}}
+ \put(0,2){\vector(1,0){8}} \put(0,2){\vector(-1,0){0}}
+ \put(4,2.5){\makebox(4,0)[b]{$H$}}
+ \put(10,0){\vector(0,-1){12}} \put(10,0){\vector(0,1){0}}
+ \put(10.5,0){\makebox(0,-12)[l]{$W$}}
+ \end{picture}}
+ \put(4,0){\line(0,1){5}}
+
+ \put(16,8){\line(1,0){5}}
+ \put(22,8){\begin{picture}(0,0)
+ \thicklines
+ \put(0,-2){\framebox(14,14){$B2#AH$_$N4A;z(B}}
+ \put(0,0){\line(1,0){14}}
+
+ \thinlines
+ \put(-3,-2){\line(1,0){2}} \put(-3,12){\line(1,0){2}}
+ \put(0,13){\line(0,1){2}} \put(14,13){\line(0,1){2}}
+ \put(-2,0){\vector(0,-1){2}} \put(-2,0){\vector(0,1){0}}
+ \put(-2.5,-2){\makebox(0,2)[r]{$D$}}
+ \put(-2,0){\vector(0,1){12}} \put(-2,0){\vector(0,-1){0}}
+ \put(-2.5,0.0){\makebox(0.0,12.0)[r]{$H$}}
+ \put(0,14){\vector(1,0){14}} \put(0,14){\vector(-1,0){0}}
+ \put(0,14.5){\makebox(14,0.0)[b]{$W$}}
+ \end{picture}}
+ \put(37,8){\line(1,0){6}} \put(38,9){\line(1,0){5}}
+ \put(39,9){\vector(0,-1){0}} \put(39,8){\vector(0,1){0}}
+ \put(39,4){\line(0,1){7}}
+ \put(39,3.5){\makebox(0,0)[t]{\tt \char92 ybaselineshift}}
+ \put(44,9){\begin{picture}(0,0)
+ \thicklines
+ \put(0,-4){\framebox(12,12){$B1Q;z!J@5N)!K(B}}
+ \put(0,0){\line(1,0){12}}
+
+ \thinlines
+ \put(-3,-4){\line(1,0){2}} \put(-3,8){\line(1,0){2}}
+ \put(0,9){\line(0,1){2}} \put(12,9){\line(0,1){2}}
+
+ \put(-2,0){\vector(0,-1){4}} \put(-2,0){\vector(0,1){0}}
+ \put(-2.5,-4){\makebox(0,4)[r]{$D$}}
+ \put(-2,0){\vector(0,1){8}} \put(-2,0){\vector(0,-1){0}}
+ \put(-2.5,0){\makebox(0,8)[r]{$H$}}
+ \put(0,10){\vector(1,0){12}} \put(0,10){\vector(-1,0){0}}
+ \put(0,10.5){\makebox(12,0)[b]{$W$}}
+ \end{picture}}
+ \put(57,8){\line(1,0){5}}
+\end{picture} \end{quote}
+
+
+\section{$B=DAH$_Cf$N?t<0(B}
+
+$B=DAH$_Cf$N?t<0$b(B, $B2$J8$HF1MM$K%7%U%H$5$;$J$1$l$P$J$i$J$$(B.
+\TeX $B$N?t<0$K$O(B, $BJ,?t$N@~$N9b$5$J$I$r7hDj$9$k$?$a$N(B
+axis$B!J<4!K$H$$$&35G0$,$"$k$N$G(B, $B$3$l$G%7%U%HNL$r7hDj$9$k$3$H$K$7$?(B.
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8:_$9$k$+$I$&$+$rCN$k$3$H$,$G$-$k$h$&$K$7$?(B.
+
+
+\section{$B%$%s%W%j%a%s%H(B} \label{imple}
+
+$B8=:_9=C[Cf$N%j%9%H$N%M%9%F%#%s%0>uBV$r<($9(B
+$B%l%3!<%I!J(B\kern0pt {\it list\_state\_record\/}$B!K$K(B,
+$B%G%#%l%/%7%g%s$rI=$9%U%#!<%k%I$rDI2C$7(B,
+$B%H%C%W$N%G%#%l%/%7%g%s$r%^%/%m(B{\it direction\/}$B$G%"%/%;%9$G$-$k$h$&$K$7$?(B.
+{\it direction\/}$B$NCM$O(B{\it dir\_yoko\/}$B$+(B, {\it dir\_tate\/}$B$+(B,
+$-{\it dir\_yoko\/}$$B$+(B, $-{\it dir\_tate\/}$$B$G$"$k(B.
+$-{\it dir\_yoko\/}$, $-{\it dir\_tate\/}$$B$O?t<0%G%#%l%/%7%g%s$r0UL#$9$k(B.
+
+$B3F<o%N!<%I$K%G%#%l%/%7%g%s$rJ];}$9$k%U%#!<%k%I$r2C$($J$1$l$P$J$i$J$$(B.
+$B%\%C%/%9$rI=$9(B{\it hlist\_node\/}, {\it vlist\_node\/}$B$G$O(B
+$BBh(B1$B%o!<%I$N(B{\it sub\_type}$B%U%#!<%k%I$,L$;HMQ$@$C$?$N$G(B,
+$B$3$l$r(B{\it box\_dir\/}$B$H$7$F;H$&$3$H$K$7$?(B.
+\verb|\insert|$B$K$h$C$F@8@.$5$l$k(B
+{\it ins\_node\/}$B$K$O6u$$$F$$$k%U%#!<%k%I$,$J$+$C$?$N$G(B,
+$B%5%$%:$r(B1$B%o!<%IBg$-$/$7$FA4It$G(B6$B%o!<%I$K$7(B,
+$B:G8e$N(B1$B%o!<%I$r(B{\it ins\_dir\/}$B$H$7$F;H$&$3$H$K$7$?(B.
+
+\subsection{\it dir\_node}
+
+$B=D%G%#%l%/%7%g%s$N%j%9%H$K2#%G%#%l%/%7%g%s$N%\%C%/%9$rDI2C$9$k$h$&$J>l9g(B,
+$B4V$K(B{\it dir\_node\/}$B$rA^F~$7$F(B, $B%\%C%/%9$NBg$-$5$J$I$r@09g$5$;$k(B.
+{\it dir\_node\/}$B$O(B, {\it hlist\_node\/}, {\it vlist\_node\/}$B$H(B
+$BA4$/F1$89=B$$r;}$C$F$$$k(B.
+$B%j%9%H$K$O$3$N(B{\it dir\_node\/}$B$,A^F~$5$l(B,
+{\it dir\_node\/}$B$N(B{\it box\_dir\/}$B$K$O%j%9%H$N%G%#%l%/%7%g%s$,(B,
+{\it width\/},{\it depth\/},{\it height\/}$B$K$O(B,
+$B%j%9%H$N%G%#%l%/%7%g%s$G8+$?(B, $B%\%C%/%9$N(B$W$, $D$, $H$$B$NCM$,F~$C$F$$$k(B.
+{\it dir\_node\/}$B$N(B{\it list\_ptr\/}$B$O<BBN$N%\%C%/%9$r;X$9%]%$%s%?$G$"$k(B.
+$B<BBN$N%\%C%/%9!J(B{\it hlist\_node\/}, {\it vlist\_node\/}$B!K$N(B
+{\it box\_dir\/}$B$K$O%\%C%/%9$N%G%#%l%/%7%g%s$,(B,
+{\it width\/},{\it depth\/},{\it height\/}$B$K$O(B,
+$B%\%C%/%9$N%G%#%l%/%7%g%s$G8+$?(B, $W$, $D$, $H$$B$NCM$,F~$C$F$$$k(B.
+
+$B$?$H$($P(B
+\begin{quote}
+ $B!J=D%G%#%l%/%7%g%s!K(B\\
+ {\gt \verb|$B><OB(B\hbox{\yoko 38}$BG/(B|}
+\end{quote}
+$B$O?^$N$h$&$J%j%9%H$r:n$k(B.
+\begin{quote} \begin{picture}(40,25)(-4,-22)
+ \thinlines
+ \put(0,0){\begin{picture}(0,0)
+ \put(-4,-3){\framebox(8,4){}}
+ \put(0,0){\vector(1,0){6}}
+ \put(0,0){\circle*{0.3}}
+ \put(-4,-1){\line(1,0){8}}
+ \put(-4,-3){\makebox(8,2)[c]{`$B><(B'}}
+ \end{picture}}
+ \put(10,0){\begin{picture}(0,0)
+ \put(-4,-3){\framebox(8,4){}}
+ \put(0,0){\vector(1,0){6}}
+ \put(0,0){\circle*{0.3}}
+ \put(-4,-1){\line(1,0){8}}
+ \put(-4,-3){\makebox(8,2)[c]{`$BOB(B'}}
+ \end{picture}}
+ \put(20,0){\begin{picture}(0,0)
+ \put(-4,-7){\framebox(8,8){}}
+ \put(-4,-1){\makebox(4,2)[c]{\bf $B=D(B}}
+ \put( 0,-1){\line(0,1){2}}
+ \put( 2, 0){\vector(1,0){4}}
+ \put(2,0){\circle*{0.3}}
+ \put(-4,-1){\line(1,0){8}}
+ \put(-4,-5){\makebox(8,4)[c]{\it dir\_node\/}}
+ \put(-4,-5){\line(1,0){8}}
+ \put( 0,-6){\circle*{0.3}}
+ \put( 0,-6){\vector(0,-1){3}}
+ \end{picture}}
+ \put(30,0){\begin{picture}(0,0)
+ \put(-4,-3){\framebox(8,4){}}
+ \put(-4,-1){\line(4,1){8}}
+ \put(-4,-1){\line(1,0){8}}
+ \put(-4,-3){\makebox(8,2)[c]{`$BG/(B'}}
+ \end{picture}}
+
+ \put(20,-10){\begin{picture}(0,0)
+ \put(-4,-7){\framebox(8,8){}}
+ \put(-4,-1){\makebox(4,2)[c]{\bf $B2#(B}}
+ \put( 0,-1){\line(0,1){2}}
+ \put( 0,-1){\line(2,1){4}}
+ \put(-4,-1){\line(1,0){8}}
+ \put(-4,-5){\makebox(8,4)[c]{\it hlist\_node\/}}
+ \put(-4,-5){\line(1,0){8}}
+ \put( 0,-6){\circle*{0.3}}
+ \put( 0,-6){\vector(0,-1){3}}
+ \end{picture}}
+
+ \put(20,-20){\begin{picture}(0,0)
+ \put(-4,-3){\framebox(8,4){}}
+ \put(0,0){\vector(1,0){6}}
+ \put(0,0){\circle*{0.3}}
+ \put(-4,-1){\line(1,0){8}}
+ \put(-4,-3){\makebox(8,2)[c]{`3'}}
+ \end{picture}}
+ \put(30,-20){\begin{picture}(0,0)
+ \put(-4,-3){\framebox(8,4){}}
+ \put(-4,-1){\line(4,1){8}}
+ \put(-4,-1){\line(1,0){8}}
+ \put(-4,-3){\makebox(8,2)[c]{`8'}}
+ \end{picture}}
+\end{picture}\end{quote}
+\begin{quote}\gt\begin{verbatim}
+ \tmin $B><(B
+ \tmin $BOB(B
+ \dirboxT(5.00002+5.00002)x6.44444
+ .\hboxY(6.44444+0.0)x10.00003
+ ..\tenrm 3
+ ..\tenrm 8
+ \penalty 500(for \chrwidowpenalty)
+ \glue(\kanjiskip) 0.0 plus 0.4 minus 0.4
+ \tmin $BG/(B
+\end{verbatim} \end{quote}
+
+`\verb|\hbox{|'$B$HF~NO$5$l$k$H(B,
+$B$=$l$^$G$N%j%9%H$d%b!<%I$d%G%#%l%/%7%g%s$,%;!<%V$5$l(B,
+$B?7$?$J%j%9%H$d%b!<%I$d%G%#%l%/%7%g%s$,MQ0U$5$l$k(B.
+\verb|\tate|$B$d(B\verb|\yoko|$B$O(B,
+$B$=$N;~E@$G$N%j%9%H$,6u$G$"$l$P%G%#%l%/%7%g%s$rJQ99$9$k(B.
+`\verb|\hbox{|'$B$KBP1~$9$k(B`\verb|}|'$B$,F~NO$5$l$k$H(B,
+$B$^$:(B, \verb|\hbox{}|$B$NFbIt$N%G%#%l%/%7%g%s$HF1$8%G%#%l%/%7%g%s$N%\%C%/%9$,(B
+$B:n$i$l$k(B.
+$B$=$N%G%#%l%/%7%g%s$H(B\verb|\hbox{}|$B$N30B&$N%G%#%l%/%7%g%s$,0lCW$7$F$$$J$1$l$P(B,
+{\it dir\_node}$B$r;H$C$F(B, $B%G%#%l%/%7%g%s$,@09g$5$;$i$l$k(B.
+
+\subsection{\it disp\_node}
+
+$BOBJ8Cf$N2$J8$d?t<0$N%Y!<%9%i%$%s$r%7%U%H$5$;$k$?$a$K(B,
+$B?7<o$N%N!<%I(B{\it disp\_node\/}$B!J(B\kern0pt displacement node\kern0pt $B!K$r(B
+$BF3F~$9$k$3$H$K$7$?(B.
+$B$3$N%N!<%I$O(B, $B%j%s%/>pJs%o!<%I$N$[$+$K(B
+{\it disp\_dimen\/}$B%U%#!<%k%I!J(B1$B%o!<%I!K$r;}$C$F$$$k(B.
+{\it disp\_node\/}$B$O(Bh$B%j%9%HCf$K$N$_B8:_$7(B,
+$B$3$N%N!<%I0J9_$N$9$Y$F$N%N!<%I$N%Y!<%9%i%$%s$r(B,
+{\it disp\_dimen}$B$@$19TAw$jJ}8~$K%7%U%H$5$;$k(B.
+
+$B$?$H$($P(B, $B=D%G%#%l%/%7%g%s$G(B\verb|\tbaselineshift|$B$NCM$,(B2$B%]%$%s%H$N$H$-(B,
+\begin{quote}\gt
+ \ldots\verb|$B$3$N(Bdisp$B%N!<%I(B|\ldots
+\end{quote}
+$B$N$h$&$KF~NO$9$k$H(B`\verb|disp|'$B$NA0$K(B2$B%]%$%s%H$N(B{\it disp\_node\/},
+$B8e$K(B0$B%]%$%s%H$N(B{\it disp\_node\/}$B$,A^F~$5$l$k(B.
+\begin{quote}\gt\begin{verbatim}
+ \tmin $B$3(B
+ \tmin $B$N(B
+ \displace 2.0
+ \glue(\xkanjiskip) 2.5 plus 1.0 minus 1.0
+ \tenrm d
+ \tenrm i
+ \tenrm s
+ \tenrm p
+ \displace 0.0
+ \glue(\xkanjiskip) 2.5 plus 1.0 minus 1.0
+ \tmin $B%N(B
+ \penalty 200(for kinsoku)
+ \glue(\kanjiskip) 0.0 plus 0.4 minus 0.4
+ \tmin $B!<(B
+ \penalty 500(for \chrwidowpenalty)
+ \glue(\kanjiskip) 0.0 plus 0.4 minus 0.4
+ \tmin $B%I(B
+\end{verbatim} \end{quote}
+$BJ8;z!J(B\kern0pt {\it char\_node\/}$B!K(B,
+$B%\%C%/%9!J(B\kern0pt {\it hlist\_node\/}, {\it vlist\_node\/}, {\it dir\_node\/}$B!K(B,
+$B7S@~!J(B\kern0pt {\it rule\_node\/}$B!K0J30$N%N!<%I$K$O(B,
+$H$$B$d(B$D$$B$,$J$$$N$G(B{\it disp\_node\/}$B$N1F6A$r<u$1$J$$(B.
+$B$@$+$i(B
+\begin{quote}\gt
+ \ldots\verb|$B$3$N(Bdvi file$B%U%)!<%^%C%H(B|\ldots
+\end{quote}
+$B$N$h$&$KF~NO$5$l$?$H$-(B, \verb|device|$B$H(B\verb|independent|$B$N4V$N6uGr$NA08e$K(B
+{\it disp\_node\/}$B$rF~$l$k$N$OL5BL$G$"$k(B.
+\begin{quote}\gt\begin{verbatim}
+ \tmin $B$3(B
+ \tmin $B$N(B
+ \displace 2.0
+ \glue(\xkanjiskip) 2.5 plus 1.0 minus 1.0
+ \tenrm d
+ \tenrm v
+ \tenrm i
+ \displace 0.0
+ \glue 3.33333 plus 1.66666 minus 1.11111
+ \displace 2.0
+ \tenrm ^^L (ligature fi)
+ \tenrm l
+ \tenrm e
+ \displace 0.0
+ \glue(\xkanjiskip) 2.5 plus 1.0 minus 1.0
+ \tmin $B%U(B
+ \penalty 150(for kinsoku)
+ \glue 1.07391 minus 1.07391
+ \tmin $B%)(B
+\end{verbatim} \end{quote}
+$B$=$3$G(B, $B%j%9%H$K(B{\it disp\_node\/}$B$r2C$($k$H$-(B,
+$BL5BL$J(B{\it disp\_node\/}$B$r>C$9$h$&$K$7$?(B.
+\begin{quote}\gt\begin{verbatim}
+ .\tmin $B$3(B
+ .\tmin $B$N(B
+ .\displace 2.0
+ .\glue(\xkanjiskip) 2.5 plus 1.0 minus 1.0
+ .\tenrm d
+ .\tenrm v
+ .\tenrm i
+ .\glue 3.33333 plus 1.66666 minus 1.11111
+ .\tenrm ^^L (ligature fi)
+ .\tenrm l
+ .\tenrm e
+ .\displace 0.0
+ .\glue(\xkanjiskip) 2.5 plus 1.0 minus 1.0
+ .\tmin $B%U(B
+ .\penalty 150(for kinsoku)
+ .\glue 1.07391 minus 1.07391
+ .\tmin $B%)(B
+\end{verbatim} \end{quote}
+
+\subsection{$B=DAH$_MQ(B{\tt TFM}$B%U%!%$%k(B}
+
+$B=DAH$_%U%)%s%HMQ3HD%(B{\tt TFM}$B%U%!%$%k$N%U%)!<%^%C%H$O(B, $B4pK\E*$K$O(B,
+$B=>Mh$N(B{\tt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b|dir|\kern0pt $B!K$r;H$C$F$$$J$$(B\verb|DVI|$B%U%!%$%k$O(B,
+$B=>Mh$N%W%j%s%?%I%i%$%P$G%W%j%s%H%"%&%H$G$-$k(B.
+
+\verb|DVI|$B%U%!%$%k$K$O(B, $B%U%!%$%k$N@hF,!J(B\kern0pt preamble\kern0pt $B!K$H(B
+$BKvHx!J(B\kern0pt postamble\kern0pt $B!K$K(B\verb|DVI|$B$N%P!<%8%g%s$rI=$9(B
+{\it id\_byte}$B$,=q$-9~$^$l$F$$$k(B.
+$B=>Mh$N(B\verb|DVI|$B$G$O$I$A$i$N(B{\it id\_byte}$B$b(B2$B$G$"$k(B.
+$B3HD%L?Na$r;H$C$F$$$k(B\verb|DVI|$B%U%!%$%k$G$O(B, postamble$B$N(B{\it id\_byte}$B$r(B3$B$K$7$F(B,
+$B3HD%%W%j%s%?%I%i%$%P$G%W%j%s%H%"%&%H$7$J$1$l$P$J$i$J$$$3$H$rI=$9(B.
+
+
+\section{$BF|K\8l(B\TeX $B$H$N8_49@-(B}
+
+\pTeX $B$O(B, $B5!G=LL$G$O=>Mh$NF|K\8l(B\TeX $B$H$N40A4$J8_49@-$rJ]$C$F$$$k(B.
+
+$B@-G=LL$G$N0c$$$rHf3S$9$k$?$a$K(B
+SONY NEWS 1460$B>e$NF|K\8l(B\TeX $B$H(B\pTeX $B$GK\O@J8$rAHHG$7(B,
+csh$B$N(Btime$B%3%^%s%I$G(BCPU$B;~4V$rHf3S$7$F$_$?(B.
+$B$J$*$3$N%F%9%H$G$O(B, $B$"$i$+$8$a(Baux$B%U%!%$%k$r:n@.$7$F$*$-(B,
+{\tt virtex}$B$K(B\LaTeX $B$N%U%)!<%^%C%H%U%!%$%k$rFI$_9~$^$;$k7A$G5/F0$7$F7WB,$7$?(B.
+\begin{itemize}
+\item $BF|K\8l(B\TeX $B$N>l9g(B:\\
+ \verb|24.7u 0.3s 0:25 99% 44+123k 0+16io 0pf+0w|
+
+\item \pTeX $B$N>l9g(B:\\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+%J%U%)%s%H$r;H$$J,$1$k$3$H$K$J$k$@$m$&(B.
+
+\item[$B%k%S(B]\ \\
+ $B$d$O$jF|K\8l$N=q@R$rAHHG$9$k$?$a$K$O(B, $B%k%S$rHr$1$k$o$1$K$O$$$+$J$$(B.
+
+ $B%k%S$N?6$C$F$"$k$3$H$P$NESCf$G%i%$%s%V%l!<%/$,5/$3$k>l9g$,$"$k$N$G(B,
+ $B%i%$%s%V%l!<%/=hM}$K<j$r2C$($J$1$l$P$J$i$J$$(B.
+ $B=DAH$_3HD%$KI$E($9$kBg2~B$$K$J$k$H;W$o$l$k(B.
+\end{description}
+
+\subsection*{$B<U<-(B}
+
+$BK\8&5f$N5!2q$rM?$($F$/$@$5$C$?(B
+$B!J3t!K(B\kern-3pt $B%"%9%-!<(B $BEE;RJT=88&5fE}3mIt(B $B0f6\>;?.(B $BE}3mItD9(B,
+$BF1(B $B5;=QE}3mIt(B $B;01:2m9'(B $BE}3mItD9(B,
+$B$J$i$S$K(B, \TeX $B%7%9%F%`$K$D$$$F5.=E$J$40U8+$r$$$?$@$$$?(B $BF1(B $B5;=QIt(B $BBgLn=S<#(B $B<!D9(B
+$B$K46<U$7$^$9(B.
+
+\begin{thebibliography}{9}
+\bibitem{texbook} Knuth, D. E. : {\em The \TeX book}, Addison-Wesley (1986)\\
+ $B!N:XF#?.CK(B $B4F=$(B, $B:mC+9%51(B $BK]Lu(B : \TeX $B%V%C%/(B, $B%"%9%-!<(B(1989)$B!O(B
+\bibitem{texweb} Knuth, D. E. : {\em \TeX : the program}, Addison-Wesley (1986)
+\bibitem{jtex} $BARBtNI0l(B : \TeX $B%7%9%F%`$NF|K\8l2=(B,
+ $BF|K\8l(B\TeX $BG[I[%F!<%W(B, {\tt ./doc/jtex.tex} (1987)
+\bibitem{jfm} $BARBtNI0l(B : JFM file format,
+ $BF|K\8l(B\TeX $BG[I[%F!<%W(B, {\tt ./doc/jfm.tex} (1987)
+\bibitem{arabic} Knuth, D. E. and MacKay, P. :
+ Mixing right-to-left texts with left-to-right texts,
+ {\em TUGboat Volume~8 No.~1}, pp.~14--25 (1987)
+\end{thebibliography}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/ptexskip.pdf b/Master/texmf-dist/doc/ptex/ptex-base/ptexskip.pdf
new file mode 100644
index 00000000000..fc89e00a914
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/ptexskip.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/ptex/ptex-base/ptexskip.tex b/Master/texmf-dist/doc/ptex/ptex-base/ptexskip.tex
new file mode 100644
index 00000000000..cacb1d96368
--- /dev/null
+++ b/Master/texmf-dist/doc/ptex/ptex-base/ptexskip.tex
@@ -0,0 +1,387 @@
+\documentclass{jarticle}
+\ProvidesFile{ptexskip.tex}[1997/08/08 v0.4 about pTeX skips]
+\usepackage{plext}
+
+\title{p\TeX~2.1.5$B$K$*$1$k?t<0$NA08e(B}
+\author{$BCfLn(B $B8-(B\footnote{Ken Nakano (\texttt{<ken-na at ascii.co.jp>})$B!'(B
+ $B3t<02q<R(B $B%"%9%-!<(B $B=PHG5;=QIt(B}}
+\date{1997$BG/(B8$B7n(B8$BF|(B}
+
+\newcommand{\hex}[1]{\hskip\xkanjiskip\texttt{"#1}}
+\newcommand{\cs}[1]{\hskip\xkanjiskip\texttt{\char"5C #1}}
+%\xspcode"5C=1
+\xspcode"22=2 % 2
+\xspcode"27=2 % 2
+\xspcode"5C=1 % 1
+\xspcode"60=1 % 1
+\prebreakpenalty"22=10001 % ''
+\prebreakpenalty"27=10002 % '
+\postbreakpenalty"5C=10003 % ``, \
+\postbreakpenalty"60=10004 % `
+
+% $B%5%s%W%kMQ(B
+\newdimen\dimenA
+
+%\tracingcommands=2
+%\tracingmacros=2
+%\tracingparagraphs=2
+%\tracingoutput=2
+\showboxbreadth=\maxdimen
+\showboxdepth=\maxdimen
+\nonstopmode
+
+\begin{document}
+\maketitle
+
+\section*{$B$O$8$a$K(B}
+p\TeX{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""(B\kern\kanjiskip$$BI=LL@Q(B=4\pi r^2$\kern\xkanjiskip $B""""(B
+ \quad($\beta7$\kern.25zw $BHG(B)\\
+$B""""(B\kern\xkanjiskip$$BI=LL@Q(B=4\pi r^2$\kern\xkanjiskip $B""""(B
+ \quad($\beta8$\kern.25zw $BHG(B)\\
+$B""""(B$$BI=LL@Q(B=4\pi r^2$$B""""(B
+ \quad\hbox{\kanjiskip=0pt\xkanjiskip=.25zw ($B$3$NHG(B)}
+\end{quote}
+$B$H$J$k!#$D$^$j!"(B$\beta7$$BHG$G$O?t<0FbIt$NJ8;z$HD>A0$NJ8;z$rHf3S$7$F$$$k$?$a!"(B
+$BA0B&$K4A;z4V%9%Z!<%9$,F~$j!"8eB&$K;MJ,%"%-$,F~$k!#(B
+$B0lJ}!"(B$\beta8$$BHG$G$O?t<0FbIt$NJ8;z$K4X78$J$/!"N>B&$K;MJ,%"%-$,F~$k!#(B
+
+$B$J$*!"N><T$N0c$$$O!"<!$N$h$&$K(B\cs{hbox}$B$rMQ$$$?$H$-$K$b8=$l$k!#(B
+\begin{verbatim}
+ \kanjiskip=4pt \xkanjiskip=8pt
+ $B""""(B$\hbox{$BI=LL@Q(B}$$B""""(B
+\end{verbatim}
+$B$3$l$r=hM}$9$k$H!"(B$\beta7$$BHG$OL\;X$9$Y$-;EMM$H$O0[$J$j!"(B
+$B8e$m$K2?$bF~$i$J$$!J%P%0!K!#(B$\beta8$$BHG$G$O;EMM$I$*$j$KN>B&$K;MJ,%"%-$,F~$k!#(B
+\begin{quote}
+\kanjiskip=4pt \xkanjiskip=8pt
+$B""""(B\kern\xkanjiskip$\hbox{$BI=LL@Q(B}$\kern0pt $B""""(B
+ \quad ($\beta7$\kern.25zw $BHG(B)\\
+$B""""(B\kern\kanjiskip$\hbox{$BI=LL@Q(B}$\kern\kanjiskip $B""""(B
+ \quad\hbox{\kanjiskip=0pt($\beta7$\kern.25zw $BHG$r=$@5$7$?>l9g(B)}\\
+$B""""(B\kern\xkanjiskip$\hbox{$BI=LL@Q(B}$\kern\xkanjiskip $B""""(B
+ \quad ($\beta8$\kern.25zw $BHG(B)\\
+$B""""(B$\hbox{$BI=LL@Q(B}$$B""""(B
+ \quad\hbox{\kanjiskip=0pt\xkanjiskip=.25zw ($B$3$NHG(B)}
+\end{quote}
+
+$B<B:]$K$O!"(Bp\TeX, p\LaTeX $B$N%G%U%)%k%H$N@_Dj$G$O(B\cs{kanjiskip}$B$H(B\cs{xkanjiskip}%
+$B$NCM$O$b$C$H>.$5$$$N$G!"0c$$$O$=$l$[$IL\N)$?$J$$$+$b$7$l$J$$!#(B
+$B$7$+$7!"=DAH$K$7$?>l9g$O!"$D$.$N$h$&$J7k2L$H$J$k!#(B
+\begin{quote}
+\begin{minipage}<t>{16zw}
+$B"$"$(B\kern\kanjiskip$$BI=LL@Q(B=4\pi r^2$\kern\xkanjiskip\raisebox{-.25zw}{$B"$"$(B}
+ \quad($\beta7$\kern.25zw $BHG(B)\\
+\\
+$B"$"$(B\kern\kanjiskip$$BI=LL@Q(B=4\pi r^2$\kern\xkanjiskip $B"$"$(B\\
+ \hfill($\beta7$\kern.25zw $BHG$r=$@5$7$?>l9g(B)\\
+\\
+$B"$"$(B\kern\xkanjiskip$$BI=LL@Q(B=4\pi r^2$\kern\xkanjiskip $B"$"$(B
+ \quad($\beta8$\kern.25zw $BHG(B)\\
+\\
+$B"$"$(B$$BI=LL@Q(B=4\pi r^2$$B"$"$(B
+ \quad\hbox{\kanjiskip=0pt\xkanjiskip=.25zw ($B$3$NHG(B)}
+\end{minipage}
+\end{quote}
+$\beta7$$B$N7k2L$r8+$k$HJ8;z4V$N%9%Z!<%9$O;EMM$I$*$j$K$J$C$F$$$k!#(B
+$B$7$+$7!"%Y!<%9%i%$%s$ND4@0NL$,?t<0$N8e$m$GLa$C$F$$$J$$$H$$$&%P%0$,$"$k!#(B
+$B$?$H$(%P%0$r=$@5$7$?$H$7$F$b!"7h$7$FFI$_$d$9$$$H$O;W$($J$$!#(B
+
+$B0J>e$N7k2L$rHf3S$9$k$H!"(B$\beta8$$B$NA^F~J}K!$N$[$&$,<+A3$G!"FI$_$d$9$$$h$&$K(B
+$B;W$($k!#$^$?!"A^F~$5$l$k%9%Z!<%9$bA08e$NJ8;z!"?t<0Fb$NJ8;z$K4X78$J$/!"(B
+$B;MJ,%"%-$H7h$^$C$F$$$k$N$G7k2L$,$o$+$j$d$9$$!#(B
+$B$=$3$G!"(B$\beta8$$B$G$O!"$3$N@a$NKAF,$G=R$Y$?!"(B
+\begin{center}
+$BC1=c$K!"%F%-%9%H?t<0$NA08e$K;MJ,%"%-$rF~$l$k(B
+\end{center}
+$B$H$$$&;EMM$G<BAu$7$F$$$k!#(B
+
+\subsection{$BJL$NLdBj(B}
+$\beta7$$B$N<BAu$G$O!"40A4$K?t<0$K$@$11F6A$9$k$h$&$K$7$F$$$J$+$C$?$?$a!"(B
+$BDL>o$NJ8>OFb$G$N%\%C%/%9$KBP$9$kF0:n$bJQ$o$C$F$7$^$C$F$$$?!#$?$H$($P!"(B
+\begin{quote}
+\begin{verbatim}
+$B""""(B\AA $B"$"$"$"$(B\hbox to0pt{ABC\hss}$B!{!{!{!{(B\hbox{}A\hbox{}$B""""""""(B
+\end{verbatim}
+\end{quote}
+$B$,(B
+\begin{quote}
+\setbox0=\hbox{h}\dimenA=\ht0 \advance\dimenA-1ex
+$B""""(B
+\leavevmode\rlap{\raise.67\dimenA\hbox{\char'27}}\kern\xkanjiskip A%
+\kern\xkanjiskip $B"$"$"$"$(B
+\setbox0\hbox{ABC}\dimenA=\wd0\advance\dimenA-\xkanjiskip
+\kern\xkanjiskip ABC\kern-\dimenA $B!{!{!{!{(B
+\kern\xkanjiskip A\kern\xkanjiskip $B""""""""(B
+\end{quote}
+$B$H$J$k!#@h$[$I$N%j%9%H$r=hM}$7$F4|BT$9$k7k2L$O!"<!$N$h$&$@$H;W$o$l$k!#(B
+\begin{quote}
+\setbox0=\hbox{h}\dimenA=\ht0 \advance\dimenA-1ex
+$B""""(B
+\kern\xkanjiskip
+\leavevmode\rlap{\raise.67\dimenA\hbox{\char'27}}\kern0pt A%
+\kern\xkanjiskip $B"$"$"$"$(B
+\setbox0\hbox{ABC}\dimenA=\wd0%
+\kern\xkanjiskip ABC\kern-\dimenA $B!{!{!{!{(B
+\kern0pt A\kern0pt $B""""""""(B
+\end{quote}
+$B$3$NHG$G$O!"(B
+\begin{quote}
+$B""""(B\AA $B"$"$"$"$(B\hbox to0pt{ABC\hss}$B!{!{!{!{(B\hbox{}A\hbox{}$B""""""""(B
+\end{quote}
+$B$H$J$k!#(B
+\AA $B$NA0$K;MJ,%"%-$,F~$C$F$$$J$1$l$P!"$=$l$O%7%U%H$5$l$?%\%C%/%9$NA08e$K(B
+$B%"%-$,F~$i$J$$$+$i$G$"$k!#(B$\beta7$$B$N<BAu$G(B``{\char'27}''$B$H(B``A''$B$N0LCV$,(B
+$B$:$l$F$$$k$N$O!"%7%U%H$5$l$?%\%C%/%9$NA0$K$OF~$l$J$$$N$OJQ$o$i$J$$$1$l$I$b!"(B
+$B8e$m$GI,$:F~$l$J$$$h$&$K$9$k$N$r$d$a$?$?$a$G$"$k!#(B
+$B$^$?!"(B$\beta7$$B$G$O!"%\%C%/%9$NCf?H$N:G8e$,J8;z0J30$G$b!"6u$G$b;MJ,%"%-$N(B
+$BA^F~$K1F6A$r$5$;$J$$$h$&$K$7$F$$$?$?$a!"I}$,%<%m$N%\%C%/%9$r:n@.$7$F$b!"(B
+$B;2>HE@$N0LCV$,La$i$J$$$7!"=hM}$NM^@)$b$5$l$J$/$J$C$F$$$?(B
+\footnote{$B$3$l$i$NLdBj$O(B$\beta11$$B$G=$@5!#(B}$B!#(B
+
+\appendix
+\section{$B<+F0A^F~$5$l$k%9%Z!<%9$N<oN`(B}
+p\TeX{}$B$G$O!"F|K\8lJ8=q$r$-$l$$$KAHHG$9$k$?$a$K!"(B
+$BOBJ8$HOBJ8$N4V!"OBJ8$H2$J8$N4V$K<+F0E*$K%9%Z!<%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$G$O$J$/!"(BJFM(Japanese Font Metric)$B$G@_Dj(B
+$B$5$l$F$$$k%9%Z!<%9$NNL$,;H$o$l$k!#(B
+
+\cs{xkanjiskip}$B$K4X$7$F$b!"OBJ8$H!V(B;$B!W!"!V(B($B!W$HOBJ8!"2$J8$H!V!#!W!"(B
+$B!V!D!W$HA08e$N2$J8$N$h$&$J2U=j$K$O!"%9%Z!<%9$rA^F~$7$J$$$[$&$,$-$l$$$K(B
+$B8+$($k!#$=$3$G!"FCDj$N2$J8$NJ8;z$KBP$7$F!"(B\cs{xkanjiskip}$B$NA^F~$r@)8f(B
+$B$9$k$?$a$K(B\cs{xspcode}$B$,MQ0U$5$l$F$$$k!#(B
+$BFCDj$NOBJ8$KBP$7$F$O(B\cs{inhibitxspcode}$B$rMQ$$$F@)8f$9$k!#(B
+
+
+\section{$B%9%Z!<%9$K4X$9$k%W%j%_%F%#%V(B}
+p\TeX{}$B$G3HD%$7$?!"%9%Z!<%9$K4X$9$k%W%j%_%F%#%V$O0J2<$N$H$*$j!#(B
+
+\subsection{\cs{kanjiskip}, \cs{autospacing}, \cs{noautospacing}}
+\cs{kanjiskip}$B$O!"(B
+$B4A;z$H4A;z$N4V$K<+F0E*$KA^F~$9$k%9%Z!<%9$NNL$r3JG<$9$kD9$5%l%8%9%?$G$"$k!#(B
+
+\cs{autospacing}$B$H(B\cs{noautospacing}$B$O!"(B
+$B4A;z$H4A;z$N4V$K%9%Z!<%9$rA^F~$9$k$+$I$&$+$r;XDj$9$k$N$KMQ$$$k!#(B
+\cs{autospacing}$B$r;XDj$9$k$H<+F0E*$KA^F~$5$l$k!#(B
+\cs{noautospacing}$B$r;XDj$9$k$H4A;z4V$X$N%9%Z!<%9A^F~$OM^@)$5$l$k!#(B
+
+\subsection{\cs{xkanjiskip}, \cs{autoxspacing}, \cs{noautoxspacing}}
+\cs{xkanjiskip}$B$O!"(B
+$B4A;z$H1Q;z$N4V$K<+F0E*$KA^F~$9$k%9%Z!<%9$NNL$r3JG<$9$kD9$5%l%8%9%?$G$"$k!#(B
+
+\cs{autoxspacing}$B$H(B\cs{noautoxspacing}$B$O!"(B
+$B4A;z$H1Q;z$N4V$K%9%Z!<%9$rA^F~$9$k$+$I$&$+$r;XDj$9$k$N$KMQ$$$k!#(B
+\cs{autoxspacing}$B$r;XDj$9$k$H<+F0E*$KA^F~$5$l$k!#(B
+\cs{noautoxspacing}$B$r;XDj$9$k$H4A;z4V$X$N%9%Z!<%9A^F~$OM^@)$5$l$k!#(B
+
+\subsection{\cs{xspcode}}
+\cs{xspcode}$B$O!";XDj$7$?1Q;z$H4A;z$H$N4V$N%9%Z!<%9A^F~$r(B
+$B$I$N$h$&$K(B\textgt{$B5v2D(B}$B$9$k$+$N@_Dj$r$9$k%W%j%_%F%#%V$G$"$k!#(B
+$BF0:n$O!"$D$.$N$$$:$l$+$N?tCM$G;XDj$r$9$k!#(B
+
+\begin{center}
+\begin{tabular}{ll}
+0 & $BA08e$N4A;z$H$N4V$X$N%9%Z!<%9$NA^F~$r6X;_$9$k!#(B\\
+1 & $BD>A0$N4A;z$H$N4V$K$@$1%9%Z!<%9$NA^F~$r5v2D$9$k!#(B\\
+2 & $BD>8e$N4A;z$H$N4V$K$@$1%9%Z!<%9$NA^F~$r5v2D$9$k!#(B\\
+3 & $BA08e$N4A;z$H$N4V$K%9%Z!<%9$NA^F~$r5v2D$9$k!#(B\\
+\end{tabular}
+\end{center}
+
+$B=i4|CM$O!"(B\texttt{[0-9A-Za-z]}$B$O#3!"$=$l0J30$O%<%m$K$J$C$F$$$k!#(B
+$B$?$@$7!"0J2<$NJ8;z$K$D$$$F$O!"(Bkinsoku.tex$B$GJL$NCM$K=i4|2=$5$l$F$$$k!#(B
+$B3g8LFb$O(BASCII$BJ8;z%3!<%I!J(B16$B?J?t!K$G$"$k!#(B
+
+\begin{center}
+\begin{tabular}{l@{\hspace{2.5zw}}l@{\hspace{2.5zw}}l@{\hspace{2.5zw}}l}
+\texttt{(}=1 (\hex{28}) & \texttt{)}=2 (\hex{29}) &
+\texttt{[}=1 (\hex{5B}) & \texttt{]}=2 (\hex{5D})\\
+\texttt{`}=1 (\hex{60}) & \texttt{'}=2 (\hex{27}) &
+\texttt{;}=2 (\hex{3B}) & \texttt{,}=2 (\hex{2C})\\
+\texttt{.}=2 (\hex{2E}) \\
+\end{tabular}
+\end{center}
+
+$B$?$@$7!"(B\cs{xspcode}$B$N@_Dj$O!"J8;z%3!<%I$KBP$7$F$G$"$j!"%U%)%s%H$K$h$C$F(B
+$B0[$J$kCM$r;XDj$9$k$3$H$O$G$-$J$$!#$7$?$,$C$F(B\hex{60}$B$N0LCV$K$"$kJ8;z$O!"(B
+cmr10$B$G$O(B``\textrm{`}'', cmmi10$B$G$O(B``$\ell$'', cmex10$B$G$O(B``$\coprod$''$B$G(B
+$B$"$k$,!"$3$l$i$NJ8;z$O$9$Y$F(B\cs{xspcode}=1$B$H$7$F=hM}$5$l$k!#(B
+
+\subsection{\cs{inhibitxspcode}}
+\cs{inhibitxspcode}$B$O!";XDj$7$?4A;z$H1Q;z$N4V$N%9%Z!<%9A^F~$r(B
+$B$I$N$h$&$K(B\textgt{$BM^@)(B}$B$9$k$+$N@_Dj$r$9$k%W%j%_%F%#%V$G$"$k!#(B
+$BF0:n$O!"$D$.$N$$$:$l$+$N?tCM$G;XDj$r$9$k!#(B
+
+\begin{center}
+\begin{tabular}{ll}
+0 & $B4A;z$H1Q;z$H$N4V$N%9%Z!<%9$NA^F~$r6X;_$9$k!#(B\\
+1 & $BD>A0$N1Q;z$H$N4V$N%9%Z!<%9$NA^F~$r6X;_$9$k!#(B\\
+2 & $BD>8e$N1Q;z$H$N4V$N%9%Z!<%9$NA^F~$r6X;_$9$k!#(B\\
+3 & $BA08e$N1Q;z$H$N4V$N%9%Z!<%9$NA^F~$r5v2D$9$k!#(B\\
+\end{tabular}
+\end{center}
+
+$B=i4|CM$O!"$9$Y$F$N4A;z$K$D$$$F#3$G$"$k!#(B
+$B$?$@$7!"0J2<$NJ8;z$K$D$$$F$O!"(Bkinsoku.tex$B$GJL$NCM$K=i4|2=$5$l$F$$$k!#(B
+
+\begin{center}
+\begin{tabular}{l@{\hspace{2.5zw}}l@{\hspace{2.5zw}}l@{\hspace{2.5zw}}
+ l@{\hspace{2.5zw}}l@{\hspace{2.5zw}}l}
+$B!"(B=1 & $B!#(B=1 & $B!$(B=1 & $B!%(B=1 & $B!((B=1 & $B!)(B=1\\
+$B!J(B=2 & $B!K(B=1 & $B!N(B=2 & $B!O(B=1 & $B!P(B=2 & $B!Q(B=1\\
+$B!F(B=2 & $B!G(B=1 & $B!H(B=2 & $B!I(B=1 & $B!L(B=2 & $B!M(B=1\\
+$B!c(B=2 & $B!d(B=1 & $B!T(B=2 & $B!U(B=1 & $B!V(B=2 & $B!W(B=1\\
+$B!X(B=2 & $B!Y(B=1 & $B!Z(B=2 & $B![(B=1 & $B!](B=0 & $B!A(B=0\\
+$B!D(B=0 & $B!o(B=0 & $B!k(B=0 & $B!l(B=1 & $B!m(B=1\\
+\end{tabular}
+\end{center}
+
+\end{document}
diff --git a/Master/texmf-dist/tex/ptex/ptex-base/ascii-jplain.tex b/Master/texmf-dist/tex/ptex/ptex-base/ascii-jplain.tex
new file mode 100644
index 00000000000..40bd682ce04
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/ptex-base/ascii-jplain.tex
@@ -0,0 +1,47 @@
+% This is the jplain TeX format
+%
+% (C)copyright ASCII corporation,1987,1995,1997
+%
+\input plain
+\catcode`@=11 % at signs are no longer 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}}
+\catcode`@=12 % at signs are no longer letters
+%
+\font\tenmin=min10 % mincho(KANJI)
+\font\preloaded=min9
+\font\preloaded=min8
+\font\sevenmin=min7
+\font\preloaded=min6
+\font\fivemin=min5
+%
+\font\tengt=goth10 % gothic(KANJI)
+\font\preloaded=goth9
+\font\preloaded=goth8
+\font\sevengt=goth7
+\font\preloaded=goth6
+\font\fivegt=goth5
+%
+\newfam\minfam % \min is family 8
+\newfam\gtfam % \gt is family 9
+%
+\def\mc{\fam\minfam\tenmin}%
+\textfont\minfam=\tenmin\scriptfont\minfam=\sevenmin%
+\scriptscriptfont\minfam=\fivemin
+%
+\def\gt{\fam\gtfam\tengt}%
+\textfont\gtfam=\tengt\scriptfont\gtfam=\sevengt%
+\scriptscriptfont\gtfam=\fivegt
+%
+\input kinsoku
+\mc % select mincho font
+\kanjiskip=0pt plus .4pt minus .4pt
+%\xkanjiskip=2.5pt plus 1pt minus 1pt
+\xkanjiskip=.25zw plus 1pt minus 1pt
+\autospacing\autoxspacing
+\jcharwidowpenalty=500
+%
+% identifies the current format
+\def\fmtname{jplain}
+\def\fmtversion{3.14159 j1.0a}
diff --git a/Master/texmf-dist/tex/ptex/ptex-base/eptex.ini b/Master/texmf-dist/tex/ptex/ptex-base/eptex.ini
new file mode 100644
index 00000000000..5eb992ed451
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/ptex-base/eptex.ini
@@ -0,0 +1,4 @@
+%% for e-pTeX (ASCII Nihongo e-TeX)
+\input eptex.src
+\dump
+\endinput
diff --git a/Master/texmf-dist/tex/ptex/ptex-base/eptex.src b/Master/texmf-dist/tex/ptex/ptex-base/eptex.src
new file mode 100644
index 00000000000..bc8c1d8b745
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/ptex-base/eptex.src
@@ -0,0 +1,772 @@
+%% e-pTeX macro
+%% derived from $TEXMF/tex/plain/etex/etex.src (V2.1;0 01-FEB-1999)
+%% e-pTeX: eptex *eptex.tex
+
+% Assume a purely IniTeX environment and set up a minimal \catcode r\'egime
+
+\catcode `\{=1
+\catcode `\}=2
+\catcode `\#=6
+\catcode `\^=7
+\catcode `\@=\catcode `\A
+
+% Define the basic error-reporting and abort mechanisms:
+
+\def \et@xmsg #1#2%
+ {\begingroup
+ \def \n {^^J}%
+ \def \ { }%
+ \newlinechar=\expandafter `\n
+ \if E#1%
+ \errorcontextlines=0
+ \errmessage {e-TeX error: #2}%
+ \else
+ \message {\n ! e-TeX \if I#1 message%
+ \else \if W#1 warning%
+ \else \if F#1 fatal error%
+ \else
+ \ unknown (#1)%
+ \fi
+ \fi
+ \fi: #2%
+ }%
+ \fi
+ \endgroup
+ }
+
+% Note: a future version may report errors in the %<fac>-<s>-<code>[, <text>]
+% format, allowing the more verbose <text>s to be read from file rather than
+% stored in the format.
+
+\def \et@xabort #1%
+ {\et@xmsg {F}{#1}%
+ \batchmode
+ \end
+ }
+
+% Make sure this file is being read by e-TeX in extended mode;
+% If it is, prepare to check version/revision compatibility, otherwise abort.
+
+\ifx \undefined \eTeXversion
+ \et@xabort {this file can be processed only in extended mode;\n
+ \ \ did you perhaps forget the asterisk?%
+ }%
+\else
+ \begingroup
+ \catcode `\%=12
+ \catcode `\?=14
+ \xdef \et@xfilehdr
+ {\detokenize {%% e-TeX V}\the \eTeXversion \eTeXrevision}?
+ \xdef \et@xlibhdr
+ {\detokenize {%% e-TeXlib V}\the \eTeXversion \eTeXrevision}?
+ \endgroup
+\fi
+
+% Assume extended mode, but no additional \catcodes/\defs yet;
+% set up a simple e-TeX condition-reporting system:
+
+\def \et@xinf #1{\et@xmsg {I}{#1}} %%% not currently used
+\def \et@xwarn #1{\et@xmsg {W}{#1}}
+\def \et@xerr #1#2{{\errhelp={#2}\et@xmsg {E}{#1}}}
+
+% deactivate the processing of patterns and exceptions; these will be
+% reinstated later, after the \uselanguage mechanism has been defined.
+
+\let \et@xpatterns=\patterns
+\def \patterns
+ {\begingroup
+ \everyeof={\fi \endgroup}%
+ \message {[skipping from \noexpand \patterns to end-of-file...]}%
+ \iffalse
+ }
+
+% Read "ptex.tex" (\patterns & \hyphenation will be skipped)
+
+\input ptex.tex
+
+% restore the catcode of commercial-at (@), which will just have been clobbered
+
+\catcode `\@=\catcode `\A
+
+% Assume an extended Plain environment (i.e. there are no longer any
+% restrictions on the coding techniques we can use). First prepare to
+% carry out consistency checks on the file headers and the current e-TeX
+% version/revision levels:
+
+\newread \et@xinput
+
+\def \etexhdrchk #1#2%
+ {\openin \et@xinput=#2
+ \ifeof \et@xinput
+ \chardef \etexstatus=0 % V1.0-1
+ \else
+ \begingroup
+ \endlinechar=-1
+ \readline \et@xinput to \et@xbuf
+ \closein \et@xinput
+ \def \p@rtition ##1.##2\endp@rtition {##1}% V2.1%0
+ \xdef \et@xbuf
+ {\expandafter \p@rtition \et@xbuf .\endp@rtition}% V2.1;0
+ \xdef \et@xtmp {\csname et@x#1hdr\endcsname}%
+ \xdef \et@xtmp
+ {\expandafter \p@rtition \et@xtmp .\endp@rtition}% V2.1;0
+ \endgroup
+ \ifx \et@xtmp \et@xbuf
+ \chardef \etexstatus=2 % V1.1;4
+ \else
+ \chardef \etexstatus=1 % V1.1;4
+ \fi
+ \fi
+ }
+
+% Check the version number of etex.src:
+
+\def \et@xfmtsrc {etex.src}
+\etexhdrchk {file} {\et@xfmtsrc}
+\ifcase \etexstatus
+ \et@xerr {unable to open format source file "\et@xfmtsrc";}
+ {This should not happen; please ensure that your system
+ allows a file to be opened for reading more than once
+ concurrently.%
+ }%
+\or
+ \et@xwarn {format source file "\et@xfmtsrc" has wrong header;\n
+ \ \ expected: "\et@xfilehdr"; found: "\et@xbuf";%
+ }%
+ {You are using a version of e-TeX which may be incompatible
+ with the source for the format file you are trying to
+ compile; please ensure that you have the most recent
+ version of each. I will proceed, but you should treat
+ the results with caution...%
+ }%
+\fi
+
+% Module handling now implemented (V1.0-2)
+
+\def \module #1{\iftrue}
+\let \endmodule=\fi
+
+\newtoks \et@xtoks
+
+\def \et@xl@@d #1 #2\endl@ad %%% the "#1 #2" code avoids trailing spaces
+ {\ifcsname module:#1\endcsname
+ \et@xwarn {duplicate module name "#1"}%
+ \else
+ \csname module:#1\endcsname %%% we exploit the side-effect explicitly
+ \et@xtoks=\expandafter
+ {\the \et@xtoks
+ \expandafter \let \csname module:#1\endcsname=\undefined
+ }%
+ \fi
+ }
+
+\def \et@xl@ad #1#2,#3\endl@ad %%% the #1#2 code avoids spurious leading spaces
+ {\et@xl@@d #1#2 \endl@ad
+ \if *#3*
+ \let \n@xt=\relax
+ \else
+ \def \n@xt {\et@xl@ad #3\endl@ad}%
+ \fi
+ \n@xt
+ }
+
+\def \et@xload #1 %%% needed because of the embedded \ifs...
+ {\def \module ##1%
+ {\unless
+ \ifcsname module:##1\endcsname
+ \message {Skipping module "##1";}%
+ \else
+ \message {Loading module "##1";}%
+ }%
+ \input #1
+ \def \module ##1{\iftrue}%
+ }
+
+\def \load #1 from #2 %%% selective module loading from an e-TeX library file
+ {%\etexhdrchk {lib} {#2}%
+ \ifcase \etexstatus
+ \et@xerr {unable to open library file "#2"; load aborted.}
+ {I got an <eof> on trying to open your library file;
+ please make sure it exists, is readable and is not locked.%
+ }%
+ \or
+ \et@xerr {library file "#2" has wrong header;\n
+ \ \ expected: "\et@xlibhdr"; found: "\et@xbuf";\n
+ \ \ load aborted.%
+ }%
+ {The first line of your library does not start with
+ the correct e-TeX header; you may need to update the
+ file to be compatible with the current version of
+ e-TeX, or you may simply have specified the wrong file.%
+ }%
+ \else
+ \et@xtoks={\et@xtoks={}}%
+ \et@xl@ad #1,\endl@ad
+ \et@xload {#2}
+ \the \et@xtoks
+ \fi
+ }
+
+\load interactionmodes from eptexdefs.lib %%% \load <foo>[, <bar>...] from <baz>
+
+\def \@sk #1#2#3%
+ {\ifnum \interactionmode=\interactionmodes {errorstop} %%% V2.0;15
+ \def \pr@mpt {\csname #1 \endcsname}%
+ \edef \pr@mptloop {{\escapechar=-1 \global \readline 16 to \pr@mpt}}%
+ \loop \pr@mptloop
+ \ch@ckforyn \pr@mpt {#2}%
+ \ifb@dresponse
+ \message {Please answer Y[es] or N[o]}%
+ \repeat
+ \else
+ \def \pr@mpt {#3}%
+ \ch@ckforyn \pr@mpt {#2}%
+ \fi
+ }
+
+\def \ch@ckforyn #1#2% Bernd Raichle's improved version, V1.0-1
+ {\edef \@nswer {#1}%
+ \def \p@rse ##1##2\endp@rse
+ {\lowercase {\if y##1}\b@dresponsefalse \csname #2true\endcsname
+ \else \lowercase {\if n##1}\b@dresponsefalse \csname #2false\endcsname
+ \else
+ \b@dresponsetrue
+ \fi
+ \fi
+ }%
+ \expandafter \p@rse \@nswer \endp@rse
+ }
+
+\def \usef@llback %%% V1.0-3
+ {\message {Using fallback mode (USenglish)}%
+ \addlanguage {USenglish}{hyphen}{}{2}{3}%
+ }
+
+% OK, that's all the utilities defined; on with the real work:
+% First, re-instate \patterns:
+
+\let \patterns=\et@xpatterns
+
+% Define the language-handling commands
+
+\def \et@xlang {\csname newlanguage\endcsname}
+
+\def \uselanguage #1%
+ {\ifcsname lang@#1\endcsname
+ \language=\csname lang@#1\endcsname
+ \lefthyphenmin=\csname lhm@#1\endcsname
+ \righthyphenmin=\csname rhm@#1\endcsname
+ \ifdefined \uselanguage@hook % V1.0-1
+ \uselanguage@hook {#1}% % V1.0-1
+ \fi
+ \else
+ \et@xerr {language #1 undefined.}%
+ {You are trying to use a language which has not previously
+ been defined; remember that any language you want to use
+ will need to have been specified at the time the format
+ was created.%
+ }%
+ \fi
+ }
+
+\def \addlanguage #1#2#3#4#5% language patterns exceptions lhm rhm
+ {\expandafter \et@xlang \csname lang@#1\endcsname
+ \expandafter \chardef \csname lhm@#1\endcsname=#4 % V1.0-1
+ \expandafter \chardef \csname rhm@#1\endcsname=#5 % V1.0-1
+ \uselanguage {#1}%
+ \input #2
+ \if *#3*\else \input #3 \fi
+ \ifdefined \addlanguage@hook % V1.0-4
+ \addlanguage@hook {#1}% % V1.0-4
+ \fi
+ \edef \fmtversion {\fmtversion/#1}%
+ }
+
+% Decrement \count 19, because \newlanguage will increment it again
+
+\advance \count 19 by -1
+
+% We are about to try to process a user/site-specific file "language.def",
+% which establishes a Babel-like language selection environment. Since
+% there is always a risk of a spurious file of that name being found,
+% we look for an e-TeX header in the first line. If the file can be opened,
+% but doesn't have the right header, we interrogate the user as to whether
+% to use fallback mode; in this mode, we simply establish USenglish as the
+% sole language, with the et@x patterns, exceptions and left- and right-
+% hyphen minima for TeX. If we can't interrogate the user (e.g. not in
+% \errorstopmode), or if the user elects not to use fallback, we abort;
+% if the file can't be found/opened, we use fallback unconditionally.
+
+\newif \ifb@dresponse
+\newif \ifusef@llback
+
+\def \l@ngdefnfile {language.def}
+
+\etexhdrchk {file} {\l@ngdefnfile}
+\ifcase \etexstatus
+ \et@xwarn {unable to open file "\l@ngdefnfile";}%
+ \usef@llback % unable to open "language.def"
+\or
+ \et@xwarn {file "\l@ngdefnfile" has wrong header;\n
+ \ \ expected: "\et@xfilehdr"; found: "\et@xbuf";%
+ }%
+ \@sk {Use fallback?} {usef@llback} {y}%
+ \ifusef@llback
+ \usef@llback
+ \else
+ \input \l@ngdefnfile % use "language.def" after warning
+ \fi
+\else
+ \bgroup
+ \count@=128
+ \loop\ifnum\count@<256\relax
+ \lccode\count@=\count@\advance\count@\@ne
+ \repeat
+ \count@=0
+ \loop\ifnum\count@<32\relax
+ \lccode\count@=\count@\advance\count@\@ne
+ \repeat
+ \input \l@ngdefnfile % "language.def" open & valid
+
+ \egroup % the above empty line is needed to end the argument of \input
+\fi
+
+% All that was just to set up natural language handling...
+% The "real" work of "etex.src", however, is to augment the non-primitives
+% of Plain.TeX to incorporate e-TeX specific features, and to add new
+% non-primitives to simplify access to new e-TeX specific primitives.
+
+\message {Augmenting the Plain TeX definitions:}
+\message {\string \tracingall;}
+
+\def \tracingall
+ {\tracingonline=\@ne
+ \tracingcommands=\thr@@ % plain.tex has \tw@
+ \tracingstats=\tw@
+ \tracingpages=\@ne
+ \tracingoutput=\@ne
+ \tracinglostchars=\tw@ % plain.tex has \@ne
+ \tracingmacros=\tw@
+ \tracingparagraphs=\@ne
+ \tracingrestores=\@ne
+ \showboxbreadth=\maxdimen
+ \showboxdepth=\maxdimen
+ \errorstopmode
+ \tracinggroups=\@ne
+ \tracingifs=\@ne
+ \tracingscantokens=\@ne
+ \tracingnesting=\@ne
+ \tracingassigns=\tw@
+ }
+
+\message {Adding new e-TeX definitions:}
+
+\message {\string \eTeX, \string \epTeX, }
+\def \eTeX {$\varepsilon$-\TeX} %%% the simple version, not suitable for maths;
+ %%% a more sophisticated one may find its way
+ %%% into "eptexdefs.lib" in due course.
+\def \epTeX {$\varepsilon$-p\TeX}
+
+\message {\string \loggingall,}
+\def \loggingall {\tracingall \tracingonline=\z@}
+
+\message {\string \tracingnone,}
+\def \tracingnone
+ {\tracingassigns=\z@
+ \tracingnesting=\z@
+ \tracingscantokens=\z@
+ \tracingifs=\z@
+ \tracinggroups=\z@
+ \showboxdepth=\thr@@
+ \showboxbreadth=5
+ \tracingrestores=\z@
+ \tracingparagraphs=\z@
+ \tracingmacros=\z@
+ \tracinglostchars=\@ne
+ \tracingoutput=\z@
+ \tracingpages=\z@
+ \tracingstats=\z@
+ \tracingcommands=\z@
+ \tracingonline=\z@
+ }
+
+\message {register allocation;}
+
+\newcount \et@xins % our insertion counter (\insc@unt is used differently)
+
+% We have to adjust the Plain TeX register allocation counts for our
+% slightly modified book-keeping:
+
+\advance \count 10 by 1 % \count 10=23 % allocates \count registers 23, 24, ...
+\advance \count 11 by 1 % \count 11=10 % allocates \dimen registers 10, 11, ...
+\advance \count 12 by 1 % \count 12=10 % allocates \skip registers 10, 11, ...
+\advance \count 13 by 1 % \count 13=10 % allocates \muskip registers 10, 11, ...
+\advance \count 14 by 1 % \count 14=10 % allocates \box registers 10, 11, ...
+\advance \count 15 by 1 % \count 15=10 % allocates \toks registers 10, 11, ...
+\advance \count 16 by 1 % \count 16=0 % allocates input streams 0, 1, ...
+\advance \count 17 by 1 % \count 17=0 % allocates output streams 0, 1, ...
+\advance \count 18 by 1 % \count 18=4 % allocates math families 4, 5, ...
+\advance \count 19 by 1 % \count 19=0 % allocates \language codes 0, 1, ...
+
+\et@xins=\insc@unt % \et@xins=255 % allocates insertions 254, 253, ...
+
+% We don't change the Plain TeX definitions of \newcount, etc., but the
+% \alloc@ macro doing the actual work is redefined.
+
+% When the normal register pool for \count, \dimen, \skip, \muskip,
+% \box, or \toks registers is exhausted, we switch to the extended pool.
+
+\def \alloc@ #1#2#3#4#5%
+ {\ifnum \count 1#1 < #4% make sure there's still room
+ \allocationnumber=\count 1#1
+ \global \advance \count 1#1 by \@ne
+ \global #3#5=\allocationnumber
+ \wlog {\string #5=\string #2\the \allocationnumber}%
+ \else \ifnum #1 < 6
+ \begingroup \escapechar=\m@ne
+ \expandafter \alloc@@ \expandafter {\string #2}#5%
+ \else
+ \errmessage {No room for a new #2}%
+ \fi
+ \fi
+ }
+
+% The \expandafter construction used here allows the generation of
+% \newcount and \globcount from #1=count. Moreover (and more important)
+% this construction avoids the appearance of \outer macros inside
+% macro definitions or conditionals.
+
+\def \alloc@@ #1#2%
+ {\endgroup % restore \escapechar
+ \message {Normal \csname#1\endcsname register pool exhausted,
+ switching to extended pool.}%
+ \global \expandafter
+ \let \csname new#1\expandafter \endcsname \csname glob#1\endcsname
+ \csname new#1\endcsname#2%
+ }
+
+% We do change the Plain TeX definition of \newinsert
+
+\outer \def \newinsert #1%make sure there's still room for ...
+ {\ch@ck 0 \et@xins \count % ... a \count, ...
+ {\ch@ck 1 \et@xins \dimen % ... \dimen, ...
+ {\ch@ck 2 \et@xins \skip % ... \skip, ...
+ {\ch@ck 4 \et@xins \box % ... and \box register
+ {\global \advance \et@xins by \m@ne
+ \unless
+ \ifnum \insc@unt < \et@xins
+ \global \insc@unt=\et@xins
+ \fi
+ \allocationnumber=\et@xins
+ \global \chardef #1=\allocationnumber
+ \wlog {\string #1=\string \insert \the \allocationnumber}%
+ }%
+ }%
+ }%
+ }%
+ }
+
+\def \ch@ck #1#2#3#4%
+ {\ifnum \count 1#1 < #2#4\else \errmessage {No room for a new #3}\fi}
+
+% And we define \reserveinserts, so that you can say \reserveinserts{17}
+% in order to reserve room for up to 17 additional insertion classes that will
+% not be taken away by \newcount, \newdimen, \newskip, or \newbox.
+
+\outer \def \reserveinserts#1%
+ {\global \insc@unt=\numexpr \et@xins \ifnum #1 > \z@ -#1\fi \relax}
+
+\message {extended register allocation;}
+
+% Now, we define \globcount, \globbox, etc., so that you can say
+% \globcount\foo and \foo will be defined (with \countdef) to be the
+% next count register from the vastly larger but somewhat less efficient
+% extended register pool. We also define \loccount, etc., but these
+% register definitions are local to the current group.
+
+\count 260=277 % globally allocates \count registers 277, 278, ...
+\count 261=\@cclvi % globally allocates \dimen registers 256, 257, ...
+\count 262=\@cclvi % globally allocates \skip registers 256, 257, ...
+\count 263=\@cclvi % globally allocates \muskip registers 256, 257, ...
+\count 264=\@cclvi % globally allocates \box registers 256, 257, ...
+\count 265=\@cclvi % globally allocates \toks registers 256, 257, ...
+\count 266=\@ne % globally allocates \marks classes 1, 2, ...
+
+\def \et@xmaxregs {65536}
+
+\count 270=\et@xmaxregs % locally allocates \count registers 32767, 32766, ...
+\count 271=\et@xmaxregs % ditto for \dimen registers
+\count 272=\et@xmaxregs % ditto for \skip registers
+\count 273=\et@xmaxregs % ditto for \muskip registers
+\count 274=\et@xmaxregs % ditto for \box registers
+\count 275=\et@xmaxregs % ditto for \toks registers
+\count 276=\et@xmaxregs % ditto for \marks classes
+
+% \count registers 256-259 and 267-269 are not (yet) used
+
+\outer \def \globcount {\et@xglob 0 \count \countdef}
+ \def \loccount {\et@xloc 0 \count \countdef}
+\outer \def \globdimen {\et@xglob 1 \dimen \dimendef}
+ \def \locdimen {\et@xloc 1 \dimen \dimendef}
+\outer \def \globskip {\et@xglob 2 \skip \skipdef}
+ \def \locskip {\et@xloc 2 \skip \skipdef}
+\outer \def \globmuskip {\et@xglob 3 \muskip \muskipdef}
+ \def \locmuskip {\et@xloc 3 \muskip \muskipdef}
+\outer \def \globbox {\et@xglob 4 \box \mathchardef}
+ \def \locbox {\et@xloc 4 \box \mathchardef}
+\outer \def \globtoks {\et@xglob 5 \toks \toksdef}
+ \def \loctoks {\et@xloc 5 \toks \toksdef}
+\outer \def \globmarks {\et@xglob 6 \marks \mathchardef}
+ \def \locmarks {\et@xloc 6 \marks \mathchardef}
+
+\let\newmark=\globmarks %%% 2.0;14
+\let\newmarks=\globmarks
+
+\def \et@xglob #1#2#3#4%
+ {\et@xchk #1#2% make sure there's still room
+ {\allocationnumber=\count 26#1
+ \global \advance \count 26#1 by \@ne
+ \global #3#4=\allocationnumber
+ \wlog {\string #4=\string #2\the \allocationnumber}%
+ }%
+ }
+
+\def \et@xloc#1#2#3#4%
+ {\et@xchk #1#2% make sure there's still room
+ {\advance \count 27#1 by \m@ne
+ \allocationnumber=\count 27#1
+ #3#4=\allocationnumber
+ \wlog {\string #4=\string #2\the \allocationnumber \space (local)}%
+ }%
+ }
+
+\def \et@xchk #1#2#3%
+ {\ifnum \count 26#1 < \count 27#1
+ #3%
+ \else
+ \errmessage {No room for a new #2}%
+ \fi
+ }
+
+% Next we define \globcountblk, \loccountblk, etc., so that one can
+% write \globcountblk\foo{17} and \foo will be defined (with \mathchardef)
+% as the first (the zeroth?) of a block of 17 consecutive registers.
+% Thus the user is intended to reference elements <\foo+0> to <\foo+n-1>,
+% where n is the length of the block allocated.
+
+\outer \def \globcountblk {\et@xgblk 0 \count}
+ \def \loccountblk {\et@xlblk 0 \count}
+\outer \def \globdimenblk {\et@xgblk 1 \dimen}
+ \def \locdimenblk {\et@xlblk 1 \dimen}
+\outer \def \globskipblk {\et@xgblk 2 \skip}
+ \def \locskipblk {\et@xlblk 2 \skip}
+\outer \def \globmuskipblk {\et@xgblk 3 \muskip}
+ \def \locmuskipblk {\et@xlblk 3 \muskip}
+\outer \def \globboxblk {\et@xgblk 4 \box}
+ \def \locboxblk {\et@xlblk 4 \box}
+\outer \def \globtoksblk {\et@xgblk 5 \toks}
+ \def \loctoksblk {\et@xlblk 5 \toks}
+\outer \def \globmarksblk {\et@xgblk 6 \marks}
+ \def \locmarksblk {\et@xlblk 6 \marks}
+
+% And, both to provide a higher-level interface to the block allocation
+% scheme, and to demonstrate possible applications of the new \...expr
+% primitives, we also define \globcountvector and \loccountvector (etc)
+% which allow the user to access elements with embedded arithmetic, as in
+
+% \globcountvector \foo {12}
+% \foo {\count 0 + 3} = \foo {\count 1 * 2}
+
+\outer \def \globcountvector {\et@xgvec 0 \count}
+ \def \loccountvector {\et@xlvec 0 \count}
+\outer \def \globdimenvector {\et@xgvec 1 \dimen}
+ \def \locdimenvector {\et@xlvec 1 \dimen}
+\outer \def \globskipvector {\et@xgvec 2 \skip}
+ \def \locskipvector {\et@xlvec 2 \skip}
+\outer \def \globmuskipvector {\et@xgvec 3 \muskip}
+ \def \locmuskipvector {\et@xlvec 3 \muskip}
+\outer \def \globboxvector {\et@xgvec 4 \box}
+ \def \locboxvector {\et@xlvec 4 \box}
+\outer \def \globtoksvector {\et@xgvec 5 \toks}
+ \def \loctoksvector {\et@xlvec 5 \toks}
+\outer \def \globmarksvector {\et@xgvec 6 \marks}
+ \def \locmarksvector {\et@xlvec 6 \marks}
+
+\def \et@xgblk #1#2#3#4%
+ {\et@xchkblk #1#2{#4}% make sure there's still room
+ {\allocationnumber=\count 26#1
+ \global \advance \count 26#1 by #4%
+ \global \mathchardef #3=\allocationnumber
+ \wlog {\string #3=\string #2blk{\number #4} at \the \allocationnumber}%
+ }%
+ }
+
+\def \et@xlblk #1#2#3#4%
+ {\et@xchkblk #1#2{#4}% make sure there's still room
+ {\advance \count 27#1 by -#4%
+ \allocationnumber=\count 27#1
+ \mathchardef #3=\allocationnumber
+ \wlog {\string #3=\string #2blk{\number #4}
+ at \the \allocationnumber \space (local)%
+ }%
+ }%
+ }
+
+\begingroup
+\catcode `\# = 12
+\gdef \et@xhash {#}
+\endgroup
+
+\def \et@xgvec #1#2#3#4%
+ {\et@xchkblk #1#2{#4}% make sure there's still room
+ {\allocationnumber=\count 26#1
+ \global \advance \count 26#1 by #4%
+ \ifx #2\box
+ \def \2{}%
+ \else \ifx #2\marks
+ \def \2{}%
+ \else
+ \def \2{\string #2}%
+ \fi
+ \fi
+ \xdef #3##1{\2 \noexpand \numexpr \the \allocationnumber+##1\relax}%
+ \wlog {\string #3 {\et@xhash 1} =
+ \2 {\the \allocationnumber+\et@xhash 1} (global #2 vector)%
+ }%
+ }%
+ }
+
+\def \et@xlvec #1#2#3#4%
+ {\et@xchkblk #1#2{#4}% make sure there's still room
+ {\advance \count 27#1 by -#4%
+ \allocationnumber=\count27#1
+ \mathchardef #3=\allocationnumber
+ \ifx #2\box
+ \def \2{}%
+ \else \ifx #2\marks
+ \def \2{}%
+ \else
+ \def \2{\string #2}%
+ \fi
+ \fi
+ \edef #3##1{\2 \noexpand \numexpr \the \allocationnumber+##1\relax}%
+ \wlog {\string #3 {\et@xhash 1} =
+ \2 {\the \allocationnumber+\et@xhash 1} (local #2 vector)%
+ }%
+ }%
+ }
+
+\def \et@xchkblk #1#2#3#4%
+ {\ifnum #3 < \z@
+ \errmessage {Negative register block size \number #3}%
+ \else \ifnum \numexpr \count 26#1+#3 > \count 27#1
+ \errmessage {No room for new #2block of size \number#3}%
+ \else
+ #4%
+ \fi
+ \fi
+ }
+
+% In an attempt to reduce the overheads of e-TeX, we recycle all possible
+% resources, including (as a penultimate step) the recycler itself...
+% The user can circumvent (or force) this during format creation,
+% by \letting \ifrecycle=\iffalse (or \iftrue, to force it).
+
+% As this file has grown by accretion, it is possible that we are no
+% longer recycling all the resources we could; this will be investigated.
+
+\def \mayber@cycle {\expandafter \ifrecycle}
+\def \forcer@cycle {\expandafter \iftrue}
+
+\ifdefined \ifrecycle
+ \mayber@cycle
+\else
+ \forcer@cycle
+\fi
+
+% There's a concealed \if... lurking here, which explains the
+% strange indentation of the code that follows (V1.0-1)
+
+ \def \r@cycle #1%
+ {\ifdefined #1
+ \message {\string #1,}\let #1=\und@fined
+ \else
+ \message {\string #1 (not defined),}
+ \fi
+ }
+ {\newlinechar=`\! \message {!Recycling:}}
+
+ \r@cycle \addlanguage
+ \r@cycle \@nswer
+ \r@cycle \@sk
+ \r@cycle \b@dresponsetrue
+ \r@cycle \b@dresponsefalse
+ \r@cycle \ch@ckforyn
+ \r@cycle \mayber@cycle
+ \r@cycle \et@xabort
+ \r@cycle \et@xbuf
+ \r@cycle \et@xfmtsrc
+ \r@cycle \et@xfilehdr
+ \r@cycle \et@xinf
+ \r@cycle \et@xpatterns
+% \r@cycle \ifb@dresponse
+% \r@cycle \ifusef@llback
+ \r@cycle \l@ngdefnfile
+ \r@cycle \n@xt
+ \r@cycle \p@rse
+ \r@cycle \pr@mpt
+ \r@cycle \pr@mptloop
+ \r@cycle \forcer@cycle
+ \r@cycle \usef@llback
+ \r@cycle \usef@llbacktrue
+ \r@cycle \usef@llbackfalse
+
+% The following are retained, since they may be needed by user code; with a few
+% (regrettable) exceptions, all of these are given the \etex or \et@x prefix,
+% to reduce as far as possible the risk of them clashing with other used-defined
+% names.
+
+% The e-TeX team are willing to change the names of the remaining, at-risk,
+% control sequences if it is demonstrated that the current names cause problems
+% or difficulties.
+
+ \def \r@tain #1%
+ {\ifdefined #1
+ \message {\string #1,}
+ \else
+ \message {\string #1 (not defined),}
+ \fi
+ }
+ {\newlinechar=`\! \message {!Retaining:}}
+
+ \r@tain \et@xerr
+ \r@tain \et@xinput
+ \r@tain \et@xlibhdr
+ \r@tain \et@xmsg
+ \r@tain \et@xtoks
+ \r@tain \et@xwarn
+ \r@tain \et@xl@@d
+ \r@tain \et@xl@ad
+ \r@tain \et@xload
+ \r@tain \et@xlang
+ \r@tain \et@xhash
+ \r@tain \eTeX
+ \r@tain \epTeX
+ \r@tain \etexhdrchk
+% \r@tain \endmodule
+ \r@tain \etexstatus
+ \r@tain \module
+ \r@tain \uselanguage
+
+ \r@cycle \r@tain
+ \r@cycle \r@cycle
+
+\fi
+
+% And finally re-catcode commercial-at
+
+\catcode `\@=12
+
+\dump
+\endinput
+
diff --git a/Master/texmf-dist/tex/ptex/ptex-base/eptexdefs.lib b/Master/texmf-dist/tex/ptex/ptex-base/eptexdefs.lib
new file mode 100644
index 00000000000..42d91264078
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/ptex-base/eptexdefs.lib
@@ -0,0 +1,91 @@
+%% e-pTeXlib
+%% derived from $TEXMF/tex/plain/etex/etexdefs.lib (V2.0;8 24-MAR-1998)
+
+\module {grouptypes}
+\def \grouptypes #1{\csname gr@up: #1\endcsname}
+\def \etexgroupdef #1
+ {\expandafter \expandafter \expandafter \chardef \grouptypes {#1}}
+\etexgroupdef bottomlevel = 0 %%% {code for the outside world}
+\etexgroupdef simple = 1 %%% {code for local structure only}
+\etexgroupdef hbox = 2 %%% {code for `\.{\\hbox}\grp'}
+\etexgroupdef adjustedhbox = 3 %%% {code for `\.{\\hbox}\grp' in vertical mode}
+\etexgroupdef vbox = 4 %%% {code for `\.{\\vbox}\grp'}
+\etexgroupdef vtop = 5 %%% {code for `\.{\\vtop}\grp'}
+\etexgroupdef align = 6 %%% {code for `\.{\\halign}\grp', `\.{\\valign}\grp'}
+\etexgroupdef noalign = 7 %%% {code for `\.{\\noalign}\grp'}
+\etexgroupdef output = 8 %%% {code for output routine}
+\etexgroupdef math = 9 %%% {code for, e.g, `\.{\char'136}\grp'}
+\etexgroupdef disc = 10 %%% {code for `\.{\\discretionary}\grp\grp\grp'}
+\etexgroupdef insert = 11 %%% {code for `\.{\\insert}\grp', `\.{\\vadjust}\grp'}
+\etexgroupdef vcenter = 12 %%% {code for `\.{\\vcenter}\grp'}
+\etexgroupdef mathchoice = 13 %%% {code for `\.{\\mathchoice}\grp\grp\grp\grp'}
+\etexgroupdef semisimple = 14 %%% {code for `\.{\\begingroup...\\endgroup}'}
+\etexgroupdef mathshift = 15 %%% {code for `\.{\$...\$}'}
+\etexgroupdef mathleft = 16 %%% {code for `\.{\\left...\\right}'}
+\endmodule
+
+\module {interactionmodes}
+\def \interactionmodes #1{\csname m@de: #1\endcsname}
+\def \etexmodedef #1
+ {\expandafter \expandafter \expandafter \chardef \interactionmodes {#1}}
+\etexmodedef batch = 0 %%% {omits all stops and omits terminal output}
+\etexmodedef nonstop = 1 %%% {omits all stops}
+\etexmodedef scroll = 2 %%% {omits error stops}
+\etexmodedef errorstop = 3 %%% {stops at every opportunity to interact}
+\endmodule
+
+\module {nodetypes}
+\def \nodetypes #1{\csname n@de: #1\endcsname}
+\def \etexnodedef #1
+ {\expandafter \expandafter \expandafter \chardef \nodetypes {#1}}
+\etexnodedef char = 0 %%% {|type| of character nodes}
+\etexnodedef hlist = 1 %%% {|type| of hlist nodes}
+\etexnodedef vlist = 2 %%% {|type| of vlist nodes}
+\etexnodedef rule = 3 %%% {|type| of rule nodes}
+\etexnodedef ins = 4 %%% {|type| of insertion nodes}
+\etexnodedef mark = 5 %%% {|type| of a mark node}
+\etexnodedef adjust = 6 %%% {|type| of an adjust node}
+\etexnodedef ligature = 7 %%% {|type| of a ligature node}
+\etexnodedef disc = 8 %%% {|type| of a discretionary node}
+\etexnodedef whatsit = 9 %%% {|type| of special extension nodes}
+\etexnodedef math = 10 %%% {|type| of a math node}
+\etexnodedef glue = 11 %%% {|type| of that points to a glue specification}
+\etexnodedef kern = 12 %%% {|type| of a kern node}
+\etexnodedef penalty = 13 %%% {|type| of a penalty node}
+\etexnodedef unset = 14 %%% {|type| for an unset node}
+\etexnodedef maths = 15 %%% {|type| of nodes that occur only in maths mode}
+\endmodule
+
+\module {iftypes}
+\def \conditionaltypes #1{\csname @f: #1\endcsname}
+\def \etexifdef #1
+ {\expandafter \expandafter \expandafter \chardef \conditionaltypes {#1}}
+\etexifdef charif = 1
+\etexifdef catif = 2
+\etexifdef numif = 3
+\etexifdef dimif = 4
+\etexifdef oddif = 5
+\etexifdef vmodeif = 6
+\etexifdef hmodeif = 7
+\etexifdef mmodeif = 8
+\etexifdef innerif = 9
+\etexifdef voidif = 10
+\etexifdef hboxif = 11
+\etexifdef vboxif = 12
+\etexifdef xif = 13
+\etexifdef eofif = 14
+\etexifdef trueif = 15
+\etexifdef falseif = 16
+\etexifdef caseif = 17
+\etexifdef definedif = 18
+\etexifdef csnameif = 19
+\etexifdef fontcharif = 20
+\etexifdef tdirif = 21
+\etexifdef ydirif = 22
+\etexifdef ddirif = 23
+\etexifdef mdirif = 24
+\etexifdef tboxif = 25
+\etexifdef yboxif = 26
+\etexifdef dboxif = 27
+\etexifdef pdfprimitiveif = 28
+\endmodule
diff --git a/Master/texmf-dist/tex/ptex/ptex-base/kinsoku.tex b/Master/texmf-dist/tex/ptex/ptex-base/kinsoku.tex
new file mode 100644
index 00000000000..de3ca8f521b
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/ptex-base/kinsoku.tex
@@ -0,0 +1,144 @@
+%
+% $B9TF,!"9TKv6XB'%Q%i%a!<%?(B
+%
+% 1byte characters
+\prebreakpenalty`!=10000
+\prebreakpenalty`"=10000
+\postbreakpenalty`\#=500
+\postbreakpenalty`\$=500
+\postbreakpenalty`\%=500
+\postbreakpenalty`\&=500
+\postbreakpenalty`\`=10000
+\prebreakpenalty`'=10000
+\prebreakpenalty`)=10000
+\postbreakpenalty`(=10000
+\prebreakpenalty`*=500
+\prebreakpenalty`+=500
+\prebreakpenalty`-=10000
+\prebreakpenalty`.=10000
+\prebreakpenalty`,=10000
+\prebreakpenalty`/=500
+\prebreakpenalty`;=10000
+\prebreakpenalty`?=10000
+\prebreakpenalty`:=10000
+\prebreakpenalty`]=10000
+\postbreakpenalty`[=10000
+%$BA43QJ8;z(B
+\prebreakpenalty`$B!"(B=10000
+\prebreakpenalty`$B!#(B=10000
+\prebreakpenalty`$B!$(B=10000
+\prebreakpenalty`$B!%(B=10000
+\prebreakpenalty`$B!&(B=10000
+\prebreakpenalty`$B!'(B=10000
+\prebreakpenalty`$B!((B=10000
+\prebreakpenalty`$B!)(B=10000
+\prebreakpenalty`$B!*(B=10000
+\prebreakpenalty\jis"212B=10000
+\prebreakpenalty\jis"212C=10000
+\prebreakpenalty\jis"212D=10000
+\postbreakpenalty\jis"212E=10000
+\prebreakpenalty\jis"2139=10000
+\prebreakpenalty\jis"2144=250
+\prebreakpenalty\jis"2145=250
+\postbreakpenalty\jis"2146=10000
+\prebreakpenalty\jis"2147=5000
+\postbreakpenalty\jis"2148=5000
+\prebreakpenalty\jis"2149=5000
+\prebreakpenalty`$B!K(B=10000
+\postbreakpenalty`$B!J(B=10000
+\prebreakpenalty`$B!Q(B=10000
+\postbreakpenalty`$B!P(B=10000
+\prebreakpenalty`$B!O(B=10000
+\postbreakpenalty`$B!N(B=10000
+\postbreakpenalty`$B!F(B=10000
+\prebreakpenalty`$B!G(B=10000
+\postbreakpenalty\jis"214C=10000
+\prebreakpenalty\jis"214D=10000
+\postbreakpenalty\jis"2152=10000
+\prebreakpenalty\jis"2153=10000
+\postbreakpenalty\jis"2154=10000
+\prebreakpenalty\jis"2155=10000
+\postbreakpenalty\jis"2156=10000
+\prebreakpenalty\jis"2157=10000
+\postbreakpenalty\jis"2158=10000
+\prebreakpenalty\jis"2159=10000
+\postbreakpenalty\jis"215A=10000
+\prebreakpenalty\jis"215B=10000
+\prebreakpenalty`$B!<(B=10000
+\prebreakpenalty`$B!\(B=200
+\prebreakpenalty`$B!](B=200
+\prebreakpenalty`$B!a(B=200
+\postbreakpenalty`$B!t(B=200
+\postbreakpenalty`$B!p(B=200
+\postbreakpenalty`$B!s(B=200
+\postbreakpenalty`$B!u(B=200
+\prebreakpenalty`$B$!(B=150
+\prebreakpenalty`$B$#(B=150
+\prebreakpenalty`$B$%(B=150
+\prebreakpenalty`$B$'(B=150
+\prebreakpenalty`$B$)(B=150
+\prebreakpenalty`$B$C(B=150
+\prebreakpenalty`$B$c(B=150
+\prebreakpenalty`$B$e(B=150
+\prebreakpenalty`$B$g(B=150
+\prebreakpenalty\jis"246E=150
+\prebreakpenalty`$B%!(B=150
+\prebreakpenalty`$B%#(B=150
+\prebreakpenalty`$B%%(B=150
+\prebreakpenalty`$B%'(B=150
+\prebreakpenalty`$B%)(B=150
+\prebreakpenalty`$B%C(B=150
+\prebreakpenalty`$B%c(B=150
+\prebreakpenalty`$B%e(B=150
+\prebreakpenalty`$B%g(B=150
+\prebreakpenalty\jis"256E=150
+\prebreakpenalty\jis"2575=150
+\prebreakpenalty\jis"2576=150
+%
+% xspcode
+\xspcode`(=1
+\xspcode`)=2
+\xspcode`[=1
+\xspcode`]=2
+\xspcode``=1
+\xspcode`'=2
+\xspcode`;=2
+\xspcode`,=2
+\xspcode`.=2
+%
+% inhibitxspcode
+\inhibitxspcode`$B!"(B=1
+\inhibitxspcode`$B!#(B=1
+\inhibitxspcode`$B!$(B=1
+\inhibitxspcode`$B!%(B=1
+\inhibitxspcode`$B!((B=1
+\inhibitxspcode`$B!)(B=1
+\inhibitxspcode`$B!K(B=1
+\inhibitxspcode`$B!J(B=2
+\inhibitxspcode`$B!O(B=1
+\inhibitxspcode`$B!N(B=2
+\inhibitxspcode`$B!Q(B=1
+\inhibitxspcode`$B!P(B=2
+\inhibitxspcode`$B!F(B=2
+\inhibitxspcode`$B!G(B=1
+\inhibitxspcode`$B!H(B=2
+\inhibitxspcode`$B!I(B=1
+\inhibitxspcode`$B!L(B=2
+\inhibitxspcode`$B!M(B=1
+\inhibitxspcode`$B!R(B=2
+\inhibitxspcode`$B!S(B=1
+\inhibitxspcode`$B!T(B=2
+\inhibitxspcode`$B!U(B=1
+\inhibitxspcode`$B!V(B=2
+\inhibitxspcode`$B!W(B=1
+\inhibitxspcode`$B!X(B=2
+\inhibitxspcode`$B!Y(B=1
+\inhibitxspcode`$B!Z(B=2
+\inhibitxspcode`$B![(B=1
+\inhibitxspcode`$B!=(B=0
+\inhibitxspcode`$B!A(B=0
+\inhibitxspcode`$B!D(B=0
+\inhibitxspcode`$B!o(B=0
+\inhibitxspcode`$B!k(B=1
+\inhibitxspcode`$B!l(B=1
+\inhibitxspcode`$B!m(B=1
diff --git a/Master/texmf-dist/tex/ptex/ptex-base/ptex.ini b/Master/texmf-dist/tex/ptex/ptex-base/ptex.ini
new file mode 100644
index 00000000000..7f064ce9647
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/ptex-base/ptex.ini
@@ -0,0 +1,4 @@
+%% for pTeX (ASCII Nihongo TeX)
+\input ptex.tex
+\dump
+\endinput
diff --git a/Master/texmf-dist/tex/ptex/ptex-base/ptex.tex b/Master/texmf-dist/tex/ptex/ptex-base/ptex.tex
new file mode 100644
index 00000000000..6a3592be1e1
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/ptex-base/ptex.tex
@@ -0,0 +1,67 @@
+% This is the pTeX format
+%
+% (C)copyright ASCII corporation,1987,1995,1997
+%
+\input plain
+\catcode`@=11 % at signs are no longer 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}}
+\catcode`@=12 % at signs are no longer letters
+%
+\font\tenmin=min10 % mincho(KANJI)
+\font\preloaded=min9
+\font\preloaded=min8
+\font\sevenmin=min7
+\font\preloaded=min6
+\font\fivemin=min5
+%
+\font\tengt=goth10 % gothic(KANJI)
+\font\preloaded=goth9
+\font\preloaded=goth8
+\font\sevengt=goth7
+\font\preloaded=goth6
+\font\fivegt=goth5
+%
+\font\tentmin=tmin10 % mincho(KANJI,tate)
+\font\preloaded=tmin9
+\font\preloaded=tmin8
+\font\seventmin=tmin7
+\font\preloaded=tmin6
+\font\fivetmin=tmin5
+%
+\font\tentgt=tgoth10 % gothic(KANJI,tate)
+\font\preloaded=tgoth9
+\font\preloaded=tgoth8
+\font\seventgt=tgoth7
+\font\preloaded=tgoth6
+\font\fivetgt=tgoth5
+%
+\newfam\minfam % \min is family 8
+\newfam\gtfam % \gt is family 9
+\newfam\tminfam % \tmin is family 10
+\newfam\tgtfam % \tgt is family 11
+%
+\def\mc{\iftdir\fam\tminfam\tentmin\else\fam\minfam\tenmin\fi}%
+\textfont\minfam=\tenmin\scriptfont\minfam=\sevenmin%
+\scriptscriptfont\minfam=\fivemin
+\textfont\tminfam=\tentmin\scriptfont\tminfam=\seventmin%
+\scriptscriptfont\tminfam=\fivetmin
+%
+\def\gt{\iftdir\fam\tgtfam\tentgt\else\fam\gtfam\tengt\fi}%
+\textfont\gtfam=\tengt\scriptfont\gtfam=\sevengt%
+\scriptscriptfont\gtfam=\fivegt
+\textfont\tgtfam=\tentgt\scriptfont\tgtfam=\seventgt%
+\scriptscriptfont\tgtfam=\fivetgt
+%
+\input kinsoku
+\mc % select mincho font
+\kanjiskip=0pt plus .4pt minus .4pt
+%\xkanjiskip=2.5pt plus 1pt minus 1pt
+\xkanjiskip=.25zw plus 1pt minus 1pt
+\autospacing\autoxspacing
+\jcharwidowpenalty=500
+%
+% identifies the current format
+\def\fmtname{ptex}
+\def\fmtversion{3.14159 p1.0b}
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index b786e8198c0..b6f31bc728f 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -478,7 +478,7 @@ my @TLP_working = qw(
pst-vectorian pst-vowel pst-vue3d
pst2pdf pstool pstricks pstricks-add pstricks-examples
pstricks-examples-en pstricks_calcnotes
- psu-thesis ptex-fonts ptex2pdf ptext ptptex
+ psu-thesis ptex-base ptex-fonts ptex2pdf ptext ptptex
punk punk-latex punknova purifyeps pxbase
pxchfon pxcjkcat pxfonts pxgreeks pxjahyper
pxpgfmark pxrubrica pxtxalfa pygmentex python pythontex
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 419d7b6040f..5e291981f32 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1381,6 +1381,7 @@ $standarddest = "texmf-dist";
'pmx', 'generic',
'pstricks', 'generic',
'pst-cox', 'generic',
+ 'ptex-base', 'ptex',
'pxbase', 'platex',
'pxchfon', 'platex',
'pxjahyper', 'platex',
@@ -1685,6 +1686,7 @@ $standardtex = '(\.(.bx|4ht|cls|clo|cmap|code\.tex|def|fd|fontspec|ldf|sty)'
'pst-geo', 'pst-map.*\.tex|pst-map.*\.sty',
'pst-infixplot', 'infix-RPN\.tex|pst-infixplot\.tex',
'pst-text', 'pst-(char|text)\.(tex|sty)',
+ 'ptex-base', '\.(ini|lib|src)$|(ascii-jplain|kinsoku|ptex).tex$',
'punk', 'NULL', # have separate punk-latex
'qobitree', 'qobitree.tex',
'r_und_s', '\.tex|\.sty',
@@ -1978,6 +1980,7 @@ $standardtex = '(\.(.bx|4ht|cls|clo|cmap|code\.tex|def|fd|fontspec|ldf|sty)'
'plnfss', 'plain',
'pmx', 'generic',
'pst-cox', 'generic',
+ 'ptex-base', 'ptex',
'purifyeps', 'support',
'pxfonts', 'fonts',
'pxbase', 'platex',
diff --git a/Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc b/Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc
index 6056cb196ea..5e8e2ef236a 100644
--- a/Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc
@@ -19,6 +19,7 @@ depend luatexja
depend pbibtex-base
depend platex
depend ptex
+depend ptex-base
depend ptex-fonts
depend ptex2pdf
depend pxbase
diff --git a/Master/tlpkg/tlpsrc/ptex-base.tlpsrc b/Master/tlpkg/tlpsrc/ptex-base.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/ptex-base.tlpsrc
diff --git a/Master/tlpkg/tlpsrc/ptex-fonts.tlpsrc b/Master/tlpkg/tlpsrc/ptex-fonts.tlpsrc
index fbfd21ab8ad..809c031ffa4 100644
--- a/Master/tlpkg/tlpsrc/ptex-fonts.tlpsrc
+++ b/Master/tlpkg/tlpsrc/ptex-fonts.tlpsrc
@@ -1,3 +1,6 @@
+execute addKanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map
+execute addKanjiMap morisawa.map
+
runpattern d texmf-dist/fonts/tfm/ptex
runpattern d texmf-dist/fonts/vf/ptex
runpattern d texmf-dist/fonts/source/ptex
diff --git a/Master/tlpkg/tlpsrc/ptex.tlpsrc b/Master/tlpkg/tlpsrc/ptex.tlpsrc
index 59b01e3fed9..7a350dcffd7 100644
--- a/Master/tlpkg/tlpsrc/ptex.tlpsrc
+++ b/Master/tlpkg/tlpsrc/ptex.tlpsrc
@@ -6,6 +6,7 @@ depend ipaex
depend japanese
depend japanese-otf
depend pbibtex-base
+depend ptex-base
depend ptex-fonts
tlpsetvar fmtcomm cm,hyphen-base,ptex
@@ -17,9 +18,6 @@ execute AddFormat name=eptex engine=eptex options="*eptex.ini" \
patterns=language.def \
fmttriggers=${fmtcomm},etex,knuth-lib,plain
-execute addKanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map
-execute addKanjiMap morisawa.map
-
binpattern f bin/${ARCH}/eptex
binpattern f bin/${ARCH}/makejvf
binpattern f bin/${ARCH}/mendex