1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Linux/x86 (vers 1st March 2002), see www.w3.org" />
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1" />
<title>Appendix D. Long Examples</title>
<link rel="stylesheet" href="mtw.css" type="text/css" />
<meta name="generator"
content="DocBook XSL Stylesheets V1.53.0" />
<link rel="home" href="index.html" title="Making TeX Work" />
<link rel="up" href="pt03.html"
title="Part III. A Tools Overview" />
<link rel="previous" href="apc.html"
title="Appendix C. Resources" />
<link rel="next" href="ape.html"
title="Appendix E. GNU Free Documentation License" />
</head>
<body>
<div class="navheader">
<table border="0" cellpadding="0" cellspacing="0"
width="100%" summary="Navigation table">
<tr>
<td align="left"> <a title="Making TeX Work"
href="index.html"><img src="figures/nav-home.png"
alt="Home" border="0" /></a> <a
title="Appendix C. Resources"
href="apc.html"><img src="figures/nav-prev.png"
alt="Prev" border="0" /></a> <a
title="Part III. A Tools Overview"
href="pt03.html"><img src="figures/nav-up.png" alt="Up"
border="0" /></a> <a
title="Appendix E. GNU Free Documentation License"
href="ape.html"><img src="figures/nav-next.png"
alt="Next" border="0" /></a></td>
<td align="right"><i>Making TeX Work</i> Version 1.0.1
<span class="alpha-version">(<a
href="co01.html"><em>Alpha</em></a>)</span></td>
</tr>
</table>
</div>
<div class="appendix">
<div class="titlepage">
<div>
<h2 class="title"><a id="app.examples"
name="app.examples"></a>Appendix D. Long
Examples</h2>
</div>
<div>
<p class="releaseinfo">$Revision: 1.1 $</p>
</div>
<div>
<p class="pubdate">$Date: 2002/08/23 14:31:13 $</p>
</div>
</div>
<p>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.</p>
<p>These examples are available online, see the Preface for
more information about retrieving online examples.</p>
<p>The \program{MakeTeXPK.pl} script builds PK files from
MetaFont and PostScript fonts.</p>
<div class="example">
<a id="ex.maketexpk" name="ex.maketexpk"></a>
<p class="title">
<b>Example D.1. MakeTeXPK.pl</b></p>
<pre class="programlisting">
<a type="simple" show="embed" actuate="onLoad"
href="MakeTeXPK.pl"></a>
</pre>
</div>
<p>The \program{MakeTeXTFM.pl} script builds TFM files from
\MF\ and PostScript (\ext{AFM} file) fonts.</p>
<div class="example">
<a id="ex.maketextfm" name="ex.maketextfm"></a>
<p class="title">
<b>Example D.2. MakeTeXTFM.pl</b></p>
<pre class="programlisting">
<a type="simple" show="embed" actuate="onLoad"
href="MakeTeXTFM.pl"></a>
</pre>
</div>
<p>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).</p>
<div class="example">
<a id="ex.dvidxx" name="ex.dvidxx"></a>
<p class="title">
<b>Example D.3. dvidxx.btm</b></p>
<pre class="programlisting">
<a type="simple" show="embed" actuate="onLoad"
href="dvidxx.btm"></a>
</pre>
</div>
<p>The \program{makepk.btm} script is used by
\program{dvidxx.btm}, shown in Example~\ref{ex:dvidxx} in
this appendix.</p>
<div class="example">
<a id="ex.makepk" name="ex.makepk"></a>
<p class="title">
<b>Example D.4. makepk.btm</b></p>
<pre class="programlisting">
<a type="simple" show="embed" actuate="onLoad"
href="makepk.btm"></a>
</pre>
</div>
<p>The \program{enc-afm.pl} script changes the encoding
vector in an \ext{AFM} file.</p>
<div class="example">
<a id="ex.encafmpl" name="ex.encafmpl"></a>
<p class="title">
<b>Example D.5. enc-afm.pl</b></p>
<pre class="programlisting">
<a type="simple" show="embed" actuate="onLoad"
href="enc-afm.pl"></a>
</pre>
</div>
<p>The \program{TeXtoXfont} script is a \Unix\ shell script
(written in \program{bash}) which builds an X11 font from a
\MF\ or PostScript font.</p>
<div class="example">
<a id="ex.textoxfont" name="ex.textoxfont"></a>
<p class="title">
<b>Example D.6. TeXtoXfont</b></p>
<pre class="programlisting">
<a type="simple" show="embed" actuate="onLoad"
href="TeXtoXfont"></a>
</pre>
</div>
<p>The \program{PStoXfont} script is used by
\program{TeXtoXfont}, shown in Example~\ref{ex:textoxfont} in
this appendix.</p>
<div class="example">
<a id="ex.pstoxfont" name="ex.pstoxfont"></a>
<p class="title">
<b>Example D.7. PStoXfont</b></p>
<pre class="programlisting">
<a type="simple" show="embed" actuate="onLoad"
href="PStoXfont"></a>
</pre>
</div>
<p>The \program{txt2verb.pl} script translates arbitrary text
lines into a format suitable for including in
\verb|\verbatim| material in \TeX.</p>
<div class="example">
<a id="ex.txt2verb" name="ex.txt2verb"></a>
<p class="title">
<b>Example D.8. txt2verb.pl</b></p>
<pre class="programlisting">
<a type="simple" show="embed" actuate="onLoad"
href="txt2verb.pl"></a>
</pre>
</div>
</div>
<div class="navfooter">
<table width="100%" summary="Navigation table">
<tr>
<td width="40%" align="left"><a
title="Appendix C. Resources"
href="apc.html"><img src="figures/nav-prev.png"
alt="Prev" border="0" /></a> </td>
<td width="20%" align="center"><a title="Making TeX Work"
href="index.html"><img src="figures/nav-home.png"
alt="Home" border="0" /></a></td>
<td width="40%" align="right"> <a
title="Appendix E. GNU Free Documentation License"
href="ape.html"><img src="figures/nav-next.png"
alt="Next" border="0" /></a></td>
</tr>
<tr>
<td width="40%" align="left">
Appendix C. Resources </td>
<td width="20%" align="center"><a
title="Part III. A Tools Overview"
href="pt03.html"><img src="figures/nav-up.png" alt="Up"
border="0" /></a></td>
<td width="40%" align="right">
 Appendix E. GNU Free Documentation
License</td>
</tr>
</table>
</div>
</body>
</html>
|