summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/ptex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-18 18:19:00 +0000
committerKarl Berry <karl@freefriends.org>2010-05-18 18:19:00 +0000
commita9eff7800c1787b0af5f140437003eea9e53cbb3 (patch)
tree6a6bee46035290fe65d79ff8cae90279eca08759 /Master/texmf-dist/tex/ptex
parent8c3ddaae131e42eb2318cfe675eaff5a184892e1 (diff)
towards 2010 pretest: enabling restricted write18, PDF 1.5 by default, ptex support files, other new programs, with i386-linux binaries
git-svn-id: svn://tug.org/texlive/trunk@18336 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/ptex')
-rw-r--r--Master/texmf-dist/tex/ptex/base/ascii-jplain.tex47
-rw-r--r--Master/texmf-dist/tex/ptex/base/kinsoku.tex144
-rw-r--r--Master/texmf-dist/tex/ptex/base/ptex.tex67
-rw-r--r--Master/texmf-dist/tex/ptex/config/ptex.ini4
4 files changed, 262 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/ptex/base/ascii-jplain.tex b/Master/texmf-dist/tex/ptex/base/ascii-jplain.tex
new file mode 100644
index 00000000000..40bd682ce04
--- /dev/null
+++ b/Master/texmf-dist/tex/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/base/kinsoku.tex b/Master/texmf-dist/tex/ptex/base/kinsoku.tex
new file mode 100644
index 00000000000..040c8510354
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/base/kinsoku.tex
@@ -0,0 +1,144 @@
+%
+% 行頭、行末禁則パラメータ
+%
+% 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
+%全角文字
+\prebreakpenalty`、=10000
+\prebreakpenalty`。=10000
+\prebreakpenalty`,=10000
+\prebreakpenalty`.=10000
+\prebreakpenalty`・=10000
+\prebreakpenalty`:=10000
+\prebreakpenalty`;=10000
+\prebreakpenalty`?=10000
+\prebreakpenalty`!=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`)=10000
+\postbreakpenalty`(=10000
+\prebreakpenalty`}=10000
+\postbreakpenalty`{=10000
+\prebreakpenalty`]=10000
+\postbreakpenalty`[=10000
+\postbreakpenalty`‘=10000
+\prebreakpenalty`’=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`ー=10000
+\prebreakpenalty`+=200
+\prebreakpenalty`−=200
+\prebreakpenalty`==200
+\postbreakpenalty`#=200
+\postbreakpenalty`$=200
+\postbreakpenalty`%=200
+\postbreakpenalty`&=200
+\prebreakpenalty`ぁ=150
+\prebreakpenalty`ぃ=150
+\prebreakpenalty`ぅ=150
+\prebreakpenalty`ぇ=150
+\prebreakpenalty`ぉ=150
+\prebreakpenalty`っ=150
+\prebreakpenalty`ゃ=150
+\prebreakpenalty`ゅ=150
+\prebreakpenalty`ょ=150
+\prebreakpenalty\jis"246E=150
+\prebreakpenalty`ァ=150
+\prebreakpenalty`ィ=150
+\prebreakpenalty`ゥ=150
+\prebreakpenalty`ェ=150
+\prebreakpenalty`ォ=150
+\prebreakpenalty`ッ=150
+\prebreakpenalty`ャ=150
+\prebreakpenalty`ュ=150
+\prebreakpenalty`ョ=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`、=1
+\inhibitxspcode`。=1
+\inhibitxspcode`,=1
+\inhibitxspcode`.=1
+\inhibitxspcode`;=1
+\inhibitxspcode`?=1
+\inhibitxspcode`)=1
+\inhibitxspcode`(=2
+\inhibitxspcode`]=1
+\inhibitxspcode`[=2
+\inhibitxspcode`}=1
+\inhibitxspcode`{=2
+\inhibitxspcode`‘=2
+\inhibitxspcode`’=1
+\inhibitxspcode`“=2
+\inhibitxspcode`”=1
+\inhibitxspcode`〔=2
+\inhibitxspcode`〕=1
+\inhibitxspcode`〈=2
+\inhibitxspcode`〉=1
+\inhibitxspcode`《=2
+\inhibitxspcode`》=1
+\inhibitxspcode`「=2
+\inhibitxspcode`」=1
+\inhibitxspcode`『=2
+\inhibitxspcode`』=1
+\inhibitxspcode`【=2
+\inhibitxspcode`】=1
+\inhibitxspcode`—=0
+\inhibitxspcode`〜=0
+\inhibitxspcode`…=0
+\inhibitxspcode`¥=0
+\inhibitxspcode`°=1
+\inhibitxspcode`′=1
+\inhibitxspcode`″=1
diff --git a/Master/texmf-dist/tex/ptex/base/ptex.tex b/Master/texmf-dist/tex/ptex/base/ptex.tex
new file mode 100644
index 00000000000..6a3592be1e1
--- /dev/null
+++ b/Master/texmf-dist/tex/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/texmf-dist/tex/ptex/config/ptex.ini b/Master/texmf-dist/tex/ptex/config/ptex.ini
new file mode 100644
index 00000000000..7f064ce9647
--- /dev/null
+++ b/Master/texmf-dist/tex/ptex/config/ptex.ini
@@ -0,0 +1,4 @@
+%% for pTeX (ASCII Nihongo TeX)
+\input ptex.tex
+\dump
+\endinput