% 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}
