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 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491
|
<?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>Chapter 13. Non-commercial
Environments</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="pt03.html"
title="Part III. A Tools Overview" />
<link rel="next" href="ch14.html"
title="Chapter 14. Commercial Environments" />
</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="Part III. A Tools Overview"
href="pt03.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="Chapter 14. Commercial Environments"
href="ch14.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="chapter">
<div class="titlepage">
<div>
<h2 class="title"><a id="chap.freetex"
name="chap.freetex"></a>Chapter 13. Non-commercial
Environments</h2>
</div>
<div>
<p class="releaseinfo">$Revision: 1.1 $</p>
</div>
<div>
<p class="pubdate">$Date: 2002/08/23 14:31:13 $</p>
</div>
<hr class="component-separator" />
</div>
<p><a id="id2920434" class="indexterm"
name="id2920434"></a>This chapter offers an overview of
several common free and shareware TeX systems. If you notice
any conflicts between the information in this chapter and the
documentation that comes with the software, please consider
the documentation to be more accurate and up-to-date. I've
attempted to provide hints and practical suggestions, but
software installation is largely dependent on your system
configuration and the way you want to use TeX.</p>
<div class="section">
<div class="titlepage">
<div>
<h2 class="title" style="clear: both"><a id="free.web"
name="free.web"></a>Web2C</h2>
</div>
</div>
<p><a id="id2920341" class="indexterm"
name="id2920341"></a><a id="id2920347" class="indexterm"
name="id2920347"></a> The official sources for all of the
standard TeX programs are distributed in a format known as
\web.<sup>[<a id="id2920364" name="id2920364"
href="#ftn.id2920364">122</a>]</sup> \web is an
implementation of a programming style known as
“literate programming.” One central tenet of
literate programming is that source code and documentation
should be written in parallel. Literate programming
enforces this tenet by combining the two in a single file.
\web source files contain a mixture of source code and
documentation.</p>
<p>In \web files, the documentation is written in TeX, and
the source code is written in Pascal. (Other literate
programming environments use different documentation and
programming languages.) To print the documentation, a
special preprocessor called <b>weave</b><a id="id2920395"
class="indexterm" name="id2920395"></a> transforms the \web
source into a TeX document that can be formatted and
printed. Another preprocessor, called <b>tangle</b><a
id="id2924413" class="indexterm" name="id2924413"></a>,
transforms the \web source into a Pascal program that can
be compiled and executed.</p>
<p>In practice, it is far more likely that you have access
to a C compiler than to a Pascal compiler. This is where
<b>Web2C</b> comes in. <b>Web2C</b> is a special-purpose
Pascal-to-C translator that makes it possible to compile
and build the TeX sources in most unix environments (and
probably many other environments as well).</p>
<p>Karl Berry<a id="id2924450" class="indexterm"
name="id2924450"></a> maintains the <b>Web2C</b>
distribution. You can retrieve it from the CTAN archives in
the directory <tt>systems/unix/web2c</tt>.</p>
<p>Preparing to build TeX with the <b>Web2C</b>
distribution is very straightforward. Unpack the archive
files, read the file named <tt>README</tt>, and follow the
instructions in the file named <tt>INSTALL</tt>. Many
people have built TeX using these sources. If you have
difficulty, readers of the <tt>Info-TeX</tt> mailing list<a
id="id2924515" class="indexterm" name="id2924515"></a> or
the <tt>comp.text.tex</tt> newsgroup<a id="id2924539"
class="indexterm" name="id2924539"></a> will almost
certainly be able to help.</p>
<p>In my experience, there are only two parts of the
installation that are likely to cause any difficulty:
compiling <tt>tangleboot.c</tt> and building the X Windows
support in MetaFont.</p>
<p>Because <b>tangle</b> is written in \web, there is an
obvious bootstrapping problem (how do you <b>tangle</b>
<tt>tangle.web</tt> in order to compile <b>tangle</b>?).
The <b>Web2C</b> distribution includes a small C program
called <tt>tangleboot.c</tt><a id="id2924617"
class="indexterm" name="id2924617"></a>, which overcomes
this hurdle. It's possible that getting
<tt>tangleboot.c</tt> to compile on your machine may
require some tinkering. I had this problem on one machine
with one release of <b>Web2C</b>. Subsequent releases of
<b>Web2C</b> seem to have corrected this problem (in my
case, at least).</p>
<p>Compiling X Window support for MetaFont has regularly
been a thornier problem. If you are not comfortable
programming in C, I cannot suggest a simple way to correct
these difficulties in the general case. (However, asking
for help in the appropriate newsgroups is very likely to
produce a solution for any particular problem.)</p>
<p>The most common errors that I've encountered in building
the X Windows support for MetaFont are conflicting
prototypes and type definitions. My solution to these
problems, inelegant though it may be, has generally been to
“correct” or remove the offending declarations
from the MetaFont sources. (Note: the X Window support is
written directly in C, not \web, so it is considerably
easier to edit.) In my experience, this has always been
successful, but your mileage may vary.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h2 class="title" style="clear: both"><a
id="sec.emtex.testinstall"
name="sec.emtex.testinstall"></a>emTeX</h2>
</div>
</div>
<p><a id="id2924692" class="indexterm"
name="id2924692"></a><a id="id2924702" class="indexterm"
name="id2924702"></a> The emTeX distribution is a very
complete, free distribution of TeX for MS-DOS and OS/2
systems. emTeX will run on any 80x86 processor, although
some of the larger, faster executables require at least a
386. There is no single right way to install TeX, so what
follows is only one possible installation. This
installation uses the default directories and assumes a
single-user environment. Installing emTeX in a network
environment is mentioned briefly in “<span
class="emphasis"><em><a href="ch13.html#sec.netemtex"
title="Installing emTeX on a Network">the section called
“Installing emTeX on a
Network”</a></em></span>,” later in this
chapter. Incorporating the more recent, beta test versions
of emTeX is described in the section called \linebreak</p>
<p>“<a href="ch13.html#sec.betaemtex"
title="Environment variables">the section called
“Environment variables”</a>.” emTeX is
available on CTAN in the directory
<tt>systems/msdos/emtex</tt>.</p>
<p>On the whole, the installation instructions for emTeX
are provided in the distribution. Begin by reading the
English or German versions of the documentation provided.
Additionally, you should read the DVI driver documentation
at least once. (It's quite long, and you may not remember
all of it after a single reading, but at least you'll have
a feel for what can be done.)</p>
<p>Table <a href="ch13.html#tab.emtexfilesum"
title="Table 13.1. Summary of the \protect\emTeX Distribution">
Table 13.1</a> summarizes the files in the
distribution. The standard emTeX distribution occupies six
high-density floppy disks. A complete installation requires
more than 12 megabytes of storage without fonts. You must
also get a set of fonts (available in font library format
for emTeX) or set up automatic font generation.</p>
<div class="table">
<a id="tab.emtexfilesum" name="tab.emtexfilesum"></a>
<p class="title"><b>Table 13.1. Summary of the
\protect\emTeX Distribution</b></p>
<table
summary="Summary of the \protect\emTeX Distribution"
border="1">
<colgroup>
<col align="left" />
<col align="left" />
<col align="right" />
<col align="right" />
</colgroup>
<thead>
<tr>
<th align="left"> </th>
<th align="left"> </th>
<th align="right"> </th>
<th align="right">\multicolumn{1}{l}{\bf
Expanded}</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><span>\bf File</span></td>
<td align="left">\bf Abbreviated Contents</td>
<td align="right">\multicolumn{1}{l}{\bf Size}</td>
<td align="right">\multicolumn{1}{|l}{\bf
Size}</td>
</tr>
<tr>
<td align="left">\it *.eng</td>
<td align="left">English documentation</td>
<td align="right">125Kb</td>
<td align="right">125Kb</td>
</tr>
<tr>
<td align="left">\it{}*.ger</td>
<td align="left">German documentation</td>
<td align="right">140Kb</td>
<td align="right">140Kb</td>
</tr>
<tr>
<td align="left">\it{}*.exe</td>
<td align="left">Delete, remove, pkunzip</td>
<td align="right">227Kb</td>
<td align="right">227Kb</td>
</tr>
<tr>
<td align="left">\it tex1.zip</td>
<td align="left">TeX executables, <tt>TFM</tt>s,
inputs</td>
<td align="right">368Kb</td>
<td align="right">645Kb</td>
</tr>
<tr>
<td align="left">\it tex2.zip</td>
<td align="left">Plain formats, more
<tt>TFM</tt>s</td>
<td align="right">262Kb</td>
<td align="right">403Kb</td>
</tr>
<tr>
<td align="left">\it blatex.zip</td>
<td align="left">Big TeX LaTeX format</td>
<td align="right">227Kb</td>
<td align="right">494Kb</td>
</tr>
<tr>
<td align="left">\it latex1.zip</td>
<td align="left">Documentation and formats</td>
<td align="right">243Kb</td>
<td align="right">393Kb</td>
</tr>
<tr>
<td align="left">\it latex2.zip</td>
<td align="left">LaTeX styles and
<tt>TFM</tt>s</td>
<td align="right">233Kb</td>
<td align="right">705Kb</td>
</tr>
<tr>
<td align="left">\it latexdoc.zip</td>
<td align="left">LaTeX style documentation</td>
<td align="right">110Kb</td>
<td align="right">315Kb</td>
</tr>
<tr>
<td align="left">\it makeindx.zip</td>
<td align="left"><b>MakeIndex</b></td>
<td align="right">52Kb</td>
<td align="right">152Kb</td>
</tr>
<tr>
<td align="left">\it pictex.zip</td>
<td align="left">PiCTeX macros</td>
<td align="right">43Kb</td>
<td align="right">144Kb</td>
</tr>
<tr>
<td align="left">\it texware.zip</td>
<td align="left"><b>texchk</b>, <b>texconv</b>,
<b>maketcp</b>,</td>
<td align="right">265Kb</td>
<td align="right">433Kb</td>
</tr>
<tr>
<td align="left"> </td>
<td align="left">TeXware</td>
<td class="auto-generated"> </td>
<td class="auto-generated"> </td>
</tr>
<tr>
<td align="left">\it dvidrv1.zip</td>
<td align="left">Driver configuration, batch,</td>
<td align="right">119Kb</td>
<td align="right">370Kb</td>
</tr>
<tr>
<td align="left">\it</td>
<td align="left">and setup files</td>
<td class="auto-generated"> </td>
<td class="auto-generated"> </td>
</tr>
<tr>
<td align="left">\it dvidrv2.zip</td>
<td align="left">Driver executables</td>
<td align="right">345Kb</td>
<td align="right">551Kb</td>
</tr>
<tr>
<td align="left">\it dvidrv3.zip</td>
<td align="left">Preview executables</td>
<td align="right">293Kb</td>
<td align="right">506Kb</td>
</tr>
<tr>
<td align="left">\it texcad.zip</td>
<td align="left">TeXCad</td>
<td align="right">118Kb</td>
<td align="right">236Kb</td>
</tr>
<tr>
<td align="left">\it bmf1.zip</td>
<td align="left">Big MetaFont</td>
<td align="right">261Kb</td>
<td align="right">472Kb</td>
</tr>
<tr>
<td align="left">\it mf1.zip</td>
<td align="left">MetaFont executables</td>
<td align="right">245Kb</td>
<td align="right">398Kb</td>
</tr>
<tr>
<td align="left">\it mf2.zip</td>
<td align="left">MetaFont sources,</td>
<td align="right">337Kb</td>
<td align="right">613Kb</td>
</tr>
<tr>
<td align="left">\it</td>
<td align="left">OS/2 executable</td>
<td class="auto-generated"> </td>
<td class="auto-generated"> </td>
</tr>
<tr>
<td align="left">\it mf3.zip</td>
<td align="left">MetaFont sources</td>
<td align="right">273Kb</td>
<td align="right">768Kb</td>
</tr>
<tr>
<td align="left">\it mfware1.zip</td>
<td align="left"><tt>GF</tt> tools, <tt>PK</tt>
tools</td>
<td align="right">320Kb</td>
<td align="right">504Kb</td>
</tr>
<tr>
<td align="left">\it bibtex.zip</td>
<td align="left">BibTeX</td>
<td align="right">117Kb</td>
<td align="right">319Kb</td>
</tr>
<tr>
<td align="left">\it bmf2.zip</td>
<td align="left">OS/2 executable,</td>
<td align="right">266Kb</td>
<td align="right">564Kb</td>
</tr>
<tr>
<td align="left"> </td>
<td align="left">Big MetaFont bases</td>
<td class="auto-generated"> </td>
<td class="auto-generated"> </td>
</tr>
<tr>
<td align="left">\it btex1.zip</td>
<td align="left">Big TeX executables</td>
<td align="right">259Kb</td>
<td align="right">447Kb</td>
</tr>
<tr>
<td align="left">\it btex2.zip</td>
<td align="left">Big TeX Plain format</td>
<td align="right">269Kb</td>
<td align="right">533Kb</td>
</tr>
<tr>
<td align="left">\it emsy.zip</td>
<td align="left">Special fonts from emTeX</td>
<td align="right">8Kb</td>
<td align="right">11Kb</td>
</tr>
<tr>
<td align="left">\it mfware2.zip</td>
<td align="left"><b>MFjob</b>, some more
inputs</td>
<td align="right">138Kb</td>
<td align="right">230Kb</td>
</tr>
<tr>
<td align="left">\it misc_mf.zip</td>
<td align="left">Miscellaneous inputs</td>
<td align="right">36Kb</td>
<td align="right">130Kb</td>
</tr>
<tr>
<td align="left">\it pkedit.zip</td>
<td align="left"><b>PKEdit</b></td>
<td align="right">51Kb</td>
<td align="right">97Kb</td>
</tr>
<tr>
<td align="left">\it dvidrvma.zip</td>
<td align="left">DVI driver manual</td>
<td align="right">178Kb</td>
<td align="right">494Kb</td>
</tr>
<tr>
<td align="left">\it web.zip</td>
<td align="left">\web tools</td>
<td align="right">128Kb</td>
<td align="right">252Kb</td>
</tr>
<tr>
<td align="left">\it g*.zip</td>
<td align="left">German versions of TeX</td>
<td align="right">800Kb</td>
<td align="right">1614Kb</td>
</tr>
</tbody>
</table>
</div>
<p>For simplicity, the discussion that follows assumes that
you have enough disk space to install the entire 12Mb
distribution. If you can't get that much space (even
temporarily), you can perform the steps discussed in the
section “<a href="ch13.html#sec.emtex.smaller"
title="Installing Fonts">the section called
“Installing Fonts”</a>” as you
install.</p>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="id2925718"
name="id2925718"></a>Where to Start</h3>
</div>
</div>
<p>Begin by reading the English (<tt>*.eng</tt>) or
German (<tt>*.ger</tt>) documentation files on the first
disk. Where there is disagreement between this book and
those files, believe the files---especially if a new
version of emTeX has been released.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="id2925747"
name="id2925747"></a>Unpacking the Archives</h3>
</div>
</div>
<p>The emTeX<a id="id2925756" class="indexterm"
name="id2925756"></a> distribution is a collection of
<tt>ZIP</tt> files spread over six disks. You must
install these files into your hard drive. If you have
more than one hard disk, you may install emTeX on any
drive you choose. Select one with more than 12Mb of free
space, at first. You can copy the files onto another
drive after you've deleted things that you don't
need.</p>
<p>All of the emTeX files are installed in a subdirectory
tree rooted at <tt>emtex</tt>. If you absolutely must use
a different subdirectory tree, unpack each archive file
into a temporary directory and then copy the files into
the subtree you want to use. You will have to do much
more extensive customization of the batch files and
configuration files before emTeX will work. That sort of
customization isn't described here in detail.</p>
<p>Make the root directory of the hard disk that you wish
to install onto the current directory, and then use the
<b>pkunzip</b><a id="id2925817" class="indexterm"
name="id2925817"></a> program distributed on the first
disk, or any later version of <b>pkunzip</b>, to unpack
each of the archive files. You can also use the
<b>Info-Zip</b><a id="id2925862" class="indexterm"
name="id2925862"></a> version of <b>unzip</b> (version
5.0 or later) to unpack the archives. If you do not want
the German versions of the TeX macro files, do not bother
to unpack the <tt>lkurz.zip</tt> or <tt>g*.zip</tt> files
on disk six.</p>
<p>After you have unpacked the files, you will have a
directory tree rooted at <tt>\bs EMTEX</tt> containing
about 12Mb of files and the following additional
directories: <tt>bibinput</tt>, <tt>bmfbases</tt>,
<tt>btexfmts</tt>, <tt>doc</tt>, <tt>mfbases</tt>,
<tt>mfinput</tt>, <tt>MFjob</tt>, <tt>remove</tt>,
<tt>texfmts</tt>, <tt>texinput</tt>, and
<tt>tfm</tt>.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="id2925984"
name="id2925984"></a>Setting Up the Environment</h3>
</div>
</div>
<a id="id2925990" class="indexterm" name="id2925990"></a>
<p>A lot of information about where and how things are
installed for emTeX is stored in the \glo{environment}.
If you are unfamiliar with the DOS or OS/2 environment,
consult your operating system reference for more details.
In brief, the environment<a id="id2926007"
class="indexterm" name="id2926007"></a> is a collection
of named strings. For example, your <tt>PATH</tt> is in
the environment.</p>
<p>The emTeX distribution includes a batch file called
<tt>set-tex</tt><a id="id2926042" class="indexterm"
name="id2926042"></a>, which sets all of the environment
variables that emTeX uses. Edit this file and change all
references to C: to the drive where you installed emTeX.
If you installed emTeX on drive C:, you needn't change
anything. The section “<a
href="ch13.html#sec.emtex.basiccust"
title="Deleting extra documentation">the section called
“Deleting extra documentation”</a>”
later in this chapter describes the variables used by
emTeX in greater detail.</p>
<p>If you are using MS-DOS and haven't already made the
environment larger than its default size, you may need to
do so in order to use emTeX. Insert the following
command, or something like it, in your
<tt>CONFIG.SYS</tt> file:</p>
<pre class="screen">
SHELL=C:\COMMAND.COM /P /E:1024
</pre>
<p>This is very system-dependent. You will have to use
different settings if you keep <tt>COMMAND.COM</tt> in a
subdirectory or if you use a different command
processor.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="id2926107"
name="id2926107"></a>Testing the Installation</h3>
</div>
</div>
<p><a id="id2926114" class="indexterm"
name="id2926114"></a>After you have set up the
environment, make the <tt>emtex</tt> directory the
current directory and test TeX by typing:</p>
<div class="informalexample">
<pre class="screen">
C:\ttbackslash{}EMTEX>{\bf tex}
This is emTeX, Version 3.0 [3a] (no format preloaded)
**{\bf \ttbackslash{}relax}
*{\bf This is a test}
*{\bf \ttbackslash{}bye}
[1]
Output written on texput.dvi (1 page, 224 bytes).
Transcript written on texput.log.
</pre>
</div>
<p>This will produce a small <tt>DVI</tt> file called
<tt>texput.dvi</tt><a id="id2926173" class="indexterm"
name="id2926173"></a>. Keep this file; you can use it in
a few minutes to test the previewer.</p>
<p>To test LaTeX, enter the command:</p>
<pre class="screen">
\$ <span class="bold"><b>tex &lplain testpage</b></span>
</pre>
<p>See the section “<a
href="ch03.html#sec.runtex.cmdcautions"
title="Command-line Options">the section called
“Command-line Options”</a>” in
Chapter <a href="ch03.html"
title="Chapter 3. Running TeX">Chapter 3</a>,
<span class="emphasis"><em><a href="ch03.html"
title="Chapter 3. Running TeX">Chapter 3</a></em></span>,
for an explanation of some potential problems with using
the ampersand (&) character on the command line.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="sec.emtex.smaller"
name="sec.emtex.smaller"></a>Installing Fonts</h3>
</div>
</div>
<p><a id="id2926254" class="indexterm"
name="id2926254"></a><a id="id2926267" class="indexterm"
name="id2926267"></a>There are several sets of fonts
available for emTeX. You should select the set that is
appropriate for your printer. They are summarized in
Table <a href="ch13.html#tab.emtex.fontlibs"
title="Table 13.2. Fonts Libraries Available for \protect\emTeX on CTAN">
Table 13.2</a>. The CTAN directory
<tt>systems/msdos/emtex</tt> contains the libraries or
disks of libraries.</p>
<div class="table">
<a id="tab.emtex.fontlibs"
name="tab.emtex.fontlibs"></a>
<p class="title"><b>Table 13.2. Fonts
Libraries Available for \protect\emTeX on CTAN</b></p>
<table
summary="Fonts Libraries Available for \protect\emTeX on CTAN"
border="1">
<colgroup>
<col align="left" />
<col align="left" />
<col align="left" />
</colgroup>
<thead>
<tr>
<th align="left">\bf CTAN Directory</th>
<th align="left">\bf Resolution</th>
<th align="left">\bf Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">\it fx_\,fonts</td>
<td align="left">240x216</td>
<td align="left">Epson FX series printers, Tandy
DMP-130 printer</td>
</tr>
<tr>
<td align="left">\it fx_med_\,fonts</td>
<td align="left">240x144</td>
<td align="left">Epson FX series (for Windows
drivers)</td>
</tr>
<tr>
<td align="left">\it ito_\,fonts</td>
<td align="left">160x144</td>
<td align="left">C. ITOH 8510A printers</td>
</tr>
<tr>
<td align="left">\it lj_\,fonts</td>
<td align="left">300x300</td>
<td align="left">300dpi Laser printers</td>
</tr>
<tr>
<td align="left">\it p6h_\,fonts</td>
<td align="left">360x360</td>
<td align="left">Epson LQ series, NEC P6 \</td>
<td>P7, IBM Proprinter, and Panasonic KX-P1124
printers</td>
</tr>
<tr>
<td align="left">\it p6m_\,fonts</td>
<td align="left">360x180</td>
<td align="left">Epson LQ series, NEC P6 \</td>
<td>P7, IBM Proprinter, and Panasonic KX-P1124
printers</td>
</tr>
<tr>
<td align="left">\it p6l_\,fonts</td>
<td align="left">180x180</td>
<td align="left">Epson LQ series, NEC P6 \</td>
<td>P7, IBM Proprinter and Panasonic KX-P1124
printers</td>
</tr>
<tr>
<td align="left">\it psfonts</td>
<td align="left">300x300</td>
<td align="left">Standard 35 PostScript
fonts</td>
<td class="auto-generated"> </td>
</tr>
</tbody>
</table>
</div>
<p>Not every font set is appropriate for every model of
the series mentioned. If your printer isn't mentioned,
use the <b>dvidot</b><a id="id2926534" class="indexterm"
name="id2926534"></a> program included with emTeX to
generate an appropriate configuration file. Select the
font set with the same resolution as your printer.</p>
<p>The PostScript fonts included in the
<tt>psfonts</tt><a id="id2926555" class="indexterm"
name="id2926555"></a> libraries are suited primarily for
previewing. The quality of many of the fonts is
substandard. (They were generated from unhinted outlines
with <b>Ghostscript</b><a id="id2926572"
class="indexterm" name="id2926572"></a>.) A font
substitution file is provided for 300dpi, 180dpi, and
360dpi printers.</p>
<p>Once you have retrieved the font libraries that you
need, unpack them (if they are in <tt>ZIP</tt> archives)
and place the <tt>FLI</tt> files in the <tt>\bs
TEXFONTS</tt> directory of the drive where you installed
emTeX. The amount of disk space required depends on the
font set that you install. It can be more than 5.5
megabytes. The section called “<a
href="ch13.html#sec.emtex.autofont"
title="Running emTeX 386 in Windows">the section called
“Running emTeX 386 in Windows”</a>,”
later in this chapter, provides an overview of automatic
font generation under emTeX. This can save a considerable
amount of disk space.</p>
<div class="section">
<div class="titlepage">
<div>
<h4 class="title"><a id="id2926632"
name="id2926632"></a>Testing font installation</h4>
</div>
</div>
<p>After you have installed a font set, you should be
able to preview and print TeX documents. If you
followed the instructions in “<a
href="ch13.html#sec.emtex.testinstall"
title="emTeX">the section called
“emTeX”</a>,” earlier in this
chapter, you have two <tt>DVI</tt> files in your
<tt>\bs EMTEX</tt> directory.</p>
<p>First, figure out which configuration file is
appropriate for your installation. The table near the
top of <tt>dvidrv.doc</tt> in the emTeX documentation
directory should help you determine which one is
appropriate.</p>
<p>The default configuration file for previewing is the
LaserJet configuration. If you installed the LaserJet
fonts (<tt>lj\ttunder*.fli</tt>), you do not have to
change the previewer. Otherwise, edit the preview batch
file (<tt>v.bat</tt> for MS-DOS systems and
<tt>v.cmd</tt> for OS/2 systems) and change the
configuration file. The preview batch file looks like
this:</p>
<pre class="screen">
@echo off
dviscr @lj.cnf /ocr=1 /fl=-1
</pre>
<p>The configuration file name is <tt>lj.cnf</tt>. If,
for example, you are using the Epson FX series printer
fonts, you would change this to <tt>fx.cnf</tt>:</p>
<pre class="screen">
@echo off
dviscr @fx.cnf /ocr=1 /fl=-1
</pre>
<p>Now type <span class="bold"><b>v texput</b></span>
to preview the test file. Under OS/2, you should do
this from a full-screen session, not a windowed
session. You can type <span class="bold"><b>v
testpage</b></span> to preview the LaTeX test page, if
you created it.</p>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="id2926788"
name="id2926788"></a>Making emTeX Smaller</h3>
</div>
</div>
<p><a id="id2926796" class="indexterm"
name="id2926796"></a>The complete distribution of emTeX
is much larger than the practical requirements. This
section discusses the pros and cons of deleting (or at
least archiving) parts of the emTeX distribution.</p>
<div class="section">
<div class="titlepage">
<div>
<h4 class="title"><a id="sec.emtex.basiccust"
name="sec.emtex.basiccust"></a>Deleting extra
documentation</h4>
</div>
</div>
<p>The <tt>\bs emtex\bs doc</tt> directory contains two
complete sets of documentation, one in English and the
other in German. Delete the set that you do not need.
This will save about 500Kb.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h4 class="title"><a id="id2926842"
name="id2926842"></a>Deleting extra
executables</h4>
</div>
</div>
<p>There are six versions of the TeX and MetaFont
executables in the emTeX distribution. You can probably
delete at least four from each. Follow these
guidelines:</p>
<div class="itemizedlist">
<ul type="disc">
<li>
<p>If you have a 80286 or larger processor,
delete the non-286 versions: <tt>btex.exe</tt>,
<tt>tex.exe</tt>, <tt>bmf.exe</tt>, and
<tt>mf.exe</tt>.</p>
</li>
<li>
<p>If you do not have OS/2, delete the OS/2
versions: <tt>btexp.exe</tt>, <tt>texp.exe</tt>,
<tt>bmfp.exe</tt>, and <tt>mfp.exe</tt>.
Conversely, if you have OS/2 and you are
satisfied that you will never want to run TeX or
MetaFont under DOS or Windows, delete the
non-OS/2 versions: <tt>btex286.exe</tt>,
<tt>tex286.exe</tt>, <tt>bmf286.exe</tt>,
<tt>mf286.exe</tt>, and the non-286 versions
listed above. If you need both, you'll have to
keep both around, of course.</p>
</li>
<li>
<p>Finally, if disk space is at a premium and/or
you have a fast computer, you may choose to
delete the small versions of TeX and MetaFont.
The small versions are faster than the big
versions, but large or complex documents and
fonts may require the big versions, so don't
delete them. If you want to delete the small
versions, delete <tt>tex.exe</tt>,
<tt>tex286.exe</tt>, <tt>mf.exe</tt>,
<tt>mf286.exe</tt>, <tt>texp.exe</tt>, and
<tt>mfp.exe</tt>. In this case you must keep at
least one of <tt>btex.exe</tt>,
<tt>btex286.exe</tt>, and <tt>btexp.exe</tt>
depending on your environment. Similarly, you
must keep at least one of the big \MF{}s. If
you've decided to delete the small versions, you
can also delete two directories:
<tt>emtex{\bs}mfbases</tt> and
<tt>emtex{\bs}texfmts</tt>. These contain the
format files and base files for the small
versions of TeX and MetaFont.</p>
</li>
</ul>
</div>
<p>Suppose that you have a 80386 computer running
MS-DOS (not OS/2) and you are willing to sacrifice the
speed of the small versions of TeX and MetaFont. You
would keep the <tt>btex286.exe</tt> and
<tt>bmf286.exe</tt> executables and delete the rest
plus the formats and bases that you don't need, saving
2704Kb. You can save an equivalent amount of space by
deleting the big 80286 versions and keeping the big
non-286 versions, or by deleting all of the non-OS/2
versions, depending on your environment.</p>
<p>Table <a href="ch13.html#tab.emtexotherex"
title="Table 13.3. Other \protect\emTeX Executables">
Table 13.3</a> summarizes the other executables in
the emTeX distribution. This will help you decide which
programs you need to keep. Programs that you don't feel
you need should probably be stored in archive files,
possibly on diskettes, in case you change your
mind.</p>
<div class="table">
<a id="tab.emtexotherex" name="tab.emtexotherex"></a>
<p class="title"><b>Table 13.3. Other
\protect\emTeX Executables</b></p>
<table summary="Other \protect\emTeX Executables"
border="1">
<colgroup>
<col align="left" />
<col align="right" />
<col align="left" />
</colgroup>
<thead>
<tr>
<th align="left">\bf Program</th>
<th align="right">\multicolumn{1}{|l|}{\bf
Size}</th>
<th align="left">\bf Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">\it ask.exe</td>
<td align="right">6Kb</td>
<td align="left">Prompts user in batch file,
only used by gh.bat</td>
</tr>
<tr>
<td align="left">\it bibtex.exe</td>
<td align="right">94Kb</td>
<td align="left">BibTeX</td>
</tr>
<tr>
<td align="left">\it chtopx.exe</td>
<td align="right">39Kb</td>
<td align="left">Obsolete: converts
<tt>CHR</tt> files to <tt>PXL</tt> format</td>
</tr>
<tr>
<td align="left">\it pxtoch.exe</td>
<td align="right">40Kb</td>
<td align="left">Obsolete: converts
<tt>PXL</tt> files to <tt>CHR</tt> format</td>
</tr>
<tr>
<td align="left">\it pxtopk.exe</td>
<td align="right">49Kb</td>
<td align="left">Obsolete: converts
<tt>PXL</tt> files to <tt>PK</tt> format</td>
</tr>
<tr>
<td align="left">\it dvidot.exe</td>
<td align="right">129Kb</td>
<td align="left">Dot matrix printer driver</td>
</tr>
<tr>
<td align="left">\it dvihplj.exe</td>
<td align="right">134Kb</td>
<td align="left">HP LaserJet printer
driver</td>
</tr>
<tr>
<td align="left">\it makedot.exe</td>
<td align="right">54Kb</td>
<td align="left">Updates dot matrix printer
parameters</td>
</tr>
<tr>
<td align="left">\it dvimsp.exe</td>
<td align="right">128Kb</td>
<td align="left">Converts <tt>DVI</tt> files
into graphic images</td>
</tr>
<tr>
<td align="left">\it fontlib.exe</td>
<td align="right">67Kb</td>
<td align="left">Font library management</td>
</tr>
<tr>
<td align="left">\it maketcp.exe</td>
<td align="right">28Kb</td>
<td align="left">Change the TeX code page</td>
</tr>
<tr>
<td align="left">\it MFjob.exe</td>
<td align="right">51Kb</td>
<td align="left">MetaFont driver</td>
</tr>
<tr>
<td align="left">\it pcltomsp.exe</td>
<td align="right">56Kb</td>
<td align="left">Converts HP LaserJet graphics
into <tt>MSP</tt> or <tt>PCX</tt> format</td>
</tr>
<tr>
<td align="left">\it pkedit.exe</td>
<td align="right">94Kb</td>
<td align="left">Edits <tt>PK</tt> files</td>
</tr>
<tr>
<td align="left">\it pktopx.exe</td>
<td align="right">55Kb</td>
<td align="left">Converts <tt>PK</tt> files to
<tt>PXL</tt> format</td>
</tr>
<tr>
<td align="left">\it texcad.exe</td>
<td align="right">79Kb</td>
<td align="left">Interactive LaTeX drawing
tool</td>
</tr>
<tr>
<td align="left">\it texchk.exe</td>
<td align="right">49Kb</td>
<td align="left">Syntax checker for LaTeX</td>
</tr>
<tr>
<td align="left">\it texconv.exe</td>
<td align="right">27Kb</td>
<td align="left">Converts input files (see
“code pages”)</td>
</tr>
<tr>
<td align="left">\it dviscr.exe</td>
<td align="right">215Kb</td>
<td align="left">Previewer</td>
</tr>
<tr>
<td align="left">\it dviscrs.exe</td>
<td align="right">164Kb</td>
<td align="left">Previewer for small-memory
configurations</td>
</tr>
<tr>
<td align="left">\it dvivik.exe</td>
<td align="right">142Kb</td>
<td align="left">Previewer for Viking I
displays</td>
</tr>
<tr>
<td align="left">\it dvitype.exe</td>
<td align="right">72Kb</td>
<td align="left">Texware: shows <tt>DVI</tt>
file</td>
</tr>
<tr>
<td align="left">\it pltotf.exe</td>
<td align="right">74Kb</td>
<td align="left">Texware: converts <tt>PL</tt>
files to <tt>TFM</tt> format</td>
</tr>
<tr>
<td align="left">\it tftopl.exe</td>
<td align="right">48Kb</td>
<td align="left">Texware: converts <tt>TFM</tt>
files to <tt>PL</tt> format</td>
</tr>
<tr>
<td align="left">\it gftodvi.exe</td>
<td align="right">69Kb</td>
<td align="left">Mfware: makes proof sheets for
a font</td>
</tr>
<tr>
<td align="left">\it gftopk.exe</td>
<td align="right">53Kb</td>
<td align="left">Mfware: converts <tt>GF</tt>
files to <tt>PK</tt> format</td>
</tr>
<tr>
<td align="left">\it gftopxl.exe</td>
<td align="right">59Kb</td>
<td align="left">Mfware: converts <tt>GF</tt>
files to <tt>PXL</tt> format</td>
</tr>
<tr>
<td align="left">\it gftype.exe</td>
<td align="right">61Kb</td>
<td align="left">Mfware: shows <tt>GF</tt>
file</td>
</tr>
<tr>
<td align="left">\it mft.exe</td>
<td align="right">55Kb</td>
<td align="left">Mfware: pretty-prints
<tt>MF</tt> files</td>
</tr>
<tr>
<td align="left">\it pktogf.exe</td>
<td align="right">47Kb</td>
<td align="left">Mfware: converts <tt>PK</tt>
files to <tt>GF</tt> format</td>
</tr>
<tr>
<td align="left">\it pktype.exe</td>
<td align="right">45Kb</td>
<td align="left">Mfware: shows <tt>PK</tt>
file</td>
</tr>
<tr>
<td align="left">\it makeindx.exe</td>
<td align="right">102Kb</td>
<td align="left">Builds indices for
documents</td>
</tr>
<tr>
<td align="left">\it pooltype.exe</td>
<td align="right">31Kb</td>
<td align="left">Web: shows contents of pool
files</td>
</tr>
<tr>
<td align="left">\it tangle.exe</td>
<td align="right">52Kb</td>
<td align="left">Web: creates compilable
file</td>
</tr>
<tr>
<td align="left">\it weave.exe</td>
<td align="right">72Kb</td>
<td align="left">Web: creates documentation
file</td>
</tr>
<tr>
<td align="left">\it vftovp.exe</td>
<td align="right">69Kb</td>
<td align="left">Virtual fonts: converts
<tt>VF</tt> files to <tt>VPL</tt> format</td>
</tr>
<tr>
<td align="left">\it vptovf.exe</td>
<td align="right">73Kb</td>
<td align="left">Virtual fonts: converts
<tt>VPL</tt> files to <tt>VF</tt> format</td>
</tr>
</tbody>
</table>
</div>
<p>Deciding which programs to remove from the emTeX
directory depends, to a large extent, on how you use
TeX. If you haven't been using TeX for very long, try
to keep as many things as you can until you get a
better feel for what you'll be using. Save copies of
all the programs you delete on floppy disks so that
they are easy to get back. Here are some
suggestions:</p>
<div class="itemizedlist">
<ul type="disc">
<li>
<p>Delete the previewer and printer drivers that
you don't need.</p>
</li>
<li>
<p>Delete obsolete programs unless you know you
need them.</p>
</li>
<li>
<p>Delete \web programs if you'll never be
compiling TeX yourself or reading TeX program
source code.</p>
</li>
<li>
<p>Delete <b>Mfware</b> programs if you won't be
doing a lot of work with fonts. Note: keep
<b>gftopk.exe</b> if you want to use automatic
font generation.</p>
</li>
<li>
<p>Delete <b>Texware</b> and <b>Virtual</b> font
programs if you won't be working with virtual
fonts. (You can probably delete
<b>dvitype.exe</b>, in any case).</p>
</li>
<li>
<p>Delete <b>bibtex.exe</b> if you won't be
working with bibliographic databases.</p>
</li>
<li>
<p>Delete <b>makeindx.exe</b> if you won't be
working with indexes.</p>
</li>
<li>
<p>Delete <b>ask.exe</b> if you won't be using
<b>gh.bat</b>.</p>
</li>
</ul>
</div>
<p>Next, figure out what batch files you'll be using
and delete (or archive) all the others. If you aren't
using OS/2, this includes all of the <tt>*.cmd</tt>
files.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h4 class="title"><a id="id2928261"
name="id2928261"></a>Deleting extra printer
drivers</h4>
</div>
</div>
<p>Read about the <b>dvidot</b><a id="id2928276"
class="indexterm" name="id2928276"></a> program for
printing to a dot matrix printer, if you have one. When
you figure out which of the <tt>DOT</tt> parameter
files you need, delete (or archive) the rest. Follow
these guidelines:</p>
<div class="itemizedlist">
<ul type="disc">
<li>
<p>If you don't have a Viking I display, delete
<b>dvivik.exe</b>.</p>
</li>
<li>
<p>If you don't have a laser printer, delete
<b>dvihplj.exe</b>.</p>
</li>
<li>
<p>Delete <b>dviscrs.exe</b> if you have enough
memory to use <b>dviscr</b> instead. If you are
always going to use a Windows or OS/2 previewer,
you can delete <b>dviscr.exe</b> as well.</p>
</li>
</ul>
</div>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="id2928367"
name="id2928367"></a>Basic Customization</h3>
</div>
</div>
<p><a id="id2928375" class="indexterm"
name="id2928375"></a>There are two ways to customize
emTeX. One way is to customize the environment variables
that emTeX uses; the other is to customize the
configuration files that emTeX uses for previewing and
printing (configuration files have no effect on TeX
itself).</p>
<div class="section">
<div class="titlepage">
<div>
<h4 class="title"><a id="sec.betaemtex"
name="sec.betaemtex"></a>Environment variables</h4>
</div>
</div>
<p>There are thirteen environment variables<a
id="id2928409" class="indexterm"
name="id2928409"></a><a id="id2928422"
class="indexterm" name="id2928422"></a> that emTeX
uses. For simplicity in the following discussion,
assume that emTeX is installed on drive C:. If it is
not, change <span
class="emphasis"><em>every</em></span> reference to C:
to the drive actually in use.</p>
<div class="variablelist">
<dl>
<dt><span class="term"><tt>EMTEXDRV</tt><a
id="id2928458" class="indexterm"
name="id2928458"></a> (Not set by
default)</span></dt>
<dd>
<p>Special note: this variable will become
obsolete with the next release of emTeX.</p>
<p>This variable tells emTeX what drive to use
when searching for default paths. Although I
don't recommend it, if you use entirely standard
paths for your files, you can rely on the
compiled-in defaults in the emTeX
executables.<sup>[<a id="id2928486"
name="id2928486"
href="#ftn.id2928486">123</a>]</sup> The
<tt>EMTEXDRV</tt> environment variable should be
set to the single letter of the drive on which
these paths reside. For example, if you installed
emTeX on drive C: (in completely standard
directories), you could set
<tt><tt>EMTEXDRV</tt>=C</tt>.</p>
</dd>
<dt><span class="term"><tt>EMTEXDIR</tt><a
id="id2928532" class="indexterm"
name="id2928532"></a> (Not set by
default)</span></dt>
<dd>
<p>Special note: this is a new variable; it will
become available with the next release of emTeX.
<tt>EMTEXDIR</tt> replaces <tt>EMTEXDRV</tt>.</p>
<p>This variable tells emTeX what path to use
when searching for default paths. The
<tt>EMTEXDIR</tt> environment variable should be
set to the root path where emTeX is installed
(for example, <tt>C:\EMTEX</tt>).</p>
</dd>
<dt><span class="term"><tt>TEXINPUT</tt><a
id="id2928598" class="indexterm"
name="id2928598"></a></span></dt>
<dd>
<p>Defines the directories that emTeX uses when
searching for TeX input files. You would
typically leave
<tt>C:{\bs}EMTEX{\bs}TEXINPUT</tt> in this path
and extend it with directories of your own in
place of <tt>C:{\bs}MYTEX</tt>.</p>
</dd>
<dt><span class="term"><tt>TEXFMT</tt><a
id="id2928651" class="indexterm"
name="id2928651"></a></span></dt>
<dd>
<p>Specifies where small versions of TeX look for
format files. Typically you would leave this set
as it is and add new format files to that
directory. You do not have to set this variable
if you are not using the small versions of
TeX.</p>
</dd>
<dt><span class="term"><tt>BTEXFMT</tt><a
id="id2928691" class="indexterm"
name="id2928691"></a></span></dt>
<dd>
<p>Specifies where large versions of TeX look for
format files. You will typically leave this set
as it is and add new format files to the
directory specified. If you do not use large
versions of TeX, you need not set this
variable.</p>
</dd>
<dt><span class="term"><tt>TEXTFM</tt><a
id="id2928731" class="indexterm"
name="id2928731"></a></span></dt>
<dd>
<p>TeX uses the directories stored in this
variable when searching for <tt>TFM</tt> files
for fonts used in your documents. If you install
new fonts, you should put the <tt>TFM</tt> files
for these fonts in their own directory and add
the name of that directory to the <tt>TEXTFM</tt>
path.</p>
</dd>
<dt><span class="term"><tt>MFINPUT</tt><a
id="id2928794" class="indexterm"
name="id2928794"></a></span></dt>
<dd>
<p>The MetaFont program looks for input files in
this path. It is analogous to the
<tt>TEXINPUT</tt> variable. If you add new
MetaFont fonts to your system, for example, the
\AmS fonts, place them in a different directory
and add that directory to this path. If you do
not use MetaFont, you do not need this
variable.</p>
</dd>
<dt><span class="term"><tt>MFBAS</tt><a
id="id2928840" class="indexterm"
name="id2928840"></a></span></dt>
<dd>
<p>Analogous to <tt>TEXFMT</tt>. Specifies where
small versions of MetaFont look for base files.
If you do not use MetaFont, you do not need this
variable.</p>
</dd>
<dt><span class="term"><tt>BMFBAS</tt><a
id="id2928882" class="indexterm"
name="id2928882"></a></span></dt>
<dd>
<p>Analogous to <tt>BTEXFMT</tt>. Specifies where
large versions of MetaFont look for base files.
If you do not use MetaFont, you do not need this
variable.</p>
</dd>
<dt><span class="term"><tt>MFJOB</tt><a
id="id2928924" class="indexterm"
name="id2928924"></a></span></dt>
<dd>
<p>Specifies where <b>MFjob</b> looks for input
files. If you are not using MetaFont or
<b>MFjob</b> for font generation, you do not need
this variable.</p>
</dd>
<dt><span class="term"><tt>BIBINPUT</tt><a
id="id2928976" class="indexterm"
name="id2928976"></a></span></dt>
<dd>
<p>Specifies where <b>bibtex</b> searches for
bibliography database files (<tt>BIB</tt> files).
Clearly, if you're not using BibTeX, you don't
need <tt>BIBINPUT</tt>.</p>
</dd>
<dt><span class="term"><tt>DVIDRVINPUT</tt><a
id="id2929034" class="indexterm"
name="id2929034"></a></span></dt>
<dd>
<p>This tells the emTeX DVI drivers where to
search for <tt>DVI</tt> files. In practice, I
simply set this to “<tt>.</tt>” so
that only the current directory is used. If you
find it convenient to search for <tt>DVI</tt>
files, by all means set it to an appropriate
path. The default path includes
<tt>C:{\bs}EMTEX{\bs}DOC</tt> so that it is easy
to preview or print the local guide.</p>
</dd>
<dt><span class="term"><tt>DVIDRVFONTS</tt><a
id="id2929109" class="indexterm"
name="id2929109"></a></span></dt>
<dd>
<p>This tells the emTeX DVI drivers where to
search for fonts. The <tt>C:{\bs}TEXFONTS</tt>
directory is the default location for font
libraries. If other fonts are installed, it's
natural to include them in this path. For
example, preview versions of the PostScript fonts
are now available from CTAN in font library
format. If you install those libraries in
<tt>C:{\bs}PSFONTS</tt>, you should change the
<tt>DVIDRVFONTS</tt> environment variable to
include both paths.</p>
</dd>
<dt><span class="term"><tt>DVIDRVGRAPH</tt><a
id="id2929166" class="indexterm"
name="id2929166"></a></span></dt>
<dd>
<p>The emTeX DVI drivers can incorporate
<tt>PCX</tt> and <tt>MSP</tt> graphics with a
\special command. The <tt>DVIDRVGRAPH</tt>
environment variable tells the drivers where to
look for the graphic files. The <tt>$r</tt>
portion of the path is replaced by the resolution
of the image required. For example, I set this to
<tt>C:{\bs}TEXGRAPH{\bs}GR\$r</tt> and put 300dpi
graphic images in
<tt>C:{\bs}TEXGRAPH{\bs}GR300</tt>, 420dpi images
in <tt>C:{\bs}TEXGRAPH{\bs}GR420</tt>, etc. The
default value of this variable is set so that the
local guide will print properly.</p>
</dd>
</dl>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<h4 class="title"><a id="id2929255"
name="id2929255"></a>Setting up configuration
files</h4>
</div>
</div>
<p><a id="id2929262" class="indexterm"
name="id2929262"></a>Configuration file options are
described completely in the DVI driver documentation
that accompanies emTeX. Read the English or German
versions of <tt>dvidrv.doc</tt> carefully. The
“out of the box” configuration is
sufficient for most uses, but specifying a new
configuration file is a convenient way to alter the
default size of the page in preview mode or set up
emTeX to print pages in “two-up” or
“four-up” variations (for printing
booklets, for example).</p>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="id2929307"
name="id2929307"></a>Installing the Beta Test
Versions of emTeX</h3>
</div>
</div>
<p>It has been several years since the standard
distribution of emTeX was assembled. In that time,
several other releases have been made. These are beta
test releases, but they are as rock-solid as the standard
distribution. Personally, I encourage you to install the
beta test versions, especially because they offer
features not found in the standard release.</p>
<p>The beta test versions are stored in a series of
<tt>ZIP</tt> files at CTAN in the directory
<tt>systems/msdos/emtex/betatest</tt>. Table <a
href="ch13.html#tab.emtex.betasummary"
title="Table 13.4. The Beta Test Files for \protect\emTeX">
Table 13.4</a> summarizes the files in the beta test
distribution.\footnote{As this chapter is being written,
Eberhard Mattes\index{Mattes, Eberhard} is working on a
new version of \emTeX. This new version will, at some
point, replace the existing beta test files, making this
section somewhat out of date. Use the <span
class="emphasis"><em>READ.ME</em></span> files in the
actual distribution as the definitive source of
information.</p>
<div class="table">
<a id="tab.emtex.betasummary"
name="tab.emtex.betasummary"></a>
<p class="title"><b>Table 13.4. The Beta Test
Files for \protect\emTeX</b></p>
<table summary="The Beta Test Files for \protect\emTeX"
border="1">
<colgroup>
<col align="left" />
<col align="left" />
</colgroup>
<thead>
<tr>
<th align="left">\bf File</th>
<th align="left">\bf Contents</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">\it btexb8.zip</td>
<td align="left">Big \TeX executables</td>
</tr>
<tr>
<td align="left">\it dvidrv_1.zip</td>
<td align="left">New drivers and support
files</td>
</tr>
<tr>
<td align="left">\it dvispell.zip</td>
<td align="left">\program{dvispell}</td>
</tr>
<tr>
<td align="left">\it maketcp.zip</td>
<td align="left">\program{maketcp}</td>
</tr>
<tr>
<td align="left">\it mfb1.zip</td>
<td align="left">\MF executables</td>
</tr>
<tr>
<td align="left">\it MFjob11l.zip</td>
<td align="left">\program{MFjob}</td>
</tr>
<tr>
<td align="left">\it mfpm.zip</td>
<td align="left">OS/2 support for \MF
preview</td>
</tr>
<tr>
<td align="left">\it pkeditpm.zip</td>
<td align="left">OS/2 PM version of
\program{PKEdit}</td>
</tr>
<tr>
<td align="left">\it tex386b8.zip</td>
<td align="left">386 version of \TeX</td>
</tr>
<tr>
<td align="left">\it texb5.zip</td>
<td align="left">Small \TeX executables</td>
</tr>
</tbody>
</table>
</div>
<p>To install the beta test versions, simply unpack the
archives into your <tt>\bs emtex</tt> directory,
replacing any existing files with the new versions. After
you have installed the beta test versions, you can repeat
the space-saving steps suggested earlier in this
chapter.</p>
<p>What are the advantages of the beta test versions?</p>
<div class="itemizedlist">
<ul type="disc">
<li>
<p>Automatic font generation is supported. This
means that you do not need large font library
files.</p>
</li>
<li>
<p>The beta test versions are TeX version 3.141;
the standard distribution is the slightly older
version 3.0.</p>
</li>
<li>
<p>The beta test distribution includes a
386-specific version of TeX, which is much faster
than other versions.</p>
</li>
<li>
<p>For OS/2 users, a Presentation Manager
<tt>DVI</tt> previewer is provided.</p>
</li>
</ul>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="sec.emtex.autofont"
name="sec.emtex.autofont"></a>Running emTeX 386 in
Windows</h3>
</div>
</div>
<p><a id="id2929644" class="indexterm"
name="id2929644"></a><a id="id2929656" class="indexterm"
name="id2929656"></a>The 386-specific version of TeX
provided by the beta test distributions of emTeX has some
compelling advantages over the other TeX executables:
it's a big TeX and it's fast. Unfortunately, it does not
run in Windows (or some other MS-DOS environments).</p>
<p>The problem is memory management. In order to be large
and fast, the <tt>tex386</tt><a id="id2929686"
class="indexterm" name="id2929686"></a> executable relies
on some advanced features of the 386 (and higher)
processors. These features are provided under MS-DOS by a
“DOS extender.” The DOS extender<a
id="id2929701" class="indexterm" name="id2929701"></a>
allows MS-DOS applications to use “protected
mode,” where they can address more than 640Kb of
memory. There are several competing standards for
protected mode memory management. <tt>emx</tt><a
id="id2929728" class="indexterm" name="id2929728"></a>,
the extender implemented in emTeX, is not compatible with
the DPMI standard used by Microsoft Windows and some
other MS-DOS extenders (for example, MS-DOS sessions
under OS/2).</p>
<p>Luckily, there is a freely available MS-DOS extender,
which is compatible with both DPMI and emTeX, the RSX
extender. Starting with version beta-11 of emTeX, the<a
id="id2929744" class="indexterm" name="id2929744"></a> is
very easy to use.<sup>[<a id="id2929756" name="id2929756"
href="#ftn.id2929756">124</a>]</sup></p>
<p>There are two versions of the extender: <tt>rsx</tt><a
id="id2929798" class="indexterm" name="id2929798"></a>,
for use in MS-DOS with DPMI extenders<a id="id2929808"
class="indexterm" name="id2929808"></a>, and
<tt>rsxwin</tt><a id="id2929822" class="indexterm"
name="id2929822"></a>, for use in Windows. Both versions
are available on the CTAN archives in the directory
<tt>support/msdos/dpmi/rsx</tt>.</p>
<p>To use the RSX extender in MS-DOS with <tt>tex386</tt>
version beta-11 or later, simply put <tt>rsx.exe</tt>
somewhere on your <tt>PATH</tt>. When emTeX discovers a
DPMI extender, it will use <tt>rsx</tt> instead of
<tt>emx</tt>.</p>
<p>To use the RSX extender in Windows, you must modify
the command line that is executed to run <tt>tex386</tt>.
Where you currently use:</p>
<pre class="screen">
<span class="emphasis"><em>d:{\bs}path1\bs</em></span>tex.exe <span
class="emphasis"><em>options</em></span>
</pre>
<p>you must now use:</p>
<pre class="screen">
<span
class="emphasis"><em>d:{\bs}path2\bs</em></span>rsxwin.exe -e <span
class="emphasis"><em>d:\bs path1\bs</em></span>tex386.exe <span
class="emphasis"><em>options</em></span>
</pre>
<p>The <tt>rsxwin</tt> extender will set up an extender
for emTeX and then run TeX.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="id2929946"
name="id2929946"></a>Automatic Font Generation with
emTeX</h3>
</div>
</div>
<div class="note"
style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>Automatic font generation<a id="id2929960"
class="indexterm" name="id2929960"></a><a
id="id2929972" class="indexterm" name="id2929972"></a>
is not supported by the standard distribution of emTeX.
You must install the beta test versions to use
automatic font generation.</p>
</div>
<p>The new versions of the emTeX DVI drivers include a
program called <b>dvidrv</b><a id="id2930004"
class="indexterm" name="id2930004"></a>, which handles
automatic font generation. The <b>dvidrv</b> program runs
the driver and if the driver indicates that fonts are
missing, gives you the opportunity to use font
substitution or build new fonts. The <b>MFjob</b> program
is used to build the fonts. <b>MFjob</b> runs the
MetaFont and <b>GFtoPK</b> to produce and install the
necessary fonts. <b>MFjob</b> installs the <tt>PK</tt>
files into the first directory on the font path.</p>
<p>The <b>dvidrv</b> program can be replaced by a batch
file that can select an appropriate font-rendering
program (something other than MetaFont, for example) to
build the necessary fonts. This feature is only available
in the OS/2 versions of emTeX releases 1.4t and later.
The batch file in Example <a
href="apd.html#ex.dvidxx"
title="Example D.3. dvidxx.btm">Example D.3</a>
in Appendix <a href="apd.html"
title="Appendix D. Long Examples">Appendix D</a>,
<span class="emphasis"><em><a href="apd.html"
title="Appendix D. Long Examples">Appendix D</a></em></span>,
is a replacement for <b>dvidrv</b>. It uses
<b>ps2pk</b><a id="id2930120" class="indexterm"
name="id2930120"></a> to make <tt>PK</tt> versions of
PostScript Type 1 fonts if an appropriate
<tt>PFB</tt> file can be found. Otherwise, it calls
<b>MFjob</b> in the same way that <b>dvidrv</b> does.</p>
</div>
<div class="section">
<div class="titlepage">
<div>
<h3 class="title"><a id="sec.netemtex"
name="sec.netemtex"></a>Installing emTeX on a
Network</h3>
</div>
</div>
<p>Ordinarily, emTeX does not require write access to any
of its data files, so installation on a network<a
id="id2930180" class="indexterm" name="id2930180"></a> is
not a problem. The location of temporary files that must
be writable is controlled with environment variables. If
automatic font generation is being used, there are two
applicable cautions.</p>
<p>First, if you use the batch file approach to automatic
font generation in order to support different rendering
software, be aware that your batch file must handle the
fact that multiple files may be written to the same
directory from different users. Don't let filenames
collide.</p>
<p>Second, it is ideal if you can provide a single
world-writable location for automatically generated
fonts. If multiple users are working with similar
documents, each will not need private copies of the fonts
they require. If your networking software tracks the time
of last file access, you can determine which files to
delete from this global font area on a regular basis.</p>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<h2 class="title" style="clear: both"><a id="id2930222"
name="id2930222"></a>texas</h2>
</div>
</div>
<p><b>texas</b><a id="id2930235" class="indexterm"
name="id2930235"></a> is a 32-bit MS-DOS version of TeX. It
is a big TeX. Unlike <b>tex386</b>, which comes with emTeX,
the <b>texas</b> executable uses a royalty-free, commercial
DOS extender. The advantage of this extender is that it can
run under Windows and other protected-mode environments
such as DESQview.</p>
<p>Before you install <b>texas</b>, you should get a
complete TeX system from some other location (emTeX or
gTeX, for example). The <b>texas</b> distribution does not
include anything other than the TeX executable and the
MS-DOS extender---no format files, no input files,
nothing.</p>
<p>The <span class="emphasis"><em>-i</em></span> switch
runs <b>texas</b> in iniTeX<a id="id2930301"
class="indexterm" name="id2930301"></a> mode. Using the
instructions from Chapter <a href="ch04.html"
title="Chapter 4. Macro Packages">Chapter 4</a>,
<span class="emphasis"><em><a href="ch04.html"
title="Chapter 4. Macro Packages">Chapter 4</a></em></span>,
you should be able to build new format files for use with
<b>texas</b> if you have another TeX distribution to work
from.</p>
<p><b>texas</b> uses the following environment <a
id="id2930352" class="indexterm" name="id2930352"></a><a
id="id2930362" class="indexterm" name="id2930362"></a>
variables:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><tt>TEXINPUTS</tt></span></dt>
<dd>
<p><a id="id2930395" class="indexterm"
name="id2930395"></a>Defines the directories that
<b>texas</b> uses when searching for TeX input files.
You would typically leave the defaults in this path
and extend it with directories of your own in place
of <tt>C:{\bs}MYTEX</tt>.</p>
</dd>
<dt><span class="term"><tt>TEXFORMATS</tt><a
id="id2930448" class="indexterm"
name="id2930448"></a></span></dt>
<dd>
<p>Specifies where <b>texas</b> looks for format
files. Typically you would leave this set as is and
add new format files to that directory.</p>
</dd>
<dt><span class="term"><tt>TEXFONTS</tt><a
id="id2930492" class="indexterm"
name="id2930492"></a></span></dt>
<dd>
<p>TeX uses the directories stored in this variable
when searching for <tt>TFM</tt> files for fonts used
in your documents. If you install new fonts, you
should put the <tt>TFM</tt> files in their own
directory and add the name of that directory to the
<tt>TEXFONTS</tt> path.</p>
</dd>
<dt><span class="term"><tt>TEXPOOL</tt><a
id="id2930555" class="indexterm"
name="id2930555"></a></span></dt>
<dd>
<p>Specifies where <b>texas</b> looks for its pool
file. Unless you have installed <b>texas</b> in an
unusual way, you will not have to change this
setting.</p>
</dd>
<dt><span class="term"><tt>DOS4GVM</tt><a
id="id2930602" class="indexterm"
name="id2930602"></a></span></dt>
<dd>
<p><b>texas</b> uses a DOS extender<a id="id2930630"
class="indexterm" name="id2930630"></a> to overcome
memory limitations under MS-DOS. If the extender runs
out of memory, it writes parts of the memory-image
that it is maintaining out to disk. This environment
variable specifies where that information should be
written. You do not usually need to change this
setting.</p>
</dd>
</dl>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<h2 class="title" style="clear: both"><a id="id2930652"
name="id2930652"></a>sbTeX</h2>
</div>
</div>
<p>sbTeX<a id="id2930661" class="indexterm"
name="id2930661"></a> is another MS-DOS implementation of
TeX. The <tt>sb38tex</tt><a id="id2930680"
class="indexterm" name="id2930680"></a> distribution
includes TeX and iniTeX executables, <tt>TFM</tt> files for
the Computer Modern Roman fonts, and TeX sources for the
Plain TeX format. This is TeX version 3.141. You will have
to get DVI drivers and other TeX tools from a different
package.</p>
<p>The <tt>sb32xet</tt><a id="id2930712" class="indexterm"
name="id2930712"></a> distribution is \XeT version
3.1.<sup>[<a id="id2930721" name="id2930721"
href="#ftn.id2930721">125</a>]</sup> The source files for
the \XeT <tt>nailp</tt> format are included, as well as the
supporting files for Hebrew.</p>
<p>The <tt>sbmf13</tt><a id="id2930746" class="indexterm"
name="id2930746"></a> distribution is MetaFont version
2.71. Only the sources for the Plain MetaFont base file are
provided. Like the sbTeX distribution, this is a very
minimal set of files. Only the <b>GFtoPK</b><a
id="id2930763" class="indexterm" name="id2930763"></a>
utility is included; all of the other MetaFont programs you
need will have to be obtained from another package.</p>
<p>The default directories for sbTeX are <tt>\bs TEX\bs
INPUTS</tt> for input files, <tt>\bs TEX\bs FORMATS</tt>
for format files, and <tt>{\bs TEX\bs FONTTFMS}</tt> for
<tt>TFM</tt> files. The default drive is C:, but that can
be changed with the <b>sb38set</b> program.</p>
<p>You can also modify these paths by setting the
<tt>TEXINPUTS</tt> environment variable<a id="id2930826"
class="indexterm" name="id2930826"></a><a id="id2930839"
class="indexterm" name="id2930839"></a> for input files,
the <tt>FMTSB</tt> environment variable for format files,
and the <tt>FONTTFMS</tt> environment variable for
<tt>TFM</tt> files. Additionally, sbTeX uses the
<tt>SBFTMP</tt> environment variable to determine where
temporary files should be located if font caching is
performed. Here is a more complete description of sbTeX's
environment variables:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><tt>TEXINPUTS</tt></span></dt>
<dd>
<p><a id="id2930903" class="indexterm"
name="id2930903"></a>Defines the directories that
sbTeX uses when searching for TeX input files. You
would typically leave the defaults in this path and
extend it with directories of your own in place of
<tt>C:{\bs}MYTEX</tt>.</p>
</dd>
<dt><span class="term"><tt>FMTSB</tt><a id="id2930949"
class="indexterm" name="id2930949"></a></span></dt>
<dd>
<p>Specifies where sbTeX looks for format files.
Typically you would leave this set as it is and add
new format files to that directory.</p>
</dd>
<dt><span class="term"><tt>FONTTFMS</tt><a
id="id2930987" class="indexterm"
name="id2930987"></a></span></dt>
<dd>
<p>TeX uses the directories stored in this variable
when searching for <tt>TFM</tt> files for fonts used
in your documents. If you install new fonts, you
should put the <tt>TFM</tt> files for these fonts in
their own directory and add the name of that
directory to the <tt>FONTTFMS</tt> path.</p>
</dd>
<dt><span class="term"><tt>SBFTMP</tt><a id="id2931046"
class="indexterm" name="id2931046"></a></span></dt>
<dd>
<p>When font-caching is enabled, sbTeX writes cached
information to disk when it runs out of memory. This
environment variable specifies where that information
should be written. You do not usually need to change
this setting.</p>
</dd>
</dl>
</div>
</div>
<div class="section">
<div class="titlepage">
<div>
<h2 class="title" style="clear: both"><a id="id2931076"
name="id2931076"></a>gTeX</h2>
</div>
</div>
<p>The gTeX<a id="id2931085" class="indexterm"
name="id2931085"></a> package is distributed in two ways.
One way is intended to supplement (actually, replace part
of) the emTeX distribution. The advantage of gTeX
executables over emTeX is that they will run under Windows.
The 386 versions of emTeX executables will not run under
Windows. On the other hand, although gTeX will run in an
MS-DOS session under OS/2, only the emTeX executables will
actually run in a native OS/2 session. The other
distribution is a complete set of <tt>TFM</tt> files,
source, and input files for Plain TeX, LaTeX, and AMSTeX.
In either distribution, you must get DVI drivers and some
ancillary programs from another complete package (like
emTeX).</p>
<p>The following programs are included in the gTeX
distribution:</p>
<pre class="screen">
\begin{tabular}{lll}
&BibTeX; & <command>GFtoPK</command> & <command>VFtoVP</command> \\
<command>DVItype</command> & <command>MFT</command> & <command>VPtoVF</command> \\
<command>DVIcopy</command> & <command>PKtoGF</command> \ & <command>MakeIndx</command> \\
<command>GFtoDVI</command> \ & <command>PKtype</command> & &MF; \\[2pt]
\multicolumn{3}{l}{\program{amSpell} (a third party spell-checker, not traditionally part of \TeX)}\\[2pt]
\multicolumn{3}{l}{\program{MEwin} (an Emacs-like editor for Windows, also not traditionally part of \TeX)}\\
\end{tabular}
</pre>
<p>The gTeX executables use the same environment
variables<a id="id2931134" class="indexterm"
name="id2931134"></a><a id="id2931160" class="indexterm"
name="id2931160"></a> as emTeX.</p>
</div>
<div class="footnotes">
<br />
<hr width="100" align="left" />
<div class="footnote">
<p><sup>[<a id="ftn.id2920364" name="ftn.id2920364"
href="#id2920364">122</a>]</sup> {Hence the spider on the
cover, by the way.}</p>
</div>
<div class="footnote">
<p><sup>[<a id="ftn.id2928486" name="ftn.id2928486"
href="#id2928486">123</a>]</sup> {One of the reasons I
don't recommend it is that it isn't easy to determine
precisely what the compiled-in defaults are, and they may
change without notice.}</p>
</div>
<div class="footnote">
<p><sup>[<a id="ftn.id2929756" name="ftn.id2929756"
href="#id2929756">124</a>]</sup> {Earlier versions of
<tt>tex386.exe</tt> had the <tt>emx</tt> extender
“bound” into the executable, which made the
process more complicated. The <tt>emx</tt> extender had
to be unbound before the new one could be used.}</p>
</div>
<div class="footnote">
<p><sup>[<a id="ftn.id2930721" name="ftn.id2930721"
href="#id2930721">125</a>]</sup> {\XeT is a variant of
TeX that can typeset in both left-to-right and
right-to-left modes.}</p>
</div>
</div>
</div>
<div class="navfooter">
<table width="100%" summary="Navigation table">
<tr>
<td width="40%" align="left"><a
title="Part III. A Tools Overview"
href="pt03.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="Chapter 14. Commercial Environments"
href="ch14.html"><img src="figures/nav-next.png"
alt="Next" border="0" /></a></td>
</tr>
<tr>
<td width="40%" align="left">Part III. A Tools
Overview </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">
 Chapter 14. Commercial Environments</td>
</tr>
</table>
</div>
</body>
</html>
|