Appendix D. Long Examples
This appendix contains the source for several scripts that seemed too long to place in the running text. These scripts are provided as examples only, they may not run on your system without some modification.
These examples are available online, see the Preface for more information about retrieving online examples.
The \program{MakeTeXPK.pl} script builds PK files from MetaFont and PostScript fonts.
The \program{MakeTeXTFM.pl} script builds TFM files from \MF\ and PostScript (\ext{AFM} file) fonts.
The \program{dvidxx.btm} script is written in \program{4DOS}'s extended batch language. It performs automatic font generation for \MF\ and PostScript fonts using \emTeX's drivers (version 1.4s).
The \program{makepk.btm} script is used by \program{dvidxx.btm}, shown in Example~\ref{ex:dvidxx} in this appendix.
The \program{enc-afm.pl} script changes the encoding vector in an \ext{AFM} file.
The \program{TeXtoXfont} script is a \Unix\ shell script (written in \program{bash}) which builds an X11 font from a \MF\ or PostScript font.
The \program{PStoXfont} script is used by \program{TeXtoXfont}, shown in Example~\ref{ex:textoxfont} in this appendix.
The \program{txt2verb.pl} script translates arbitrary text lines into a format suitable for including in \verb|\verbatim| material in \TeX.
Get Making TeX Work now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.