/usr/share/doc/latex-mk/latex-mk.html is in latex-mk 2.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
<head>
<title>LaTeX-Mk</title>
<meta name="description" content="LaTeX-Mk">
<meta name="keywords" content="LaTeX-Mk">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="#Top" rel="start" title="Top">
<link href="#Target-Index" rel="index" title="Target Index">
<link href="#SEC_Contents" rel="contents" title="Table of Contents">
<link href="dir.html#Top" rel="up" title="(dir)">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<h1 class="settitle" align="center">LaTeX-Mk</h1>
<a name="Top"></a>
<div class="header">
<p>
Next: <a href="#Introduction" accesskey="n" rel="next">Introduction</a>, Previous: <a href="dir.html#Top" accesskey="p" rel="prev">(dir)</a>, Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="LaTeX_002dMk"></a>
<h1 class="top">LaTeX-Mk</h1>
<p>This file documents the LaTeX-Mk package. LaTeX-Mk is a
collection of Makefile fragments and shell scripts
for managing small to
large sized LaTeX projects.
This edition documents version 2.1.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top">• <a href="#Introduction" accesskey="1">Introduction</a>:</td><td> </td><td align="left" valign="top">LaTeX-Mk’s purpose
</td></tr>
<tr><td align="left" valign="top">• <a href="#Targets" accesskey="2">Targets</a>:</td><td> </td><td align="left" valign="top">Available Targets
</td></tr>
<tr><td align="left" valign="top">• <a href="#Variables" accesskey="3">Variables</a>:</td><td> </td><td align="left" valign="top">Variables
</td></tr>
<tr><td align="left" valign="top">• <a href="#HTML" accesskey="4">HTML</a>:</td><td> </td><td align="left" valign="top">HTML Output Support
</td></tr>
<tr><td align="left" valign="top">• <a href="#Recursive" accesskey="5">Recursive</a>:</td><td> </td><td align="left" valign="top">Using LaTeX-Mk Recursively
</td></tr>
<tr><td align="left" valign="top">• <a href="#Obtaining" accesskey="6">Obtaining</a>:</td><td> </td><td align="left" valign="top">How to get LaTeX-Mk
</td></tr>
<tr><td align="left" valign="top">• <a href="#Installation" accesskey="7">Installation</a>:</td><td> </td><td align="left" valign="top">How to configure and install LaTeX-Mk
</td></tr>
<tr><td align="left" valign="top">• <a href="#Feedback" accesskey="8">Feedback</a>:</td><td> </td><td align="left" valign="top">How to contribute
</td></tr>
<tr><td align="left" valign="top">• <a href="#Alternatives" accesskey="9">Alternatives</a>:</td><td> </td><td align="left" valign="top">Other similar tools
</td></tr>
<tr><td align="left" valign="top">• <a href="#History">History</a>:</td><td> </td><td align="left" valign="top">History
</td></tr>
<tr><td align="left" valign="top">• <a href="#Target-Index">Target Index</a>:</td><td> </td><td align="left" valign="top">Target Index
</td></tr>
<tr><td align="left" valign="top">• <a href="#Variable-Index">Variable Index</a>:</td><td> </td><td align="left" valign="top">Variable Index
</td></tr>
<tr><td align="left" valign="top">• <a href="#General-Index">General Index</a>:</td><td> </td><td align="left" valign="top">
</td></tr>
</table>
<a name="SEC_Contents"></a>
<h2 class="contents-heading">Table of Contents</h2>
<div class="contents">
<ul class="no-bullet">
<li><a name="toc-Introduction-1" href="#Introduction">1 Introduction</a></li>
<li><a name="toc-Targets-1" href="#Targets">2 Targets</a>
<ul class="no-bullet">
<li><a name="toc-Base-Targets" href="#Base-Targets">2.1 Base Targets</a></li>
<li><a name="toc-Draft-Targets" href="#Draft-Targets">2.2 Draft Targets</a></li>
<li><a name="toc-Per-Document-Targets" href="#Per-Document-Targets">2.3 Per Document Targets</a></li>
</ul></li>
<li><a name="toc-Variables-1" href="#Variables">3 Variables</a>
<ul class="no-bullet">
<li><a name="toc-Site-Configuration-Variables" href="#Site-Configuration-Variables">3.1 Site Configuration Variables</a>
<ul class="no-bullet">
<li><a name="toc-Site-and-User-Configuration-File" href="#Site-and-User-Configuration-File">3.1.1 Site and User Configuration File</a></li>
<li><a name="toc-Generic-Project-Variables" href="#Generic-Project-Variables">3.1.2 Generic Project Variables</a></li>
<li><a name="toc-Lgrind-Site-Configuration-Variables" href="#Lgrind-Site-Configuration-Variables">3.1.3 Lgrind Site Configuration Variables</a></li>
<li><a name="toc-Tgif-Site-Configuration-Variables" href="#Tgif-Site-Configuration-Variables">3.1.4 Tgif Site Configuration Variables</a></li>
<li><a name="toc-Xfig-Site-Configuration-Variables" href="#Xfig-Site-Configuration-Variables">3.1.5 Xfig Site Configuration Variables</a></li>
</ul></li>
<li><a name="toc-Per_002dProject-Variables" href="#Per_002dProject-Variables">3.2 Per-Project Variables</a>
<ul class="no-bullet">
<li><a name="toc-Required-Variables" href="#Required-Variables">3.2.1 Required Variables</a></li>
<li><a name="toc-Generic-Variables" href="#Generic-Variables">3.2.2 Generic Variables</a></li>
<li><a name="toc-Per_002dProject-Lgrind-Variables" href="#Per_002dProject-Lgrind-Variables">3.2.3 Per-Project Lgrind Variables</a></li>
<li><a name="toc-Per_002dProject-META_002dpost-Variables" href="#Per_002dProject-META_002dpost-Variables">3.2.4 Per-Project META-post Variables</a></li>
<li><a name="toc-Per_002dProject-Tgif-Variables" href="#Per_002dProject-Tgif-Variables">3.2.5 Per-Project Tgif Variables</a></li>
<li><a name="toc-Per_002dProject-Xfig-Variables" href="#Per_002dProject-Xfig-Variables">3.2.6 Per-Project Xfig Variables</a></li>
</ul></li>
</ul></li>
<li><a name="toc-HTML-Output" href="#HTML">4 HTML Output</a></li>
<li><a name="toc-Using-LaTeX_002dMk-Recursively" href="#Recursive">5 Using LaTeX-Mk Recursively</a></li>
<li><a name="toc-Obtaining-LaTeX_002dMk" href="#Obtaining">6 Obtaining LaTeX-Mk</a></li>
<li><a name="toc-Installing-LaTeX_002dMk" href="#Installation">7 Installing LaTeX-Mk</a>
<ul class="no-bullet">
<li><a name="toc-System-Requirements" href="#System-Requirements">7.1 System Requirements</a></li>
<li><a name="toc-Installation-1" href="#Installation-1">7.2 Installation</a></li>
</ul></li>
<li><a name="toc-Feedback-1" href="#Feedback">8 Feedback</a></li>
<li><a name="toc-Alternatives-1" href="#Alternatives">9 Alternatives</a></li>
<li><a name="toc-History-1" href="#History">10 History</a>
<ul class="no-bullet">
<li><a name="toc-The-Dark-Ages" href="#The-Dark-Ages">10.1 The Dark Ages</a></li>
<li><a name="toc-The-Giant-Per_002dProject-Makefile" href="#The-Giant-Per_002dProject-Makefile">10.2 The Giant Per-Project Makefile</a></li>
<li><a name="toc-Enter-LaTeX_002dMk" href="#Enter-LaTeX_002dMk">10.3 Enter LaTeX-Mk</a></li>
<li><a name="toc-The-Modern-Era-of-LaTeX_002dMk" href="#The-Modern-Era-of-LaTeX_002dMk">10.4 The Modern Era of LaTeX-Mk</a>
<ul class="no-bullet">
<li><a name="toc-Version-0_002e9" href="#Version-0_002e9">10.4.1 Version 0.9</a></li>
<li><a name="toc-Version-0_002e9_002e1" href="#Version-0_002e9_002e1">10.4.2 Version 0.9.1</a></li>
<li><a name="toc-Version-1_002e0" href="#Version-1_002e0">10.4.3 Version 1.0</a></li>
<li><a name="toc-Version-1_002e1" href="#Version-1_002e1">10.4.4 Version 1.1</a></li>
<li><a name="toc-Version-1_002e2" href="#Version-1_002e2">10.4.5 Version 1.2</a></li>
<li><a name="toc-Version-1_002e3" href="#Version-1_002e3">10.4.6 Version 1.3</a></li>
<li><a name="toc-Version-1_002e4" href="#Version-1_002e4">10.4.7 Version 1.4</a></li>
<li><a name="toc-Version-1_002e5" href="#Version-1_002e5">10.4.8 Version 1.5</a></li>
<li><a name="toc-Version-1_002e6" href="#Version-1_002e6">10.4.9 Version 1.6</a></li>
<li><a name="toc-Version-1_002e7" href="#Version-1_002e7">10.4.10 Version 1.7</a></li>
<li><a name="toc-Version-1_002e8" href="#Version-1_002e8">10.4.11 Version 1.8</a></li>
<li><a name="toc-Version-1_002e9" href="#Version-1_002e9">10.4.12 Version 1.9</a></li>
<li><a name="toc-Version-1_002e9_002e1" href="#Version-1_002e9_002e1">10.4.13 Version 1.9.1</a></li>
<li><a name="toc-Version-2_002e0" href="#Version-2_002e0">10.4.14 Version 2.0</a></li>
<li><a name="toc-Version-2_002e1" href="#Version-2_002e1">10.4.15 Version 2.1</a></li>
</ul></li>
</ul></li>
<li><a name="toc-Target-Index-1" href="#Target-Index">Target Index</a></li>
<li><a name="toc-Variable-Index-1" href="#Variable-Index">Variable Index</a></li>
<li><a name="toc-General-Index-1" href="#General-Index">General Index</a></li>
</ul>
</div>
<hr>
<a name="Introduction"></a>
<div class="header">
<p>
Next: <a href="#Targets" accesskey="n" rel="next">Targets</a>, Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Introduction-1"></a>
<h2 class="chapter">1 Introduction</h2>
<p>LaTeX-Mk is a tool for managing small to large sized LaTeX projects.
The typical LaTeX-Mk input file is simply a series of variable
definitions
in a <samp>Makefile</samp> for the project. After creating a simple
<samp>Makefile</samp> the user can easily perform all required steps to
do such tasks as: preview the document, print the document, or produce a
PDF file. LaTeX-Mk will keep track of files that have changed and how
to run the various programs that are needed to produce the output.
</p>
<p>As a quick example, consider a project which has a single LaTeX file,
<samp>mydoc.tex</samp>, as its input. To produce a <samp>.pdf</samp> file you might
use the following sequence of commands:
</p><div class="example">
<pre class="example">latex mydoc.tex
latex mydoc.tex
latex mydoc.tex
dvips -Ppdf -j0 -o mydoc.ps mydoc.dvi
ps2pdf mydoc.ps mydoc.pdf
</pre></div>
<p>The triple invocation of ‘<samp>latex</samp>’ is to ensure that all references
have been properly resolved and any page layout changes due to inserting
the references have been accounted for. The sequence of commands isn’t
horrible, but it still is several commands and one of them,
‘<samp>dvips</samp>’, has some flags to remember. To use LaTeX-Mk for this
project, you would create a <samp>Makefile</samp> that contains the following.
</p><div class="example">
<pre class="example">NAME=mydoc
include /usr/share/latex-mk/latex.gmk
</pre></div>
<a name="index-make_002c-differences-between-GNU-and-BSD"></a>
<a name="index-GNU-make_002c-versus-BSD-make"></a>
<a name="index-BSD-make_002c-versus-GNU-make"></a>
<a name="index-include_002c-Makefile-syntax-for"></a>
<p>Note that the <code>include /usr/share/latex-mk/latex.gmk</code> is the
syntax for GNU ‘<samp>make</samp>’. If you are using BSD ‘<samp>make</samp>’ you would
replace the include line with
<code>.include "/usr/share/latex-mk/latex.mk"</code>. In both examples,
you would replace <code>/usr</code> with the installation prefix
on your system. For the remainder of this document we will use the BSD
style of include in the examples.
Now to create a <samp>.pdf</samp> file you simply run
‘<samp>make pdf</samp>’. For larger projects which may need to run programs to
export drawings to Postscript files for inclusion or run BibTeX to
generate bibliographies, the generation of <samp>.pdf</samp> (or other) files
becomes increasingly complicated to run manually. With LaTeX-Mk, such
operations are still very simple.
</p>
<p>As a more complicated example, consider a project whose LaTeX input
is broken apart in to many <samp>.tex</samp> files which are all included by
<samp>mydoc.tex</samp>. Also suppose the project
includes a bibliography and a large number of figures created with the
Tgif program. An example <samp>Makefile</samp> for this project might look
like:
</p><div class="example">
<pre class="example">NAME= mydoc
TEXSRCS= ch1.tex ch2.tex ch3.tex refs.tex
BIBTEXSRCS= mybib.bib
TGIFDIRS= tgif_figs
.include "/usr/share/latex-mk/latex.mk"
</pre></div>
<p>In this example is it assumed that all of the Tgif figures reside in a
subdirectory called <samp>tgif_figs</samp>. When the user issues a
‘<samp>make</samp>’ command, all of the steps required to reformat the document
are taken. Because of the dependency structure imposed by ‘<samp>make</samp>’,
only the steps which need to be taken are done. This avoids
re-exporting a large number of figures which may have not changed, but
ensures that files which need processing are processed.
</p>
<p>Hopefully this introduction has provided an adequate example for how
LaTeX-Mk can simplify the management of LaTeX based documents. The
LaTeX-Mk system is simple enough for small projects and powerful enough
for large projects. The remainder of this manual will provide complete
documentation on the use of LaTeX-Mk as well as configuration and
installation instructions.
</p>
<hr>
<a name="Targets"></a>
<div class="header">
<p>
Next: <a href="#Variables" accesskey="n" rel="next">Variables</a>, Previous: <a href="#Introduction" accesskey="p" rel="prev">Introduction</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Targets-1"></a>
<h2 class="chapter">2 Targets</h2>
<p>LaTeX-Mk provides a fixed set of targets, the argument to the
‘<samp>make</samp>’ command, for all projects. The default target is
‘<samp>view</samp>’ whose ultimate goal is to provide an on-screen preview of
the formatted document. For additional information on the ‘<samp>make</samp>’
program, please refer to the documentation for your copy of
‘<samp>make</samp>’.
</p>
<a name="Base-Targets"></a>
<h3 class="section">2.1 Base Targets</h3>
<p>The targets provided by LaTeX-Mk are:
</p>
<dl>
<dt><a name="index-clean"></a>Target: <strong>clean</strong></dt>
<dd><a name="index-clean-1"></a>
<p>Cleans the current working directory by removing all LaTeX output and
other output files created during processing of the project. In
addition, emacs <samp>~</samp> files are removed.
</p></dd></dl>
<dl>
<dt><a name="index-dist"></a>Target: <strong>dist</strong></dt>
<dd><a name="index-dist-1"></a>
<p>Creates a <samp>.tar.gz</samp> file containing an archive of the project.
It contains the source files and additionally some generated files
which are generated with tools which someone else may not have
installed. For example, any tgif drawings are included both in tgif
<samp>.obj</samp> form as well as encapsulated Postscript (or PDF if you are
using pdflatex). For a multiple document project, a master <samp>.tar.gz</samp>
file is created containing the entire project as well as smaller
<samp>.tar.gz</samp> files for each document.
</p></dd></dl>
<dl>
<dt><a name="index-dvi"></a>Target: <strong>dvi</strong></dt>
<dd><a name="index-dvi-1"></a>
<p>Performs all processing required to produce the <samp>.dvi</samp> file for the
project.
</p></dd></dl>
<dl>
<dt><a name="index-html"></a>Target: <strong>html</strong></dt>
<dd><a name="index-html-1"></a>
<p>Performs all processing required to produce HTML output for the
project.
</p></dd></dl>
<dl>
<dt><a name="index-pdf"></a>Target: <strong>pdf</strong></dt>
<dd><a name="index-pdf-1"></a>
<p>Performs all processing required to produce a PDF (Portable Document
Format) file, <samp>.pdf</samp>, for the project.
</p></dd></dl>
<dl>
<dt><a name="index-print"></a>Target: <strong>print</strong></dt>
<dd><a name="index-print-1"></a>
<p>Sends the processed document to the printer.
</p></dd></dl>
<dl>
<dt><a name="index-ps"></a>Target: <strong>ps</strong></dt>
<dd><a name="index-ps-1"></a>
<p>Performs all processing required to produce a Postscript
file, <samp>.ps</samp>, for the project.
</p></dd></dl>
<dl>
<dt><a name="index-rtf"></a>Target: <strong>rtf</strong></dt>
<dd><a name="index-rtf-1"></a>
<p>Performs all processing required to produce a RTF (Rich Text
Format) file, <samp>.rtf</samp>, for the project. Please note that
the ability of LaTex to RTF converters to work correctly is
somewhat limited. Your mileage may vary.
</p></dd></dl>
<dl>
<dt><a name="index-show_002dvar"></a>Target: <strong>show-var</strong></dt>
<dd><a name="index-show_002dvar-1"></a>
<p>This target is used to help debug users Makefiles as well as the
LaTeX-Mk system. This target displays the value of the variable whose
name is given by the variable VARNAME. For example:
</p><div class="example">
<pre class="example"> make show-var VARNAME=TEXSRCS
</pre></div>
<p>will display the value of the <code>TEXSRCS</code> variable.
</p></dd></dl>
<dl>
<dt><a name="index-view"></a>Target: <strong>view</strong></dt>
<dd><a name="index-view-1"></a>
<p>Previews the <samp>.dvi</samp> file.
</p></dd></dl>
<dl>
<dt><a name="index-viewpdf"></a>Target: <strong>viewpdf</strong></dt>
<dd><a name="index-viewpdf-1"></a>
<p>Previews the PDF (<samp>.pdf</samp>) file.
</p></dd></dl>
<dl>
<dt><a name="index-viewps"></a>Target: <strong>viewps</strong></dt>
<dd><a name="index-viewps-1"></a>
<p>Previews the Postscript (<samp>.ps</samp>) file.
</p></dd></dl>
<a name="Draft-Targets"></a>
<h3 class="section">2.2 Draft Targets</h3>
<p>LaTeX-Mk supports adding a DRAFT watermark and timestamp for the
Postscript, PDF, and printed output. To produce the draft versions,
simply append <code>-draft</code> to the target. The currently supported draft
targets are:
</p><dl>
<dt><a name="index-pdf_002ddraft"></a>Target: <strong>pdf-draft</strong></dt>
<dd><a name="index-pdf_002ddraft-1"></a>
<p>Draft version of the <code>pdf</code> target.
</p></dd></dl>
<dl>
<dt><a name="index-ps_002ddraft"></a>Target: <strong>ps-draft</strong></dt>
<dd><a name="index-ps_002ddraft-1"></a>
<p>Draft version of the <code>ps</code> target.
</p></dd></dl>
<dl>
<dt><a name="index-print_002ddraft"></a>Target: <strong>print-draft</strong></dt>
<dd><a name="index-print_002ddraft-1"></a>
<p>Draft version of the <code>print</code> target.
</p></dd></dl>
<dl>
<dt><a name="index-viewpdf_002ddraft"></a>Target: <strong>viewpdf-draft</strong></dt>
<dd><a name="index-viewpdf_002ddraft-1"></a>
<p>Draft version of the <code>viewpdf</code> target.
</p></dd></dl>
<dl>
<dt><a name="index-viewps_002ddraft"></a>Target: <strong>viewps-draft</strong></dt>
<dd><a name="index-viewps_002ddraft-1"></a>
<p>Draft version of the <code>viewps</code> target.
</p></dd></dl>
<a name="Per-Document-Targets"></a>
<h3 class="section">2.3 Per Document Targets</h3>
<p>LaTeX-Mk supports multiple top level documents in a single directory
controlled by a single makefile. For each top level document specified
in the <code>NAME</code> variable (more on variables later), there will be a
set of targets defined which are specific to the document. The per
document targets are:
</p><dl>
<dt><a name="index-print_005f_003cname_003e"></a>Target: <strong>print_<name></strong></dt>
<dd><a name="index-print_005f_003cname_003e-1"></a>
<p>Prints the Postscript file <samp><name>.ps</samp>.
</p></dd></dl>
<dl>
<dt><a name="index-view_005f_003cname_003e"></a>Target: <strong>view_<name></strong></dt>
<dd><a name="index-view_005f_003cname_003e-1"></a>
<p>Previews the DVI file <samp><name>.dvi</samp>.
</p></dd></dl>
<dl>
<dt><a name="index-viewpdf_005f_003cname_003e"></a>Target: <strong>viewpdf_<name></strong></dt>
<dd><a name="index-viewpdf_005f_003cname_003e-1"></a>
<p>Previews the PDF file <samp><name>.pdf</samp>.
</p></dd></dl>
<dl>
<dt><a name="index-viewps_005f_003cname_003e"></a>Target: <strong>viewps_<name></strong></dt>
<dd><a name="index-viewps_005f_003cname_003e-1"></a>
<p>Previews the Postscript file <samp><name>.ps</samp>.
</p></dd></dl>
<p>In addition, draft versions of these targets exist:
</p><dl>
<dt><a name="index-print_005f_003cname_003e_002ddraft"></a>Target: <strong>print_<name>-draft</strong></dt>
<dd><a name="index-print_005f_003cname_003e_002ddraft-1"></a>
<p>Draft version of the <code>print_<name></code> target.
</p></dd></dl>
<dl>
<dt><a name="index-ps_005f_003cname_003e_002ddraft"></a>Target: <strong>ps_<name>-draft</strong></dt>
<dd><a name="index-ps_005f_003cname_003e_002ddraft-1"></a>
<p>Draft version of the <code>ps_<name></code> target.
</p></dd></dl>
<dl>
<dt><a name="index-view_005f_003cname_003e_002ddraft"></a>Target: <strong>view_<name>-draft</strong></dt>
<dd><a name="index-view_005f_003cname_003e_002ddraft-1"></a>
<p>Draft version of the <code>view_<name></code> target.
</p></dd></dl>
<dl>
<dt><a name="index-viewpdf_005f_003cname_003e_002ddraft"></a>Target: <strong>viewpdf_<name>-draft</strong></dt>
<dd><a name="index-viewpdf_005f_003cname_003e_002ddraft-1"></a>
<p>Draft version of the <code>viewpdf_<name></code> target.
</p></dd></dl>
<dl>
<dt><a name="index-viewps_005f_003cname_003e_002ddraft"></a>Target: <strong>viewps_<name>-draft</strong></dt>
<dd><a name="index-viewps_005f_003cname_003e_002ddraft-1"></a>
<p>Draft version of the <code>viewps_<name></code> target.
</p></dd></dl>
<hr>
<a name="Variables"></a>
<div class="header">
<p>
Next: <a href="#HTML" accesskey="n" rel="next">HTML</a>, Previous: <a href="#Targets" accesskey="p" rel="prev">Targets</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Variables-1"></a>
<h2 class="chapter">3 Variables</h2>
<p>The variables used by LaTeX-Mk can be categorized roughly into two
groups. The first set of variables are typically set during the
installation of LaTeX-Mk and these defaults used for all projects.
These variables can be overridden on a per-user or per-project basis for
maximum flexibility. The second set of variables are set by the user on
a per-project basis.
</p>
<a name="Site-Configuration-Variables"></a>
<h3 class="section">3.1 Site Configuration Variables</h3>
<p>This section documents the variables which are typically set on a
site-wide or user-wide basis.
</p>
<a name="Site-and-User-Configuration-File"></a>
<h4 class="subsection">3.1.1 Site and User Configuration File</h4>
<dl>
<dt><a name="index-MAKECONF"></a>Variable: <strong>MAKECONF</strong></dt>
<dd><p>This variable is set to the location of the site-wide configuration
file. If this file exists, it is sourced at the beginning of the
LaTeX-Mk code. Default is <samp>${sysconfdir}/latek-mk.conf</samp> for BSD make and
<samp>${sysconfdir}/latex-gmk.conf</samp> for GNU make. This is where system administrators
can set system wide configuration variables. Any variables defined
here should be defined using <code>VARIABLE?= "new value"</code>
instead of <code>VARIABLE= "new value"</code> so that individual users
can easily override the setting. The default setting may be
changed during configuration of the package using the
<code>--with-mkconf</code> and <code>--with-gmkconf</code> flags to
<code>configure</code>. The <code>sysconfdir</code> directory can be specified
to <code>configure</code> with the <code>--sysconfdir=</code> option.
</p></dd></dl>
<dl>
<dt><a name="index-USER_005fMAKECONF"></a>Variable: <strong>USER_MAKECONF</strong></dt>
<dd><p>This variable is set to the location of a users personal configuration
file. If this file exists, it is sourced at the beginning of the
LaTeX-Mk code. Default is <samp>$HOME/.latex-mk.conf</samp> for BSD make and
<samp>$HOME/.latex-gmk.conf</samp> for GNU make. This file is sourced before
the file specified by <code>MAKECONF</code>. The default setting may be
changed during configuration of the package using the
<code>--with-usermkconf</code> and <code>--with-usergmkconf</code> flags to
<code>configure</code>.
</p></dd></dl>
<a name="Generic-Project-Variables"></a>
<h4 class="subsection">3.1.2 Generic Project Variables</h4>
<p>This section documents the variables which are typically set on a
site-wide or user-wide basis. In a typical installation these variables
do not need to be explicitly set as they will take on reasonable
defaults.
</p>
<dl>
<dt><a name="index-BIBTEX"></a>Variable: <strong>BIBTEX</strong></dt>
<dd><p>The bibtex executible. Defaults to ‘<samp>bibtex</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-BIBTEX_005fENV"></a>Variable: <strong>BIBTEX_ENV</strong></dt>
<dd><p>Deprecated. Actually this variable did not work correctly anyway.
Use LATEX_ENV to set variables for both LaTeX and bibTeX runs.
</p></dd></dl>
<dl>
<dt><a name="index-BIBTEX_005fFLAGS"></a>Variable: <strong>BIBTEX_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the BIBTEX executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-CONVERT"></a>Variable: <strong>CONVERT</strong></dt>
<dd><p>The image file format conversion executible which is
part of the ImageMagick (<a href="http://imagemagick.org/">http://imagemagick.org/</a>)
suite.
Defaults to ‘<samp>convert</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-DVIPDFM"></a>Variable: <strong>DVIPDFM</strong></dt>
<dd><p>The executible which produces PDF files from <samp>.dvi</samp> files.
Defaults to ‘<samp>dvipdfm</samp>’. Note that the default behavior is to use
DVIPS to produce Postscript and then PS2PDF to produce a PDF file. To
use DVIPDFM to directly produce PDF from DVI, set the USE_DVIPDFM
variable.
</p></dd></dl>
<dl>
<dt><a name="index-DVIPDFM_005fENV"></a>Variable: <strong>DVIPDFM_ENV</strong></dt>
<dd><p>A list of variables to be set in the environment when DVIPDFM is
executed.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-DVIPDFM_005fFLAGS"></a>Variable: <strong>DVIPDFM_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the DVIPDFM executible.
Defaults to ‘<samp></samp>’.
</p>
<p>To set flags on a per-document
basis, you can use <code><docname>_DVIPDFM_FLAGS</code>
where <code><docname></code> is the name of the document.
</p></dd></dl>
<dl>
<dt><a name="index-DVIPDFM_005fLANDSCAPE_005fFLAGS"></a>Variable: <strong>DVIPDFM_LANDSCAPE_FLAGS</strong></dt>
<dd><p>A list of flags to be added to DVIPDFM_FLAGS when the LANDSCAPE variable
is set.
Defaults to ‘<samp>-l</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-DVIPS"></a>Variable: <strong>DVIPS</strong></dt>
<dd><p>The executible which produces Postscript files from <samp>.dvi</samp> files.
Defaults to ‘<samp>dvips</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-DVIPS_005fENV"></a>Variable: <strong>DVIPS_ENV</strong></dt>
<dd><p>A list of variables to be set in the environment when DVIPS is
executed.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-DVIPS_005fFLAGS"></a>Variable: <strong>DVIPS_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the DVIPS executible.
Defaults to ‘<samp>-j0</samp>’. Note: versions of latex-mk
prior to 1.2 used ‘<samp>-Ppdf -j0</samp>’ as the default. If
you wish to maintain this behavior on latex-mk-1.2 and
newer, you will need to set this variable in your site or
user configuration file.
</p>
<p>To set flags on a per-document
basis, you can use <code><docname>_DVIPS_FLAGS</code>
where <code><docname></code> is the name of the document.
</p></dd></dl>
<dl>
<dt><a name="index-DVIPS_005fLANDSCAPE_005fFLAGS"></a>Variable: <strong>DVIPS_LANDSCAPE_FLAGS</strong></dt>
<dd><p>A list of flags to be added to DVIPS_FLAGS when the LANDSCAPE variable
is set.
Defaults to ‘<samp>-t landscape</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-GV"></a>Variable: <strong>GV</strong></dt>
<dd><p>The executible which previews Postscript files.
Defaults to ‘<samp>gv</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-GV_005fFLAGS"></a>Variable: <strong>GV_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the GV executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-GV_005fLANDSCAPE_005fFLAGS"></a>Variable: <strong>GV_LANDSCAPE_FLAGS</strong></dt>
<dd><p>A list of flags to be added to GV_FLAGS when the LANDSCAPE variable
is set.
Defaults to ‘<samp>-landscape</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-GZCAT"></a>Variable: <strong>GZCAT</strong></dt>
<dd><p>The gzcat file decompression utility.
Defaults to ‘<samp>gzcat</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-GZIP"></a>Variable: <strong>GZIP</strong></dt>
<dd><p>The gzip file compression utility.
Defaults to ‘<samp>gzip</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-HEVEA"></a>Variable: <strong>HEVEA</strong></dt>
<dd><p>The Hevea executible.
Defaults to ‘<samp>hevea</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-HEVEA_005fENV"></a>Variable: <strong>HEVEA_ENV</strong></dt>
<dd><p>A list of variables to be set in the environment when HEVEA
or IMAGEN is run. For example:
</p><div class="example">
<pre class="example">HEVEA_ENV+= TEXINPUTS=.:/home/usr/tex:
</pre></div>
<p>Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-HEVEA_005fFLAGS"></a>Variable: <strong>HEVEA_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the HEVEA executible.
Defaults to ‘<samp>-fix</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-IMAGEN"></a>Variable: <strong>IMAGEN</strong></dt>
<dd><p>The imagen executible (part of HeVeA).
Defaults to ‘<samp>imagen</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-JPG2EPS"></a>Variable: <strong>JPG2EPS</strong></dt>
<dd><p>The command to convert a JPEG file
to an Encapsulated Postscript (EPS) file.
Defaults to ‘<samp>${CONVERT}</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX"></a>Variable: <strong>LATEX</strong></dt>
<dd><p>The LaTeX executible.
Defaults to ‘<samp>latex</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX_005fENV"></a>Variable: <strong>LATEX_ENV</strong></dt>
<dd><p>A list of variables to be set in the environment when LATEX
is run. For example:
</p><div class="example">
<pre class="example">LATEX_ENV+= TEXINPUTS=.:/home/usr/tex:
</pre></div>
<p>Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX_005fFLAGS"></a>Variable: <strong>LATEX_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the LATEX executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX2HTML"></a>Variable: <strong>LATEX2HTML</strong></dt>
<dd><p>The LaTex2HTML executible.
Defaults to ‘<samp>latex2html</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX2HTML_005fENV"></a>Variable: <strong>LATEX2HTML_ENV</strong></dt>
<dd><p>A list of variables to be set in the environment when LATEX2HTML
is run. For example:
</p><div class="example">
<pre class="example">LATEX2HTML_ENV+= TEXINPUTS=.:/home/usr/tex:
</pre></div>
<p>Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX2HTML_005fFLAGS"></a>Variable: <strong>LATEX2HTML_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the LATEX2HTML executible.
Defaults to ‘<samp>-image_type png -local_icons -show_section_numbers</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX2RTF"></a>Variable: <strong>LATEX2RTF</strong></dt>
<dd><p>The LaTex2rtf executible.
Defaults to ‘<samp>latex2rtf</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX2RTF_005fENV"></a>Variable: <strong>LATEX2RTF_ENV</strong></dt>
<dd><p>A list of variables to be set in the environment when LATEX2RTF
is run.
</p></dd></dl>
<dl>
<dt><a name="index-LATEX2RTF_005fFLAGS"></a>Variable: <strong>LATEX2RTF_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the LATEX2RTF executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LPR"></a>Variable: <strong>LPR</strong></dt>
<dd><p>The executible which spools Postscript files to a printer.
Defaults to ‘<samp>lpr</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LPR_005fFLAGS"></a>Variable: <strong>LPR_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the LPR executible.
For example:
</p><div class="example">
<pre class="example">LPR_FLAGS= -Pbeernuts
</pre></div>
<p>Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-MAKEGLS"></a>Variable: <strong>MAKEGLS</strong></dt>
<dd><p>The executible used to make glossaries.
Defaults to ‘<samp>makeindex</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-MAKEGLS_005fFLAGS"></a>Variable: <strong>MAKEGLS_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the MAKEGLS executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-MAKEIDX"></a>Variable: <strong>MAKEIDX</strong></dt>
<dd><p>The makeindex executible.
Defaults to ‘<samp>makeindex</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-MAKEIDX_005fFLAGS"></a>Variable: <strong>MAKEIDX_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the MAKEIDX executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-MPOST"></a>Variable: <strong>MPOST</strong></dt>
<dd><p>The METApost executible.
Defaults to ‘<samp>mpost</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-MPOST_005fFLAGS"></a>Variable: <strong>MPOST_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the MPOST executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-PDFLATEX"></a>Variable: <strong>PDFLATEX</strong></dt>
<dd><p>The PDFLaTeX executible.
Defaults to ‘<samp>pdflatex</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-PDFLATEX_005fENV"></a>Variable: <strong>PDFLATEX_ENV</strong></dt>
<dd><p>A list of variables to be set in the environment when PDFLATEX
is run. For example:
</p><div class="example">
<pre class="example">PDFLATEX_ENV+= TEXINPUTS=.:/home/usr/tex:
</pre></div>
<p>Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-PDFLATEX_005fFLAGS"></a>Variable: <strong>PDFLATEX_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the PDFLATEX executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-PNG2EPS"></a>Variable: <strong>PNG2EPS</strong></dt>
<dd><p>The command to convert a Portable Network Graphic (PNG) file
to an Encapsulated Postscript (EPS) file.
Defaults to ‘<samp>${CONVERT}</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-POST_005fBIBTEX_005fHOOK"></a>Variable: <strong>POST_BIBTEX_HOOK</strong></dt>
<dd><p>If this variable is set to the name of an executible, then LaTeX-Mk will
run this program/script immediately after a BibTeX run. This hook
provides the ability to do post-processing of the BibTeX output prior to
the final LaTeX run(s). This feature is likely to be of interest to
advanced users only. The program/script is run in the same environment
as specified by LATEX_ENV and is given the project name as an argument.
For example if your <samp>Makefile</samp> contains
</p><div class="example">
<pre class="example">NAME= mydoc
POST_BIBTEX_HOOK= ./my_bib_fixup
</pre></div>
<p>then the after BibTeX is run, ‘<samp>./my_bib_fixup mydoc</samp>’ will be run.
POST_BIBTEX_HOOK defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-PS2PDF"></a>Variable: <strong>PS2PDF</strong></dt>
<dd><p>The executible which produces PDF (<samp>.pdf</samp>) files from Postscript
(<samp>.ps</samp>) files.
Defaults to ‘<samp>ps2pdf</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-PS2PDF_005fFLAGS"></a>Variable: <strong>PS2PDF_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the PS2PDF executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-TAR"></a>Variable: <strong>TAR</strong></dt>
<dd><p>The tar tape archiver utility.
Defaults to ‘<samp>tar</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-TEX2PAGE"></a>Variable: <strong>TEX2PAGE</strong></dt>
<dd><p>The tex2page executible.
Defaults to ‘<samp>tex2page</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-TEX2PAGE_005fENV"></a>Variable: <strong>TEX2PAGE_ENV</strong></dt>
<dd><p>A list of variables to be set in the environment when TEX2PAGE
is run. For example:
</p><div class="example">
<pre class="example">TEX2PAGE_ENV+= TEXINPUTS=.:/home/usr/tex:
</pre></div>
<p>Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-TEX2PAGE_005fFLAGS"></a>Variable: <strong>TEX2PAGE_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the TEX2PAGE executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-USE_005fDVIPDFM"></a>Variable: <strong>USE_DVIPDFM</strong></dt>
<dd><p>When set, this variable causes the DVIPDFM program to be used to
directly generate <samp>.pdf</samp> files from the <samp>.dvi</samp> files instead
of using DVIPS to generate a Postscript file and then PS2PDF to convert
the Postscript to PDF. Please note that the use of this option
currently precludes the generation of the -draft versions of PDF files.
</p></dd></dl>
<dl>
<dt><a name="index-USE_005fHEVEA"></a>Variable: <strong>USE_HEVEA</strong></dt>
<dd><p>When set, this variable causes the HEVEA program to be used to
generate HTML output.
</p></dd></dl>
<dl>
<dt><a name="index-USE_005fLATEX2HTML"></a>Variable: <strong>USE_LATEX2HTML</strong></dt>
<dd><p>When set, this variable causes the LATEX2HTML program to be used to
generate HTML output.
</p></dd></dl>
<dl>
<dt><a name="index-USE_005fPDFLATEX"></a>Variable: <strong>USE_PDFLATEX</strong></dt>
<dd><p>When set, this variable causes the PDFLATEX program to be used to
directly generate <samp>.pdf</samp> files from the <samp>.tex</samp> files instead
of using LATEX to generate a <samp>.dvi</samp> file, DVIPS to generate a
Postscript file and then PS2PDF to convert
the Postscript to PDF. Please note that the use of this option
currently precludes the generation of the -draft versions of PDF files.
</p></dd></dl>
<dl>
<dt><a name="index-USE_005fTEX2PAGE"></a>Variable: <strong>USE_TEX2PAGE</strong></dt>
<dd><p>When set, this variable causes the TEX2PAGE program to be used to
generate HTML output.
</p></dd></dl>
<dl>
<dt><a name="index-VIEWPDF"></a>Variable: <strong>VIEWPDF</strong></dt>
<dd><p>The executible which previews <samp>.pdf</samp> files.
Defaults to ‘<samp>gv</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-VIEWPDF_005fFLAGS"></a>Variable: <strong>VIEWPDF_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the VIEWPDF executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-VIEWPDF_005fLANDSCAPE_005fFLAGS"></a>Variable: <strong>VIEWPDF_LANDSCAPE_FLAGS</strong></dt>
<dd><p>A list of flags to be added to VIEWPDF_FLAGS when the LANDSCAPE variable
is set.
Defaults to ‘<samp>-landscape</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-XDVI"></a>Variable: <strong>XDVI</strong></dt>
<dd><p>The executible which previews <samp>.dvi</samp> files.
Defaults to ‘<samp>xdvi</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-XDVI_005fFLAGS"></a>Variable: <strong>XDVI_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the XDVI executible.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-XDVI_005fLANDSCAPE_005fFLAGS"></a>Variable: <strong>XDVI_LANDSCAPE_FLAGS</strong></dt>
<dd><p>A list of flags to be added to XDVI_FLAGS when the LANDSCAPE variable
is set.
Defaults to ‘<samp>-paper usr</samp>’.
</p></dd></dl>
<a name="Lgrind-Site-Configuration-Variables"></a>
<h4 class="subsection">3.1.3 Lgrind Site Configuration Variables</h4>
<p>This section documents the variables related to lgrind source code
processing. Lgrind is a source code formatter which takes source
code files in various programming languages and formats them for
inclusion in a LaTeX document.
</p>
<dl>
<dt><a name="index-LGRIND"></a>Variable: <strong>LGRIND</strong></dt>
<dd><p>The lgrind executible used for formatting source code for inclusion
into a LaTeX document.
Defaults to ‘<samp>lgrind</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-LGRIND_005fFLAGS"></a>Variable: <strong>LGRIND_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the LGRIND executible.
For example:
</p><div class="example">
<pre class="example">LGRIND_FLAGS= -i -t 4 -d /my/private/lgrindef
</pre></div>
<p>Defaults to ‘<samp>-i</samp>’.
</p></dd></dl>
<a name="Tgif-Site-Configuration-Variables"></a>
<h4 class="subsection">3.1.4 Tgif Site Configuration Variables</h4>
<p>This section documents the variables related to Tgif file processing.
Tgif (<a href="http://bourbon.usc.edu:8001/tgif/tgif.html">http://bourbon.usc.edu:8001/tgif/tgif.html</a>)
is a nice vector drawing program which works well with LaTeX.
Please note that LaTeX-Mk requires that all Tgif files use the extension
<samp>.obj</samp>.
</p>
<dl>
<dt><a name="index-TGIF"></a>Variable: <strong>TGIF</strong></dt>
<dd><p>The tgif executible.
Defaults to ‘<samp>tgif</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-TGIF_005fFLAGS"></a>Variable: <strong>TGIF_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the TGIF executible to cause it to print
to a file. These flags will be used for both PDF and EPS export.
Defaults to ‘<samp>-color -print</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-TGIF_005fEPS_005fFLAGS"></a>Variable: <strong>TGIF_EPS_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the TGIF executible when exporting to
an encapsulated Postscript, <samp>.eps</samp>, file.
Defaults to ‘<samp>-eps</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-TGIF_005fPDF_005fFLAGS"></a>Variable: <strong>TGIF_PDF_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the TGIF executible when exporting to
a PDF, <samp>.pdf</samp>, file.
Defaults to ‘<samp>-pdf</samp>’.
</p></dd></dl>
<a name="Xfig-Site-Configuration-Variables"></a>
<h4 class="subsection">3.1.5 Xfig Site Configuration Variables</h4>
<p>This section documents the variables related to Xfig file processing.
Please note that LaTeX-Mk requires that all Xfig files use the extension
<samp>.fig</samp>.
</p>
<dl>
<dt><a name="index-FIG2DEV"></a>Variable: <strong>FIG2DEV</strong></dt>
<dd><p>The executible which can convert xfig <samp>.fig</samp> files to encapsulated
Postscript <samp>.eps</samp> files.
Defaults to <code>fig2dev</code>.
</p></dd></dl>
<dl>
<dt><a name="index-FIG2DEV_005fFLAGS"></a>Variable: <strong>FIG2DEV_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the FIG2DEV executible to cause it to print
to a file. These flags will be used for both PDF and EPS export.
Defaults to ‘<samp></samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-FIG2DEV_005fEPS_005fFLAGS"></a>Variable: <strong>FIG2DEV_EPS_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the FIG2DEV executible when exporting to
an encapsulated Postscript, <samp>.eps</samp>, file.
Defaults to ‘<samp>-L eps</samp>’.
</p></dd></dl>
<dl>
<dt><a name="index-FIG2DEV_005fPDF_005fFLAGS"></a>Variable: <strong>FIG2DEV_PDF_FLAGS</strong></dt>
<dd><p>A list of flags to be passed to the FIG2DEV executible when exporting to
a PDF, <samp>.pdf</samp>, file.
Defaults to ‘<samp>-L pdf</samp>’.
</p></dd></dl>
<a name="Per_002dProject-Variables"></a>
<h3 class="section">3.2 Per-Project Variables</h3>
<p>This section documents variables which can be set in project Makefiles
to accommodate other dependencies which may be added.
</p>
<a name="Required-Variables"></a>
<h4 class="subsection">3.2.1 Required Variables</h4>
<p>Every project must define the <code>NAME</code> variable.
</p>
<dl>
<dt><a name="index-NAME"></a>Variable: <strong>NAME</strong></dt>
<dd><p>Name of the project. The top level LaTeX input file is assumed to be
called <samp><NAME>.tex</samp>. For projects which have multiple documents,
you would list the top level name for each document here.
For example, if you have a single document, <samp>mydoc</samp>, you would use
</p><div class="example">
<pre class="example">NAME= mydoc
</pre></div>
<p>and if you have multiple documents, <samp>mydoc1</samp>, <samp>mydoc2</samp>,
and <samp>mydoc3</samp>, you would use
</p><div class="example">
<pre class="example">NAME= mydoc1 mydoc2 mydoc3
</pre></div>
</dd></dl>
<a name="Generic-Variables"></a>
<h4 class="subsection">3.2.2 Generic Variables</h4>
<p>The variables described in this section affect all of the top level
documents listed in the <code>NAME</code> variable. This is useful for
listing common dependencies like a header or style file used by all
documents. To list dependencies which are specific to one of the top
level documents, you can use the variable <code><docname>_<VARNAME></code>
where <code><docname></code> is the name of the document and <code><VARNAME></code>
is the name of the variable. For example,
</p><div class="example">
<pre class="example">NAME= doc1 doc2
TEXSRCS= header.tex
doc1_TEXSRCS= intro1.tex body1.tex conclusions.tex
</pre></div>
<p>defines a project with two top level documents, <code>doc1</code> and
<code>doc2</code>. Both documents depend on <samp>header.tex</samp> and in
addition, <code>doc1</code> depends on <samp>intro1.tex</samp>, <samp>body1.tex</samp>,
and <code>conclusions.tex</code>. More information on the <code>TEXSRCS</code>
variable is given later.
</p>
<dl>
<dt><a name="index-BIBTEXSRCS"></a>Variable: <strong>BIBTEXSRCS</strong></dt>
<dd><p>All files listed in this variable are assumed to be BibTeX input files.
Listing files in this variable will cause a dependency to be
added to the top level project and BibTeX will be run on these files as
needed.
</p></dd></dl>
<dl>
<dt><a name="index-CLEAN_005fFILES"></a>Variable: <strong>CLEAN_FILES</strong></dt>
<dd><p>Files listed in this variable will be removed when the <code>clean</code>
target is made. When setting this variable in a <samp>Makefile</samp>, the
<code>+=</code> syntax should be used to append to this variable. For
example:
</p><div class="example">
<pre class="example">CLEAN_FILES+= my_leftover_file foo.bak
</pre></div>
<p>will add <samp>my_leftover_file</samp> and <samp>foo.bak</samp> to the list of files
to be removed when ‘<samp>make clean</samp>’ is run.
</p></dd></dl>
<dl>
<dt><a name="index-EXTRA_005fDIST"></a>Variable: <strong>EXTRA_DIST</strong></dt>
<dd><p>Files listed in this variable will be added to the archive file created
with the <code>dist</code> target.
</p><div class="example">
<pre class="example">EXTRA_DIST+= README.txt
</pre></div>
</dd></dl>
<dl>
<dt><a name="index-OTHER"></a>Variable: <strong>OTHER</strong></dt>
<dd><p>Files listed in this variable will be added to the dependency list for
the <samp>.dvi</samp> file. For example if you want to add all <samp>.eps</samp>
and <samp>.epsi</samp>
files in a particular directory as well as some <samp>.png</samp> files
from another directory to the dependency list, then using BSD
make, you could add:
<a name="index-make_002c-differences-between-GNU-and-BSD-1"></a>
<a name="index-GNU-make_002c-versus-BSD-make-1"></a>
<a name="index-BSD-make_002c-versus-GNU-make-1"></a>
<a name="index-wildcard_002c-Makefile-syntax-for"></a>
</p><div class="example">
<pre class="example">OTHER_EPS!= ls eps/*.eps*
OTHER+= $(OTHER_EPS)
OTHER_PNG!= ls png/*.png
OTHER+= $(OTHER_PNG:.png=.eps)
CLEAN_FILES+= $(OTHER_PNG:.png=.eps)
</pre></div>
<p>If you are using GNU make, you would use
</p><div class="example">
<pre class="example">OTHER_EPS= $(wildcard eps/*.eps*)
OTHER+= $(OTHER_EPS)
OTHER_PNG= $(wildcard png/*.png)
OTHER+= $(OTHER_PNG:.png=.eps)
CLEAN_FILES+= $(OTHER_PNG:.png=.eps)
</pre></div>
</dd></dl>
<dl>
<dt><a name="index-TEXSRCS"></a>Variable: <strong>TEXSRCS</strong></dt>
<dd><p>All files listed in this variable are assumed to be LaTeX input files.
Listing files in this variable will cause a dependency to be
added to the top level project. All LaTeX files used in the project
should be listed in this variable with the exception of the top level
LaTeX file which is automatically included by LaTeX-Mk.
</p></dd></dl>
<a name="Per_002dProject-Lgrind-Variables"></a>
<h4 class="subsection">3.2.3 Per-Project Lgrind Variables</h4>
<dl>
<dt><a name="index-LGRINDSRCS"></a>Variable: <strong>LGRINDSRCS</strong></dt>
<dd><p>All files listed in this variable are assumed to be source code files
to be processed by lgrind.
Listing files in this variable will cause a dependency to be
added to the top level project and will cause these files to be
automatically re-formatted as required.
</p></dd></dl>
<dl>
<dt><a name="index-LGRINDDIRS"></a>Variable: <strong>LGRINDDIRS</strong></dt>
<dd><p>A list of directories containing source code can be listed in this
variable. All files found in those directories which have extensions
will be formated using lgrind. Files without a <samp>.*</samp> extension
will be ignored.
These files will be added to the top
level dependency list and will be
automatically re-formatted as required.
</p></dd></dl>
<dl>
<dt><a name="index-foo_005fLGRIND_005fFLAGS"></a>Variable: <strong>foo_LGRIND_FLAGS</strong></dt>
<dd><p>This variable sets specific flags which should be passed to lgrind
when processing the source file <samp>foo</samp>. For example,
</p><div class="example">
<pre class="example">mymodule.v_LGRIND_FLAGS= -lverilog
</pre></div>
<p>If <samp>foo</samp> is a directory which has been listed in LGRINDDIRS, then
foo_LGRIND_FLAGS will be used for all files in the specified
directory. You can define flags for an entire directory and then
override it for a single file if needed. For example, suppose you
want to use 4 as the tab width for all sources in the directory
<samp>srcs</samp> except for <samp>srcs/funny.c</samp> where you want to use a tab
width of 8. You would achieve this with
</p>
<div class="example">
<pre class="example">srcs_LGRIND_FLAGS= -t 4
srcs/funny.c_LGRIND_FLAGS= -t 8
</pre></div>
</dd></dl>
<a name="Per_002dProject-META_002dpost-Variables"></a>
<h4 class="subsection">3.2.4 Per-Project META-post Variables</h4>
<dl>
<dt><a name="index-MPOSTSRCS"></a>Variable: <strong>MPOSTSRCS</strong></dt>
<dd><p>All files listed in this variable are assumed to be META-post <samp>.mp</samp>
files. Listing files in this variable will cause a dependency to be
added to the top level project and will cause these files to be
automatically re-exported to Postscript and/or PDF as required.
</p></dd></dl>
<dl>
<dt><a name="index-MPOSTDIRS"></a>Variable: <strong>MPOSTDIRS</strong></dt>
<dd><p>A list of directories containing META-post figured can be listed in this
variable. All <samp>.mp</samp> files found in those directories are assumed
to be META-post <samp>.mp</samp> files. These files will be added to the top
level dependency list and will be
automatically re-exported to Postscript and/or PDF as required.
</p></dd></dl>
<dl>
<dt><a name="index-MPOST_005fTWICE"></a>Variable: <strong>MPOST_TWICE</strong></dt>
<dd><p>By default META-post is run once for each of its input files. Setting
this variable will cause META-post to run twice on each input file.
Some figures may require this and I haven’t figured out if there is a
way to automatically make this determination like there is with LaTeX.
</p></dd></dl>
<a name="Per_002dProject-Tgif-Variables"></a>
<h4 class="subsection">3.2.5 Per-Project Tgif Variables</h4>
<dl>
<dt><a name="index-TGIFSRCS"></a>Variable: <strong>TGIFSRCS</strong></dt>
<dd><p>All files listed in this variable are assumed to be tgif <samp>.obj</samp>
files. Listing files in this variable will cause a dependency to be
added to the top level project and will cause these files to be
automatically re-exported to Postscript as required.
</p></dd></dl>
<dl>
<dt><a name="index-TGIFDIRS"></a>Variable: <strong>TGIFDIRS</strong></dt>
<dd><p>A list of directories containing tgif drawings can be listed in this
variable. All <samp>.obj</samp> files found in those directories are assumed
to be tgif <samp>.obj</samp> files. These files will be added to the top
level dependency list and will be
automatically re-exported to Postscript as required.
</p></dd></dl>
<a name="Per_002dProject-Xfig-Variables"></a>
<h4 class="subsection">3.2.6 Per-Project Xfig Variables</h4>
<dl>
<dt><a name="index-XFIGSRCS"></a>Variable: <strong>XFIGSRCS</strong></dt>
<dd><p>All files listed in this variable are assumed to be xfig <samp>.fig</samp>
files. Listing files in this variable will cause a dependency to be
added to the top level project and will cause these files to be
automatically re-exported to Postscript as required.
</p></dd></dl>
<dl>
<dt><a name="index-XFIGDIRS"></a>Variable: <strong>XFIGDIRS</strong></dt>
<dd><p>A list of directories containing xfig drawings can be listed in this
variable. All <samp>.fig</samp> files found in those directories are assumed
to be xfig <samp>.fig</samp> files. These files will be added to the top
level dependency list and will be
automatically re-exported to Postscript as required.
</p></dd></dl>
<hr>
<a name="HTML"></a>
<div class="header">
<p>
Next: <a href="#Recursive" accesskey="n" rel="next">Recursive</a>, Previous: <a href="#Variables" accesskey="p" rel="prev">Variables</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="HTML-Output"></a>
<h2 class="chapter">4 HTML Output</h2>
<p>LaTeX-Mk includes support for generating HTML output. Currently
Latex2HTML (see <a href="http://www.latex2html.org">http://www.latex2html.org</a>), HeVeA (see
<a href="http://para.inria.fr/~maranget/hevea/">http://para.inria.fr/~maranget/hevea/</a>), or tex2page
(see <a href="http://www.ccs.neu.edu/home/dorai/tex2page/">http://www.ccs.neu.edu/home/dorai/tex2page/</a>)
can be used for producing
an HTML version of your document. The selection of which program to
use is done with the USE_HEVEA, USE_LATEX2HTML, and USE_TEX2PAGE
variables. Simply
define one of these in your <samp>${sysconfdir}/latex-mk.conf</samp> file
(for site-wide configuration) or <samp>$HOME/.latex-mk.conf</samp> (for
per-user configuration). If you are using GNU make, the variable would
be set in <samp>${sysconfdir}/latex-gmk.conf</samp> or
<samp>$HOME/.latex-gmk.conf</samp> instead. You can also override this
setting in your project <samp>Makefile</samp>. For example, to use Latex2HTML,
add
</p><div class="example">
<pre class="example">USE_LATEX2HTML= yes
</pre></div>
<p>to your configuration file or to your project <samp>Makefile</samp>.
</p>
<p>To generate HTML output, simply run ‘<samp>make html</samp>’. The HTML output
along with any image files will be placed in a subdirectory called
<samp>${NAME}.html_dir</samp>. For example, if you have a project with two
top level documents, your <samp>Makefile</samp> might look like:
</p><div class="example">
<pre class="example">NAME= doc1 doc2
.include "/usr/pkg/share/latex-mk/latex.mk"
</pre></div>
<p>After running ‘<samp>make html</samp>’, you will have two new subdirectories
called <samp>doc1.html_dir</samp> and <samp>doc2.html_dir</samp> containing HTML
versions of the two documents.
</p>
<p>To keep track of which files have been generated during the conversion,
a temporary file, <samp>${NAME}.www_files</samp> gets created and all
generated files are recorded there. This allows the output produced by
HeVeA to be moved to the correct subdirectory as well as allowing
‘<samp>make clean</samp>’ to work.
</p>
<p>The HTML generation is still new and there are probably some bugs to
work out. Please submit bug reports. There are also some features
which may be useful that have not been integrated. For example the
program <samp>hacha</samp> could be used for breaking the HeVeA output into
several smaller files.
</p>
<hr>
<a name="Recursive"></a>
<div class="header">
<p>
Next: <a href="#Obtaining" accesskey="n" rel="next">Obtaining</a>, Previous: <a href="#HTML" accesskey="p" rel="prev">HTML</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Using-LaTeX_002dMk-Recursively"></a>
<h2 class="chapter">5 Using LaTeX-Mk Recursively</h2>
<p>In some cases you may wish to organize multiple documents into their
own subdirectories but still be able to build all of them with a
single make call. This is supported in LaTeX-Mk via the use of the
<samp>latex.subdir.mk</samp> makefile fragment. To use recursion, create a
<samp>Makefile</samp>, in your top level directory which looks something
like the following example.
</p>
<div class="example">
<pre class="example">
SUBDIR+= project1
SUBDIR+= project2
SUBDIR+= project3
.include "/usr/share/latex-mk/latex.subdir.mk"
</pre></div>
<p>Now create your usual LaTeX-Mk Makefiles in the <samp>project1</samp>,
<samp>project2</samp>, and <samp>project3</samp> subdirectories. Additional
subdirectories are added to the <code>SUBDIR</code> variable. Multiple
levels of subdirectories make be used. Please note that currently the
use of both <samp>latex.mk</samp> and <samp>latex.subdir.mk</samp> in a single
Makefile is not supported.
</p>
<hr>
<a name="Obtaining"></a>
<div class="header">
<p>
Next: <a href="#Installation" accesskey="n" rel="next">Installation</a>, Previous: <a href="#Recursive" accesskey="p" rel="prev">Recursive</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Obtaining-LaTeX_002dMk"></a>
<h2 class="chapter">6 Obtaining LaTeX-Mk</h2>
<p>The latest information and version of LaTeX-Mk can be found on the main
LaTeX-Mk
web site at <a href="http://latex-mk.sourceforge.net">http://latex-mk.sourceforge.net</a>.
A package for the NetBSD operating system (see <a href="http://www.NetBSD.org">http://www.NetBSD.org</a> for
information about NetBSD)
exists at
<a href="ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/print/latex-mk/README.html">ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/print/latex-mk/README.html</a>.
A port for the FreeBSD operating system (see <a href="http://www.FreeBSD.org">http://www.FreeBSD.org</a> for
information about FreeBSD)
exists at
<a href="http://www.freshports.org/misc/latex-mk">http://www.freshports.org/misc/latex-mk</a>.
</p>
<hr>
<a name="Installation"></a>
<div class="header">
<p>
Next: <a href="#Feedback" accesskey="n" rel="next">Feedback</a>, Previous: <a href="#Obtaining" accesskey="p" rel="prev">Obtaining</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Installing-LaTeX_002dMk"></a>
<h2 class="chapter">7 Installing LaTeX-Mk</h2>
<a name="System-Requirements"></a>
<h3 class="section">7.1 System Requirements</h3>
<p>To configure and install LaTeX-Mk, you will need a Unix-like operating
system or shell with a compatible make program. In addition, to use
LaTeX-Mk, you will require:
</p>
<ol>
<li> <code>latex</code>. The development of LaTeX-Mk was done using Thomas Esser’s
TeX distribution, teTeX, version 1.0.7. More information on teTeX can
be found at <a href="http://www.tug.org/tetex/">http://www.tug.org/tetex/</a>.
</li><li> Either GNU make version 3.80 or higher or a BSD make program.
For information on GNU make, see
<a href="http://www.gnu.org/software/make/">http://www.gnu.org/software/make/</a>. For information on the NetBSD
operating system (which of course includes BSD make), see
<a href="http://www.netbsd.org">http://www.netbsd.org</a>. If you wish to install BSD make on a
non-BSD system, you can try downloading one of the bmake snapshots from
files area of the LaTeX-Mk sourceforge project page at
<a href="http://www.sourceforge.net/projects/latex-mk">http://www.sourceforge.net/projects/latex-mk</a>.
The GNU make version requirement is firm. LaTeX-Mk will not work
with versions of GNU make prior to 3.80. It is highly unlikely that
LaTeX-Mk will be ported to older GNU make versions due to the lack of
some important features in older versions.
</li></ol>
<a name="Installation-1"></a>
<h3 class="section">7.2 Installation</h3>
<p>Installation of LaTeX-Mk consists of three steps: configuration,
building, and installing. In a typical installation, this is as simple
as
</p><div class="example">
<pre class="example">./configure
make
make install
</pre></div>
<p>This will configure LaTeX-Mk with the defaults, create the final files
to be installed, and install them in the proper location. The
<samp>configure</samp> script is a standard GNU autoconf script. The most
common option is the ‘<samp>--prefix=<installation prefix></samp>’ option. This
causes LaTeX-Mk to use <code><installation prefix></code> as the base
directory for the installation.
</p>
<p>Running <code>configure --help</code> will give a list of the available
configuration options. The ones which are specific to LaTeX-Mk, as
opposed to being generic configure options are listed here.
<code>--with-mkconf=<mkconf></code>: this option changes the default system
configuration file for BSD make. This file defaults to
<samp>${sysconfdir}/latex-mk.conf</samp>.
<code>--with-gmkconf=<gmkconf></code>: this option changes the default system
configuration file for GNU make. This file defaults to
<samp>${sysconfdir}/latex-gmk.conf</samp>.
<code>--with-usermkconf=<usermkconf></code>: this option changes the default
user
configuration file for BSD make. This file defaults to
<samp>$HOME/.latex-mk.conf</samp>.
<code>--with-usergmkconf=<usergmkconf></code>: this option changes the
default user
configuration file for GNU make. This file defaults to
<samp>$HOME/.latex-gmk.conf</samp>.
</p>
<hr>
<a name="Feedback"></a>
<div class="header">
<p>
Next: <a href="#Alternatives" accesskey="n" rel="next">Alternatives</a>, Previous: <a href="#Installation" accesskey="p" rel="prev">Installation</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Feedback-1"></a>
<h2 class="chapter">8 Feedback</h2>
<a name="index-BUGS_002c-reporting"></a>
<a name="index-Reporting-BUGS"></a>
<a name="index-E_002dmail_002c-bug-reports"></a>
<p>To report bugs, provide feedback, suggest new features, etc. visit the
LaTeX-Mk Project management page at
<a href="http://www.sourceforge.net/projects/latex-mk">http://www.sourceforge.net/projects/latex-mk</a> or send email to the
author at <a href="mailto:danmc@users.sourceforge.net">danmc@users.sourceforge.net</a>.
For information on the current version of LaTeX-Mk, visit the LaTeX-Mk
homepage at <a href="http://latex-mk.sourceforge.net">http://latex-mk.sourceforge.net</a>.
</p>
<hr>
<a name="Alternatives"></a>
<div class="header">
<p>
Next: <a href="#History" accesskey="n" rel="next">History</a>, Previous: <a href="#Feedback" accesskey="p" rel="prev">Feedback</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Alternatives-1"></a>
<h2 class="chapter">9 Alternatives</h2>
<a name="index-alternatives-to-LaTeX_002dMk"></a>
<p>There are a few tools which are somewhat similar to LaTeX-Mk. I have
not reviewed them in any detail and thus am unable to comment on how similar
or different they are compared to LaTeX-Mk.
</p><ol>
<li> "mk" <a href="http://www.servalys.nl/scripts/">http://www.servalys.nl/scripts/</a>
</li></ol>
<hr>
<a name="History"></a>
<div class="header">
<p>
Next: <a href="#Target-Index" accesskey="n" rel="next">Target Index</a>, Previous: <a href="#Alternatives" accesskey="p" rel="prev">Alternatives</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="History-1"></a>
<h2 class="chapter">10 History</h2>
<a name="The-Dark-Ages"></a>
<h3 class="section">10.1 The Dark Ages</h3>
<p>In the beginning I used a WYSIWYG word processor from a large software
vendor in the Pacific Northwest of the US. It worked for short papers,
it was horrible for medium to long documents, painful for equations,
and painful for figures. Then I learned LaTeX and life was much much
better.
</p>
<a name="The-Giant-Per_002dProject-Makefile"></a>
<h3 class="section">10.2 The Giant Per-Project Makefile</h3>
<p>In graduate school, a friend showed me a makefile he had set up for his
thesis. It contained all sorts of targets and some intelligence about
running LaTeX multiple times for resolving references. I made a
modified version of that for my thesis and even wrote a book
where I used yet another modified version of that makefile. This
approach was much better than doing everything by hand because I had
added a lot of functionality over my friends makefile. In particular,
my new makefile automatically dealt with tgif figures and I had many
many figures in the thesis and the book.
</p>
<p>Despite the utility of the large customized makefile I had, it was not
maintainable in the sense that every time I started a new document, I’d
end up with another copy of a very large makefile to maintain. If I
fixed a bug in one, I’d have several other documents in progress which
needed updating.
</p>
<a name="Enter-LaTeX_002dMk"></a>
<h3 class="section">10.3 Enter LaTeX-Mk</h3>
<p>For those of you familiar with the build system used by the BSD
operating systems, you’ll know that for each program, there is a very
simple makefile which lists the source files along with a couple of
other variables which can optionally be set. Then a system makefile
called <samp>bsd.prog.mk</samp> is included. That included makefile
fragment has all the code required to provide all the standard targets,
sets up the various compiler flags and correctly handles all the
dependencies. It is maintainable because the bulk of the code is common
and only needs to be maintained in one place.
</p>
<p>Being inspired by the BSD style makefile approach, I converted my most
up to date giant per-project makefile into an <code>include</code>-able makefile
fragment and spent some time defining the interface a bit more
generically than I’d done in the past. Since that time I’ve used the
result, LaTeX-Mk, for the last few documents at school, some papers I’ve
worked on since then and also for work related documentation. So far,
the makefile framework has proven to be very useful and a big time saver
for me. Since I believe in open-source software I felt it was
appropriate to document my efforts and provide a packaged solution that
others could also use.
</p>
<a name="The-Modern-Era-of-LaTeX_002dMk"></a>
<h3 class="section">10.4 The Modern Era of LaTeX-Mk</h3>
<a name="Version-0_002e9"></a>
<h4 class="subsection">10.4.1 Version 0.9</h4>
<p>Released on 2002-10-09, this was the first public
release of LaTeX-Mk. My reason for using 0.9 instead of 1.0 is that
LaTeX-Mk had not been tested or used much by others yet. Even though it
works well for me, as with any product I’m sure others will quickly
find other ways to use it that I had not anticipated. My goal is to
collect feedback over the first few months of public consumption and
come out with a 1.0 version which incorporates the primary improvements.
</p>
<a name="Version-0_002e9_002e1"></a>
<h4 class="subsection">10.4.2 Version 0.9.1</h4>
<p>This is a bug fix version released on 2002-10-29.
The significant changes over the previous
version are:
</p><ul>
<li> Per-document Xfig dependencies are now supported. This was an oversight
in the previous version.
</li><li> A big non-portable GNU make hack has been removed. Starting with this
<a name="index-GNU-make_002c-version-required"></a>
version of LaTeX-Mk, you will need version 3.80 or newer of GNU make
(run <code>gmake --version</code> to check your GNU make version) if you are
using the GNU make interface to LaTeX-Mk. The new implementation is
much cleaner and should continue to work with all newer versions of GNU
make.
</li><li> The history section of the manual was added.
</li></ul>
<a name="Version-1_002e0"></a>
<h4 class="subsection">10.4.3 Version 1.0</h4>
<p>This is the long awaited 1.0 release! Hopefully LaTeX-Mk can be considered
production/stable at this point. This release was made on 2003-02-26.
The significant changes/additions over the previous version are:
</p><ul>
<li> Support for dvipdfm
(see <a href="http://gaspra.kettering.edu/dvipdfm">http://gaspra.kettering.edu/dvipdfm</a>) is
included. By setting the USE_DVIPDFM variable, the
<code>dvipdfm</code> program can be used to
generate <samp>.pdf</samp> files from the <samp>.dvi</samp> file generated by LaTeX.
</li><li> Support for PDFLaTeX is
included. By setting the USE_PDFLATEX variable, the
<code>pdflatex</code> program can be used to
generate <samp>.pdf</samp> files directly from the TeX sources.
</li><li> A testsuite is now included. This has resulted in the fixing of a handful of small
bugs and should greatly contribute to the reliability and stability of this tool.
</li><li> Bugs related to processing multiple directories listed in TGIFDIRS and XFIGDIRS have
been fixed.
</li><li> Bugs related to per-project processing of foo_TGIFDIRS and foo_XFIGDIRS have been fixed.
</li><li> A bug in <code>latex-mk</code> relating to BibTeX has been
fixed. Previously, after a BibTeX run, <code>latex-mk</code> failed to run
LaTeX the correct number of times.
</li></ul>
<a name="Version-1_002e1"></a>
<h4 class="subsection">10.4.4 Version 1.1</h4>
<p>This is the "HTML Support" release. Version 1.1 was released on 2003-06-15.
The significant changes/additions over the previous version are:
</p><ul>
<li> Support for HTML output. Either LaTeX2HTML or HeVeA may be used.
</li><li> Fixed a bug where bibtex was not run sometimes when it needed to
be run. This problem showed up with some versions of LaTeX.
</li><li> Added a POST_BIBTEX_HOOK variable which specifies a program to be
run after a BibTeX run. This gives users the ability to insert an
additional processing step if desired.
</li></ul>
<a name="Version-1_002e2"></a>
<h4 class="subsection">10.4.5 Version 1.2</h4>
<p>Version 1.2 was released on 2004-03-21.
The significant changes/additions over the previous version are:
</p><ul>
<li> Fixed a bug which prevented the POST_BIBTEX_HOOK hook from
actually doing anything.
</li><li> Dropped -Ppdf from the default DVIPS_FLAGS. Users who wish
to keep -Ppdf as part of DVIPS_FLAGS can add it to the site configuration file,
user configuration file, or project Makefile.
</li><li> Added DVIPDFM_ENV variable for running <code>dvipdfm</code> inside
a customized environment.
</li><li> Preliminary Rich Text Format (RTF) output support.
The new <code>rtf</code> target will use <code>latex2rtf</code> to produce an
RTF version of your document. Use this when sending your documents
to the text-formatter-challenged.
</li><li> Fixed a bug where a list of figures, list of tables, and
table of contents were sometimes not fully up to date in the final
output.
</li><li> Added support for using ImageMagick to convert JPEG and PNG
files to EPS for inclusion in a document.
</li></ul>
<a name="Version-1_002e3"></a>
<h4 class="subsection">10.4.6 Version 1.3</h4>
<p>Version 1.3 was released on 2004-05-29.
The significant changes/additions over the previous version are:
</p><ul>
<li> Fixed a bug which prevented BibTeX from being run in the case
where the source document did not have explicit \cite{} commands
but rather used \nocite{}. Bug report #927068.
</li><li> Fixed some file names in the examples/ directory to avoid a
file name clash on file systems which are not case sensitive. This
should fix a long standing bug where latex-mk would not build under
cygwin. Bug report #946216.
</li></ul>
<a name="Version-1_002e4"></a>
<h4 class="subsection">10.4.7 Version 1.4</h4>
<p>Version 1.4 was released on 2005-10-04.
The significant changes/additions over the previous version are:
</p><ul>
<li> Added support for lgrind.
</li><li> Added a <code>dist</code> target for creating a distribution archive
of all source files.
</li><li> Added support for using tex2page for html output.
</li><li> When using pdflatex, directly convert tgif and xfig drawings
to PDF instead of to encapsulated Postscript.
</li><li> When using pdflatex, do not create <samp>.dvi</samp> files as part
of the default target.
</li><li> Added a LANDSCAPE variable which when set will add landscape
flags to various tools.
</li><li> Make the default flag for exporting xfig drawings to encapsulated
Postscript be <code>-L eps</code> instead of <code>-L ps</code>.
</li></ul>
<a name="Version-1_002e5"></a>
<h4 class="subsection">10.4.8 Version 1.5</h4>
<ul>
<li> When using tex2page or HeVeA for html output, do not force the
running of LaTeX. With latex2html, LaTeX will still be run because
latex2html makes use of the <samp>.aux</samp> files generated by LaTeX.
</li><li> Fixed a bug where if the BibTeX input file was modified LaTeX would
be run again but not BibTeX.
</li><li> Added a <code>--tex2page</code> mode for <code>latex-mk</code> (the script) which
allows <code>latex-mk</code> to run tex2page the appropriate number
of times to resolves all references.
</li><li> Improve the cleaning of tex2page generated output.
</li><li> Added <samp>latex.subdir.mk</samp> to support recursive builds.
</li></ul>
<a name="Version-1_002e6"></a>
<h4 class="subsection">10.4.9 Version 1.6</h4>
<ul>
<li> Fix a syntax error in the (not used yet) ieee-copyout script.
</li><li> Fix a bug in the <code>latex-mk</code> script when BibTeX is used.
</li><li> Add quoting of command names in the BSD makefiles. This will
properly deal with pathnames to the programs which contain spaces.
Currently GNU make will not properly deal with this.
</li></ul>
<a name="Version-1_002e7"></a>
<h4 class="subsection">10.4.10 Version 1.7</h4>
<ul>
<li> Added support for makeindex. Suggested by Antoine Reilles who provided a preliminary
patch.
</li><li> Added a <code>--help</code> flag to the <code>latex-mk</code> script and documented the script a bit more
there. It seems that some users are using the <code>latex-mk</code> script only and not the makefile
system. Suggested by Reuben Thomas.
</li><li> Added the ability in the <code>latex-mk</code> script to work with a read only current directory
and use the TEXMFOUTPUT environment variable to control where the real output goes.
Suggested by Reuben Thomas.
</li></ul>
<a name="Version-1_002e8"></a>
<h4 class="subsection">10.4.11 Version 1.8</h4>
<ul>
<li> Fix a syntax error in the <code>latex-mk</code> script which showed up with some shells.
</li><li> Fix a bug in the <code>latex-mk</code> script where some of the <samp>.old</samp> files that are used
for determining when to re-run various tools were not being cleaned up properly.
</li><li> Add a few more files which latex and makeindex may generate to the list of files
removed by the <code>clean</code> target.
</li><li> Add a testsuite entry for the <code>clean</code> target.
</li><li> Improve the makefile testsuite robustness. In particular it now deals with
the bmake program having different names (make, bmake, bsdmake, etc).
</li><li> Improve and expand the testsuite for the <code>latex-mk</code> script.
</li></ul>
<a name="Version-1_002e9"></a>
<h4 class="subsection">10.4.12 Version 1.9</h4>
<ul>
<li> Added support for per-document DVIPS_FLAGS and DVIPDFM_FLAGS.
</li><li> Avoided the use of hardcoded csh in some scripts.
</li><li> Removed claims of a BIBTEX_ENV variable in the documentation.
It didn’t do anything.
</li><li> Added METAPOST support.
</li><li> Fixed a bug when using BibTeX and PDFLaTeX at the same time.
</li><li> Added glossary support.
</li><li> Fixed a bug with GNU make draft output.
</li><li> Put the actual installation prefix into the manual.
</li><li> Avoid a case which caused the testsuite to hang.
</li><li> Expanded the testsuite and fixed some bugs in the testsuite.
</li><li> Fix a bug in cleaning xfig and tgif output.
</li></ul>
<a name="Version-1_002e9_002e1"></a>
<h4 class="subsection">10.4.13 Version 1.9.1</h4>
<ul>
<li> Fixed a bug in the <code>clean</code> target when METAPOST is in use.
</li></ul>
<a name="Version-2_002e0"></a>
<h4 class="subsection">10.4.14 Version 2.0</h4>
<ul>
<li> Added support for the bibunits LaTeX package.
</li><li> Fixed a bug where PDFLATEX_FLAGS was not being
properly passed down to the latex-mk script when
bibtex was in use.
</li><li> Fixed a bug where exporting Xfig figures to PDF actually
produced postscript instead of PDF.
</li></ul>
<a name="Version-2_002e1"></a>
<h4 class="subsection">10.4.15 Version 2.1</h4>
<ul>
<li> Fixed a bug in the quoting of lgrind related variables. The
result is that the clean target didn’t quite work right.
</li><li> Improved quoting in the latex-mk script to better handle
the case of a file name with spaces in it.
</li></ul>
<hr>
<a name="Target-Index"></a>
<div class="header">
<p>
Next: <a href="#Variable-Index" accesskey="n" rel="next">Variable Index</a>, Previous: <a href="#History" accesskey="p" rel="prev">History</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Target-Index-1"></a>
<h2 class="unnumbered">Target Index</h2>
<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#Target-Index_tr_letter-C"><b>C</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-D"><b>D</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-H"><b>H</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-P"><b>P</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-R"><b>R</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-S"><b>S</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-V"><b>V</b></a>
</td></tr></table>
<table class="index-tr" border="0">
<tr><td></td><th align="left">Index Entry</th><td> </td><th align="left"> Section</th></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Target-Index_tr_letter-C">C</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-clean-1"><code>clean</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Target-Index_tr_letter-D">D</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-dist-1"><code>dist</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-dvi-1"><code>dvi</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Target-Index_tr_letter-H">H</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-html-1"><code>html</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Target-Index_tr_letter-P">P</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-pdf-1"><code>pdf</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-pdf_002ddraft-1"><code>pdf-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-print-1"><code>print</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-print_002ddraft-1"><code>print-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-print_005f_003cname_003e-1"><code>print_<name></code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-print_005f_003cname_003e_002ddraft-1"><code>print_<name>-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-ps-1"><code>ps</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-ps_002ddraft-1"><code>ps-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-ps_005f_003cname_003e_002ddraft-1"><code>ps_<name>-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Target-Index_tr_letter-R">R</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-rtf-1"><code>rtf</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Target-Index_tr_letter-S">S</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-show_002dvar-1"><code>show-var</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Target-Index_tr_letter-V">V</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-view-1"><code>view</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-viewpdf-1"><code>viewpdf</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-viewpdf_002ddraft-1"><code>viewpdf-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-viewpdf_005f_003cname_003e-1"><code>viewpdf_<name></code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-viewpdf_005f_003cname_003e_002ddraft-1"><code>viewpdf_<name>-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-viewps-1"><code>viewps</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-viewps_002ddraft-1"><code>viewps-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-viewps_005f_003cname_003e-1"><code>viewps_<name></code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-viewps_005f_003cname_003e_002ddraft-1"><code>viewps_<name>-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-view_005f_003cname_003e-1"><code>view_<name></code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-view_005f_003cname_003e_002ddraft-1"><code>view_<name>-draft</code></a>:</td><td> </td><td valign="top"><a href="#Targets">Targets</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
</table>
<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#Target-Index_tr_letter-C"><b>C</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-D"><b>D</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-H"><b>H</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-P"><b>P</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-R"><b>R</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-S"><b>S</b></a>
<a class="summary-letter" href="#Target-Index_tr_letter-V"><b>V</b></a>
</td></tr></table>
<hr>
<a name="Variable-Index"></a>
<div class="header">
<p>
Next: <a href="#General-Index" accesskey="n" rel="next">General Index</a>, Previous: <a href="#Target-Index" accesskey="p" rel="prev">Target Index</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Variable-Index-1"></a>
<h2 class="unnumbered">Variable Index</h2>
<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#Variable-Index_vr_letter-B"><b>B</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-C"><b>C</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-D"><b>D</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-E"><b>E</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-F"><b>F</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-G"><b>G</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-H"><b>H</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-I"><b>I</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-J"><b>J</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-L"><b>L</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-M"><b>M</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-N"><b>N</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-O"><b>O</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-P"><b>P</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-T"><b>T</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-U"><b>U</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-V"><b>V</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-X"><b>X</b></a>
</td></tr></table>
<table class="index-vr" border="0">
<tr><td></td><th align="left">Index Entry</th><td> </td><th align="left"> Section</th></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-B">B</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-BIBTEX"><code>BIBTEX</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-BIBTEXSRCS"><code>BIBTEXSRCS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-BIBTEX_005fENV"><code>BIBTEX_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-BIBTEX_005fFLAGS"><code>BIBTEX_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-C">C</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-CLEAN_005fFILES"><code>CLEAN_FILES</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-CONVERT"><code>CONVERT</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-D">D</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-DVIPDFM"><code>DVIPDFM</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-DVIPDFM_005fENV"><code>DVIPDFM_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-DVIPDFM_005fFLAGS"><code>DVIPDFM_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-DVIPDFM_005fLANDSCAPE_005fFLAGS"><code>DVIPDFM_LANDSCAPE_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-DVIPS"><code>DVIPS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-DVIPS_005fENV"><code>DVIPS_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-DVIPS_005fFLAGS"><code>DVIPS_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-DVIPS_005fLANDSCAPE_005fFLAGS"><code>DVIPS_LANDSCAPE_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-E">E</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-EXTRA_005fDIST"><code>EXTRA_DIST</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-F">F</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-FIG2DEV"><code>FIG2DEV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-FIG2DEV_005fEPS_005fFLAGS"><code>FIG2DEV_EPS_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-FIG2DEV_005fFLAGS"><code>FIG2DEV_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-FIG2DEV_005fPDF_005fFLAGS"><code>FIG2DEV_PDF_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-foo_005fLGRIND_005fFLAGS"><code>foo_LGRIND_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-G">G</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-GV"><code>GV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-GV_005fFLAGS"><code>GV_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-GV_005fLANDSCAPE_005fFLAGS"><code>GV_LANDSCAPE_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-GZCAT"><code>GZCAT</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-GZIP"><code>GZIP</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-H">H</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-HEVEA"><code>HEVEA</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-HEVEA_005fENV"><code>HEVEA_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-HEVEA_005fFLAGS"><code>HEVEA_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-I">I</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-IMAGEN"><code>IMAGEN</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-J">J</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-JPG2EPS"><code>JPG2EPS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-L">L</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX"><code>LATEX</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX2HTML"><code>LATEX2HTML</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX2HTML_005fENV"><code>LATEX2HTML_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX2HTML_005fFLAGS"><code>LATEX2HTML_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX2RTF"><code>LATEX2RTF</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX2RTF_005fENV"><code>LATEX2RTF_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX2RTF_005fFLAGS"><code>LATEX2RTF_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX_005fENV"><code>LATEX_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LATEX_005fFLAGS"><code>LATEX_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LGRIND"><code>LGRIND</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LGRINDDIRS"><code>LGRINDDIRS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LGRINDSRCS"><code>LGRINDSRCS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LGRIND_005fFLAGS"><code>LGRIND_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LPR"><code>LPR</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-LPR_005fFLAGS"><code>LPR_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-M">M</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-MAKECONF"><code>MAKECONF</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MAKEGLS"><code>MAKEGLS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MAKEGLS_005fFLAGS"><code>MAKEGLS_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MAKEIDX"><code>MAKEIDX</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MAKEIDX_005fFLAGS"><code>MAKEIDX_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MPOST"><code>MPOST</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MPOSTDIRS"><code>MPOSTDIRS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MPOSTSRCS"><code>MPOSTSRCS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MPOST_005fFLAGS"><code>MPOST_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-MPOST_005fTWICE"><code>MPOST_TWICE</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-N">N</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-NAME"><code>NAME</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-O">O</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-OTHER"><code>OTHER</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-P">P</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-PDFLATEX"><code>PDFLATEX</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-PDFLATEX_005fENV"><code>PDFLATEX_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-PDFLATEX_005fFLAGS"><code>PDFLATEX_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-PNG2EPS"><code>PNG2EPS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-POST_005fBIBTEX_005fHOOK"><code>POST_BIBTEX_HOOK</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-PS2PDF"><code>PS2PDF</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-PS2PDF_005fFLAGS"><code>PS2PDF_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-T">T</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-TAR"><code>TAR</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TEX2PAGE"><code>TEX2PAGE</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TEX2PAGE_005fENV"><code>TEX2PAGE_ENV</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TEX2PAGE_005fFLAGS"><code>TEX2PAGE_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TEXSRCS"><code>TEXSRCS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TGIF"><code>TGIF</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TGIFDIRS"><code>TGIFDIRS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TGIFSRCS"><code>TGIFSRCS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TGIF_005fEPS_005fFLAGS"><code>TGIF_EPS_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TGIF_005fFLAGS"><code>TGIF_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-TGIF_005fPDF_005fFLAGS"><code>TGIF_PDF_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-U">U</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-USER_005fMAKECONF"><code>USER_MAKECONF</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-USE_005fDVIPDFM"><code>USE_DVIPDFM</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-USE_005fHEVEA"><code>USE_HEVEA</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-USE_005fLATEX2HTML"><code>USE_LATEX2HTML</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-USE_005fPDFLATEX"><code>USE_PDFLATEX</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-USE_005fTEX2PAGE"><code>USE_TEX2PAGE</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-V">V</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-VIEWPDF"><code>VIEWPDF</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-VIEWPDF_005fFLAGS"><code>VIEWPDF_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-VIEWPDF_005fLANDSCAPE_005fFLAGS"><code>VIEWPDF_LANDSCAPE_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="Variable-Index_vr_letter-X">X</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-XDVI"><code>XDVI</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-XDVI_005fFLAGS"><code>XDVI_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-XDVI_005fLANDSCAPE_005fFLAGS"><code>XDVI_LANDSCAPE_FLAGS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-XFIGDIRS"><code>XFIGDIRS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-XFIGSRCS"><code>XFIGSRCS</code></a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
</table>
<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#Variable-Index_vr_letter-B"><b>B</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-C"><b>C</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-D"><b>D</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-E"><b>E</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-F"><b>F</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-G"><b>G</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-H"><b>H</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-I"><b>I</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-J"><b>J</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-L"><b>L</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-M"><b>M</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-N"><b>N</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-O"><b>O</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-P"><b>P</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-T"><b>T</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-U"><b>U</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-V"><b>V</b></a>
<a class="summary-letter" href="#Variable-Index_vr_letter-X"><b>X</b></a>
</td></tr></table>
<hr>
<a name="General-Index"></a>
<div class="header">
<p>
Previous: <a href="#Variable-Index" accesskey="p" rel="prev">Variable Index</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Target-Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="General-Index-1"></a>
<h2 class="unnumbered">General Index</h2>
<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#General-Index_cp_letter-A"><b>A</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-B"><b>B</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-E"><b>E</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-G"><b>G</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-I"><b>I</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-M"><b>M</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-R"><b>R</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-W"><b>W</b></a>
</td></tr></table>
<table class="index-cp" border="0">
<tr><td></td><th align="left">Index Entry</th><td> </td><th align="left"> Section</th></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="General-Index_cp_letter-A">A</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-alternatives-to-LaTeX_002dMk">alternatives to LaTeX-Mk</a>:</td><td> </td><td valign="top"><a href="#Alternatives">Alternatives</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="General-Index_cp_letter-B">B</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-BSD-make_002c-versus-GNU-make">BSD make, versus GNU make</a>:</td><td> </td><td valign="top"><a href="#Introduction">Introduction</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-BSD-make_002c-versus-GNU-make-1">BSD make, versus GNU make</a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-BUGS_002c-reporting">BUGS, reporting</a>:</td><td> </td><td valign="top"><a href="#Feedback">Feedback</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="General-Index_cp_letter-E">E</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-E_002dmail_002c-bug-reports">E-mail, bug reports</a>:</td><td> </td><td valign="top"><a href="#Feedback">Feedback</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="General-Index_cp_letter-G">G</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-GNU-make_002c-version-required">GNU make, version required</a>:</td><td> </td><td valign="top"><a href="#History">History</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-GNU-make_002c-versus-BSD-make">GNU make, versus BSD make</a>:</td><td> </td><td valign="top"><a href="#Introduction">Introduction</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-GNU-make_002c-versus-BSD-make-1">GNU make, versus BSD make</a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="General-Index_cp_letter-I">I</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-include_002c-Makefile-syntax-for">include, Makefile syntax for</a>:</td><td> </td><td valign="top"><a href="#Introduction">Introduction</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="General-Index_cp_letter-M">M</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-make_002c-differences-between-GNU-and-BSD">make, differences between GNU and BSD</a>:</td><td> </td><td valign="top"><a href="#Introduction">Introduction</a></td></tr>
<tr><td></td><td valign="top"><a href="#index-make_002c-differences-between-GNU-and-BSD-1">make, differences between GNU and BSD</a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="General-Index_cp_letter-R">R</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-Reporting-BUGS">Reporting BUGS</a>:</td><td> </td><td valign="top"><a href="#Feedback">Feedback</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
<tr><th><a name="General-Index_cp_letter-W">W</a></th><td></td><td></td></tr>
<tr><td></td><td valign="top"><a href="#index-wildcard_002c-Makefile-syntax-for">wildcard, Makefile syntax for</a>:</td><td> </td><td valign="top"><a href="#Variables">Variables</a></td></tr>
<tr><td colspan="4"> <hr></td></tr>
</table>
<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#General-Index_cp_letter-A"><b>A</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-B"><b>B</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-E"><b>E</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-G"><b>G</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-I"><b>I</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-M"><b>M</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-R"><b>R</b></a>
<a class="summary-letter" href="#General-Index_cp_letter-W"><b>W</b></a>
</td></tr></table>
<hr>
</body>
</html>
|