diff options
Diffstat (limited to 'Master/texmf-dist/tex/plain/pdcmac')
19 files changed, 2491 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/pdcmac/ma55doc.tex b/Master/texmf-dist/tex/plain/pdcmac/ma55doc.tex new file mode 100644 index 00000000000..c22a178174f --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/ma55doc.tex @@ -0,0 +1,70 @@ +% ma55doc.tex 1.2 1995/03/30 -- macros for short documents +%%%@TeX-definition-file { +%%% filename = "ma55doc.tex", +%%% version = "1.2", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, style file", +%%% supported = "Maybe", +%%% abstract = "Top-level macro file for documents set in +%%% Malvern 55, 56 and 75 fonts. +%%% This macro file was generated by running plain +%%% TeX on pdcsty.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcsty.dtx only as part of the +%%% package it came in.", +%%% dependencies = "maamac.tex, pdcfmt2.tex, pdcfsel.tex, +%%% pdchyex.tex, pdcimth.tex, pdcmigr.tex, +%%% pdcoput5.tex, pdcdoc.def", +%%%} + +\message{1.2 <pdc 1995/03/30>} + +\input pdcimth +\input pdcmigr +\input pdcfmt2 +\input pdchyex +\input pdcoput5 +\input pdcfsel +\input maamac +\def\footnotetextmark#1{{\rmsy#1}} +\def\footnotenotemark#1{{\rmsy#1}} +\autoloadfonts +\def\STYheadingT{% + \m{rm}{ma75a}\@\m{mi}{cmmi10}\@\m{sy}{cmsy10}% + \f{it}{ma76a}\@\f{tt}{cmtt10}\@\f{mf}{logo10}\@\f{mfi}{logosl10}% +} +\fontset{subheading}\STYheadingT{12}{14pt}{subheading}{subheading} +\fontset{heading}\STYheadingT{18}{20pt}{subheading}{subheading} +\newfam\rmsyfam +\def\STYbodyT{% + \m{rm}{ma55a}\f{rmsy}{ma55b}\m{it}{ma56a}% + \m{bf}{ma75a}\f{bi}{ma76a}% + \m{mi}{cmmi}\m{sy}{cmsy}% + \@\f{mf}{logo10}\@\f{mfi}{logosl10}% + \f{tt}{cmtt}\f{tb}{cmsltt}% +} +\font\bodymi=cmmi10 scaled \magstep2 +\font\bodysy=cmsy10 scaled \magstep2 +\font\notemi=cmmi10 scaled \magstep1 +\font\notesy=cmsy10 scaled \magstep1 +\font\smallmi=cmmi10 scaled \magstephalf +\font\smallsy=cmsy10 scaled \magstephalf +\fontset{tiny}\STYbodyT{7}{9pt}{tiny}{tiny} +\fontset{small}\STYbodyT{9}{11pt}{tiny}{tiny} +\fontset{note}\STYbodyT{10}{12pt}{tiny}{tiny} +\fontset{body}\STYbodyT{12}{14pt}{small}{tiny} +\def\everyloadfont#1#2{\fontdimen3#1=0pt \fontdimen4#1=0pt} +\rightskip=0pt plus 2em \tolerance=1000 +\bodyfonts +{\tt \hyphenchar\font=-1 } +\def\PS{\csc{PostScript}} +\def\La{L\negthinspace\flushtop{\char"C1 }} +\input pdcdoc.def +\inputifexists{ma55doc.cfg} diff --git a/Master/texmf-dist/tex/plain/pdcmac/ma55lft.tex b/Master/texmf-dist/tex/plain/pdcmac/ma55lft.tex new file mode 100644 index 00000000000..0b72a6e99a4 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/ma55lft.tex @@ -0,0 +1,70 @@ +% ma55lft.tex 1.2 1995/03/30 -- macros for short documents +%%%@TeX-definition-file { +%%% filename = "ma55lft.tex", +%%% version = "1.2", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, style file", +%%% supported = "Maybe", +%%% abstract = "Top-level macro file for documents set in +%%% Malvern 55, 56 and 75 fonts. +%%% This macro file was generated by running plain +%%% TeX on pdcsty.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcsty.dtx only as part of the +%%% package it came in.", +%%% dependencies = "maamac.tex, pdcfmt2.tex, pdcfsel.tex, +%%% pdchyex.tex, pdcimth.tex, pdcmigr.tex, +%%% pdcoput5.tex, pdclft.def", +%%%} + +\message{1.2 <pdc 1995/03/30>} + +\input pdcimth +\input pdcmigr +\input pdcfmt2 +\input pdchyex +\input pdcoput5 +\input pdcfsel +\input maamac +\def\footnotetextmark#1{{\rmsy#1}} +\def\footnotenotemark#1{{\rmsy#1}} +\autoloadfonts +\def\STYheadingT{% + \m{rm}{ma75a}\@\m{mi}{cmmi10}\@\m{sy}{cmsy10}% + \f{it}{ma76a}\@\f{tt}{cmtt10}\@\f{mf}{logo10}\@\f{mfi}{logosl10}% +} +\fontset{subheading}\STYheadingT{12}{14pt}{subheading}{subheading} +\fontset{heading}\STYheadingT{18}{20pt}{subheading}{subheading} +\newfam\rmsyfam +\def\STYbodyT{% + \m{rm}{ma55a}\f{rmsy}{ma55b}\m{it}{ma56a}% + \m{bf}{ma75a}\f{bi}{ma76a}% + \m{mi}{cmmi}\m{sy}{cmsy}% + \@\f{mf}{logo10}\@\f{mfi}{logosl10}% + \f{tt}{cmtt}\f{tb}{cmsltt}% +} +\font\bodymi=cmmi10 scaled \magstep2 +\font\bodysy=cmsy10 scaled \magstep2 +\font\notemi=cmmi10 scaled \magstep1 +\font\notesy=cmsy10 scaled \magstep1 +\font\smallmi=cmmi10 scaled \magstephalf +\font\smallsy=cmsy10 scaled \magstephalf +\fontset{tiny}\STYbodyT{7}{9pt}{tiny}{tiny} +\fontset{small}\STYbodyT{9}{11pt}{tiny}{tiny} +\fontset{note}\STYbodyT{10}{12pt}{tiny}{tiny} +\fontset{body}\STYbodyT{12}{14pt}{small}{tiny} +\def\everyloadfont#1#2{\fontdimen3#1=0pt \fontdimen4#1=0pt} +\rightskip=0pt plus 2em \tolerance=1000 +\bodyfonts +{\tt \hyphenchar\font=-1 } +\def\PS{\csc{PostScript}} +\def\La{L\negthinspace\flushtop{\char"C1 }} +\input pdclft.def +\inputifexists{ma55lft.cfg} diff --git a/Master/texmf-dist/tex/plain/pdcmac/maamac.tex b/Master/texmf-dist/tex/plain/pdcmac/maamac.tex new file mode 100644 index 00000000000..c3c2835eb10 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/maamac.tex @@ -0,0 +1,193 @@ +% maamac.tex 1.5 1995/04/06 -- Malvern A Macros + +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/maamac.tex", +%%% version = "1.5", +%%% date = "1995/04/06", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "Macros for using the Malvern-A font coding +%%% scheme in plain TeX documents. +%%% This file was generated by running +%%% plain TeX on maamac.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute maamac.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%% } + +\message{1.5 <pdc 1995/04/06>} + +\dimendef\dimena0 \dimendef\dimenb2 +\toksdef\toksa0 +\countdef\counta255 +\ifx\countb\UNDEFINED \csname newcount\endcsname\countb \fi +\ifx\countc\UNDEFINED \csname newcount\endcsname\countc \fi +\def\code#1{% + \ifcat#1a% + `#1 + \else\ifcat#1+% + `#1 + \else\ifx\char#1 + \else + #1% + \fi\fi\fi +} +\let\then=\iffalse +\def\ifcap#1\then{\expandafter\ifcapnum\code{#1}\then} +\def\ifcapnum#1\then{\ifnum\lccode#1=#1} +\def\iflower#1\then{\expandafter\iflowernum\code{#1}\then} +\def\iflowernum#1\then{\ifnum\uccode#1=#1} +\def\fontslant#1{\expandafter\stripPT\the\fontdimen1#1} +\begingroup \uccode`2=`p \uccode`3=`t \uppercase{\toksa{\endgroup + \def\\#123{#1} +}} \the\toksa +\let\stripPT=\\ +\def\putxy#1#2#3{\leavevmode\rlap{\hskip#1\raise#2\hbox{#3}}} +\def\putmarkxy#1#2#3#4{{% + \setbox0=\hbox{#4}#2\relax + \dimenb#1\wd0 \advance\dimenb\fontslant\font\dimena + \leavevmode + \putxy{\dimenb}{\dimena}{\hbox to 0pt{\hss\char#3\hss}}% + \box0 +}} +\def\putmarky{\putmarkxy{0.5}} +\def\typeImark#1#2{{% + \setbox2=\hbox{#2}% + \ifdim \ht2=1ex + \accent#1\relax#2% + \else + \counta\code{#2}% + \ifnum\counta>64 \ifnum\counta<96 + \advance\counta 128 + \fi \fi + \putmarky{\dimena0.5\ht0 \advance\dimena-0.5ex } + {#1}{\char\counta}% + \fi +}} +\chardef\dotglyph22 \def\.{\typeImark\dotglyph} +\chardef\twodotsglyph23 \def\"{\typeImark\twodotsglyph} +\chardef\macronglyph150 \def\={\typeImark\macronglyph} +\chardef\longmacronglyph151 + \def\longmacronmark{\typeImark\longmacronglyph} +\def\typeIImark#1#2{{% + \counta#1\relax \countb\code{#2}% + \ifcap{#2}\then + \ifnum \counta<128 \advance\counta 128 \fi + \ifnum \countb<128 \advance\countb 128 \fi + \fi + \accent\counta \char\countb +}} +\chardef\acuteglyph8 \def\'{\typeIImark\acuteglyph} +\chardef\graveglyph9 \def\`{\typeIImark\graveglyph} +\chardef\circumglyph10 \def\^{\typeIImark\circumglyph} +\chardef\tildeglyph11 \def\~{\typeIImark\tildeglyph} +\chardef\ringglyph12 \def\ringmark{\typeIImark\ringglyph} +\chardef\caronglyph13 \def\v{\typeIImark\caronglyph} +\chardef\breveglyph14 \def\u{\typeIImark\breveglyph} +\chardef\hungarglyph15 \def\H{\typeIImark\hungarglyph} +\def\cedillalike#1#2#3{{% + \setbox0=\hbox{#3}% + \ifdim\ht0>1ex + \ooalign{\hidewidth\char#2\relax\hidewidth\crcr\unhbox0 }% + \else + \accent#1 #3% + \fi +}} +\chardef\cedillaglyph6 \chardef\Cedillaglyph134 +\def\c{\cedillalike\cedillaglyph\Cedillaglyph} +\chardef\ogonekglyph7 \chardef\Ogonekglyph135 +\def\k{\cedillalike\ogonekglyph\Ogonekglyph} +\chardef\TH"00 \chardef\th"10 \chardef\DH"04 \chardef\dh"14 +\chardef\A "01 \chardef\a "11 \chardef\E "05 \chardef\e "15 +\chardef\NG"02 \chardef\ng"12 \chardef\L "03 \chardef\l "13 +\chardef\AE"5E \chardef\ae"7E \chardef\OE"5F \chardef\oe"7F +\chardef\O "5C \chardef\o "7C +\chardef\vd"9C \chardef\vt"9D \chardef\h "9E \chardef\vl"9F +\chardef\ss"18 \chardef\i "19 \chardef\j "1A +\def\aa{\ringmark a} \def\AA{\ringmark A} +\chardef\orda"98 \chardef\ordo"99 \def\No{N\ordo} \def\no{n\ordo} +\chardef\csuperior"98 \def\Mc{M\csuperior} +\chardef\trademark "22 +\chardef\copyright "FB \chardef\registered"FD +\chardef\careof "9A \chardef\Box "A0 +\chardef\cents "A2 \chardef\pounds "A3 +\chardef\currency "A4 \chardef\permille "A5 +\chardef\yen "A8 \chardef\florin "A9 +\chardef\dag "AA \chardef\ddag "AB +\chardef\gbdecimal "AE \chardef\minus "AF +\chardef\S "BA \chardef\P "BB +\chardef\degrees "C0 +\chardef\lguillemet"BC \chardef\rguillemet"BE +\mathcode`\,"602C \mathcode`\-"20AF +\mathcode`\."002E \mathcode`\/"002F +\mathchardef\bullet "2020 \mathchardef\times "20A6 +\mathchardef\backslash"005B \mathchardef\setminus "205B +\mathchardef\cdot "20AE \mathchardef\cdotp "60AE +\def\langle{\delimiter"40DB30A } \delcode`\<"0DB30A +\def\rangle{\delimiter"50DD30B } \delcode`\>"0DD30B +\def\lbrace{\delimiter"407B308 } \let\{\lbrace \mathcode`\{"407B +\def\rbrace{\delimiter"507D309 } \let\}\rbrace \mathcode`\}"407D +\uccode\th\TH \lccode\TH\th \uccode\TH\TH \lccode\th\th +\uccode\a \A \lccode\A \a \uccode\A \A \lccode\a \a +\uccode\ng\NG \lccode\NG\ng \uccode\NG\NG \lccode\ng\ng +\uccode\l \L \lccode\L \l \uccode\L \L \lccode\l \l +\uccode\dh\DH \lccode\DH\dh \uccode\DH\DH \lccode\dh\dh +\uccode\e \E \lccode\E \e \uccode\E \E \lccode\e \e +\uccode\o \O \lccode\O \o \uccode\O \O \lccode\o \o +\uccode\ae\AE \lccode\AE\ae \uccode\AE\AE \lccode\ae\ae +\uccode\oe\OE \lccode\OE\oe \uccode\OE\OE \lccode\oe\oe +\uccode\i`I \uccode\j`J \lccode\i\i \lccode\j\j +\uccode\csuperior`C +\def\changecodes#1#2#3#4{% + \counta#2\relax \countb#3\relax \countc#4\relax + \loop + \ifnum\countc>0 + #1\counta\countb + \advance\counta 1 + \advance\countb 1 + \advance\countc-1 + \repeat +} +\changecodes\uccode{"E1}{`A}{26} +\changecodes\uccode{"C1}{"C1}{26} +\changecodes\lccode{"E1}{"E1}{26} +\changecodes\lccode{"C1}{`a}{26} +\changecodes\lccode{"B0}{`0}{10} +\changecodes\uccode{`0}{"B0}{10} +\changecodes\mathcode{`a}{"7461}{26} +\changecodes\mathcode{`A}{"7441}{26} +\changecodes\mathcode{`0}{"70B0}{10} +\def\capspecials#1#2{% + \chardef\TH"#10 \chardef\A "#11 \chardef\NG"#12 + \chardef\L "#13 \chardef\DH"#14 \chardef\E "#15 + \chardef\O "#2C \chardef\AE"#2E \chardef\OE"#2F +} +\def\lcspecials#1#2#3{% + \chardef\th"#10 \chardef\a "#11 \chardef\ng"#12 + \chardef\l "#13 \chardef\dh"#14 \chardef\e "#15 + \chardef\o "#2C \chardef\ae"#2E \chardef\oe"#2F + \def\ss{\char"#23 \char"#23 }\chardef\i"#39 \chardef\j"#3A +} +\def\sc#1{{% + \changecodes\lccode{`A}{"E1}{26}\capspecials9F\lowercase{#1}% +}} +\def\mc#1{{% + \changecodes\lccode{`A}{"C1}{26}\capspecials8D\lowercase{#1}% +}} +\def\csc#1{{% + \changecodes\uccode{`a}{"E1}{26}\lcspecials9FE\uppercase{#1}% +}} +\def\allcaps#1{{% + \lcspecials054\uppercase{#1}% +}} +\def\alllc#1{{% + \capspecials17\lowercase{#1}% +}} diff --git a/Master/texmf-dist/tex/plain/pdcmac/magrmac.tex b/Master/texmf-dist/tex/plain/pdcmac/magrmac.tex new file mode 100644 index 00000000000..eebec3bdfac --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/magrmac.tex @@ -0,0 +1,67 @@ +% magrmac.tex 1.3 1995/03/29 -- Malvern Greek Macros +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/magrmac.tex", +%%% version = "1.3", +%%% date = "1995/03/29", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, Malvern, Greek, macros", +%%% supported = "Maybe", +%%% abstract = "Macros for using Malvern Greek fonts. +%%% This file was generated by running +%%% plain TeX on magrmac.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute magrmac.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%%} + +\message{1.3 1995/03/29} + +\newtoks\everygreek +\chardef\other=12 +\def\begingreek{% + \begingroup + \catcode`\~\other \catcode`\|\other \catcode`\"\other + \the\everygreek +} +\let\endgreek=\endgroup +\toksdef\toksa=0 +\begingroup \let\\=\toksa \catcode`\s=13 \catcode`\S=13 \\={\endgroup + \def\tmp{% + \catcode`\s\active \chardef s`c + \catcode`\S\active \chardef S`C + } +}\the\\ +\let\grlunatesigma=\tmp +\chardef\ninetytwo=92 +\begingroup \uccode`\~=`f \uppercase{\toksa={\endgroup + \def\grvarphi{% + \catcode`\f\active \chardef~\ninetytwo + } +}} \the\toksa +\begingroup \catcode`\<=\active \catcode`\>=\active + \catcode`\'=\active \catcode`\`=\active \toksa={\endgroup + \def\monotoniko{% + \catcode\lq\'\active \chardef'3 + \catcode\lq\`\active \chardef`3 + \catcode\lq\~\active \chardef~3 + \catcode\lq\<\active \let<\relax + \catcode\lq\>\active \let>\relax + \catcode\lq\|\active \let|\relax + } +}\the\toksa +\def\plutoniko{% + \catcode`\'\other \catcode`\`\other \catcode`\~\other + \catcode`\<\other \catcode`\>\other \catcode`\|\other +} +\def\grdelimiter#1{ + \begingroup \uccode`~=`#1 \uppercase{\toksa={\endgroup + \def~{\begingreek \let~\endgreek} + }} \the\toksa +} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcadobe.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcadobe.tex new file mode 100644 index 00000000000..909cec7dfd2 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcadobe.tex @@ -0,0 +1,300 @@ +% pdcadobe.tex 1.3 1995/03/30 -- macros for Adobe style fonts + +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/pdcadobe.tex", +%%% version = "1.3", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "Formatting macros for Adobe-style fonts. +%%% This file was generated by running +%%% plain TeX on pdcadobe.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcadobe.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%% } + +\message{1.3 <pdc 1995/03/30>} + +\chardef\quotesingle="0D +\chardef\quotedouble="22 +\chardef\_="5F +\chardef\asciicircum="80 +\chardef\asciitilde="81 +\chardef\cents="A2 +\chardef\pounds="A3 +\chardef\fractionslash="A4 +\chardef\yen="A5 +\chardef\florin="A6 +\chardef\S="A7 +\chardef\currency="A8 +\chardef\lguillemet="AB +\chardef\dag="B2 +\chardef\ddag="B3 +\chardef\gbdecimal="B4 +\chardef\P="B6 +\chardef\bullet="B7 +\chardef\quotesinglebase="B8 +\chardef\quotedblbase="B9 +\chardef\rguillemet="BB +\chardef\ellipsis="BC \def\dots{\ellipsis\thinspace} +\chardef\permille="BD +\chardef\orda="E3 +\chardef\ordo="EB +\mathchardef\backslash="205C +\edef\lbrace{\delimiter"407B308} \let\{=\lbrace \mathcode`\{="407B +\mathcode`\|="707C \mathchardef\mid="307C +\edef\rbrace{\delimiter"507D309} \let\}=\rbrace \mathcode`\}="507D +\mathchardef\sim="3081 +\mathchardef\cdot="20B4 +\mathchardef\bullet="20B7 +\mathchardef\ldots="60BC +\chardef\graveglyph="12 +\chardef\acuteglyph="13 +\chardef\hookglyph="14 +\chardef\breveglyph="15 +\chardef\macronglyph="16 +\chardef\ringglyph="17 +\chardef\cedillaglyph="18 +\chardef\circumglyph="5E +\chardef\tildeglyph="7E +\chardef\twodotsglyph="7F +\chardef\dotglyph="C7 +\chardef\hungarianglyph="CD +\chardef\ogonekglyph="CE +\chardef\AA="C8 \chardef\aa="98 +\chardef\L="E8 \chardef\l="F8 +\def\.#1{\accent\dotglyph #1} +\def\H#1{\accent\hungarianglyph"CD #1} +\ifx\asyfam\UNDEFINED + \newfam\asyfam +\fi +\edef\\{\ifcase\asyfam 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or + 8\or 9\or A\or B\or C\or D\or E\or F\fi +} +\mathchardef\forall="0\\22 +\mathchardef\exists="0\\24 +\mathchardef\suchthat="0\\27 +\mathcode`*="2\\2A +\mathcode`,="6\\2C +\mathcode`-="2\\2D +\mathcode`.="2\\2E +\mathcode`/="2\\2F +\mathcode`<="3\\3C +\mathcode`>="3\\3E +\mathchardef\cong="3\\40 +\mathchardef\Alpha="0\\41 +\mathchardef\Beta="0\\42 +\mathchardef\Chi="0\\43 +\mathchardef\Delta="0\\44 +\mathchardef\Epsilon="0\\45 +\mathchardef\Phi="0\\46 +\mathchardef\Gamma="0\\47 +\mathchardef\Eta="0\\48 +\mathchardef\Iota="0\\49 +\mathchardef\vartheta="0\\4A +\mathchardef\Kappa="0\\4B +\mathchardef\Lambda="0\\4C +\mathchardef\Mu="0\\4D +\mathchardef\Ni="0\\4E +\mathchardef\Omicron="0\\4F +\mathchardef\Pi="0\\50 +\mathchardef\Theta="0\\51 +\mathchardef\Rho="0\\52 +\mathchardef\Sigma="0\\53 +\mathchardef\Tau="0\\54 +\mathchardef\varUpsilon="0\\55 +\mathchardef\varsigma="0\\56 +\mathchardef\Omega="0\\57 +\mathchardef\Xi="0\\58 +\mathchardef\Psi="0\\59 +\mathchardef\Zeta="0\\5A +\mathchardef\therefore="3\\5C +\mathchardef\perp="3\\5E +\mathchardef\alpha="0\\61 +\mathchardef\beta="0\\62 +\mathchardef\chi="0\\63 +\mathchardef\delta="0\\64 +\mathchardef\epsilon="0\\65 +\mathchardef\phi="0\\66 +\mathchardef\gamma="0\\67 +\mathchardef\eta="0\\68 +\mathchardef\iota="0\\69 +\mathchardef\varphi="0\\6A +\mathchardef\kappa="0\\6B +\mathchardef\lambda="0\\6C +\mathchardef\mu="0\\6D +\mathchardef\ni="0\\6E +\mathchardef\omicron="0\\6F +\mathchardef\pi="0\\70 +\mathchardef\theta="0\\71 +\mathchardef\rho="0\\72 +\mathchardef\sigma="0\\73 +\mathchardef\tau="0\\74 +\mathchardef\upsilon="0\\75 +\mathchardef\varpi="0\\76 +\mathchardef\omega="0\\77 +\mathchardef\xi="0\\78 +\mathchardef\psi="0\\79 +\mathchardef\zeta="0\\7A +\mathchardef\sim="3\\7E +\mathchardef\Upsilon="0\\A1 +\mathcode`'="0\\A2 \mathchardef\minutes="0\\A2 +\mathchardef\leq="3\\A3 \let\le=\leq +\mathchardef\fractionslash="0\\A4 +\mathchardef\infinity="0\\A5 +\mathchardef\clubsuit="0\\A7 +\mathchardef\diamondsuit="0\\A8 +\mathchardef\heartsuit="0\\A9 +\mathchardef\spadesuit="0\\AA +\mathchardef\leftrightarrow="3\\AB +\mathchardef\leftarrow="3\\AC \let\gets=\rightarrow +\mathchardef\uparrow="3\\AD +\mathchardef\rightarrow="3\\AE \let\to=\rightarrow +\mathchardef\downarrow="3\\AF +\mathchardef\degrees="0\\B0 +\mathchardef\pm="2\\B1 +\mathchardef\seconds="0\\B2 +\mathchardef\geq="3\\B3 \let\ge=\geq +\mathchardef\times="2\\B4 +\mathchardef\propto="3\\B5 +\mathchardef\partial="0\\B6 +\mathchardef\div="2\\B8 +\mathchardef\neq="3\\B9 \let\ne=\neq +\mathchardef\equiv="3\\BA +\mathchardef\approx="3\\BB +\mathchardef\ldots="6\\BC +\edef\arrowvert{\delimiter"0\\BD33C } +\mathchardef\relbar"3\\BE +\edef\crlf{\noexpand\mathexbox\\BF} +\mathchardef\aleph="0\\C0 +\mathchardef\Im="0\\C1 +\mathchardef\Re="0\\C2 +\mathchardef\wp="0\\C3 +\mathchardef\otimes="2\\C4 +\mathchardef\oplus="2\\C5 +\mathchardef\emptyset="0\\C6 +\mathchardef\cap="2\\C7 +\mathchardef\cup="2\\C8 +\mathchardef\supset="3\\C9 +\mathchardef\supseteq="3\\CA +\mathchardef\nsubset="3\\CB +\mathchardef\subset="3\\CC +\mathchardef\subseteq="3\\CD +\mathchardef\in="3\\CE +\mathchardef\nin="3\\CF +\mathchardef\angle="0\\D0 +\mathchardef\nabla="0\\D1 +\edef\registered{\noexpand\mathhexbox\\D2} +\edef\copyright{\noexpand\mathhexbox\\D3} +\edef\trademark{\noexpand\mathhexbox\\D4} +\mathchardef\prod="1\\D5 +\edef\sqrt{\radical"\\D6370 } +\mathchardef\cdot="2\\D7 +\mathchardef\neg="0\\D8 \let\lnot=\neg +\mathchardef\wedge="3\\D9 \let\land=\wedge +\mathchardef\vee="3\\DA \let\lor=\vee +\mathchardef\Leftrightarrow="3\\DB +\mathchardef\Leftarrow="3\\DC +\mathchardef\Uparrow="3\\DD +\mathchardef\Rightarrow="3\\DE +\mathchardef\Downarrow="3\\DF +\mathchardef\diamond="3\\E0 +\edef\langle{\delimiter"4\\E130A } +\mathchardef\sum="1\\E5 +\edef\rangle{\delimiter"5\\F130B } +\catcode`^^a0\active \let^^a0=~ +\catcode`^^a1\active \def^^a1{!`} +\catcode`^^a4\active \let^^a4=\currency +\catcode`^^a8\active \let^^a8=\twodotsglyph +\catcode`^^a9\active \let^^a9=\copyright +\catcode`^^aa\active \let^^aa=\orda +\catcode`^^ac\active \let^^ac=\lnot +\catcode`^^ad\active \let^^ad=\- +\catcode`^^ae\active \let^^ae=\registered +\catcode`^^af\active \let^^af=\macronglyph +\catcode`^^b0\active \let^^b0=\degrees +\catcode`^^b1\active \let^^b1=\pm +\catcode`^^b2\active \def^^b2{^2} +\catcode`^^b3\active \def^^b3{^3} +\catcode`^^b4\active \let^^b4=\acuteglyph +\catcode`^^b5\active \let^^b5=\mu +\catcode`^^b7\active \let^^b7=\gbdecimal +\catcode`^^b8\active \let^^b8=\cedillaglyph +\catcode`^^b9\active \def^^b9{^1} +\catcode`^^ba\active \let^^ba=\ordo +\catcode`^^bc\active \def^^bc{\frac14} +\catcode`^^bd\active \def^^bd{\frac12} +\catcode`^^be\active \def^^be{\frac34} +\catcode`^^bf\active \def^^bf{?`} +\catcode`^^d7\active \let^^d7=\times +\catcode`^^f7\active \let^^f7=\div +\catcode`^^c0\active \def^^c0{\graveglyph A} +\catcode`^^c1\active \def^^c1{\acuteglyph A} +\catcode`^^c2\active \def^^c2{\circumglyph A} +\catcode`^^c3\active \def^^c3{\tildeglyph A} +\catcode`^^c4\active \def^^c4{\twodotsglyph A} +\catcode`^^c5\active \def^^c5{\ringglyph A} +\catcode`^^c6\active \let^^c6=\AE +\catcode`^^c7\active \def^^c7{\cedillaglyph C} +\catcode`^^c8\active \def^^c8{\graveglyph E} +\catcode`^^c9\active \def^^c9{\acuteglyph E} +\catcode`^^ca\active \def^^ca{\circumglyph E} +\catcode`^^cb\active \def^^cb{\twodotsglyph E} +\catcode`^^cc\active \def^^cc{\graveglyph I} +\catcode`^^cd\active \def^^cd{\acuteglyph I} +\catcode`^^ce\active \def^^ce{\circumglyph I} +\catcode`^^cf\active \def^^cf{\twodotsglyph I} +\catcode`^^d1\active \def^^d1{\tildeglyph N} +\catcode`^^d2\active \def^^d2{\graveglyph O} +\catcode`^^d3\active \def^^d3{\acuteglyph O} +\catcode`^^d4\active \def^^d4{\circumglyph O} +\catcode`^^d5\active \def^^d5{\tildeglyph O} +\catcode`^^d6\active \def^^d6{\twodotsglyph O} +\catcode`^^d8\active \let^^d8=\O +\catcode`^^d9\active \def^^d9{\graveglyph U} +\catcode`^^da\active \def^^da{\acuteglyph U} +\catcode`^^db\active \def^^db{\circumglyph U} +\catcode`^^dc\active \def^^dc{\twodotsglyph U} +\catcode`^^dd\active \def^^dd{\acuteglyph Y} +\catcode`^^df\active \let^^df=\ss +\catcode`^^e0\active \def^^e0{\acuteglyph a} +\catcode`^^e1\active \def^^e1{\graveglyph a} +\catcode`^^e2\active \def^^e2{\circumglyph a} +\catcode`^^e3\active \def^^e3{\tildeglyph a} +\catcode`^^e4\active \def^^e4{\twodotsglyph a} +\catcode`^^e5\active \def^^e5{\ringglyph a} +\catcode`^^e6\active \let^^e6=\ae +\catcode`^^e7\active \def^^e7{\cedillaglyph c} +\catcode`^^e8\active \def^^e8{\graveglyph e} +\catcode`^^e9\active \def^^e9{\acuteglyph e} +\catcode`^^ea\active \def^^ea{\circumglyph e} +\catcode`^^eb\active \def^^eb{\twodotsglyph e} +\catcode`^^ec\active \def^^ec{\graveglyph i} +\catcode`^^ed\active \def^^ed{\acuteglyph i} +\catcode`^^ee\active \def^^ee{\circumglyph i} +\catcode`^^ef\active \def^^ef{\twodotsglyph i} +\catcode`^^f1\active \def^^f1{\tildeglyph n} +\catcode`^^f2\active \def^^f2{\graveglyph o} +\catcode`^^f3\active \def^^f3{\acuteglyph o} +\catcode`^^f4\active \def^^f4{\circumglyph o} +\catcode`^^f5\active \def^^f5{\tildeglyph o} +\catcode`^^f6\active \def^^f6{\twodotsglyph o} +\catcode`^^f8\active \let^^f8=\o +\catcode`^^f9\active \def^^f9{\graveglyph u} +\catcode`^^fa\active \def^^fa{\acuteglyph u} +\catcode`^^fb\active \def^^fb{\circumglyph u} +\catcode`^^fc\active \def^^fc{\twodotsglyph u} +\catcode`^^fd\active \def^^fd{\acuteglyph y} +\catcode`^^ff\active \def^^ff{\twodotsglyph y} +\def\ttminus{--{}} +\let\ttcircum=\asciicircum +\let\tttilde=\asciitilde diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdccmdoc.tex b/Master/texmf-dist/tex/plain/pdcmac/pdccmdoc.tex new file mode 100644 index 00000000000..843a8c96361 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdccmdoc.tex @@ -0,0 +1,64 @@ +% pdccmdoc.tex 1.2 1995/03/30 -- macros for short documents +%%%@TeX-definition-file { +%%% filename = "pdccmdoc.tex", +%%% version = "1.2", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, style file", +%%% supported = "Maybe", +%%% abstract = "Top-level macro file for documents set in +%%% Computer Modern fonts. +%%% This macro file was generated by running plain +%%% TeX on pdcsty.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcsty.dtx only as part of the +%%% package it came in.", +%%% dependencies = "pdcfmt2.tex, pdcfsel.tex, pdchyex.tex, +%%% pdcimth.tex, pdccmsub.tex, pdcmigr.tex, +%%% pdcoput5.tex, pdcdoc.def", +%%%} + +\message{1.2 <pdc 1995/03/30>} + +\input pdcimth +\input pdcmigr +\input pdcfmt2 +\input pdchyex +\input pdcoput5 +\input pdcfsel +\input pdccmsub +\autoloadfonts +\def\STYheadingT{% + \m{rm}{cmss}\m{mi}{cmmi}\m{sy}{cmsy}% + \f{it}{cmssi}\f{tt}{cmtt}\f{mf}{logo}\f{mfi}{logosl}% +} +\font\headingrm=cmss17 \font\headingit=cmssi17 +\fontset{subheading}\STYheadingT{10 scaled 1200}{14pt} + {small}{tiny} +\fontset{heading}\STYheadingT{10 scaled 1728}{20pt} + {subheading}{small} +\def\STYbodyT{\m{rm}{cmr}\m{it}{cmti}% + \m{bf}{cmbx}\@\f{bi}{cmbxti10}% + \m{mi}{cmmi}\m{sy}{cmsy}% + \@\f{mf}{logo10}\@\f{mfi}{logosl10}% + \f{tt}{cmtt}\@\f{ttb}{cmsltt10}% +} +\font\tinytt=cmtt8 at 7pt +\font\bodysy=cmsy10 at 12pt +\fontset{tiny}\STYbodyT{7}{9pt}{tiny}{tiny} +\fontset{small}\STYbodyT{9}{11pt}{tiny}{tiny} +\fontset{note}\STYbodyT{10}{12pt}{tiny}{tiny} +\fontset{body}\STYbodyT{12}{14pt}{small}{tiny} +\def\everyloadfont#1#2{\fontdimen3#1=0pt \fontdimen4#1=0pt} +\rightskip=0pt plus 2em \tolerance=1000 +\bodyfonts +{\tt \hyphenchar\font=-1 } +\def\PS{PostScript} +\input pdcdoc.def +\inputifexists{pdccmdoc.cfg} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdccmlft.tex b/Master/texmf-dist/tex/plain/pdcmac/pdccmlft.tex new file mode 100644 index 00000000000..905b7d04627 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdccmlft.tex @@ -0,0 +1,64 @@ +% pdccmlft.tex 1.2 1995/03/30 -- macros for short documents +%%%@TeX-definition-file { +%%% filename = "pdccmlft.tex", +%%% version = "1.2", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, style file", +%%% supported = "Maybe", +%%% abstract = "Top-level macro file for documents set in +%%% Computer Modern fonts. +%%% This macro file was generated by running plain +%%% TeX on pdcsty.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcsty.dtx only as part of the +%%% package it came in.", +%%% dependencies = "pdcfmt2.tex, pdcfsel.tex, pdchyex.tex, +%%% pdcimth.tex, pdccmsub.tex, pdcmigr.tex, +%%% pdcoput5.tex, pdclft.def", +%%%} + +\message{1.2 <pdc 1995/03/30>} + +\input pdcimth +\input pdcmigr +\input pdcfmt2 +\input pdchyex +\input pdcoput5 +\input pdcfsel +\input pdccmsub +\autoloadfonts +\def\STYheadingT{% + \m{rm}{cmss}\m{mi}{cmmi}\m{sy}{cmsy}% + \f{it}{cmssi}\f{tt}{cmtt}\f{mf}{logo}\f{mfi}{logosl}% +} +\font\headingrm=cmss17 \font\headingit=cmssi17 +\fontset{subheading}\STYheadingT{10 scaled 1200}{14pt} + {small}{tiny} +\fontset{heading}\STYheadingT{10 scaled 1728}{20pt} + {subheading}{small} +\def\STYbodyT{\m{rm}{cmr}\m{it}{cmti}% + \m{bf}{cmbx}\@\f{bi}{cmbxti10}% + \m{mi}{cmmi}\m{sy}{cmsy}% + \@\f{mf}{logo10}\@\f{mfi}{logosl10}% + \f{tt}{cmtt}\@\f{ttb}{cmsltt10}% +} +\font\tinytt=cmtt8 at 7pt +\font\bodysy=cmsy10 at 12pt +\fontset{tiny}\STYbodyT{7}{9pt}{tiny}{tiny} +\fontset{small}\STYbodyT{9}{11pt}{tiny}{tiny} +\fontset{note}\STYbodyT{10}{12pt}{tiny}{tiny} +\fontset{body}\STYbodyT{12}{14pt}{small}{tiny} +\def\everyloadfont#1#2{\fontdimen3#1=0pt \fontdimen4#1=0pt} +\rightskip=0pt plus 2em \tolerance=1000 +\bodyfonts +{\tt \hyphenchar\font=-1 } +\def\PS{PostScript} +\input pdclft.def +\inputifexists{pdccmlft.cfg} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdccmsub.tex b/Master/texmf-dist/tex/plain/pdcmac/pdccmsub.tex new file mode 100644 index 00000000000..a2712d5c445 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdccmsub.tex @@ -0,0 +1,70 @@ +% pdcmisc.dtx 1.4 1995/03/30 -- CM subs for PS glyphs +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/pdcmigr.tex", +%%% version = "1.4", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "Macros for simulating some PostScript characters +%%% using glyphs form the Computer Modern family. +%%% This file was generated by running +%%% plain TeX on pdcmisc.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcmisc.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%% } + +\message{1.4 1995/03/30} + +\dimendef\dimena=0 +\def\pounds{{\it\char36 }} +\def\yen{{% + \ooalign{% + \hfil\raise0.25ex\hbox{$\scriptscriptstyle=$}\hfil\crcr + \hfil Y\hfil + }% +}} +\def\cents{\leavevmode\hbox{\rm\rlap/c}} +\def\currency{{% + \ooalign{% + \hskip-0.1em + \raise0.2ex \hbox{\mathhexbox202}\hskip-0.1em\crcr + \hfil \raise0.2ex \hbox{\mathhexbox20E}\hfil + }% +}} +\def\florin{{\it f\/}} +\def\circledletter#1#2{{% + \ooalign{% + \hfil\kern#1\raise0.00ex \hbox{$\scriptstyle\rm #2$}\hfil\crcr + \mathhexbox20D% + }% +}} +\def\registered{\circledletter{0.02em}R} +\def\copyright{\circledletter{-0.045em}C} +\def\lguillemet{% + \leavevmode + \raise0.5ex \hbox{$\scriptscriptstyle\langle\!\langle$}% +} +\def\rguillemet{% + \leavevmode + \raise0.5ex \hbox{$\scriptscriptstyle\rangle\!\rangle$}% +} +\def\permille{{% + \setbox0 \hbox{/}% + \flushtop{$\scriptstyle0\!$}/% + \lower\dp0 \hbox{$\!\scriptstyle00$}% +}} +\def\gbdecimal{\mathhexbox201} +\def\orda{\flushtop{\the\scriptfont\ifnum\fam>0 \fam\else 0\fi \b a}} +\def\ordo{\flushtop{\the\scriptfont\ifnum\fam>0 \fam\else 0\fi \b o}} +\let\sc=\relax +\let\csc=\relax +\let\mc=\relax diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcdoc.def b/Master/texmf-dist/tex/plain/pdcmac/pdcdoc.def new file mode 100644 index 00000000000..0061070fd79 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcdoc.def @@ -0,0 +1,232 @@ +% pdcdoc.def 1.2 1995/03/30 -- macros for short documents +%%%@TeX-definition-file { +%%% filename = "pdcdoc.def", +%%% version = "1.2", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, style file", +%%% supported = "Maybe", +%%% abstract = "Sectioning macros for style files. +%%% This macro file was generated by running plain +%%% TeX on pdcsty.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcsty.dtx only as part of the +%%% package it came in.", +%%% dependencies = "" +%%%} + +\message{1.2 <pdc 1995/03/30>} + +\topmg=297mm \advance\topmg-11in \advance\topmg7mm +\botmg=\topmg +\advance\topmg\ht\strutbox \advance\topmg\headlineskip +\ifdim \topmg<20mm \topmg=20mm \fi +\ifdim \botmg<27mm \botmg=27mm \fi +\setpaper{210mm}{297mm} +\setnkgrid{4}{3} +\colrule=0pt +\leftmargin=\gridwd \advance\leftmargin\colsep +\everypage={\ifdim\leftmargin>0pt + \setbox\leftbox=\hbox to \gridwd{}\fi} +\everyfootnote={\notefonts} +\everylinenum={\smallfonts} +\everylinenum={\smallfonts} +\everytag={\bf} +\newcount\partno +\def\thepartno{% + \ifcase\partno O\or I\or II\or III\or IV\or V\else + \expandafter\uppercase\expandafter{\romannumeral\partno}% + \fi +} +\newcount\secno \newcount\subsecno \newcount\subsubsecno +\def\thesecno{% + \n{% + \number\secno + \ifnum\subsecno>0 + .\number\subsecno + \ifnum\subsubsecno>0 + .\number\subsubsecno + \fi + \fi + }% +} +\newtoks\majorheadline +\expandafter\majorheadline + \expandafter{\expandafter\uppercase\expandafter{\jobname}} +\def\part#1{% + \global\advance\partno1 + \newpageheading{2\baselineskip}{\headingfonts} + {}{\thepartno.\quad#1} + \TOCwrite\TOCentrypart{\thepartno}{#1} +} +\newcount\sectionpenalty +\def\sectionheading#1{ + \par + \vskip 0pt plus 0.3\vsize + \penalty\sectionpenalty \sectionpenalty-200 + \vskip 1\bigskipamount plus -0.3\vsize + \begingroup \advance\leftskip-\leftmargin + \parskip=0pt \parindent=0pt + \hyphenpenalty=10000 \exhyphenpenalty=500 + \interlinepenalty=100 + \headingfonts \nointerlineskip + \hbox{\hskip-\leftmargin + \vrule height 2pt depth 0pt width \leftmargin + \vrule height 2pt depth 0pt width \hsize} + #1\par + \nobreak\smallskip + \endgroup + \global\noindenttrue +} +\newtoks\sectiontoks +\newif\ifsecno \secnotrue +\def\section#1{ + \ifsecno + \global\advance\secno1 \global\subsecno0 \global\subsubsecno0 + \fi + \toks0={#1} + \mark{{\the\sectiontoks}{\ifsecno\S\thesecno\space\fi\the\toks0 }} + \edef\tmp{\ifsecno\noexpand\S\the\secno\space\fi} + \global\sectiontoks\expandafter{\tmp#1} + \sectionheading{\ifsecno\thesecno\quad\fi #1} + \mark{{\the\sectiontoks}{\the\sectiontoks}} + \TOCwrite\TOCentrysection{\ifsecno\thesecno\fi}{#1} +} +\def\subsec#1{% + \ifsecno \global\advance\subsecno1 \global\subsubsecno0 \fi + \doheading\medskipamount{\subheadingfonts}{} + {\ifsecno\thesecno\quad\fi#1} + \TOCwrite\TOCentrysubsec{\ifsecno\thesecno\fi}{#1} +} +\def\subsubsec#1{% + \ifsecno \global\advance\subsubsecno+1 \fi + \doheading\smallskipamount{\rm}{}{\ifsecno\thesecno\quad\fi#1} + \TOCwrite\TOCentrysubsubsec{\ifsecno\thesecno\fi}{#1} +} +\newif\ifnoheadline +\newif\iftwosided +\footline={% + \ifnoheadline + \global\noheadlinefalse + \hfil\bodyfonts\n\folio\hfil + \else + \hfil + \fi +} +\headline={% + \ifnoheadline + \hfil + \else + \bodyfonts + \iftwosided + \ifodd\pageno + \hfil + \expandafter\firstoftwo\botmark\quad + {\bf\n\folio}% + \else + {\bf\n\folio}\quad + \the\majorheadline + \hfil + \fi + \else + \the\majorheadline + \hfil + \expandafter\secondoftwo\topmark\quad + {\bf\n\folio}% + \fi + \fi +} +\def\firstoftwo#1#2{#1} +\def\secondoftwo#1{} +\newwrite\TOCfile +\openout\TOCfile=\jobname.toc +\def\TOCwrite#1#2#3{% + \begingroup\def\n{\string\n} + \def\tmp{#3}% + \edef\tmp{\string#1{#2}{\expandafter\TOCtrim\meaning\tmp}} + \write\TOCfile\expandafter{\tmp{\folio}}\endgroup +} +\def\TOCtrim#1:->{} +\def\TOCentrypart#1#2#3{ + \smallskip + \dimen0=\hsize \advance\dimen0\leftmargin + \moveleft\leftmargin\hbox to\dimen0{\strut\bf #1. #2\hfil} + \smallskip +} +\def\TOCentrysection#1#2#3{ + \smallskip\noindent\llap{#1\kern1pc}% + {\bf \ignorespaces #2\quad\rm \n{#3}}\par +} +\def\TOCentrysubsec#1#2#3{ + \ifvmode \noindent \else \quad \fi + {#1}~{\ignorespaces #2} +} +\def\TOCentrysubsubsec#1#2#3{} +\def\frontmatter{ + \write\TOCfile{\string\endinput} + \write\TOCfile{\folio} + \closeout\TOCfile + \vfill\supereject + \ifvoid\partialpage\else \null\vfill\eject \fi + \beginthe{frontmatter} + \pageno=-1 \secnofalse \noheadlinetrue + \def\TOCwrite##1##2##3{} +} +\def\endfrontmatter{ + \section{Contents} + \input\jobname.toc + \vfill\supereject + \endthe{frontmatter} +} +\def\titlepage{ + \vfill\eject + \beginthe{titlepage} + \noheadlinetrue + \def\splittitlepage{ + \iftwosided \vfill\eject\null\vfill \else \vfill \fi + } +} +\def\endtitlepage{ + \eject + \endthe{titlepage} +} +\def\abstract{ + \smallskip + \beginthe{abstract} + \setbox\parbox\hbox to \gridwd{\subheadingfonts Abstract\hfil} + \noindenttrue \bodyfonts +} +\def\endabstract{ + \smallskip + \endthe{abstract} +} +\def\pt{\,{\rm pt}} +\def\mm{\,{\rm mm}} +\def\MF{{\ifdim\fontdimen1\font>0pt \mfi \else \mf \fi META}\-% + {\ifdim\fontdimen1\font>0pt \mfi \else \mf \fi FONT}} +\def\MSDOS{\leavevmode\hbox{MS-DOS}} +\def\TeX{T\kern-0.1em\lower0.5ex\hbox{E}X\spacefactor1000 } +\begingroup\catcode`\|=12 \toks0={\endgroup + \def\dfn#1{\ifx\index\UNDEFINED\else\index{#1|INDdfn}\fi{\bi #1}} +} \the\toks0 +\declareactivechar\* \def*#1*{{\it#1\/}} +\def\|{% + \relax\ifmmode + \Vert + \else + \begingroup + \ttb \setupverbatim + \catcode`\|=13 \let|\endgroup + \fi +} +\def\inputifexists#1{% + \openin15=#1 + \ifeof15 \else \input #1 \fi + \closein15 +} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcfmt2.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcfmt2.tex new file mode 100644 index 00000000000..a7d81d4b601 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcfmt2.tex @@ -0,0 +1,398 @@ +% pdcfmt2.tex 2.4 1995/04/06 -- macros for formatting + +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/pdcfmt2.tex", +%%% version = "2.4", +%%% date = "1995/04/06", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "Formatting macros for plain TeX documents. +%%% This file was generated by running +%%% plain TeX on pdcfmt2.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcfmt2.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%% } + +\message{2.4 <pdc 1995/04/06>} + +\toksdef\toksa=0 +\chardef\other=12 +\def\declareactivechar#1{% + \toksa\expandafter{\verbatimplains\do#1}% + \edef\verbatimplains{\the\toksa }% + \catcode`#1\active +} +\def\verbatimplains{\do\\\do\{\do\}\do\_\do\$\do\#\do\&\do\%} +\def\verbatimactives{\do\-\do\`\do\'\do\~\do\^\do\ } +\chardef\other=12 +\newtoks\everyverbatim +\bgroup \catcode`\-=13\catcode`\^=13 \catcode`\'=13 \catcode`\`=13 \toksa={\egroup + \def\setupverbatim{% + \frenchspacing + \spaceskip0pt \xspaceskip0pt % use spacing of font + \def\do##1{\catcode\lq##112 }\verbatimplains + \def\do##1{\catcode\lq##1\active }\verbatimactives + \let`\ttlq \let'\ttrq + \let~\tttilde \let^\ttcircum \let-\ttminus + \the\everyverbatim + } +}\the\toksa +\def\ttlq{\lower0.125ex \hbox{\char18 }} +\def\ttrq{\lower0.125ex \hbox{\char19 }} +\def\tttilde{\lower0.5ex \hbox{\char`\~ }} +\def\ttcircum{\lower0.5ex \hbox{\char`\^ }} +\def\ttminus{-} +\def\defverbatim#1{% + \ifcat\noexpand#1\noexpand~\else \declareactivechar#1 \fi + \begingroup \uccode`\~=`#1 \uppercase{\toksa={\endgroup + \def~{% + \leavevmode + \begingroup \tt \setupverbatim + \catcode`#1\active \let~\endgroup + }% + }}\the\toksa +} +\defverbatim\| +\newtoks\everylisting +\def\listfile#1{ + \medskip + \begingroup + \parindent=0pt \parskip=0pt + \def\par{\null\endgraf}\obeylines + \setupverbatim \maketabstab + \tt \the\everylisting + \input#1 + \endgroup + \medskip\noindent\ignorespaces +} +{\catcode`\^^I=\active + \gdef\maketabstab{\catcode`\^^I\active \def^^I{\hskip 4em}} +} +\newif\ifnoindent +\newbox\parbox +\newdimen\parboxsep \parboxsep=1pc +\everypar={% + \ifvoid\parbox + \ifnoindent {\setbox0=\lastbox}\global\noindentfalse \fi + \else + {\setbox0=\lastbox}\global\noindentfalse + \dp\parbox=0pt + \hbox to 0pt{\hss \box\parbox \hskip\parboxsep}% + \fi +} +\def\beginthe#1{% + \begingroup\def\PDCFMTblockname{#1}% +} +\def\endthe#1{% + \def\tmp{#1}% + \ifx\tmp\PDCFMTblockname + \endgroup + \else + \errmessage{You should have said \string\endthe{\blockname}}% + \fi +} +\def\PDCFMTendenv#1{ + \smallskip + \endthe{#1} + \global\noindenttrue +} +\newdimen\envindent \envindent=1pc +\def\PDCFMTindent{% + \ifdim\parindent>0pt + \parindent + \else + \envindent + \fi +} +\newtoks\everyquotation +\def\quotation{ + \smallskip + \beginthe{quotation} + \advance\leftskip\PDCFMTindent + \noindenttrue + \the\everyquotation +} +\def\endquotation{\PDCFMTendenv{quotation}} +\newtoks\everytextlist +\newif\ifnumbered +\newcount\textlistdepth \textlistdepth=-1 +\newcount\textlistcount +\def\textlist{% + \par + \beginthe{textlist} + \advance\textlistdepth 1 + \textlistcount0 + \def\\{ + \smallskip\noindent + \advance\textlistcount1 + \llap{% + \ifnumbered + \numberfordepth\textlistdepth\textlistcount + \else + \bulletfordepth\textlistdepth + \fi\enspace}% + \ignorespaces + } + \advance\leftskip\PDCFMTindent + \the\everytextlist +} +\def\endtextlist{\PDCFMTendenv{textlist}} +\newtoks\everybullets +\def\bullets{\textlist \numberedfalse \the\everybullets} +\let\endbullets=\endtextlist +\def\bulletfordepth#1{% + \ifcase#1 $\bullet$\or --\or $\circ$\else $\cdot$\fi +} +\newtoks\everynumbered +\def\numbered{\textlist \numberedtrue \the\everynumbered} +\let\endnumbered=\endtextlist +\def\numberfordepth#1#2{% + \ifcase#1 \n{\number#2}.\or (\n{\number#2})\or + ({\it\alphabetletter#2\/})\else (\romannumeral#2)\fi +} +\let\n\relax +\def\alphabetletter#1{% + \ifcase#1 ??? \or a\or b\or c\or d\or e\else + \xxxalphabetletter#1\fi +} +\def\xxxalphabetletter#1{% + \ifcase#1 \or\or\or\or\or\or f\or g\or h\or i\or j\or + k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or + v\or w\or x\or y\or z\else !!!\fi +} +\newdimen\tagmaxwidth +\newtoks\everytagged +\def\tagged{% + \par + \beginthe{tagged} + \let\\\TAG + \ifdim\leftmargin=0pt + \tagmaxwidth\PDCFMTindent + \else + \tagmaxwidth\leftmargin + \fi + \the\everytagged + \ifdim\tagmaxwidth>\leftmargin + \leftskip\tagmaxwidth \advance\leftskip-\leftmargin + \fi +} +\def\endtagged{\PDCFMTendenv{tagged}} +\newtoks\everytag +\def\TAG{% + \smallskip\noindent + \setbox0=\hbox\bgroup % matched by \TAGfinish + \the\everytag\ignorespaces + \futurelet\next\TAGtest +} +\def\TAGtest{% + \ifcat\bgroup\noexpand\next + \let\next\TAGgotbrace + \else + \let\next\TAGnobrace + \fi \next +} +\def\TAGgotbrace{% + \bgroup\aftergroup\TAGfinish + \let\next +} +\def\TAGnobrace#1{% + #1\TAGfinish +} +\def\TAGfinish{% + \unskip\hskip0.5em\egroup % matches \TAG + \ifdim \wd0 < \tagmaxwidth + \wd0=\tagmaxwidth + \llap{\box0}% + \else + \hskip-\tagmaxwidth + \unhbox0 \unskip\quad + \fi + \ignorespaces +} +\newtoks\everylines +\def\lines{ + \par + \beginthe{lines} + \nobreak\smallskip\hrule\nobreak\smallskip + \obeylines + \parindent=0pt \parskip=0pt + \parfillskip=0pt plus 1fil + \the\everylines + \nobreak +} +\def\endlines{ + \nobreak\smallskip + \endthe{lines} + \hrule\smallskip + \global\noindenttrue +} +\newcount\linenumber +\newcount\PDCFMTcount +\def\startlinenumbering{% + \global\linenumber=0 \global\PDCFMTcount=5 + \everypar{\numberthisline}% +} +\def\continuelinenumbering{% + \everypar{\numberthisline}% +} +\newtoks\everylinenum \everylinenum{\the\scriptfont0 } +\def\numberthisline{% + \strut + \global\advance\linenumber1 \global\advance\PDCFMTcount-1 + \ifnum\PDCFMTcount>0 \else + \global\advance\PDCFMTcount 5 + \rlap{\the\everylinenum \kern\hsize\kern1em \the\linenumber}% + \fi +}% +\def\linesskipped#1{% + \strut \hskip20pt $\vdots$ \hskip20pt + {\rm(\it #1 lines omitted\rm)}\par + \advance\linenumber#1\relax +} +\outer\def\display{\obeylines\startdisplay} +\bgroup\obeylines \toksa={\egroup % + \def\startdisplay#1^^M{% + \catcode`\^^M=5 $$ #1 % matched by \enddisplay + \displayindent\PDCFMTindent % + \halign\bgroup##\hfil&&\quad##\hfil\cr % + } % +}\the\toksa % +\def\enddisplay{\crcr\egroup$$} +\def\table{% + $$ % matching $$ is in \endtable + \displayindent\PDCFMTindent + \halign \bgroup +} +\let\endtable=\enddisplay +\newtoks\everybnf +\def\bnf{ + \nobreak\smallskip + \beginthe{bnf} + \advance\leftskip2\parindent \parindent=-\parindent + \parskip0pt plus 1pt + \rightskip=1\rightskip plus 3em + \def\\{$\mid$} + \def\>{\unskip\enspace$::=$\enspace\ignorespaces} + \def|{`\begingroup\tt\setupverbatim\catcode`\|=13 + \def|{\endgroup'}} + \def\{{$\lbrace$} \def\}{$\rbrace$} + \the\everybnf +} +\def\endbnf{ + \smallskip + \endthe{bnf} + \global\noindenttrue +} +\def\<#1>{\leavevmode\hbox{$\langle${\it#1\/}$\rangle$}} +\newdimen\leftmargin +\newskip\headingtemp +\def\doheading#1#2#3#4{ + \ifdim\lastskip<#1\relax \removelastskip \vskip#1\relax \fi + \ifdim \leftmargin>0pt + \global\setbox\parbox=\vtop{% + \hsize=\leftmargin \advance\hsize-\parboxsep + \parindent=0pt + \leftskip=0pt \rightskip=0pt plus 3em + \hyphenpenalty=10000 \exhyphenpenalty=5000 + \strut#2#4#3 + } + \else + \begingroup + \parindent=0pt \parfillskip=0pt plus 1fil + \leftskip=0pt \rightskip=0pt plus0.25\hsize + \hyphenpenalty=10000 \exhyphenpenalty=5000 + \strut#2#4#3 + \global\headingtemp=\baselineskip + \par + \endgroup + \advance\headingtemp-\baselineskip + \ifdim\headingtemp>0pt \nobreak \vskip 1.0\headingtemp \fi + \smallskip + \noindenttrue + \fi +} +\def\newpageheading#1#2#3#4{ + \vfill\supereject % ensure no insertions still floating + \null\vskip#1\relax + \moveleft\leftmargin\vbox{ + \advance\hsize\leftmargin + \parindent=0pt \parfillskip=0pt plus 1fil + \leftskip=0pt \rightskip=0pt plus0.25\hsize + \hyphenpenalty=10000 \exhyphenpenalty=5000 + #2\strut#4#3 + \global\headingtemp=\baselineskip + \par + } + \advance\headingtemp-\baselineskip + \advance\headingtemp\smallskipamount + \vskip \headingtemp + \noindenttrue + \def\tmp{#4} + \message{*\expandafter\TOCtrim\meaning\tmp. } +} +\newcount\notecount +\def\note{% + \global\advance\notecount+1 + \footnote{\number\notecount}% +} +\newdimen\footnoteparindent +\footnoteparindent=\parindent +\newtoks\everyfootnote +\catcode`\@=11 +\def\footnote#1{\let\@sf\empty + \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi + \footnotetextmark{#1}\@sf\vfootnote{#1}} +\def\vfootnote#1{\insert\footins\bgroup % matched by \@foot + \interlinepenalty=\interfootnotelinepenalty + \parindent=\footnoteparindent + \leftskip=0pt + \the\everyfootnote + \splittopskip=\ht\strutbox \splitmaxdepth=\dp\strutbox + \floatingpenalty=20000 + \indent\footstrut + \ifdim\parindent>1em + \llap{\footnotenotemark{#1}\enspace}% + \else + \footnotenotemark{#1}\enspace + \fi + \futurelet\next\fo@t +} +\def\@foot{\smallskip\egroup} +\catcode`\@=12 +\def\footnotetextmark#1{$^{#1}$} +\def\footnotenotemark#1{$^{#1}$} +\def\today{\n{\number\day} \monthname\month\ \n{\number\year}} +\def\monthname#1{% + \ifcase#1\or + January\or February\or March\or April\or + May\or June\or July\or August\or + September\or October\or November\or December% + \fi +} +\def\isodate{\n{\number\year}--\twodigits\month--\twodigits\day} +\def\twodigits#1{% + \ifnum#1<10 0\fi \number#1% +} +\def\flushtop#1{% + \leavevmode + \begingroup + \setbox0\hbox{#1}\setbox2\hbox{X}% + \dimen0\ht2 \advance\dimen0-\ht0 + \raise\dimen0\box0 + \endgroup +} +\def\La{L\negthinspace\flushtop{a}} +\def\LaTeX{\La\TeX} +\def\superiorletter#1{% + \flushtop{\the\scriptfont\fam \vphantom{x}\smash{#1}}% +} +\def\Mc{M\flushtop{\the\scriptfont\fam \b{c}}} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcfsel.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcfsel.tex new file mode 100644 index 00000000000..3b68aada1ab --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcfsel.tex @@ -0,0 +1,110 @@ +% pdcfsel.tex -- macros for loading fonts -*-tex-*- + +%%%@TeX-document-file { +%%% title = "PDC Font Selection Scheme", +%%% filename = "$texmf/tex/plain/pdcmac/pdcfsel.tex", +%%% version = "3.5", +%%% Date = "1995/03/28", +%%% creator = "pdcfsel.dtx", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory," +%%% Parks Road, Oxford OX1 3QD, UK", +%%% abstract = "A file of definitions for managing font +%%% selection in documents based on the plain +%%% TeX macros. +%%% This file was generated by running +%%% plain TeX on pdcfsel.dtx.", +%%% dependencies = "" +%%%} + +\message{3.5 <pdc 1995/03/28>} +\def\expcs#1#2{\expandafter#1\csname#2\endcsname} +\def\noexpcs{\expcs\noexpand} +\newif\ifFSELautoload +\def\autoloadfonts{ + \FSELautoloadtrue + \csname newwrite\endcsname \FSELfile + \immediate\openout\FSELfile=\jobname.fnt +} +\def\loadfont#1#2{% + \ifx#1\relax + \FSELloadfont#1{#2}% + \else\ifx#1\UNDEFINED + \FSELloadfont#1{#2}% + \fi\fi +} +\def\FSELloadfont#1#2{% + \ifFSELautoload + \edef#1{% + \write\FSELfile{#2}% + \def\noexpand\subfont{\global\font\noexpand#1cmr10 }% + \global\font\noexpand#1#2\relax + \noexpand\everyloadfont\noexpand#1{#2}% + \noexpand#1% + }% + \else + \global\font#1#2\relax \everyloadfont#1{#2}% + \fi +} +\def\everyloadfont#1#2{} +\def\xfontset#1#2#3{ + \def\f##1##2{\expcs\loadfont{#1##1}{##2#3}} + \let\m=\f \let\M=\f + \def\@##1##2##3{\expcs\loadfont{#1##2}{##3 at #3pt }} + #2 +} +% Set up a fontset -- define \#1fonts +\def\fontset#1#2#3#4#5#6{% + \xfontset{#1}{#2}{#3}% + \expcs\edef{#1fonts}{% + \ifFSELautoload \noexpcs{#1mathsfonts}\fi + \noexpand\FSELnicknames{#1}{#5}{#6}\noexpand#2% + \noexpand\setbaselineskip{#4}% + \noexpand\rm + }% + \ifFSELautoload + \expcs\def{#1mathsfonts}{\FSELloadmaths{#1}{#5}{#6}#2}% + \fi +} +\def\FSELnicknames#1#2#3{% + \let\@\relax + \def\f##1##2{% + \expcs\edef{##1}{\noexpcs{#1##1}}% + }% + \def\m##1##2{% + \expcs\textfont{##1fam}\csname#1##1\endcsname + \expcs\scriptfont{##1fam}\csname#2##1\endcsname + \expcs\edef{##1}{% + \fam\expcs\noexpand{##1fam}% + \expcs\noexpand{#1##1}% + }% + }% + \def\M##1{% + \expcs\scriptscriptfont{##1fam}\csname#3##1\endcsname + \m{##1}% + }% +} +\def\setbaselineskip#1{% + \baselineskip#1\relax \normalbaselineskip\baselineskip + \jot0.25\baselineskip + \smallskipamount 0.25\baselineskip plus 0.083\baselineskip + minus 0.083\baselineskip + \medskipamount 0.5\baselineskip plus 0.167\baselineskip + minus 0.167\baselineskip + \bigskipamount 1\baselineskip plus 0.333\baselineskip + minus 0.333\baselineskip + \abovedisplayskip\medskipamount + \abovedisplayshortskip\abovedisplayskip + \advance\abovedisplayshortskip-1\abovedisplayskip + \belowdisplayskip\medskipamount + \belowdisplayshortskip\smallskipamount +} +\def\FSELloadmaths#1#2#3{% + \let\@\relax \def\f##1##2{}% + \def\m##1##2{\csname#1##1\endcsname \csname#2##1\endcsname}% + \def\M##1{\csname#3##1\endcsname \m{##1}}% + \global\expcs\let{#1mathsfonts}\relax +} +\chardef\rmfam=0 \chardef\mifam=1 \chardef\syfam=2 diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdchyex.tex b/Master/texmf-dist/tex/plain/pdcmac/pdchyex.tex new file mode 100644 index 00000000000..a83c61b95e6 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdchyex.tex @@ -0,0 +1,56 @@ +% pdchyex.tex 1.4 1995/03/30 -- some British hyphenations +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/pdchyex.tex", +%%% version = "1.4", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "A non-exhaustive set of hyphenation exceptions +%%% designed to make TeX with American hyphenation +%%% tables produce some British hyphenations. +%%% This file was generated by running +%%% plain TeX on pdcmisc.dtx", +%%% copyright = "Copyright (c) 1991, 1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcmisc.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%%} + +\message{1.4 <pdc 1995/03/30>} + +\lefthyphenmin=2 \righthyphenmin=3 \uchyph=0 +\hyphenation{ + le-gend le-gends re-adjust re-appear exact-ing + abs-cess abs-cess-es abs-cessed ana-lyse ana-lyses + ana-lysis ana-lyses appear-ance appear-ances bio-graphy + celeb-rate celeb-rates celeb-rations cor-respond-ence + depend-ent des-pise des-pises dis-pised dimin-ish + dimin-ish-es dimin-ish-ed dis-connect dis-connect-ed + dis-connects forget-ting gener-ally haemor-rhage + illus-trate immedi-ate immedi-ately immport-ance + inexplic-able inter-pret inter-est inter-ested + inter-est-ing minis-ter origin-ally philo-sophy + philo-sophic philo-sophic-ally prim-ary prob-ably + semb-lance + calm-est debt-ors fea-ther fea-thers post-humous lamb-like + poingn-ant tough-ish ach-ing archaeo-logy etymo-logy + philo-logist psycho-logist tauto-logy zoolo-gist + art-iest cig-ar-ette bio-logy bio-chem-is-try boy-friend + brit-ain brit-ish com-ic com-ics cug-ley dogs-body + dor-mouse gai-man graph-ic immedie-ate immedi-ate + immedi-ately issue mckean mis-hap mis-haps news-letter + news-paper night-crawler origin-ally origin-ator phys-ique + phys-iques porn-o-graphy porn-o-graphic rec-om-mend-ation + Ser-geant ser-geant Sien-kie-wicz spon-tan-e-ous + spon-tan-e-ously stop-ped strip-ped teen-ager teen-agers + tem-per-men-tal Thatch-er-ism Thatch-er-ite under-ground + under-grounds var-i-able venge-ance warp-smith warp-smiths + whirl-pool +} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcimth.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcimth.tex new file mode 100644 index 00000000000..fc42eb8365a --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcimth.tex @@ -0,0 +1,39 @@ +% pdcimth.tex 1.4 1995/03/30 - maths letters in text italic +\message{1.4 1995/03/30} + +\begingroup + \count0="7400 \count1=\count0 + \advance\count0 by`A \advance\count1 by`a + \count2=`A \count3=`a \count4=26 + \loop\ifnum\count4>0 + \advance\count4 by-1 + \global\mathcode\count2=\count0 + \global\mathcode\count3=\count1 + \advance\count0 by1 \advance\count1 by1 + \advance\count2 by1 \advance\count3 by1 + \repeat +\endgroup +\endinput +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/pdcimth.tex", +%%% version = "1.4", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "A definition file for TeX, which redefines +%%% mathcodes to use letters from the +%%% text italic font instead of math italic. +%%% This file was generated by running +%%% plain TeX on pdcmisc.dtx", +%%% copyright = "Copyright (c) 1991, 1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcmisc.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%% } diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcl1maa.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcl1maa.tex new file mode 100644 index 00000000000..17f690c48d5 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcl1maa.tex @@ -0,0 +1,117 @@ +% pdcl1maa.tex 1.3 1995/03/30 -- Latin-1 chars in Malvern-A + +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/pdcl1maa.tex", +%%% version = "1.3", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "ISO 8859-1 characters using Malvern-A fonts. +%%% This file was generated by running +%%% plain TeX on pdcl1maa.dtx", +%%% copyright = "Copyright (c) 1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcl1maa.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%% } + +\message{1.3 <pdc 1995/03/30>} + +\catcode`^^a0\active \let^^a0=~ +\catcode`^^a5\active \let^^a5=\yen +\catcode`^^a7\active \let^^a7=\S +\catcode`^^a8\active \let^^a8=\" +\catcode`^^a9\active \let^^a9=\copyright +\catcode`^^aa\active \let^^aa=\orda +\catcode`^^ab\active \def^^ab{<<} +\catcode`^^ac\active \let^^ac=\lnot +\catcode`^^ad\active \let^^ad=\- +\catcode`^^ae\active \let^^ae=\registered +\catcode`^^af\active \let^^af=\= +\catcode`^^b0\active \let^^b0=\degrees +\catcode`^^b1\active \let^^b1=\pm +\catcode`^^b2\active \def^^b2{^2} +\catcode`^^b3\active \def^^b3{^3} +\catcode`^^b4\active \let^^b4=\' +\catcode`^^b5\active \let^^b5=\mu +\catcode`^^b6\active \let^^b6=\P +\catcode`^^b7\active \let^^b7=\gbdecimal +\catcode`^^b8\active \let^^b8=\c +\catcode`^^b9\active \def^^b9{^1} +\catcode`^^ba\active \let^^ba=\ordo +\catcode`^^bb\active \def^^bb{>>} +\catcode`^^bc\active \def^^bc{\frac14} +\catcode`^^bd\active \def^^bd{\frac12} +\catcode`^^be\active \def^^be{\frac34} +\catcode`^^bf\active \def^^bf{?`} +\catcode`^^d7\active \let^^d7=\times +\catcode`^^f7\active \let^^f7=\div +\catcode`^^c0\active \def^^c0{\`A} +\catcode`^^c1\active \def^^c1{\'A} +\catcode`^^c2\active \def^^c2{\^A} +\catcode`^^c3\active \def^^c3{\~A} +\catcode`^^c4\active \def^^c4{\"A} +\catcode`^^c5\active \let^^c5=\AA +\catcode`^^c6\active \let^^c6=\AE +\catcode`^^c7\active \def^^c7{\c C} +\catcode`^^c8\active \def^^c8{\`E} +\catcode`^^c9\active \def^^c9{\'E} +\catcode`^^ca\active \def^^ca{\^E} +\catcode`^^cb\active \def^^cb{\"E} +\catcode`^^cc\active \def^^cc{\`I} +\catcode`^^cd\active \def^^cd{\'I} +\catcode`^^ce\active \def^^ce{\^I} +\catcode`^^cf\active \def^^cf{\"I} +\catcode`^^d0\active \let^^d0=\DH +\catcode`^^d1\active \def^^d1{\~N} +\catcode`^^d2\active \def^^d2{\`O} +\catcode`^^d3\active \def^^d3{\'O} +\catcode`^^d4\active \def^^d4{\^O} +\catcode`^^d5\active \def^^d5{\~O} +\catcode`^^d6\active \def^^d6{\"O} +\catcode`^^d8\active \let^^d8=\O +\catcode`^^d9\active \def^^d9{\`U} +\catcode`^^da\active \def^^da{\'U} +\catcode`^^db\active \def^^db{\^U} +\catcode`^^dc\active \def^^dc{\"U} +\catcode`^^dd\active \def^^dd{\'Y} +\catcode`^^de\active \let^^de=\TH +\catcode`^^df\active \let^^df=\ss +\catcode`^^e0\active \def^^e0{\'a} +\catcode`^^e1\active \def^^e1{\`a} +\catcode`^^e2\active \def^^e2{\^a} +\catcode`^^e3\active \def^^e3{\~a} +\catcode`^^e4\active \def^^e4{\"a} +\catcode`^^e5\active \let^^e5=\aa +\catcode`^^e6\active \let^^e6=\ae +\catcode`^^e7\active \def^^e7{\c c} +\catcode`^^e8\active \def^^e8{\`e} +\catcode`^^e9\active \def^^e9{\'e} +\catcode`^^ea\active \def^^ea{\^e} +\catcode`^^eb\active \def^^eb{\"e} +\catcode`^^ec\active \def^^ec{\`i} +\catcode`^^ed\active \def^^ed{\'i} +\catcode`^^ee\active \def^^ee{\^i} +\catcode`^^ef\active \def^^ef{\"i} +\catcode`^^f0\active \let^^f0=\dh +\catcode`^^f1\active \def^^f1{\~n} +\catcode`^^f2\active \def^^f2{\`o} +\catcode`^^f3\active \def^^f3{\'o} +\catcode`^^f4\active \def^^f4{\^o} +\catcode`^^f5\active \def^^f5{\~o} +\catcode`^^f6\active \def^^f6{\"o} +\catcode`^^f8\active \let^^f8=\o +\catcode`^^f9\active \def^^f9{\`u} +\catcode`^^fa\active \def^^fa{\'u} +\catcode`^^fb\active \def^^fb{\^u} +\catcode`^^fc\active \def^^fc{\"u} +\catcode`^^fd\active \def^^fd{\'y} +\catcode`^^fe\active \let^^fe=\th +\catcode`^^ff\active \def^^ff{\"y} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdclft.def b/Master/texmf-dist/tex/plain/pdcmac/pdclft.def new file mode 100644 index 00000000000..7ccd9172b55 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdclft.def @@ -0,0 +1,106 @@ +% pdclft.def 1.2 1995/03/30 -- macros for short documents +%%%@TeX-definition-file { +%%% filename = "pdclft.def", +%%% version = "1.2", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, style file", +%%% supported = "Maybe", +%%% abstract = "Sectioning macros for style files. +%%% This macro file was generated by running plain +%%% TeX on pdcsty.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcsty.dtx only as part of the +%%% package it came in.", +%%% dependencies = "" +%%%} + +\message{1.2 <pdc 1995/03/30>} + +\topmg=297mm \advance\topmg-11in \advance\topmg7mm +\botmg=\topmg +\advance\topmg\ht\strutbox \advance\topmg\headlineskip +\ifdim \topmg<20mm \topmg=20mm \fi +\ifdim \botmg<27mm \botmg=27mm \fi +\setpaper{210mm}{297mm} +\setnkgrid{4}{3} +\colrule=0pt +\leftmargin=\gridwd \advance\leftmargin\colsep +\everypage={\ifdim\leftmargin>0pt + \setbox\leftbox=\hbox to \gridwd{}\fi} +\everyfootnote={\notefonts} +\everylinenum={\smallfonts} +\everylinenum={\smallfonts} +\everytag={\bf} +\newcount\secno \newcount\subsecno +\def\thesecno{% + \n{% + \number\secno + \ifnum\subsecno>0 + .\number\subsecno + \fi + }% +} +\def\section{ + \global\advance\secno1 \global\subsecno0 + \doheading\medskipamount{\subheadingfonts\thesecno\enspace}{} +} +\def\subsec{ + \global\advance\subsecno1 + \doheading\smallskipamount{\bodyfonts\thesecno\enspace}{} +} +\newtoks\majorheadline +\expandafter\majorheadline + \expandafter{\expandafter\uppercase\expandafter{\jobname}} +\newif\ifnoheadline \newif\iftwosided +\headline{% + \ifnoheadline + \hfil + \else\iftwosided + \ifodd\pageno + \hfil \the\majorheadline \quad{\bf\folio}% + \else + {\bf\folio}\quad \the\majorheadline\hfil + \fi + \else + \hfil \the\majorheadline \quad{\bf\folio}% + \fi\fi +} +\footline{% + \ifnoheadline + \global\noheadlinefalse + \hfil{\bf\folio}\hfil + \else + \hfil + \fi +} +\def\pt{\,{\rm pt}} +\def\mm{\,{\rm mm}} +\def\MF{{\ifdim\fontdimen1\font>0pt \mfi \else \mf \fi META}\-% + {\ifdim\fontdimen1\font>0pt \mfi \else \mf \fi FONT}} +\def\MSDOS{\leavevmode\hbox{MS-DOS}} +\def\TeX{T\kern-0.1em\lower0.5ex\hbox{E}X\spacefactor1000 } +\begingroup\catcode`\|=12 \toks0={\endgroup + \def\dfn#1{\ifx\index\UNDEFINED\else\index{#1|INDdfn}\fi{\bi #1}} +} \the\toks0 +\declareactivechar\* \def*#1*{{\it#1\/}} +\def\|{% + \relax\ifmmode + \Vert + \else + \begingroup + \ttb \setupverbatim + \catcode`\|=13 \let|\endgroup + \fi +} +\def\inputifexists#1{% + \openin15=#1 + \ifeof15 \else \input #1 \fi + \closein15 +} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcmigr.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcmigr.tex new file mode 100644 index 00000000000..a01860a53e3 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcmigr.tex @@ -0,0 +1,37 @@ +% pdcmigr.tex 1.4 1995/03/30-- see end of file for more info +\message{1.4 <pdc 1995/03/30>} +\mathchardef\Gamma = "7100 +\mathchardef\Delta = "7101 +\mathchardef\Theta = "7102 +\mathchardef\Lambda = "7103 +\mathchardef\Xi = "7104 +\mathchardef\Pi = "7105 +\mathchardef\Sigma = "7106 +\mathchardef\Upsilon = "7107 +\mathchardef\Phi = "7108 +\mathchardef\Psi = "7109 +\mathchardef\Omega = "710A +\endinput +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/pdcmigr.tex", +%%% version = "1.4", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "A definition file for TeX, which redefines +%%% \Gamma, ..., \Omega to use letters from the +%%% maths italic font instead of the roman font. +%%% This file was generated by running +%%% plain TeX on pdcmisc.dtx", +%%% copyright = "Copyright (c) 1991, 1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcmisc.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%% } diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcoput5.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcoput5.tex new file mode 100644 index 00000000000..30828ac9358 --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcoput5.tex @@ -0,0 +1,336 @@ +% pdcoput5.dtx 5.3 1995/04/06 -- output routine for zines + +%%%@TeX-definition-file { +%%% filename = "$texmf/tex/plain/pdcmac/pdcoput5.tex", +%%% version = "5.3", +%%% date = "1995/04/06", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, macros", +%%% supported = "Maybe", +%%% abstract = "TeX output routine for magazine-style layout. +%%% This file was generated by running +%%% plain TeX on pdcoput5.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcoput5.dtx only as part of the +%%% package it came in.", +%%% dependencies = "", +%%% } + +\message{5.3 <pdc 1995/04/06>} + +\countdef\counta=255 +\dimendef\dimena=0 \dimendef\dimenb=2 +\toksdef\toksa=0 \toksdef\toksb=2 +\long\def\qappend#1#2{% + \toksa={\\{#2}}\toksb=\expandafter{#1}% + \xdef#1{\the\toksb\the\toksa}% +} +\def\qremove#1#2{% + \expandafter\glopoff#2\glopoff#1#2% +} +\long\def\glopoff\\#1#2\glopoff#3#4{% + \gdef#3{#1}\gdef#4{#2}% +} +\newdimen\paperwd \newdimen\paperht +\newdimen\bodywd \newdimen\bodyht +\newdimen\gridwd \newdimen\gridht +\newdimen\colwd \newdimen\colht +\newdimen\topmg \topmg=20mm +\newdimen\outermg \outermg=20mm +\newdimen\innermg \innermg=20mm +\newdimen\botmg \botmg=27mm +\newskip\headlineskip \headlineskip=10mm +\newskip\footlineskip \footlineskip=10mm +\newdimen\caprule \caprule=0.4pt +\newskip\capsep \capsep=5mm +\newdimen\colrule \colrule=0.4pt +\newdimen\colsep \colsep=5mm +\newcount\ncols \ncols=1 +\newbox\partialpage +\newbox\topbox \newbox\botbox +\newbox\leftbox \newbox\rightbox +\chardef\pagebox=255 +\let\pagelist\empty +\let\collist\empty +\newtoks\everypage +\newtoks\everycaption +\newdimen\toptotal \newdimen\bottotal +\def\xxxmakecolumn#1#2#3#4#5{\xmakecolumn + {\ifdim#1=0pt\else \kern#1 \fi + \def\tmp{#2}\ifx\tmp\empty\else #2 \fi} + {#3} + {\def\tmp{#2}\ifx\tmp\empty\else #2 \fi + \ifdim#1=0pt\else \kern#1 \fi}% +} +\def\xmakecolumn#1#2#3{% + \vbox to \colht{ + \dimena\colht + \setbox0=\vbox{#1}\advance\dimena-\ht0 + \ifdim\ht0>0pt + \advance\dimena-\capsep + \advance\dimena\topskip \advance\dimena-\baselineskip + \fi + \setbox4=\vbox{\prevdepth=0pt #3}% + \advance\dimena-\ht4 + \ifdim\ht4>0pt \advance\dimena-\capsep \fi + \ifvoid\footins\else + \advance\dimena-\ht\footins + \advance\dimena-\skip\footins + \fi + \ifvoid\topins\else + \advance\dimena-\ht\topins + \advance\dimena-\skip\topins + \fi + \splittopskip\topskip \splitmaxdepth\maxdepth + \setbox2=\vsplit#2to\dimena + \dimena=\ht0 \dimenb=\dp0 \unvbox0 + \ifdim\dimena>0pt + \prevdepth=\dimenb + \capseparator + \dimena\baselineskip \advance\dimena-\topskip + \kern\dimena + \nointerlineskip + \fi + \ifvoid\topins\else \unvbox\topins \vskip\skip\topins \fi + \dimena\dp2 + \ifvoid2 \vfil \else \unvbox2 \fi + \ifvoid\footins \else + \vskip\skip\footins \footnoterule + \dimena=\dp\footins \unvbox\footins + \fi + \ifdim\ht4>0pt + \prevdepth=\dimena + \capseparator \kern-\prevdepth \prevdepth0pt + \fi + \unvbox4 + }% +} +\def\capseparator{% + \hbox to \colwd{% + \dimena=0.5ex \advance\dimena-0.5\caprule + \dimenb=\dimena \advance\dimenb\caprule + \vrule height \dimenb depth-\dimena width\colwd + }% +} +\def\topillustration#1#2{% + \setbox0=\vbox{#2}% + \dimena\ht0 \dimenb\dp0 \unvbox0 + \counta\dimena \divide\counta\baselineskip + \advance\dimena-\counta\baselineskip \advance\dimena-\topskip + \kern-\dimena \prevdepth\dimenb + \hsize=\colwd \vskip-\parskip \noindent#1\par +} +\def\botillustration#1#2{% + \setbox0\vbox{\hsize=\colwd \vskip-\parskip \prevdepth=0pt #1} + \setbox2=\vbox{\prevdepth=\dp0 #2}% + \dimena=\ht0 \advance\dimena\dp0 \advance\dimena\ht2 + \unvbox0 + \counta\dimena \divide\counta\baselineskip + \advance\dimena-\counta\baselineskip + \advance\dimena-\baselineskip + \kern-\dimena + \unvbox2 +} +\def\makebody#1{% + \hbox to \bodywd{% + \ifvoid\leftbox\else + \box\leftbox + \colseparator + \fi + \makecolumnfromcollist{#1}% + \counta\ncols + \loop \ifnum\counta>1 + \colseparator + \makecolumnfromcollist{#1}% + \advance\counta -1 + \repeat + \ifvoid\rightbox\else + \colseparator + \box\rightbox + \fi + }% +} +\def\colseparator{% + \hfil \vrule width\colrule depth0pt \hfil +} +\def\makecolumnfromcollist#1{% + \ifx\collist\empty + \xmakecolumn{}{#1}{}% + \else + \qremove\temp\collist + \temp + \fi +} + +\def\makepage{% + \vbox{ + \papersizespecial + \colht\bodyht \advance\colht-\ht\partialpage + \advance\colht-\ht\topbox \advance\colht-\ht\botbox + \advance\colht-\dp\partialpage + \advance\colht-\dp\topbox + \the\everypage + \makeheadline \nointerlineskip + \box\partialpage \nointerlineskip + \box\topbox \nointerlineskip + \ifx\pagelist\empty + \makebody\pagebox + \else + \qremove\temp\pagelist + \temp + \fi + \unvbox\botbox + \makefootline + }% +} +\def\makeheadline{ + \vbox to 0pt { + \skip0=\topskip \advance\skip0-2\ht\strutbox + \advance\skip0-\headlineskip + \vskip\skip0 + \hbox to \bodywd{\the\headline} + \vss + } +} +\def\makefootline{{ + \baselineskip=\footlineskip + \hbox to \bodywd{\the\footline} +}} +\def\papersizespecial{{% + \dimena=0.001\paperwd \multiply\dimena\mag + \dimenb=0.001\paperht \multiply\dimenb\mag + \special{papersize=\the\dimena,\the\dimenb}% + \global\let\papersizespecial=\relax +}} + +\def\pdcoutput{% + \ifodd\pageno \hoffset=\innermg \else \hoffset=\outermg \fi + \advance\hoffset-1 true in + \voffset=\topmg + \advance\voffset-1truein + \shipout\makepage \advancepageno + \ifnum\outputpenalty>-20000 \else \dosupereject \fi + \unvbox\pagebox +} +\output={\pdcoutput} +\def\setpaper#1#2{% + \paperwd=#1\relax + \paperht=#2\relax + \OPUTcalcbodywdht + \OPUTcalctopskip +} +\def\OPUTcalcbodywdht{ + \bodywd=\paperwd \advance\bodywd-\outermg \advance\bodywd-\innermg + \bodyht=\paperht \advance\bodyht-\topmg \advance\bodyht-\botmg + \OPUTcalctopskip +} +\def\setpaperA#1{ + \ifcase#1 + \setpaper{841mm}{1189mm}\or + \setpaper{594mm}{841mm}\or + \setpaper{420mm}{594mm}\or + \setpaper{297mm}{420mm}\or + \setpaper{210mm}{297mm}\or + \setpaper{148mm}{210mm} + \else + \errmessage{Dunno how big DIN A#1 paper is, sorry.} + \fi +} +\def\OPUTcalctopskip{ + \setbox0=\hbox{AXbl()!gyJQ,} + \topskip=\ht0 \maxdepth=\dp0 + \advance\bodyht-\topskip \divide\bodyht\baselineskip + \multiply\bodyht\baselineskip \advance\bodyht\topskip +} +\def\OPUTcalchsizevsize{ + \hsize=\colwd + \vsize=\bodyht + \advance\vsize-\topskip \advance\vsize\baselineskip + \multiply\vsize\ncols + \advance\vsize-\baselineskip \advance\vsize\topskip +} +\def\setnkgrid#1#2{% + \gridwd=\bodywd + \advance\gridwd-#1\colsep \advance\gridwd\colsep \divide\gridwd#1 + \colwd#2\gridwd \advance\colwd#2\colsep \advance\colwd-\colsep + \ncols#1 \divide\ncols#2 + \gridht=\baselineskip + \capsep=\gridht + \OPUTcalchsizevsize +} +\def\setncolumns#1{% + \colwd=\bodywd + \advance\colwd-#1\colsep \advance\colwd\colsep \divide\colwd #1 + \gridwd=\colwd + \ncols=#1 + \OPUTcalchsizevsize +} +\setpaperA4 +\setncolumns1 +\newcount\RGDncols +\def\rigidbalance#1#2#3#4{% + \setbox0=\box#1\relax \RGDncols=#2\relax \toksa={#4}% + \begingroup\splittopskip#3\relax \vbadness=10000 + \valign{##\vfil\cr \RGDdosplits}% + \endgroup +} +\def\RGDdosplits{ + \dimena\ht0 \divide\dimena\RGDncols + \advance\dimena\splittopskip + \setbox1=\vsplit0 to\dimena + \unvbox1 + \global\advance\RGDncols-1 + \cr + \ifnum\RGDncols>0 + \noalign{\the\toksa} + \RGDdosplits + \fi +} +\def\makepartialpage#1#2{ + \maybepagebreak + \begingroup + \output{% + \message{[partial} + \setbox0=\vbox{\unvbox\pagebox}% + \global\setbox\partialpage\vbox{ + \box\partialpage \nointerlineskip + \the\everypage + \box\topbox \nointerlineskip + \hbox to \bodywd{% + \ifvoid\leftbox\else + \box\leftbox \colseparator + \fi + #1% + \ifvoid\rightbox\else + \colseparator \box\rightbox + \fi + }% \nointerlineskip + \box\botbox + #2 + \dimena\baselineskip \advance\dimena-\topskip + \kern\dimena + }% + \message{page]} + } + \eject + \endgroup +} +\def\rigidbalancepartialpage{ + \makepartialpage{\rigidbalance0\ncols\topskip\colseparator} +} +\def\maybepagebreak{% + \vskip0pt plus\baselineskip \penalty-100 + \loop + \dimena\vsize \advance\dimena-\ncols\ht\partialpage + \advance\dimena-\ncols\ht\topbox + \advance\dimena-\ncols\ht\botbox + \ifdim\pagetotal>\dimena + \eject\null + \repeat +} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcpsdoc.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcpsdoc.tex new file mode 100644 index 00000000000..59d64508a5e --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcpsdoc.tex @@ -0,0 +1,81 @@ +% pdcpsdoc.tex 1.2 1995/03/30 -- macros for short documents +%%%@TeX-definition-file { +%%% filename = "pdcpsdoc.tex", +%%% version = "1.2", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, style file", +%%% supported = "Maybe", +%%% This macro file was generated by running plain +%%% TeX on pdcsty.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcsty.dtx only as part of the +%%% package it came in.", +%%% dependencies = "pdcadobe.tex, pdcfmt2.tex, pdcfsel.tex, +%%% pdchyex.tex, pdcimth.tex, pdcmigr.tex, +%%% pdcoput5.tex, pdcdoc.def", +%%%} + +\message{1.2 <pdc 1995/03/30>} + +\input pdcimth +\input pdcmigr +\input pdcfmt2 +\input pdchyex +\input pdcoput5 +\input pdcfsel +\input pdcadobe +\autoloadfonts +\def\KBcanonical#1{% + \expcs\ifx{KB#1}\relax #1\else\csname KB#1\endcsname \fi +} +\ifx\KBadobe\UNDEFINED \def\KBadobe#1{\KBcanonical{#10}} \fi +\def\KBit#1{\KBcanonical{#1i}} +\def\KBbi#1{\KBbf{#1i}} +\def\KBbf#1{\expandafter\KBbfx#1.} +\def\KBbfx#1#2#3#4#5.{\KBcanonical{#1#2#3b#5}} +\def\KBpagbr{pagdr} \def\KBpagbri{pagdro} +\def\KBpbkbr{pbkdr} \def\KBpbkbri{pbkdri} +\def\KBpagri{pagro} \def\KBpagbi{pagbo} +\def\KBphvri{phvro} \def\KBphvbi{phvbo} +\def\KBpcrri{pcrro} \def\KBpcrbi{pcrbo} +\def\KBphvrrni{phvron} \def\KBphvbrni{phvbon} +\def\KBphvrrn0{phvr0n} \def\KBphvbrn0{phvb0n} +\def\KBphvrrni0{phvro0n} \def\KBphvbrni0{phvbo0n} +\ifx\headingfontname\UNDEFINED \def\headingfontname{phvr} \fi +\ifx\headingttfontname\UNDEFINED \def\headingttfontname{pcrb} \fi +\def\STYheadingT{% + \@\f{rm}{\headingfontname}\@\m{mi}{cmmi10}\@\m{sy}{cmsy10}% + \@\f{asy}{psyr}% + \@\f{it}{\KBit\headingfontname}% + \@\f{tt}{\headingttfontname}\@\f{mf}{logo10}\@\f{mfi}{logosl10}% +} +\loadfont\bodysy{cmsy10 at 12pt} +\fontset{subheading}\STYheadingT{12}{14pt}{subheading}{subheading} +\fontset{heading}\STYheadingT{18}{20pt}{subheading}{subheading} +\ifx\bodyfontname\UNDEFINED \def\bodyfontname{ptmr} \fi +\ifx\bodyttfontname\UNDEFINED \def\bodyttfontname{pcrr} \fi +\def\STYbodyT{% + \@\m{rm}{\bodyfontname}\@\m{it}{\KBit\bodyfontname}% + \@\m{bf}{\KBbf\bodyfontname}\@\f{bi}{\KBbi\bodyfontname}% + \@\m{asy}{psyr}\m{mi}{cmmi}\m{sy}{cmsy}% + \@\f{mf}{logo10}\@\f{mfi}{logosl10}% + \@\f{tt}{\bodyttfontname}\@\f{tb}{\KBit\bodyttfontname}% +} +\let\sc=\relax \let\mc=\relax \let\csc=\relax +\fontset{tiny}\STYbodyT{7}{9pt}{tiny}{tiny} +\fontset{small}\STYbodyT{9}{11pt}{tiny}{tiny} +\fontset{note}\STYbodyT{10}{12pt}{tiny}{tiny} +\fontset{body}\STYbodyT{12}{14pt}{small}{tiny} +\def\everyloadfont#1#2{\fontdimen3#1=0pt \fontdimen4#1=0pt} +\rightskip=0pt plus 2em \tolerance=1000 +\bodyfonts +{\tt \hyphenchar\font=-1 } +\input pdcdoc.def +\inputifexists{pdcpsdoc.cfg} diff --git a/Master/texmf-dist/tex/plain/pdcmac/pdcpslft.tex b/Master/texmf-dist/tex/plain/pdcmac/pdcpslft.tex new file mode 100644 index 00000000000..9912b2544fb --- /dev/null +++ b/Master/texmf-dist/tex/plain/pdcmac/pdcpslft.tex @@ -0,0 +1,81 @@ +% pdcpslft.tex 1.2 1995/03/30 -- macros for short documents +%%%@TeX-definition-file { +%%% filename = "pdcpslft.tex", +%%% version = "1.2", +%%% date = "1995/03/30", +%%% package = "pdcmac 1.0", +%%% author = "P. Damian Cugley", +%%% email = "damian.cugley@comlab.ox.ac.uk", +%%% address = "Oxford University Computing Laboratory, +%%% Parks Road, Oxford OX1 3QD, UK", +%%% codetable = "USASCII", +%%% keywords = "TeX, plain TeX, style file", +%%% supported = "Maybe", +%%% This macro file was generated by running plain +%%% TeX on pdcsty.dtx", +%%% copyright = "Copyright (c) 1991-1995 P. Damian Cugley", +%%% copying = "DO NOT DISTRIBUTE THIS FILE. +%%% Distribute pdcsty.dtx only as part of the +%%% package it came in.", +%%% dependencies = "pdcadobe.tex, pdcfmt2.tex, pdcfsel.tex, +%%% pdchyex.tex, pdcimth.tex, pdcmigr.tex, +%%% pdcoput5.tex, pdclft.def", +%%%} + +\message{1.2 <pdc 1995/03/30>} + +\input pdcimth +\input pdcmigr +\input pdcfmt2 +\input pdchyex +\input pdcoput5 +\input pdcfsel +\input pdcadobe +\autoloadfonts +\def\KBcanonical#1{% + \expcs\ifx{KB#1}\relax #1\else\csname KB#1\endcsname \fi +} +\ifx\KBadobe\UNDEFINED \def\KBadobe#1{\KBcanonical{#10}} \fi +\def\KBit#1{\KBcanonical{#1i}} +\def\KBbi#1{\KBbf{#1i}} +\def\KBbf#1{\expandafter\KBbfx#1.} +\def\KBbfx#1#2#3#4#5.{\KBcanonical{#1#2#3b#5}} +\def\KBpagbr{pagdr} \def\KBpagbri{pagdro} +\def\KBpbkbr{pbkdr} \def\KBpbkbri{pbkdri} +\def\KBpagri{pagro} \def\KBpagbi{pagbo} +\def\KBphvri{phvro} \def\KBphvbi{phvbo} +\def\KBpcrri{pcrro} \def\KBpcrbi{pcrbo} +\def\KBphvrrni{phvron} \def\KBphvbrni{phvbon} +\def\KBphvrrn0{phvr0n} \def\KBphvbrn0{phvb0n} +\def\KBphvrrni0{phvro0n} \def\KBphvbrni0{phvbo0n} +\ifx\headingfontname\UNDEFINED \def\headingfontname{phvr} \fi +\ifx\headingttfontname\UNDEFINED \def\headingttfontname{pcrb} \fi +\def\STYheadingT{% + \@\f{rm}{\headingfontname}\@\m{mi}{cmmi10}\@\m{sy}{cmsy10}% + \@\f{asy}{psyr}% + \@\f{it}{\KBit\headingfontname}% + \@\f{tt}{\headingttfontname}\@\f{mf}{logo10}\@\f{mfi}{logosl10}% +} +\loadfont\bodysy{cmsy10 at 12pt} +\fontset{subheading}\STYheadingT{12}{14pt}{subheading}{subheading} +\fontset{heading}\STYheadingT{18}{20pt}{subheading}{subheading} +\ifx\bodyfontname\UNDEFINED \def\bodyfontname{ptmr} \fi +\ifx\bodyttfontname\UNDEFINED \def\bodyttfontname{pcrr} \fi +\def\STYbodyT{% + \@\m{rm}{\bodyfontname}\@\m{it}{\KBit\bodyfontname}% + \@\m{bf}{\KBbf\bodyfontname}\@\f{bi}{\KBbi\bodyfontname}% + \@\m{asy}{psyr}\m{mi}{cmmi}\m{sy}{cmsy}% + \@\f{mf}{logo10}\@\f{mfi}{logosl10}% + \@\f{tt}{\bodyttfontname}\@\f{tb}{\KBit\bodyttfontname}% +} +\let\sc=\relax \let\mc=\relax \let\csc=\relax +\fontset{tiny}\STYbodyT{7}{9pt}{tiny}{tiny} +\fontset{small}\STYbodyT{9}{11pt}{tiny}{tiny} +\fontset{note}\STYbodyT{10}{12pt}{tiny}{tiny} +\fontset{body}\STYbodyT{12}{14pt}{small}{tiny} +\def\everyloadfont#1#2{\fontdimen3#1=0pt \fontdimen4#1=0pt} +\rightskip=0pt plus 2em \tolerance=1000 +\bodyfonts +{\tt \hyphenchar\font=-1 } +\input pdclft.def +\inputifexists{pdcpslft.cfg} |