1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head>
<title>The TEX Live Guide TeX Live 2007 </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<!-- charset=utf-8,html,info,fn-in -->
<meta name="src" content="live.tex">
<meta name="date" content="2007-01-23 22:56:00">
<link rel="stylesheet" type="text/css" href="live.css">
<link rel="stylesheet" type="text/css" href="live.css" />
<link rel="stylesheet" type="text/css" href="tex-live.css" />
</head><body
>
<div class="maketitle">
<h2 class="titleHead">The <span class="TEX">T<span
class="E">E</span>X</span> Live Guide<br />
<span class="TEX">T<span
class="E">E</span>X</span> Live 2007 </h2>
<div class="author" ><span
class="ec-lmr-12">Karl Berry, editor</span>
<br /> <span class="obeylines-h"><a
href="http://tug.org/texlive/" class="url" ><span
class="ec-lmtt-12">http://tug.org/texlive/</span></a></span> </div>
<br />
<div class="date" ><span
class="ec-lmr-12">January 2007</span></div>
</div>
<h3 class="likesectionHead"><a
id="x1-1000"></a>Contents</h3>
<div class="tableofcontents">
<span class="sectionToc" >1 <a
href="#x1-30001" id="QQ2-1-3">Introduction</a></span>
<br />  <span class="subsectionToc" >1.1 <a
href="#x1-40001.1" id="QQ2-1-4">Basic usage of <span class="TEX">T<span
class="E">E</span>X</span> Live</a></span>
<br />  <span class="subsectionToc" >1.2 <a
href="#x1-50001.2" id="QQ2-1-5">Getting help</a></span>
<br /> <span class="sectionToc" >2 <a
href="#x1-60002" id="QQ2-1-6">Structure of <span class="TEX">T<span
class="E">E</span>X</span> Live</a></span>
<br />  <span class="subsectionToc" >2.1 <a
href="#x1-70002.1" id="QQ2-1-7">Multiple distributions: <span
class="ec-lmss-10">live</span>, <span
class="ec-lmss-10">inst</span>, <span
class="ec-lmss-10">protext</span></a></span>
<br />  <span class="subsectionToc" >2.2 <a
href="#x1-80002.2" id="QQ2-1-8">Top level directories</a></span>
<br />  <span class="subsectionToc" >2.3 <a
href="#x1-90002.3" id="QQ2-1-9">Overview of the predefined texmf trees</a></span>
<br />  <span class="subsectionToc" >2.4 <a
href="#x1-100002.4" id="QQ2-1-10">Extensions to <span class="TEX">T<span
class="E">E</span>X</span></a></span>
<br />  <span class="subsectionToc" >2.5 <a
href="#x1-110002.5" id="QQ2-1-11">Other notable programs in <span class="TEX">T<span
class="E">E</span>X</span> Live</a></span>
<br /> <span class="sectionToc" >3 <a
href="#x1-120003" id="QQ2-1-12">Unix installation</a></span>
<br />  <span class="subsectionToc" >3.1 <a
href="#x1-130003.1" id="QQ2-1-13">Running <span class="TEX">T<span
class="E">E</span>X</span> Live directly from media (Unix)</a></span>
<br />  <span class="subsectionToc" >3.2 <a
href="#x1-140003.2" id="QQ2-1-15">Installing <span class="TEX">T<span
class="E">E</span>X</span> Live to disk</a></span>
<br />  <span class="subsectionToc" >3.3 <a
href="#x1-160003.3" id="QQ2-1-18">Installing individual packages to disk</a></span>
<br /> <span class="sectionToc" >4 <a
href="#x1-170004" id="QQ2-1-19">Post-installation</a></span>
<br />  <span class="subsectionToc" >4.1 <a
href="#x1-180004.1" id="QQ2-1-20">The <span
class="ec-lmss-10">texconfig </span>program</a></span>
<br />  <span class="subsectionToc" >4.2 <a
href="#x1-190004.2" id="QQ2-1-21">Testing the installation</a></span>
<br /> <span class="sectionToc" >5 <a
href="#x1-200005" id="QQ2-1-22">Mac OS X installation</a></span>
<br /> <span class="sectionToc" >6 <a
href="#x1-210006" id="QQ2-1-23">Windows installation</a></span>
<br />  <span class="subsectionToc" >6.1 <a
href="#x1-220006.1" id="QQ2-1-24">Installing <span class="TEX">T<span
class="E">E</span>X</span> Live to disk</a></span>
<br />  <span class="subsectionToc" >6.2 <a
href="#x1-230006.2" id="QQ2-1-25">Support packages for Windows</a></span>
<br /> <span class="sectionToc" >7 <a
href="#x1-240007" id="QQ2-1-26">Maintenance of the installation in Windows</a></span>
<br />  <span class="subsectionToc" >7.1 <a
href="#x1-250007.1" id="QQ2-1-27">Adding/removing packages</a></span>
<br />  <span class="subsectionToc" >7.2 <a
href="#x1-260007.2" id="QQ2-1-28">Configuring and other management tasks</a></span>
<br />  <span class="subsectionToc" >7.3 <a
href="#x1-270007.3" id="QQ2-1-29">Uninstalling <span class="TEX">T<span
class="E">E</span>X</span> Live</a></span>
<br />  <span class="subsectionToc" >7.4 <a
href="#x1-280007.4" id="QQ2-1-30">Adding your own packages to the installation</a></span>
<br />  <span class="subsectionToc" >7.5 <a
href="#x1-290007.5" id="QQ2-1-31">Running <span
class="ec-lmtt-10">tlmp.exe </span>from the command line</a></span>
<br />  <span class="subsectionToc" >7.6 <a
href="#x1-300007.6" id="QQ2-1-32">Network installation</a></span>
<br />  <span class="subsectionToc" >7.7 <a
href="#x1-310007.7" id="QQ2-1-33">What’s different in Windows?</a></span>
<br />  <span class="subsectionToc" >7.8 <a
href="#x1-320007.8" id="QQ2-1-34">Personal configurations</a></span>
<br />  <span class="subsectionToc" >7.9 <a
href="#x1-370007.9" id="QQ2-1-39">Testing</a></span>
<br />  <span class="subsectionToc" >7.10 <a
href="#x1-380007.10" id="QQ2-1-40">Printing</a></span>
<br />  <span class="subsectionToc" >7.11 <a
href="#x1-390007.11" id="QQ2-1-41">Tips and tricks for Win32</a></span>
<br />  <span class="subsectionToc" >7.12 <a
href="#x1-460007.12" id="QQ2-1-48">In case of problems</a></span>
<br /> <span class="sectionToc" >8 <a
href="#x1-490008" id="QQ2-1-51">A user’s guide to Web2C</a></span>
<br />  <span class="subsectionToc" >8.1 <a
href="#x1-500008.1" id="QQ2-1-52">Kpathsea path searching</a></span>
<br />  <span class="subsectionToc" >8.2 <a
href="#x1-580008.2" id="QQ2-1-60">Filename databases</a></span>
<br />  <span class="subsectionToc" >8.3 <a
href="#x1-630008.3" id="QQ2-1-68">Runtime options</a></span>
<br /> <span class="sectionToc" >9 <a
href="#x1-640009" id="QQ2-1-69">Acknowledgements</a></span>
<br /> <span class="sectionToc" >10 <a
href="#x1-6500010" id="QQ2-1-70">Release history</a></span>
<br />  <span class="subsectionToc" >10.1 <a
href="#x1-6600010.1" id="QQ2-1-71">Past</a></span>
<br />  <span class="subsectionToc" >10.2 <a
href="#x1-7000010.2" id="QQ2-1-75">Present</a></span>
<br />  <span class="subsectionToc" >10.3 <a
href="#x1-7100010.3" id="QQ2-1-76">Future</a></span>
</div>
<h3 class="likesectionHead"><a
id="x1-2000"></a>List of Tables</h3>
<div class="tableofcontents"><span class="lotToc" >1 <a
href="#x1-13001r1">Supported system architectures.</a></span><br /><span class="lotToc" >2 <a
href="#x1-14001r2">Main menu options for the installation.</a></span><br />
</div>
<!--l. 29--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">1 </span> <a
id="x1-30001"></a>Introduction</h3>
<!--l. 32--><p class="noindent" >This document describes the main features of the <span class="TEX">T<span
class="E">E</span>X</span> Live software distribution — <span class="TEX">T<span
class="E">E</span>X</span> and friends for
GNU/Linux and other Unix flavors, Mac OS X, and (32-bit) Windows systems. (Warning: it is not
especially useful for older Mac or MS-DOS systems.)
<!--l. 37--><p class="indent" > <span class="TEX">T<span
class="E">E</span>X</span> Live includes executables for <span class="TEX">T<span
class="E">E</span>X</span>, LaTeX2e, Con<span class="TEX">T<span
class="E">E</span>X</span>t, Metafont, MetaPost, BibTeX and
many other programs; an extensive collection of macros, fonts and documentation; and support for
typesetting in many different scripts from around the world. It is part of the even larger <span class="TEX"><span
class="ec-lmss-10">T</span><span
class="E"><span
class="ec-lmss-10">E</span></span><span
class="ec-lmss-10">X</span></span><span
class="ec-lmss-10"> Collection</span>
(briefly described below in section <a
href="#x1-60002">2<!--tex4ht:ref: sec:struct-tl --></a>, p. <a
href="#x1-60002">6<!--tex4ht:ref: sec:struct-tl --></a>). Both are cooperative efforts by the <span class="TEX">T<span
class="E">E</span>X</span> user
groups.
<!--l. 45--><p class="indent" > For newer versions of the packages included here, please check CTAN: <span class="obeylines-h"><a
href="http://www.ctan.org" class="url" ><span
class="ec-lmtt-10">http://www.ctan.org</span></a></span>.
<!--l. 48--><p class="indent" > For a brief summary of the major changes in this edition of <span class="TEX">T<span
class="E">E</span>X</span> Live, see the end of the document,
section <a
href="#x1-6500010">10<!--tex4ht:ref: sec:history --></a> (p. <a
href="#x1-6500010">68<!--tex4ht:ref: sec:history --></a>).
<!--l. 53--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">1.1 </span> <a
id="x1-40001.1"></a>Basic usage of <span class="TEX">T<span
class="E">E</span>X</span> Live</h4>
<!--l. 56--><p class="noindent" >You can use <span class="TEX">T<span
class="E">E</span>X</span> Live in three principal ways:
<!--l. 58--><p class="indent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x1-4002x1">You can run <span class="TEX">T<span
class="E">E</span>X</span> Live directly from the <span
class="ec-lmss-10">live </span>DVD (see section <a
href="#x1-70002.1">2.1<!--tex4ht:ref: sec:multiple-dist --></a>, p. <a
href="#x1-70002.1">6<!--tex4ht:ref: sec:multiple-dist --></a>). This takes almost no
disk space, and gives you immediate access to everything in <span class="TEX">T<span
class="E">E</span>X</span> Live. Of course performance
will be worse than running on local disk, but you may well find it useful.
</li>
<li
class="enumerate" id="x1-4004x2">You can install all or part of <span class="TEX">T<span
class="E">E</span>X</span> Live to a local disk, from either the DVD or the <span
class="ec-lmss-10">inst </span>CD.
This is the most common use of <span class="TEX">T<span
class="E">E</span>X</span> Live. You will need (approximately) 100 megabytes
for the most minimal system, and upwards of 1.3 gigabytes for a full system.
</li>
<li
class="enumerate" id="x1-4006x3">You can integrate a particular package or collection into your existing <span class="TEX">T<span
class="E">E</span>X</span> system, either
a <span class="TEX">T<span
class="E">E</span>X</span> Live system you installed earlier, or a different system.
</li></ol>
<!--l. 77--><p class="noindent" >All of these are described in detail in the OS-specific installation sections following, but here is a quick
start:
<ul class="itemize1">
<li class="itemize">The main installation script for Unix and Mac OS X is <span
class="ec-lmtt-10">install-tl.sh</span>. GNU/Linux users
can also try a new GUI installation program: run <span
class="ec-lmtt-10">setuptl/tlpmgui</span>. More information can
be found in section <a
href="#x1-210006">6<!--tex4ht:ref: sec:win-install --></a> on p. <a
href="#x1-210006">31<!--tex4ht:ref: sec:win-install --></a>.
</li>
<li class="itemize">The single package installation script is <span
class="ec-lmtt-10">install-pkg.sh</span>. (After installation on Linux with
<span
class="ec-lmtt-10">tlpmgui</span>, you can also try running <span
class="ec-lmtt-10">tlpmgui </span>again to add or remove individual packages or
collections.)
</li>
<li class="itemize">The installation program for Windows is <span
class="ec-lmtt-10">tlpmgui.exe</span>. It can be used also for adding or
removing the packages. See section <a
href="#x1-210006">6<!--tex4ht:ref: sec:win-install --></a> below for more information.
</li></ul>
<!--l. 101--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">1.2 </span> <a
id="x1-50001.2"></a>Getting help</h4>
<!--l. 104--><p class="noindent" >The <span class="TEX">T<span
class="E">E</span>X</span> community is both active and friendly, and virtually all serious questions end up getting
answered. However, the support is informal, done by volunteers and casual readers, so it’s
especially important that you do your homework before asking. (If you prefer guaranteed
commercial support, you can forego <span class="TEX">T<span
class="E">E</span>X</span> Live completely and purchase a vendor’s system; <span class="obeylines-h"><a
href="http://tug.org/interest.html#vendors" class="url" ><span
class="ec-lmtt-10">http://tug.org/interest.html#vendors</span></a></span> has a list.)
<!--l. 112--><p class="indent" > Here is a list of resources, approximately in the order we recommend using them:
<!--l. 115--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="ec-lmbx-10">Getting Started</span> </dt><dd
class="description">If you are new to <span class="TEX">T<span
class="E">E</span>X</span>, the web page <span class="obeylines-h"><a
href="http://tug.org/begin.html" class="url" ><span
class="ec-lmtt-10">http://tug.org/begin.html</span></a></span> gives a
brief introduction to the system.
</dd><dt class="description">
<span class="TEX"><span
class="ec-lmbx-10">T</span><span
class="E"><span
class="ec-lmbx-10">E</span></span><span
class="ec-lmbx-10">X</span></span> <span
class="ec-lmbx-10">FAQ</span> </dt><dd
class="description">The <span class="TEX">T<span
class="E">E</span>X</span> FAQ is a huge compendium of answers to all sorts of questions, from the
most basic to the most arcane. It is included on <span class="TEX">T<span
class="E">E</span>X</span> Live in <a
href="../../../../texmf-doc/doc/english/FAQ-en" >texmf-doc/doc/english/FAQ-en</a>,
and is available on the Internet through <span class="obeylines-h"><a
href="http://www.tex.ac.uk/faq" class="url" ><span
class="ec-lmtt-10">http://www.tex.ac.uk/faq</span></a></span>. Please check here
first.
</dd><dt class="description">
<span class="TEX"><span
class="ec-lmbx-10">T</span><span
class="E"><span
class="ec-lmbx-10">E</span></span><span
class="ec-lmbx-10">X</span></span> <span
class="ec-lmbx-10">Catalogue</span> </dt><dd
class="description">If you are
looking for a specific package, font, program, etc., the <span class="TEX">T<span
class="E">E</span>X</span> Catalogue is the place to look.
It is a huge collection of all <span class="TEX">T<span
class="E">E</span>X</span>-related items. See <a
href="../../../../texmf-doc/doc/english/catalogue" >texmf-doc/doc/english/catalogue</a>, or <span class="obeylines-h"><a
href="http://www.ctan.org/tex-archive/help/Catalogue" class="url" ><span
class="ec-lmtt-10">http://www.ctan.org/tex-archive/help/Catalogue</span></a></span>.
</dd><dt class="description">
<span class="TEX"><span
class="ec-lmbx-10">T</span><span
class="E"><span
class="ec-lmbx-10">E</span></span><span
class="ec-lmbx-10">X</span></span> <span
class="ec-lmbx-10">Web Resources</span> </dt><dd
class="description">The web page <span class="obeylines-h"><a
href="http://tug.org/interest.html" class="url" ><span
class="ec-lmtt-10">http://tug.org/interest.html</span></a></span> has many <span class="TEX">T<span
class="E">E</span>X</span>-related
links, in particular for numerous books, manuals, and articles on all aspects of the system.
</dd><dt class="description">
<span
class="ec-lmbx-10">support archives</span> </dt><dd
class="description">
The two principal support forums are the Usenet newsgroup <span class="obeylines-h"><a
href="news:comp.text.tex" class="url" ><span
class="ec-lmtt-10">news:comp.text.tex</span></a></span> and the
mailing list <a
href="mailto:texhax@tug.org" ><span class="path"><span
class="ec-lmtt-10">texhax@tug.org</span></span></a>. Their archives have years of past questions and answers for
your searching pleasure, via <span class="obeylines-h"><a
href="http://groups.google.com/groups?group=comp.text.tex" class="url" ><span
class="ec-lmtt-10">http://groups.google.com/groups?group=comp.text.tex</span></a></span>
and <span class="obeylines-h"><a
href="http://tug.org/mail-archives/texhax" class="url" ><span
class="ec-lmtt-10">http://tug.org/mail-archives/texhax</span></a></span>, respectively. And a general web search, for
example on <span class="obeylines-h"><a
href="http://google.com" class="url" ><span
class="ec-lmtt-10">http://google.com</span></a></span>, never hurts.
</dd><dt class="description">
<span
class="ec-lmbx-10">asking questions</span> </dt><dd
class="description">If you cannot find an answer, you can post to <span
class="ec-lmtt-10">comp.text.tex </span>through Google
or your newsreader, or to <a
href="mailto:texhax@tug.org" ><span class="path"><span
class="ec-lmtt-10">texhax@tug.org</span></span></a> through email. But before you post, <span
class="ec-lmri-10">please </span>read
this FAQ entry on asking questions in such a way that you’re most likely to get an answer: <span class="obeylines-h"><a
href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=askquestion" class="url" ><span
class="ec-lmtt-10">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=askquestion</span></a></span>.
</dd><dt class="description">
<span class="TEX"><span
class="ec-lmbx-10">T</span><span
class="E"><span
class="ec-lmbx-10">E</span></span><span
class="ec-lmbx-10">X</span></span> <span
class="ec-lmbx-10">Live support</span> </dt><dd
class="description">If you want to report a bug or have suggestions or comments on the <span class="TEX">T<span
class="E">E</span>X</span>
Live distribution, installation, or documentation, the mailing list is <a
href="mailto:tex-live@tug.org" ><span class="path"><span
class="ec-lmtt-10">tex-live@tug.org</span></span></a>.
However, if your question is about how to use a particular program included in <span class="TEX">T<span
class="E">E</span>X</span> Live,
you are better off writing to that program’s maintainer or mailing list.
</dd></dl>
<!--l. 160--><p class="indent" > The other side of the coin is helping others who have questions. Both <span
class="ec-lmtt-10">comp.text.tex </span>and <span
class="ec-lmtt-10">texhax </span>are
open to anyone, so feel free to join, start reading, and help out where you can. Welcome to
<span class="TEX">T<span
class="E">E</span>X</span>!
<!--l. 168--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">2 </span> <a
id="x1-60002"></a>Structure of <span class="TEX">T<span
class="E">E</span>X</span> Live</h3>
<!--l. 171--><p class="noindent" >This section describes the structure and contents of <span class="TEX">T<span
class="E">E</span>X</span> Live and the <span class="TEX"><span
class="ec-lmss-10">T</span><span
class="E"><span
class="ec-lmss-10">E</span></span><span
class="ec-lmss-10">X</span></span><span
class="ec-lmss-10"> Collection </span>of which it is a
part.
<!--l. 176--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">2.1 </span> <a
id="x1-70002.1"></a>Multiple distributions: <span
class="ec-lmss-10">live</span>, <span
class="ec-lmss-10">inst</span>, <span
class="ec-lmss-10">protext</span></h4>
<!--l. 179--><p class="noindent" >Space limitations of CD-ROM format have forced us to divide <span class="TEX"><span
class="ec-lmss-10">T</span><span
class="E"><span
class="ec-lmss-10">E</span></span><span
class="ec-lmss-10">X</span></span><span
class="ec-lmss-10"> Collection </span>into several distributions,
as follows.
<!--l. 182--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="ec-lmbx-10">live</span> </dt><dd
class="description">A complete system on DVD; it is too large for CD. It can be run live or installed to disk.
It also includes a snapshot of the CTAN repository, the <span
class="ec-lmss-10">protext </span>distribution for Windows
and the Mac<span class="TEX">T<span
class="E">E</span>X</span> distribution for Mac OS X, entirely independent of <span class="TEX">T<span
class="E">E</span>X</span> Live, as well as
assorted other packages in a <span
class="ec-lmtt-10">texmf-extra </span>directory.
<!--l. 191--><p class="noindent" >CTAN, <span
class="ec-lmss-10">protext</span>, Mac<span class="TEX">T<span
class="E">E</span>X</span>, and <span
class="ec-lmtt-10">texmf-extra </span>do not follow the same copying conditions as
<span class="TEX">T<span
class="E">E</span>X</span> Live, so be careful when redistributing or modifying.
</dd><dt class="description">
<span
class="ec-lmbx-10">inst(allable)</span> </dt><dd
class="description">A complete system on CD; in order to make this fit, the packages and programs are
compressed. Therefore, it is not possible to run <span class="TEX">T<span
class="E">E</span>X</span> directly from the installable CD, you
have to install it to disk (hence its name). Installation is described in subsequent sections.
</dd><dt class="description">
<span
class="ec-lmbx-10">protext</span> </dt><dd
class="description">An enhancement of the MiK<span class="TEX">T<span
class="E">E</span>X</span> distribution for Windows, Pro<span class="TEX">T<span
class="E">E</span>X</span>t adds a few extra
tools to MiK<span class="TEX">T<span
class="E">E</span>X</span>, and simplifies installation. It is entirely independent of <span class="TEX">T<span
class="E">E</span>X</span> Live, and has
its own installation instructions. It can be run live, or installed to disk. The Pro<span class="TEX">T<span
class="E">E</span>X</span>t home
page is <span class="obeylines-h"><a
href="http://tug.org/protext" class="url" ><span
class="ec-lmtt-10">http://tug.org/protext</span></a></span>.
<!--l. 206--><p class="noindent" >Pro<span class="TEX">T<span
class="E">E</span>X</span>t is provided as both the top level of the <span
class="ec-lmss-10">live </span>DVD and on its own CD (for those
who cannot use the DVD).
</dd></dl>
<!--l. 211--><p class="noindent" >You can tell which type of distribution you’re in by looking for a <span
class="ec-lmtt-10">00</span><span
class="ec-lmro-10">type</span><span
class="ec-lmtt-10">.TL </span>file at the top of the <span class="TEX">T<span
class="E">E</span>X</span>
Live directory. This file also contains the <span class="TEX">T<span
class="E">E</span>X</span> Live release date.
<!--l. 215--><p class="indent" > Naturally, each user group chooses what to distribute to its own members.
<!--l. 218--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">2.2 </span> <a
id="x1-80002.2"></a>Top level directories</h4>
<!--l. 221--><p class="noindent" >Here is a brief listing and description of the top level directories in the <span class="TEX">T<span
class="E">E</span>X</span> Live distribution. On the <span
class="ec-lmss-10">live</span>
DVD, the entire <span class="TEX">T<span
class="E">E</span>X</span> Live hierarchy is in a subdirectory <span
class="ec-lmtt-10">texliveYYYY</span>, not at the top level of the
disc.
<div class="tabular"><table class="tabular"
cellspacing="0" cellpadding="0"
><colgroup id="TBL-2-1g"><col
id="TBL-2-1"><col
id="TBL-2-2"></colgroup><tr
style="vertical-align:baseline;" id="TBL-2-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-1-1"
class="td11"> <span
class="ec-lmtt-10">bin </span></td><td style="white-space:wrap; text-align:left;" id="TBL-2-1-2"
class="td11"> <!--l. 230--><p class="noindent" >The <span class="TEX">T<span
class="E">E</span>X</span> system programs, arranged by platform. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-2-1"
class="td11"> <span
class="ec-lmtt-10">source </span></td><td style="white-space:wrap; text-align:left;" id="TBL-2-2-2"
class="td11"> <!--l. 231--><p class="noindent" >The source of all programs, including the main Web2C <span class="TEX">T<span
class="E">E</span>X</span> and Metafont
distributions. These are stored in a <span
class="ec-lmss-10">bzip2</span>-compressed tar archive. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-3-1"
class="td11"> <span
class="ec-lmtt-10">setuptl </span></td><td style="white-space:wrap; text-align:left;" id="TBL-2-3-2"
class="td11"> <!--l. 234--><p class="noindent" >Installation programs for Linux and Windows. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-4-1"
class="td11"> <span
class="ec-lmtt-10">support </span></td><td style="white-space:wrap; text-align:left;" id="TBL-2-4-2"
class="td11"> <!--l. 235--><p class="noindent" >Assorted auxiliary packages and programs. These are <span
class="ec-lmri-10">not </span>installed
automatically. This includes assorted editors and <span class="TEX">T<span
class="E">E</span>X</span> shells. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-5-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-5-1"
class="td11"> <span
class="ec-lmtt-10">texmf </span></td><td style="white-space:wrap; text-align:left;" id="TBL-2-5-2"
class="td11"> <!--l. 238--><p class="noindent" >Tree for the programs, along with their support files and documentation.
Does not include <span class="TEX">T<span
class="E">E</span>X</span> formats and packages. (<span
class="ec-lmtt-10">TEXMFMAIN </span>in the next
section.) </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-6-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-6-1"
class="td11"> <span
class="ec-lmtt-10">texmf-dist </span></td><td style="white-space:wrap; text-align:left;" id="TBL-2-6-2"
class="td11"> <!--l. 241--><p class="noindent" >The main tree of formats and packages. (<span
class="ec-lmtt-10">TEXMFDIST </span>in the next section.) </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-7-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-7-1"
class="td11"> <span
class="ec-lmtt-10">texmf-doc </span></td><td style="white-space:wrap; text-align:left;" id="TBL-2-7-2"
class="td11"> <!--l. 243--><p class="noindent" >Tree for self-contained pure documentation, arranged by language. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-8-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-8-1"
class="td11"> <span
class="ec-lmtt-10">texmf-var </span></td><td style="white-space:wrap; text-align:left;" id="TBL-2-8-2"
class="td11"> <!--l. 245--><p class="noindent" >Tree for files automatically generated and stored. (<span
class="ec-lmtt-10">TEXMFSYSVAR </span>in the next
section.) </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-2-9-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-9-1"
class="td11"> </td> </tr></table>
</div>
<!--l. 252--><p class="indent" > In addition to the directories above, the installation scripts and <span
class="ec-lmtt-10">README </span>files (in various languages)
are at the top level of the distribution.
<!--l. 256--><p class="indent" > The <span
class="ec-lmtt-10">texmf-doc </span>directory contains only documentation, but it does not contain all the
documentation. The documentation for the programs (manuals, man pages, Info files) is in <span
class="ec-lmtt-10">texmf/doc</span>,
since the programs are in <span
class="ec-lmtt-10">texmf</span>. Similarly, the documentation for <span class="TEX">T<span
class="E">E</span>X</span> packages and formats is in
<span
class="ec-lmtt-10">texmf-dist/doc</span>. You can use the <span
class="ec-lmss-10">texdoc </span>or <span
class="ec-lmss-10">texdoctk </span>programs to find any documentation
wherever it’s located. The comprehensive links in the top-level file <a
href="../../../../doc.html" >doc.html</a> may also be
helpful.
<!--l. 266--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">2.3 </span> <a
id="x1-90002.3"></a>Overview of the predefined texmf trees</h4>
<!--l. 269--><p class="noindent" >This section lists all predefined variables specifying texmf trees used by the system, and their intended
purpose. The command <span
class="ec-lmtt-10">texconfig conf </span>shows you the values of these variables, so that you can easily
find out how they map to directory names in your installation.
<!--l. 274--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">TEXMFMAIN</span> </dt><dd
class="list">
<!--l. 275--><p class="noindent" >The tree which holds vital parts of the system such as helper scripts (e.g., <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">web2c/mktexdir</span></span></span>),
pool files and other support files.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFDIST</span> </dt><dd
class="list">
<!--l. 278--><p class="noindent" >The tree which holds the main set of macro packages, fonts, etc., as originally distributed.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFLOCAL</span> </dt><dd
class="list">
<!--l. 280--><p class="noindent" >The tree which administrators can use for system-wide installation of additional or updated
macros, fonts, etc.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFHOME</span> </dt><dd
class="list">
<!--l. 282--><p class="noindent" >The tree which users can use for their own individual installations of additional or updated
macros, fonts, etc. The expansion of this variable depends on <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">$HOME</span></span></span> by default, which
dynamically adjusts for each user to an individual directory.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFCONFIG</span> </dt><dd
class="list">
<!--l. 287--><p class="noindent" >The tree used by te<span class="TEX">T<span
class="E">E</span>X</span>’s utilities <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">texconfig</span></span></span>, <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">updmap</span></span></span>, and <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">fmtutil</span></span></span> to store modified
configuration data. Under <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">$HOME</span></span></span> by default.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFSYSCONFIG</span> </dt><dd
class="list">
<!--l. 290--><p class="noindent" >The tree used by te<span class="TEX">T<span
class="E">E</span>X</span>’s utilities <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">texconfig-sys</span></span></span>, <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">updmap-sys</span></span></span>, and <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">fmtutil-sys</span></span></span> to store
modified configuration data.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFVAR</span> </dt><dd
class="list">
<!--l. 293--><p class="noindent" >The tree used by <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">texconfig</span></span></span>, <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">updmap</span></span></span> and <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">fmtutil</span></span></span> to store (cached) runtime data such as
format files and generated map files. Under <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">$HOME</span></span></span> by default.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFSYSVAR</span> </dt><dd
class="list">
<!--l. 296--><p class="noindent" >The tree used by <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">texconfig-sys</span></span></span>, <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">updmap-sys</span></span></span> and <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">fmtutil-sys</span></span></span> to store (cached) runtime
data such as format files and generated map files.</dd></dl>
<!--l. 301--><p class="indent" > For more discussion of <span
class="ec-lmtt-10">texconfig </span>and related utilities, please see section <a
href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a
href="#x1-180004.1">28<!--tex4ht:ref: sec:texconfig --></a>.
<!--l. 305--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">2.4 </span> <a
id="x1-100002.4"></a>Extensions to <span class="TEX">T<span
class="E">E</span>X</span></h4>
<!--l. 308--><p class="noindent" ><span class="TEX">T<span
class="E">E</span>X</span> Live contains several extended versions of <span class="TEX">T<span
class="E">E</span>X</span>:
<!--l. 310--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="ec-lmbx-10">e-</span><span class="TEX"><span
class="ec-lmbx-10">T</span><span
class="E"><span
class="ec-lmbx-10">E</span></span><span
class="ec-lmbx-10">X</span></span> </dt><dd
class="description">adds a small but powerful set of new primitives (related to macro expansion, character
scanning, classes of marks, additional debugging features, and more) and the <span class="TEX">T<span
class="E">E</span>X</span>--XE T
extensions for bidirectional typesetting. In default mode, e-<span class="TEX">T<span
class="E">E</span>X</span> is 100% compatible with
ordinary <span class="TEX">T<span
class="E">E</span>X</span>. See <a
href="../../../../texmf-dist/doc/etex/base/etex_man.pdf" >texmf-dist/doc/etex/base/etex_man.pdf</a>.
</dd><dt class="description">
<span
class="ec-lmbx-10">pdf</span><span class="TEX"><span
class="ec-lmbx-10">T</span><span
class="E"><span
class="ec-lmbx-10">E</span></span><span
class="ec-lmbx-10">X</span></span> </dt><dd
class="description">builds on the e-<span class="TEX">T<span
class="E">E</span>X</span> extensions,
adding support for writing PDF output as well as DVI. See <a
href="../../../../texmf/doc/pdftex/manual/" >texmf/doc/pdftex/manual/</a> for
the manual, and <a
href="../../../../texmf/doc/pdftex/manual/samplepdf/samplepdf.tex" >texmf/doc/pdftex/manual/samplepdf/samplepdf.tex</a>. This is the default
program for all formats except plain <span class="TEX">T<span
class="E">E</span>X</span>.
</dd><dt class="description">
<span
class="ec-lmbx-10">Xe</span><span class="TEX"><span
class="ec-lmbx-10">T</span><span
class="E"><span
class="ec-lmbx-10">E</span></span><span
class="ec-lmbx-10">X</span></span> </dt><dd
class="description">adds support for Unicode input and OpenType fonts, using third-party libraries. See <span class="obeylines-h"><a
href="http://scripts.sil.org/xetex" class="url" ><span
class="ec-lmtt-10">http://scripts.sil.org/xetex</span></a></span>.
</dd><dt class="description">
<span
class="ec-lmbx-10">Omega</span><span
class="ec-lmbx-10"> (Omega)</span> </dt><dd
class="description">is based on Unicode (16-bit characters), thus supports working with almost
all the world’s scripts simultaneously. It also supports so-called ‘Omega Translation
Processes’ (OTPs), for performing complex transformations on arbitrary input. See
<a
href="../../../../texmf-dist/doc/omega/base/doc-1.8.tex" >texmf-dist/doc/omega/base/doc-1.8.tex</a> (not completely up-to-date).
</dd><dt class="description">
<span
class="ec-lmbx-10">Aleph</span> </dt><dd
class="description">combines the Omega and e-<span class="TEX">T<span
class="E">E</span>X</span> extensions. See <a
href="../../../../texmf-dist/doc/aleph/base" >texmf-dist/doc/aleph/base</a> for some
minimal documentation.
</dd></dl>
<!--l. 340--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">2.5 </span> <a
id="x1-110002.5"></a>Other notable programs in <span class="TEX">T<span
class="E">E</span>X</span> Live</h4>
<!--l. 342--><p class="noindent" >Here are a few other commonly-used programs included in <span class="TEX">T<span
class="E">E</span>X</span> Live:
<!--l. 344--><p class="indent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmss-10">bibtex</span> </dt><dd
class="list">
<!--l. 346--><p class="noindent" >bibliography support.
</dd><dt class="list">
<span
class="ec-lmss-10">makeindex</span> </dt><dd
class="list">
<!--l. 348--><p class="noindent" >index support.
</dd><dt class="list">
<span
class="ec-lmss-10">dvips</span> </dt><dd
class="list">
<!--l. 350--><p class="noindent" >convert DVI to PostScript.
</dd><dt class="list">
<span
class="ec-lmss-10">xdvi</span> </dt><dd
class="list">
<!--l. 352--><p class="noindent" >DVI previewer for the X Window System.
</dd><dt class="list">
<span
class="ec-lmss-10">dvilj</span> </dt><dd
class="list">
<!--l. 354--><p class="noindent" >DVI drive for the HP LaserJet family.
</dd><dt class="list">
<span
class="ec-lmss-10">dv2dt, dt2dv</span> </dt><dd
class="list">
<!--l. 356--><p class="noindent" >convert DVI to/from plain text.
</dd><dt class="list">
<span
class="ec-lmss-10">dviconcat, dviselect</span> </dt><dd
class="list">
<!--l. 358--><p class="noindent" >cut and paste pages from DVI files.
</dd><dt class="list">
<span
class="ec-lmss-10">dvipdfmx</span> </dt><dd
class="list">
<!--l. 361--><p class="noindent" >convert DVI to PDF, an alternative approach to pdf<span class="TEX">T<span
class="E">E</span>X</span> (mentioned above). See the <span
class="ec-lmss-10">ps4pdf</span>
and <span
class="ec-lmss-10">pdftricks </span>packages for still more alternatives.
</dd><dt class="list">
<span
class="ec-lmss-10">psselect, psnup, </span><span
class="ec-lmss-10">…</span> </dt><dd
class="list">
<!--l. 365--><p class="noindent" >PostScript utilities.
</dd><dt class="list">
<span
class="ec-lmss-10">lacheck</span> </dt><dd
class="list">
<!--l. 368--><p class="noindent" ><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> syntax checker.
</dd><dt class="list">
<span
class="ec-lmss-10">texexec</span> </dt><dd
class="list">
<!--l. 370--><p class="noindent" >Con<span class="TEX">T<span
class="E">E</span>X</span>t and PDF processor.
</dd><dt class="list">
<span
class="ec-lmss-10">tex4ht</span> </dt><dd
class="list">
<!--l. 372--><p class="noindent" ><span class="TEX">T<span
class="E">E</span>X</span> to HTML converter.
</dd></dl>
<!--l. 377--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">3 </span> <a
id="x1-120003"></a>Unix installation</h3>
<!--l. 380--><p class="noindent" >As introduced in section <a
href="#x1-40001.1">1.1<!--tex4ht:ref: sec:basic --></a> (p. <a
href="#x1-40001.1">4<!--tex4ht:ref: sec:basic --></a>), <span class="TEX">T<span
class="E">E</span>X</span> Live has three principal uses:
<!--l. 383--><p class="indent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x1-12002x1">Run directly from media.
</li>
<li
class="enumerate" id="x1-12004x2">Install to disk.
</li>
<li
class="enumerate" id="x1-12006x3">Integrate a particular package or collection into your existing <span class="TEX">T<span
class="E">E</span>X</span> installation.</li></ol>
<!--l. 390--><p class="noindent" >The following sections describes the Unix-specific procedures for each of these.
<!--l. 393--><p class="indent" > <hr class="figure"><div class="figure"
><table class="figure"><tr class="figure"><td class="figure"
>
<!--l. 393--><p class="noindent" > <span
class="ec-lmbx-10">Warning: </span>The <span class="TEX"><span
class="ec-lmss-10">T</span><span
class="E"><span
class="ec-lmss-10">E</span></span><span
class="ec-lmss-10">X</span></span><span
class="ec-lmss-10"> Collection </span>CDs and DVD are in ISO 9660 (High Sierra) format, <span
class="ec-lmri-10">with </span>Rock Ridge
(and Joliet, for Windows) extensions. Therefore, in order to take full advantage of the <span class="TEX"><span
class="ec-lmss-10">T</span><span
class="E"><span
class="ec-lmss-10">E</span></span><span
class="ec-lmss-10">X</span></span><span
class="ec-lmss-10"> Collection</span>
under Unix, your system needs to be able to use the Rock Ridge extensions. Please consult the
documentation for your <span
class="ec-lmss-10">mount </span>command to see how to do this. If you have several different machines on
a local network, you may be able to mount the discs on one which does support Rock Ridge, and use this
with the others.
<!--l. 404--><p class="noindent" > Modern systems should be able to use the discs without problems. If troubles, let us know. The
discussion below assumes you have been able to mount the CDs with full Rock Ridge compatibility.
<!--l. 408--><p class="indent" > </td></tr></table></div><hr class="endfigure">
<h4 class="subsectionHead"><span class="titlemark">3.1 </span> <a
id="x1-130003.1"></a>Running <span class="TEX">T<span
class="E">E</span>X</span> Live directly from media (Unix)</h4>
<!--l. 456--><p class="noindent" >It is possible to use the <span class="TEX">T<span
class="E">E</span>X</span> system directly from the <span
class="ec-lmss-10">live </span>DVD, without installing the distribution to
disk. (Thus the name <span class="TEX">T<span
class="E">E</span>X</span> ‘Live’, in fact.) It is <span
class="ec-lmri-10">not </span>possible to run <span class="TEX">T<span
class="E">E</span>X</span> directly from the other CDs
(see section <a
href="#x1-70002.1">2.1<!--tex4ht:ref: sec:multiple-dist --></a>, p. <a
href="#x1-70002.1">6<!--tex4ht:ref: sec:multiple-dist --></a>). To start, you mount the CD or DVD, with Rock Ridge extensions enabled. The
exact command to do this varies from system to system; the following works under Linux, except the
name of the device (<span
class="ec-lmtt-10">/dev/cdrom</span>, here) may vary. (All our examples will use <span
class="ec-lmtt-10">> </span>as the shell prompt; user
input is <span class="underline"><span
class="ec-lmtt-10">underlined</span></span>.) <div class="alltt">
<!--l. 457--><p class="noindent" ><div class="obeylines-v"> <span
class="ec-lmtt-10">> </span><span class="underline"><span
class="ec-lmtt-10">mount</span> <span
class="ec-lmtt-10">-t</span> <span
class="ec-lmtt-10">iso9660</span> <span
class="ec-lmtt-10">/dev/cdrom</span> <span
class="ec-lmtt-10">/mnt/cdrom</span></span>
</div>
</div>
<!--l. 457--><p class="noindent" >Change the current directory to the mount point: <div class="alltt">
<!--l. 457--><p class="noindent" ><div class="obeylines-v"> <span
class="ec-lmtt-10">> </span><span class="underline"><span
class="ec-lmtt-10">cd</span> <span
class="ec-lmtt-10">/mnt/cdrom</span></span>
</div>
</div>
<!--l. 457--><p class="noindent" >Under Mac OS X, the directory is typically under <span
class="ec-lmtt-10">/Volumes</span>, and the media will be mounted
automatically. Run the installation script <span
class="ec-lmtt-10">install-tl.sh</span>: <div class="alltt">
<!--l. 458--><p class="noindent" ><div class="obeylines-v"> <span
class="ec-lmtt-10">> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-tl.sh</span></span>
<br class="newline" /><span
class="ec-lmtt-10">Welcome to TeX Live...</span>
</div>
</div>
<!--l. 458--><p class="noindent" >After various greeting messages and a list of the main menu options, the installation will ask you to
enter a command. Do this by typing the desired character and hitting return; don’t type
the angle brackets shown. Either uppercase or lowercase is ok; we’ll use lowercase in our
examples.
<!--l. 460--><p class="indent" > For running live, our first command will be <span class="underline"><span
class="ec-lmtt-10">d</span></span> and then the subcommand <span class="underline"><span
class="ec-lmtt-10">1</span></span> to set directories. Even in
this case, we must choose a directory on the local disk to place files that the <span class="TEX">T<span
class="E">E</span>X</span> system itself generates,
such as fonts and formats, and also to provide a place for updated configuration files, if need
be.
<!--l. 466--><p class="indent" > We’ll use <span
class="ec-lmtt-10">/opt/texlive2007 </span>in this example. It’s good to include the year in the name, as these
generated files are not in general compatible from release to release. (If the default value of
<span
class="ec-lmtt-10">/usr/local/texlive/2007 </span>works for you, then you can skip this step.)
<div class="alltt">
<!--l. 472--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">Enter</span><span
class="ec-lmtt-10"> command:</span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">d</span></span>
<br /><span
class="ec-lmtt-10">Current</span><span
class="ec-lmtt-10"> directories</span><span
class="ec-lmtt-10"> setup:</span>
<br /><span
class="ec-lmtt-10"><1></span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> TEXDIR:</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texlive/2007</span>
<br /><span
class="ec-lmtt-10">...</span>
<br /><span
class="ec-lmtt-10">Enter</span><span
class="ec-lmtt-10"> command:</span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">1</span></span>
<br /><span
class="ec-lmtt-10">New</span><span
class="ec-lmtt-10"> value</span><span
class="ec-lmtt-10"> for</span><span
class="ec-lmtt-10"> TEXDIR</span><span
class="ec-lmtt-10"> [/usr/local/texlive/TeX]:</span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">/opt/texlive2007</span></span>
<br /><span
class="ec-lmtt-10">...</span>
<br /><span
class="ec-lmtt-10">Enter</span><span
class="ec-lmtt-10"> command:</span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">r</span></span>
</div>
</div>
<!--l. 483--><p class="noindent" >Back at the main menu, our second and last command is <span class="underline"><span
class="ec-lmtt-10">r</span></span>, to set up for running live off the media
without installing to disk: <div class="alltt">
<!--l. 486--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">Enter</span><span
class="ec-lmtt-10"> command:</span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">r</span></span>
<br /><span
class="ec-lmtt-10">Preparing</span><span
class="ec-lmtt-10"> destination</span><span
class="ec-lmtt-10"> directories...</span>
<br /><span
class="ec-lmtt-10">...</span>
<br /><span
class="ec-lmtt-10">Welcome</span><span
class="ec-lmtt-10"> to</span><span
class="ec-lmtt-10"> TeX</span><span
class="ec-lmtt-10"> Live!</span>
<br /><span
class="ec-lmtt-10">></span>
</div>
</div>
<!--l. 494--><p class="noindent" >And we are back at the system prompt, as shown.
<!--l. 496--><p class="indent" > Next, it is necessary to alter two environment variables: <span
class="ec-lmtt-10">PATH</span>, to an architecture-dependent value (so
that we can run the programs), and <span
class="ec-lmtt-10">TEXMFSYSVAR</span>, to the value specified above. See table <a
href="#x1-13001r1">1<!--tex4ht:ref: tab:archlist --></a> for a list of
the architecture names for the different systems.
<!--l. 510--><p class="indent" > After the main installation has completed, and environment variables have been set, the last step is to
run <span
class="ec-lmss-10">texconfig </span>or <span
class="ec-lmss-10">texconfig-sys </span>to customize your installation to your needs. This is explained in
section <a
href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a
href="#x1-180004.1">28<!--tex4ht:ref: sec:texconfig --></a>.
<!--l. 512--><p class="indent" > <a
id="x1-13001r1"></a><hr class="float"><div class="float"
><table class="float"><tr class="float"><td class="float"
>
<table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Table 1: </td><td
class="content">Supported system architectures.</td></tr></table><!--tex4ht:label?: x1-13001r1 -->
<div class="tabular"><table class="tabular"
cellspacing="0" cellpadding="0"
><colgroup id="TBL-3-1g"><col
id="TBL-3-1"><col
id="TBL-3-2"></colgroup><tr
style="vertical-align:baseline;" id="TBL-3-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-1-1"
class="td11"> <span
class="ec-lmtt-10">alpha-linux </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-1-2"
class="td11"> HP Alpha GNU/Linux </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-2-1"
class="td11"> <span
class="ec-lmtt-10">i386-darwin </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-2-2"
class="td11"> Intel x86 Mac OS X </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-1"
class="td11"> <span
class="ec-lmtt-10">i386-freebsd </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-2"
class="td11"> Intel x86 FreeBSD </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-1"
class="td11"> <span
class="ec-lmtt-10">i386-linux </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-2"
class="td11"> Intel x86 GNU/Linux </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-5-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-1"
class="td11"> <span
class="ec-lmtt-10">mips-irix </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-2"
class="td11"> SGI IRIX </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-6-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-1"
class="td11"> <span
class="ec-lmtt-10">powerpc-aix </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-2"
class="td11"> IBM RS/6000 AIX </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-7-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-1"
class="td11"> <span
class="ec-lmtt-10">powerpc-darwin </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-2"
class="td11"> PowerPC Mac OS X </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-8-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-1"
class="td11"> <span
class="ec-lmtt-10">sparc-linux </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-2"
class="td11"> Sun Sparc GNU/Linux </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-9-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-1"
class="td11"> <span
class="ec-lmtt-10">sparc-solaris </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-2"
class="td11"> Sun Sparc Solaris </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-10-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-1"
class="td11"> <span
class="ec-lmtt-10">win32 </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-2"
class="td11"> Windows (32-bit) </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-11-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-1"
class="td11"> <span
class="ec-lmtt-10">x86_64-linux </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-2"
class="td11"> Intel x86 64-bit GNU/Linux </td>
</tr><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-12-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-12-1"
class="td11"> </td>
</tr></table></div>
</td></tr></table></div><hr class="endfloat" />
<!--l. 537--><p class="indent" > The syntax for setting the environment variables, and the initialization file to put them in, depends
on the shell you use. If you use a Bourne-compatible shell (<span
class="ec-lmss-10">sh</span>, <span
class="ec-lmss-10">bash</span>, <span
class="ec-lmss-10">ksh</span>, et al.), put the following into
your <span
class="ec-lmtt-10">$HOME/.profile </span>file: <div class="alltt">
<!--l. 541--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">PATH=/mnt/cdrom/bin/</span><span
class="ec-lmro-10">archname</span><span
class="ec-lmtt-10">:$PATH;</span><span
class="ec-lmtt-10"> export</span><span
class="ec-lmtt-10"> PATH</span>
<br /><span
class="ec-lmtt-10">TEXMFSYSVAR=/opt/texlive2007/texmf-var;</span><span
class="ec-lmtt-10"> export</span><span
class="ec-lmtt-10"> TEXMFSYSVAR</span>
</div>
</div>
<!--l. 546--><p class="noindent" >For C shell-compatible shells (<span
class="ec-lmss-10">csh</span>, <span
class="ec-lmss-10">tcsh</span>), put the following into your <span
class="ec-lmtt-10">$HOME/.cshrc </span>file: <div class="alltt">
<!--l. 548--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">setenv</span><span
class="ec-lmtt-10"> PATH</span><span
class="ec-lmtt-10"> /mnt/cdrom/bin/</span><span
class="ec-lmro-10">archname</span><span
class="ec-lmtt-10">:$PATH</span>
<br /><span
class="ec-lmtt-10">setenv</span><span
class="ec-lmtt-10"> TEXMFSYSVAR</span><span
class="ec-lmtt-10"> /opt/texlive2007/texmf-var</span>
</div>
</div>
<!--l. 553--><p class="noindent" >Then log out, log back in, and test your installation (see section <a
href="#x1-190004.2">4.2<!--tex4ht:ref: sec:test-install --></a>, p. <a
href="#x1-190004.2">28<!--tex4ht:ref: sec:test-install --></a>).
<!--l. 562--><p class="indent" > If in doubt, please ask any local system gurus to help you with problems; for example, the way to
mount the <span class="TEX">T<span
class="E">E</span>X</span> Live media, which directory or directories to use, and precise details of the changes to
your personal initialization files can and do vary from site to site.
<h4 class="subsectionHead"><span class="titlemark">3.2 </span> <a
id="x1-140003.2"></a>Installing <span class="TEX">T<span
class="E">E</span>X</span> Live to disk</h4>
<!--l. 569--><p class="noindent" >It is possible, indeed typical, to install the <span class="TEX">T<span
class="E">E</span>X</span> Live distribution to hard disk. This can be done from
either the <span
class="ec-lmss-10">live </span>or <span
class="ec-lmss-10">inst </span>distributions. (See section <a
href="#x1-70002.1">2.1<!--tex4ht:ref: sec:multiple-dist --></a>, p. <a
href="#x1-70002.1">6<!--tex4ht:ref: sec:multiple-dist --></a>, for an explanation of the different
distributions.)
<!--l. 575--><p class="indent" > To start, you mount the CD or DVD, with Rock Ridge extensions enabled. The exact command to do
this varies from system to system; the following works under Linux, except the name of the device
(<span
class="ec-lmtt-10">/dev/cdrom</span>, here) may vary. (All our examples will use <span
class="ec-lmtt-10">> </span>as the shell prompt; user input is
<span class="underline"><span
class="ec-lmtt-10">underlined</span></span>.) <div class="alltt">
<!--l. 575--><p class="noindent" ><div class="obeylines-v"> <span
class="ec-lmtt-10">> </span><span class="underline"><span
class="ec-lmtt-10">mount</span> <span
class="ec-lmtt-10">-t</span> <span
class="ec-lmtt-10">iso9660</span> <span
class="ec-lmtt-10">/dev/cdrom</span> <span
class="ec-lmtt-10">/mnt/cdrom</span></span>
</div>
</div>
<!--l. 575--><p class="noindent" >Change the current directory to the mount point: <div class="alltt">
<!--l. 575--><p class="noindent" ><div class="obeylines-v"> <span
class="ec-lmtt-10">> </span><span class="underline"><span
class="ec-lmtt-10">cd</span> <span
class="ec-lmtt-10">/mnt/cdrom</span></span>
</div>
</div>
<!--l. 575--><p class="noindent" >Under Mac OS X, the directory is typically under <span
class="ec-lmtt-10">/Volumes</span>, and the media will be mounted
automatically. Run the installation script <span
class="ec-lmtt-10">install-tl.sh</span>: <div class="alltt">
<!--l. 576--><p class="noindent" ><div class="obeylines-v"> <span
class="ec-lmtt-10">> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-tl.sh</span></span>
<br class="newline" /><span
class="ec-lmtt-10">Welcome to TeX Live...</span>
</div>
</div>
<!--l. 576--><p class="noindent" >After various greeting messages and a list of the main menu options, the installation will ask you to
enter a command. Do this by typing the desired character and hitting return; don’t type
the angle brackets shown. Either uppercase or lowercase is ok; we’ll use lowercase in our
examples.
<!--l. 578--><p class="indent" > Table <a
href="#x1-14001r2">2<!--tex4ht:ref: tab:main-menu-options --></a> briefly lists the options in the main menu. The order in which you select the options makes
little difference, except that <span class="underline"><span
class="ec-lmtt-10">i</span></span> must be last. It’s reasonable to go through them in the order presented
here.
<div class="table">
<!--l. 584--><p class="indent" > <a
id="x1-14001r2"></a><hr class="float"><div class="float"
><table class="float"><tr class="float"><td class="float"
>
<table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Table 2: </td><td
class="content">Main menu options for the installation.</td></tr></table><!--tex4ht:label?: x1-14001r2 -->
<div class="tabular"><table class="tabular"
cellspacing="0" cellpadding="0"
><colgroup id="TBL-4-1g"><col
id="TBL-4-1"><col
id="TBL-4-2"></colgroup><tr
style="vertical-align:baseline;" id="TBL-4-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-1-1"
class="td11"> <span
class="ec-lmtt-10">p </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-4-1-2"
class="td11"> The platform you are running on. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-4-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-2-1"
class="td11"> <span
class="ec-lmtt-10">b </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-4-2-2"
class="td11"> The architectures for which to install binaries. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-4-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-3-1"
class="td11"> <span
class="ec-lmtt-10">s </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-4-3-2"
class="td11"> The base installation scheme to use (minimal, recommended, full, etc.) </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-4-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-4-1"
class="td11"> <span
class="ec-lmtt-10">c </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-4-4-2"
class="td11"> Override the base scheme for individual collections. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-4-5-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-5-1"
class="td11"> <span
class="ec-lmtt-10">l </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-4-5-2"
class="td11"> Override for language collections. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-4-6-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-6-1"
class="td11"> <span
class="ec-lmtt-10">d </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-4-6-2"
class="td11"> Directories in which to install. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-4-7-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-7-1"
class="td11"> <span
class="ec-lmtt-10">o </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-4-7-2"
class="td11"> Other options. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-4-8-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-8-1"
class="td11"> <span
class="ec-lmtt-10">i </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-4-8-2"
class="td11"> Perform the installation. </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-4-9-"><td style="white-space:nowrap; text-align:left;" id="TBL-4-9-1"
class="td11"> </td>
</tr></table></div>
</td></tr></table></div><hr class="endfloat" />
</div>
<!--l. 600--><p class="indent" > Here are further details on each option.
<!--l. 602--><p class="indent" > <span
class="ec-lmtk-10">p </span><span
class="ec-lmbx-10">– Current platform. </span>Since the installation script automatically guesses which platform you’re
running on, it is usually unnecessary to use this option. It’s there in case you need to override the
automatic detection.
<!--l. 607--><p class="indent" > <span
class="ec-lmtk-10">b </span><span
class="ec-lmbx-10">– Binary architectures. </span>By default, only the binaries for your current platform will be installed.
From this menu, you can select installation of binaries for other architectures as well (or omit
installing the current platform). This can be useful if you are sharing a <span class="TEX">T<span
class="E">E</span>X</span> tree across a
network of heterogenous machines. For a list of the supported architectures, see table <a
href="#x1-13001r1">1<!--tex4ht:ref: tab:archlist --></a>,
p. <a
href="#x1-13001r1">16<!--tex4ht:ref: tab:archlist --></a>.
<!--l. 615--><p class="indent" > <span
class="ec-lmtk-10">s </span><span
class="ec-lmbx-10">– Base installation scheme. </span>From this menu, you can choose an overall set of package
collections, called a “scheme”. The default <span
class="ec-lmtt-10">full </span>scheme installs everything available, but you can also
choose the <span
class="ec-lmtt-10">basic </span>scheme for a minimal system, or <span
class="ec-lmtt-10">medium </span>to get something in between. There are also
specific sets for Omega and XML.
<!--l. 622--><p class="indent" > <span
class="ec-lmtk-10">c </span><span
class="ec-lmbx-10">– Individual collections. </span>From this menu, you can override the scheme’s set of collections to
install. Collections are one level more detailed than schemes — collections consist of one or more
packages, where packages (the lowest level grouping in <span class="TEX">T<span
class="E">E</span>X</span> Live) contain the actual <span class="TEX">T<span
class="E">E</span>X</span> macro files,
font families, and so on. In this menu, selection letters are case-sensitive.
<!--l. 629--><p class="indent" > <span
class="ec-lmtk-10">l </span><span
class="ec-lmbx-10">– Language collections</span>. This menu has the same basic purpose as <span class="underline"><span
class="ec-lmtt-10">c</span></span>, to override the collection set
in the chosen scheme. In this case, the collections are specifically for different languages.
Selection letters are case-sensitive here too. Here is a list of the language collections in <span class="TEX">T<span
class="E">E</span>X</span>
Live:
<table
cellpadding="0" border="0" cellspacing="0"
class="tabbing"><tr
style="vertical-align:baseline;" class="tabbing"><td style="width:203;"
class="tabbing">(some) African scripts </td><td style="width:203;"
class="tabbing">Arabic </td><td style="width:203;"
class="tabbing">Armenian </td><td
class="tabbing">Chinese Japanese Korean
</td></tr></table>
<!--l. 645--><p class="indent" > <table
cellpadding="0" border="0" cellspacing="0"
class="tabbing"><tr
style="vertical-align:baseline;" class="tabbing"><td style="width:203;"
class="tabbing">Croatian </td><td style="width:203;"
class="tabbing">Cyrillic </td><td style="width:203;"
class="tabbing">Czech/Slovak </td><td
class="tabbing">Danish</td></tr></table>
<!--l. 649--><p class="indent" > <table
cellpadding="0" border="0" cellspacing="0"
class="tabbing"><tr
style="vertical-align:baseline;" class="tabbing"><td style="width:203;"
class="tabbing">Dutch </td><td style="width:203;"
class="tabbing">Finnish </td><td style="width:203;"
class="tabbing">French </td><td
class="tabbing">German</td></tr></table>
<!--l. 653--><p class="indent" > <table
cellpadding="0" border="0" cellspacing="0"
class="tabbing"><tr
style="vertical-align:baseline;" class="tabbing"><td style="width:203;"
class="tabbing">Greek </td><td style="width:203;"
class="tabbing">Hebrew </td><td style="width:203;"
class="tabbing">Hungarian </td><td
class="tabbing">Indic</td></tr></table>
<!--l. 657--><p class="indent" > <table
cellpadding="0" border="0" cellspacing="0"
class="tabbing"><tr
style="vertical-align:baseline;" class="tabbing"><td style="width:203;"
class="tabbing">Italian </td><td style="width:203;"
class="tabbing">Latin </td><td style="width:203;"
class="tabbing">Manju </td><td
class="tabbing">Mongolian</td></tr></table>
<!--l. 661--><p class="indent" > <table
cellpadding="0" border="0" cellspacing="0"
class="tabbing"><tr
style="vertical-align:baseline;" class="tabbing"><td style="width:203;"
class="tabbing">Norwegian </td><td style="width:203;"
class="tabbing">Polish </td><td style="width:203;"
class="tabbing">Portuguese </td><td
class="tabbing">Spanish</td></tr></table>
<!--l. 665--><p class="indent" > <table
cellpadding="0" border="0" cellspacing="0"
class="tabbing"><tr
style="vertical-align:baseline;" class="tabbing"><td style="width:203;"
class="tabbing">Swedish </td><td style="width:203;"
class="tabbing">Tibetan </td><td style="width:203;"
class="tabbing">UK English </td><td
class="tabbing">Vietnamese</td></tr></table>
<!--l. 669--><p class="indent" > <table
cellpadding="0" border="0" cellspacing="0"
class="tabbing"><tr
style="vertical-align:baseline;" class="tabbing"><td
class="tabbing"></td></tr></table>
<!--l. 670--><p class="indent" >
<!--l. 672--><p class="noindent" >Language collections typically include fonts, macros, hyphenation patterns, and other support files. (For
instance, <span
class="ec-lmss-10">frenchle.sty </span>is installed if you select the <span
class="ec-lmtt-10">French </span>collection.) In addition, installing a language
collection will alter the <span
class="ec-lmtt-10">language.dat </span>configuration file controlling which hyphenation patterns are
loaded.
<!--l. 679--><p class="indent" > <span
class="ec-lmtk-10">d </span><span
class="ec-lmbx-10">– Installation directories</span>. Three directories can be changed here:
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">TEXDIR</span> </dt><dd
class="list">
<!--l. 684--><p class="noindent" >The top-level directory under which everything else will be installed. The default value
is <span
class="ec-lmtt-10">/usr/local/texlive/2007</span>, and is often changed. We recommend including the year
in the name, to keep different releases of <span class="TEX">T<span
class="E">E</span>X</span> Live separate. (You may wish to make a
version-independent name such <span
class="ec-lmtt-10">/usr/local/texlive </span>via a symbolic link, which you can
then update after testing the new release.)
<!--l. 692--><p class="noindent" >Under Mac OS X, the usual frontends look for <span class="TEX">T<span
class="E">E</span>X</span> in <span
class="ec-lmtt-10">/usr/local/teTeX</span>, so you may wish
to install <span class="TEX">T<span
class="E">E</span>X</span> Live there.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFLOCAL</span> </dt><dd
class="list">
<!--l. 695--><p class="noindent" >This tree is where the <span class="TEX">T<span
class="E">E</span>X</span> system (not as part of the initial installation, but rather
as time goes by) puts non-version-specific files, primarily fonts. The default value is
<span
class="ec-lmtt-10">/usr/local/texlive/texmf-local</span>, independent of the current <span class="TEX">T<span
class="E">E</span>X</span> Live release, because
it’s also the recommended location to put any local packages or configuration settings.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXMFSYSVAR</span> </dt><dd
class="list">
<!--l. 702--><p class="noindent" >This tree is where <span
class="ec-lmss-10">texconfig-sys </span>puts files that <span
class="ec-lmri-10">are </span>version-specific. The default value
is <span
class="ec-lmtt-10">TEXDIR/texmf-var</span>, and there’s generally no reason to change it. There is also
<span
class="ec-lmtt-10">TEXMFSYSCONFIG</span>, which is where <span
class="ec-lmss-10">texconfig </span>looks for modified configuration data. See
section <a
href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a
href="#x1-180004.1">28<!--tex4ht:ref: sec:texconfig --></a> for more information.
</dd></dl>
<!--l. 712--><p class="indent" > <span
class="ec-lmtk-10">o </span><span
class="ec-lmbx-10">– Other options. </span>From this menu, you can select the following general options:
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">a</span> </dt><dd
class="list">
<!--l. 716--><p class="noindent" >Specify an alternate directory for generated fonts. The default is to use the <span
class="ec-lmtt-10">TEXMFVAR </span>tree,
as explained above. Setting this is useful if you plan to mount the main tree read-only, and
therefore you need another location (perhaps host-specific) for dynamically created fonts.
</dd><dt class="list">
<span
class="ec-lmtt-10">l</span> </dt><dd
class="list">
<!--l. 722--><p class="noindent" >Create symbolic links for the binaries, man pages, and/or GNU Info files in other locations.
For example, you may wish to make the man pages available under <span
class="ec-lmtt-10">/usr/local/man </span>and
the Info files available under <span
class="ec-lmtt-10">/usr/local/info</span>. (Of course you need appropriate privileges
to write in the specified directories.)
<!--l. 728--><p class="noindent" >It is not advisable to overwrite a <span class="TEX">T<span
class="E">E</span>X</span> system that came with your system with this option.
It’s intended primarily for creating the links in standard directories that are known to users,
such as <span
class="ec-lmtt-10">/usr/local/bin</span>, which don’t already contain any <span class="TEX">T<span
class="E">E</span>X</span> files.
</dd><dt class="list">
<span
class="ec-lmtt-10">d</span> </dt><dd
class="list">
<!--l. 733--><p class="noindent" >Skip installation of the font/macro documentation tree. This is useful if you need to save
space, or if you’ve previously installed the documentation elsewhere.
</dd><dt class="list">
<span
class="ec-lmtt-10">s</span> </dt><dd
class="list">
<!--l. 737--><p class="noindent" >Skip installation of the main font/macro source tree. This is useful if you are arranging to
share that tree between machines and/or architectures in some other way, such as NFS.
</dd></dl>
<!--l. 743--><p class="indent" > <span
class="ec-lmbx-10">i – Perform installation. </span>When you’re satisfied with your configuration options, enter <span class="underline"><span
class="ec-lmtt-10">i</span></span> to actually
do the installation from the media to your chosen locations.
<!--l. 748--><p class="indent" > After the installation completes, your next step is to include the architecture-specific subdirectory of
<span
class="ec-lmtt-10">TEXDIR/bin </span>in your <span
class="ec-lmtt-10">PATH</span>, so the newly-installed programs can be found. The architecture names are
listed in table <a
href="#x1-13001r1">1<!--tex4ht:ref: tab:archlist --></a>, p. <a
href="#x1-13001r1">16<!--tex4ht:ref: tab:archlist --></a>, or you can simply list the directory <span
class="ec-lmtt-10">TEXDIR/bin</span>.
<!--l. 755--><p class="indent" > The syntax for doing this, and the initialization file to use, depends on your shell. If you use a
Bourne-compatible shell (<span
class="ec-lmss-10">sh</span>, <span
class="ec-lmss-10">bash</span>, <span
class="ec-lmss-10">ksh</span>, et al.), put the following into your <span
class="ec-lmtt-10">$HOME/.profile</span>
file:
<div class="alltt">
<!--l. 760--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">PATH=/usr/local/texlive/2007/bin/</span><span
class="ec-lmro-10">archname</span><span
class="ec-lmtt-10">:$PATH;</span><span
class="ec-lmtt-10"> export</span><span
class="ec-lmtt-10"> PATH</span>
</div>
</div>
<!--l. 764--><p class="noindent" >For C shell-compatible shells (<span
class="ec-lmss-10">csh</span>, <span
class="ec-lmss-10">tcsh</span>), put the following into your <span
class="ec-lmtt-10">$HOME/.cshrc </span>file: <div class="alltt">
<!--l. 766--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">setenv</span><span
class="ec-lmtt-10"> PATH</span><span
class="ec-lmtt-10"> /usr/local/texlive/2007/bin/</span><span
class="ec-lmro-10">archname</span><span
class="ec-lmtt-10">:$PATH</span>
</div>
</div>
<!--l. 770--><p class="indent" > After the main installation has completed, and environment variables have been set, the last step is to
run <span
class="ec-lmss-10">texconfig </span>or <span
class="ec-lmss-10">texconfig-sys </span>to customize your installation to your needs. This is explained in
section <a
href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a
href="#x1-180004.1">28<!--tex4ht:ref: sec:texconfig --></a>.
<!--l. 772--><p class="indent" > Here is a minimal annotated example which accepts the default directories and installs binaries for
the current system only. Thus, only one command is needed, <span class="underline"><span
class="ec-lmtt-10">i</span></span> for install. The <span
class="ec-lmtt-10">> </span>is the shell prompt as
usual.
<div class="alltt">
<!--l. 777--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-tl.sh</span></span>
<br /><span class="underline"><span
class="ec-lmtt-10">i</span></span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> #</span><span
class="ec-lmtt-10"> perform</span><span
class="ec-lmtt-10"> installation</span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">texconfig</span></span><span
class="ec-lmtt-10"> ...</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> #</span><span
class="ec-lmtt-10"> see</span><span
class="ec-lmtt-10"> section</span><span
class="ec-lmtt-10"> </span><a
href="#x1-180004.1"><span
class="ec-lmtt-10">4.1</span><!--tex4ht:ref: sec:texconfig --></a>
<br /><span
class="ec-lmtt-10">#</span><span
class="ec-lmtt-10"> New</span><span
class="ec-lmtt-10"> PATH</span><span
class="ec-lmtt-10"> element,</span><span
class="ec-lmtt-10"> with</span><span
class="ec-lmtt-10"> Linux</span><span
class="ec-lmtt-10"> as</span><span
class="ec-lmtt-10"> the</span><span
class="ec-lmtt-10"> example:</span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">PATH=/usr/local/texlive/2007/bin/i386-linux:$PATH;</span> <span
class="ec-lmtt-10">export</span> <span
class="ec-lmtt-10">PATH</span></span>
</div>
</div>
<!--l. 785--><p class="indent" > If your Unix system supports the <span
class="ec-lmss-10">manpath </span>command (type <span
class="ec-lmtt-10">man manpath </span>to learn more), you
can make the <span class="TEX">T<span
class="E">E</span>X</span> Live manual pages available system-wide via the normal <span
class="ec-lmss-10">man </span>command
by editing the file <span
class="ec-lmtt-10">/etc/manpath.config</span>; you might need root permissions for this. With
the following entry in <span
class="ec-lmtt-10">/etc/manpath.config </span>the <span class="TEX">T<span
class="E">E</span>X</span> Live manual pages will be found
at their original places within the <span class="TEX">T<span
class="E">E</span>X</span> Live tree (adapt the binary path for your system
architecture):
<div class="alltt">
<!--l. 793--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">MANPATH_MAP</span><span
class="ec-lmtt-10"> /usr/local/texlive/2007/bin/i386-linux</span><span
class="ec-lmtt-10"> /usr/local/texlive/2007/texmf/doc/man</span>
</div>
</div>
<!--l. 797--><p class="indent" > If in doubt, please ask any local system gurus to help you with problems; for example, the way to
mount the <span class="TEX">T<span
class="E">E</span>X</span> Live media, which directory or directories to use, and precise details of the changes to
your personal initialization files can and do vary from site to site.
<h5 class="subsubsectionHead"><span class="titlemark">3.2.1 </span> <a
id="x1-150003.2.1"></a>Non-interactive installation</h5>
<!--l. 803--><p class="noindent" >It is possible to override the default directories with environment variables, and then install
non-interactively. Example: <div class="alltt">
<!--l. 805--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX=/opt/texlive</span></span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">export</span> <span
class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX</span></span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">echo</span> <span
class="ec-lmtt-10">i</span> <span
class="ec-lmtt-10">|</span> <span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-tl.sh</span></span>
</div>
</div>
<!--l. 811--><p class="indent" > The <span
class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX </span>variable overrides the default location of <span
class="ec-lmtt-10">/usr/local/texlive</span>,
leaving all else unchanged—so with the above invocation, the main installation will go to
<span
class="ec-lmtt-10">/opt/texlive/2007</span>.
<!--l. 816--><p class="indent" > In the usual Unix way, the final <span class="underline"><span
class="ec-lmtt-10">echo</span> i</span> can be replaced by any sequence of input commands via a
here document, so any sequence of commands can be scripted.
<!--l. 820--><p class="indent" > Here are all the possible overrides:
<!--l. 822--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">TEXLIVE_INSTALL_PREFIX</span> </dt><dd
class="list">
<!--l. 823--><p class="noindent" >Override <span
class="ec-lmtt-10">/usr/local/texlive</span>.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXLIVE_INSTALL_TEXDIR</span> </dt><dd
class="list">
<!--l. 825--><p class="noindent" >Override <span
class="ec-lmtt-10">$TEXLIVE_INSTALL_PREFIX</span>/2007.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXLIVE_INSTALL_TEXMFLOCAL</span> </dt><dd
class="list">
<!--l. 827--><p class="noindent" >Override <span
class="ec-lmtt-10">$TEXLIVE_INSTALL_PREFIX/texmf-var</span>.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXLIVE_INSTALL_TEXMFSYSVAR</span> </dt><dd
class="list">
<!--l. 829--><p class="noindent" >Override <span
class="ec-lmtt-10">$TEXLIVE_INSTALL_TEXDIR/texmf-var</span>.
</dd><dt class="list">
<span
class="ec-lmtt-10">TEXLIVE_INSTALL_TEXMFHOME</span> </dt><dd
class="list">
<!--l. 831--><p class="noindent" >Override <span
class="ec-lmtt-10">$HOME/texmf</span>.</dd></dl>
<!--l. 835--><p class="indent" > It would be better to support a standard GNU-style <span
class="ec-lmtt-10">configure </span>with options, instead of these
environment variables. Volunteers are welcome!
<!--l. 841--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">3.3 </span> <a
id="x1-160003.3"></a>Installing individual packages to disk</h4>
<!--l. 843--><p class="noindent" >You can add individual packages or collections from the current distribution to an existing non-<span class="TEX">T<span
class="E">E</span>X</span> Live
setup, or an earlier <span class="TEX">T<span
class="E">E</span>X</span> Live installation.
<!--l. 847--><p class="indent" > To start, you mount the CD or DVD, with Rock Ridge extensions enabled. The exact command to do
this varies from system to system; the following works under Linux, except the name of the device
(<span
class="ec-lmtt-10">/dev/cdrom</span>, here) may vary. (All our examples will use <span
class="ec-lmtt-10">> </span>as the shell prompt; user input is
<span class="underline"><span
class="ec-lmtt-10">underlined</span></span>.) <div class="alltt">
<!--l. 847--><p class="noindent" ><div class="obeylines-v"> <span
class="ec-lmtt-10">> </span><span class="underline"><span
class="ec-lmtt-10">mount</span> <span
class="ec-lmtt-10">-t</span> <span
class="ec-lmtt-10">iso9660</span> <span
class="ec-lmtt-10">/dev/cdrom</span> <span
class="ec-lmtt-10">/mnt/cdrom</span></span>
</div>
</div>
<!--l. 847--><p class="noindent" >Change the current directory to the mount point: <div class="alltt">
<!--l. 847--><p class="noindent" ><div class="obeylines-v"> <span
class="ec-lmtt-10">> </span><span class="underline"><span
class="ec-lmtt-10">cd</span> <span
class="ec-lmtt-10">/mnt/cdrom</span></span>
</div>
</div>
<!--l. 847--><p class="noindent" >Under Mac OS X, the directory is typically under <span
class="ec-lmtt-10">/Volumes</span>, and the media will be mounted
automatically.
<!--l. 849--><p class="indent" > Run the installation script <span
class="ec-lmtt-10">install-pkg.sh </span>(not <span
class="ec-lmtt-10">install-tl.sh</span>, which is intended for complete
installations only): <div class="alltt">
<!--l. 852--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-pkg.sh</span> <span
class="ec-lmro-10">options</span></span>
</div>
</div>
<!--l. 856--><p class="indent" > The first set of options controls what gets read:
<!--l. 858--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">--package=</span><span
class="ec-lmro-10">pkgname</span> </dt><dd
class="list">
<!--l. 859--><p class="noindent" >The individual package to work on.
</dd><dt class="list">
<span
class="ec-lmtt-10">--collection=</span><span
class="ec-lmro-10">colname</span> </dt><dd
class="list">
<!--l. 861--><p class="noindent" >The individual collection to work on.
</dd><dt class="list">
<span
class="ec-lmtt-10">--nodoc</span> </dt><dd
class="list">
<!--l. 863--><p class="noindent" >Exclude documentation files from the operation.
</dd><dt class="list">
<span
class="ec-lmtt-10">--nosrc</span> </dt><dd
class="list">
<!--l. 865--><p class="noindent" >Exclude source files from the operation.
</dd><dt class="list">
<span
class="ec-lmtt-10">--cddir=</span><span
class="ec-lmro-10">dir</span> </dt><dd
class="list">
<!--l. 867--><p class="noindent" >Source directory to read from; defaults to the current directory. If you followed the
instructions above, that will be the distribution directory, and won’t need to be changed.
</dd><dt class="list">
<span
class="ec-lmtt-10">--listdir=</span><span
class="ec-lmro-10">dir</span> </dt><dd
class="list">
<!--l. 871--><p class="noindent" >The so-called ‘lists’ directory within <span
class="ec-lmro-10">cddir </span>from which to read the package information. The
only reason to change the default is if you’re making changes to <span class="TEX">T<span
class="E">E</span>X</span> Live yourself.
</dd></dl>
<!--l. 878--><p class="indent" > What actually happens is controlled by the following options. If neither of these are specified, the
default action is to install the selected files. The main destination tree is found by expanding <span
class="ec-lmtt-10">$TEXMFMAIN</span>
with <span
class="ec-lmss-10">kpsewhich</span>. You can override it by setting either the environment variable <span
class="ec-lmtt-10">TEXMFMAIN </span>or
<span
class="ec-lmtt-10">TEXMF</span>.
<!--l. 885--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">--listonly</span> </dt><dd
class="list">
<!--l. 886--><p class="noindent" >List the files that would be installed, but don’t actually install anything.
</dd><dt class="list">
<span
class="ec-lmtt-10">--archive=</span><span
class="ec-lmro-10">tarfile</span> </dt><dd
class="list">
<!--l. 889--><p class="noindent" >Instead of installing the files into the <span class="TEX">T<span
class="E">E</span>X</span> system, make a <span
class="ec-lmss-10">tar </span>archive.
</dd></dl>
<!--l. 894--><p class="indent" > Additional options:
<!--l. 896--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">--config</span> </dt><dd
class="list">
<!--l. 898--><p class="noindent" >After installation, run <span
class="ec-lmtt-10">texconfig init</span>.
</dd><dt class="list">
<span
class="ec-lmtt-10">--nohash</span> </dt><dd
class="list">
<!--l. 900--><p class="noindent" >After installation, don’t run <span
class="ec-lmss-10">mktexlsr </span>to rebuild the filename database.
</dd><dt class="list">
<span
class="ec-lmtt-10">--verbose</span> </dt><dd
class="list">
<!--l. 903--><p class="noindent" >Give more information as the script runs.
</dd></dl>
<!--l. 907--><p class="indent" > Here are some usage examples:
<!--l. 909--><p class="indent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x1-16002x1">To see the files in the package <span
class="ec-lmss-10">fancyhdr </span>without installing it:
<div class="alltt">
<!--l. 914--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-pkg.sh</span> <span
class="ec-lmtt-10">--package=fancyhdr</span> <span
class="ec-lmtt-10">--listonly</span></span>
<br />
<br /><span
class="ec-lmtt-10">texmf/doc/latex/fancyhdr/README</span>
<br /><span
class="ec-lmtt-10">texmf/doc/latex/fancyhdr/fancyhdr.pdf</span>
<br /><span
class="ec-lmtt-10">...</span>
</div>
</div>
</li>
<li
class="enumerate" id="x1-16004x2">Install the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> package <span
class="ec-lmss-10">natbib</span>: <div class="alltt">
<!--l. 925--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-pkg.sh</span> <span
class="ec-lmtt-10">--package=natbib</span></span>
</div>
</div>
</li>
<li
class="enumerate" id="x1-16006x3">Install the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> package <span
class="ec-lmss-10">alg </span>without source files or documentation: <div class="alltt">
<!--l. 931--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-pkg.sh</span> <span
class="ec-lmtt-10">--package=alg</span> <span
class="ec-lmtt-10">--nosrc</span> <span
class="ec-lmtt-10">--nodoc</span></span>
</div>
</div>
</li>
<li
class="enumerate" id="x1-16008x4">Install all the packages in the collection of additional plain <span class="TEX">T<span
class="E">E</span>X</span> macros: <div class="alltt">
<!--l. 939--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-pkg.sh</span> <span
class="ec-lmtt-10">--collection=tex-plainextra</span></span>
</div>
</div>
</li>
<li
class="enumerate" id="x1-16010x5">Write all files in the <span
class="ec-lmss-10">pstricks </span>package to a <span
class="ec-lmss-10">tar </span>file in <span class="path"><span
class="ec-lmtt-10">/tmp</span></span>: <div class="alltt">
<!--l. 945--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">sh</span> <span
class="ec-lmtt-10">install-pkg.sh</span> <span
class="ec-lmtt-10">--package=pstricks</span> <span
class="ec-lmtt-10">--archive=/tmp/pstricks.tar</span></span>
</div>
</div>
</li></ol>
<!--l. 954--><p class="indent" > If in doubt, please ask any local system gurus to help you with problems; for example, the way to
mount the <span class="TEX">T<span
class="E">E</span>X</span> Live media, which directory or directories to use, and precise details of the changes to
your personal initialization files can and do vary from site to site.
<!--l. 958--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">4 </span> <a
id="x1-170004"></a>Post-installation</h3>
<!--l. 961--><p class="noindent" >After the main installation is done, for any operating system, the remaining steps are to configure the
system for your local needs, and perform some basic tests.
<!--l. 965--><p class="indent" > Another sort of post-installation is to acquire packages, fonts, or programs that were not included in
<span class="TEX">T<span
class="E">E</span>X</span> Live. The basic idea is to install such additions in the <span
class="ec-lmtt-10">TEXMFLOCAL </span>tree (if you installed to
disk), or <span
class="ec-lmtt-10">TEXMFSYSVAR </span>(if you are running live). See the “Installation directories” option on
p. <a
href="#x1-140003.2">21<!--tex4ht:ref: text:instdir --></a>.
<!--l. 971--><p class="indent" > Unfortunately, the details can and do vary widely, and so we do not attempt to address them here.
Here are some external links to descriptions:
<ul class="itemize1">
<li class="itemize"><span class="obeylines-h"><a
href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages" class="url" ><span
class="ec-lmtt-10">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages</span></a></span>
</li>
<li class="itemize"><span class="obeylines-h"><a
href="http://www.ctan.org/installationadvice" class="url" ><span
class="ec-lmtt-10">http://www.ctan.org/installationadvice</span></a></span>
</li>
<li class="itemize"><span class="obeylines-h"><a
href="http://www.ctan.org/tex-archive/info/beginlatex/html/chapter5.html#pkginst" class="url" ><span
class="ec-lmtt-10">http://www.ctan.org/tex-archive/info/beginlatex/html/chapter5.html#pkginst</span></a></span>
</li>
<li class="itemize"><span class="obeylines-h"><a
href="http://www.ctan.org/tex-archive/info/Type1fonts" class="url" ><span
class="ec-lmtt-10">http://www.ctan.org/tex-archive/info/Type1fonts</span></a></span> for installation information for
fonts in particular.</li></ul>
<!--l. 986--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">4.1 </span> <a
id="x1-180004.1"></a>The <span
class="ec-lmss-10">texconfig </span>program</h4>
<!--l. 989--><p class="noindent" >At any time after installation, you can and should use the program <span
class="ec-lmss-10">texconfig </span>to configure the system to
fit your local needs. It is installed in the architecture-specific subdirectory <span
class="ec-lmtt-10">TEXDIR/bin/</span><span
class="ec-lmro-10">arch </span>along with
everything else.
<!--l. 994--><p class="indent" > If you run it without arguments, it will enter full-screen mode and allow you to view and change
options interactively.
<!--l. 997--><p class="indent" > You can also run it with various command-line options. Here are some of the most common (<span class="TEX">T<span
class="E">E</span>X</span>
Live is configured for the A4 paper size by default):
<!--l. 1000--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">texconfig paper letter</span> </dt><dd
class="list">
<!--l. 1002--><p class="noindent" >Set default paper size for various programs and drivers (<span
class="ec-lmss-10">pdftex</span>, <span
class="ec-lmss-10">dvips</span>, <span
class="ec-lmss-10">dvipdfm</span>, <span
class="ec-lmss-10">xdvi</span>) to be
US letter. The other allowable size is <span
class="ec-lmtt-10">a4</span>, which is the default.
</dd><dt class="list">
<span
class="ec-lmtt-10">texconfig rehash</span> </dt><dd
class="list">
<!--l. 1007--><p class="noindent" >Update all the <span class="TEX">T<span
class="E">E</span>X</span> “filename databases”, after adding or removing files.
</dd><dt class="list">
<span
class="ec-lmtt-10">texconfig faq</span> </dt><dd
class="list">
<!--l. 1010--><p class="noindent" >Show the te<span class="TEX">T<span
class="E">E</span>X</span> FAQ. (See also the main <span class="TEX">T<span
class="E">E</span>X</span> FAQ in <a
href="../../../../texmf-doc/doc/english/FAQ-en" >texmf-doc/doc/english/FAQ-en</a>.)
</dd><dt class="list">
<span
class="ec-lmtt-10">texconfig help</span> </dt><dd
class="list">
<!--l. 1013--><p class="noindent" >Output help information for <span
class="ec-lmss-10">texconfig</span>.
</dd></dl>
<!--l. 1017--><p class="indent" > Of course, <span
class="ec-lmss-10">texconfig </span>can only support changing a few of the many options and configuration
parameters in a <span class="TEX">T<span
class="E">E</span>X</span> system. The main configuration file for the base Web2C programs is named
<span
class="ec-lmtt-10">texmf.cnf</span>. You can find its location by running ‘<span
class="ec-lmtt-10">kpsewhich texmf.cnf</span>’; it contains many comments
explaining the default settings and useful alternatives.
<!--l. 1024--><p class="indent" > <span
class="ec-lmss-10">texconfig </span>alters files in a user-specific directory, as in <span
class="ec-lmtt-10">$HOME/.texlive2007</span>. If you install <span class="TEX">T<span
class="E">E</span>X</span> just
for yourself, that is unlikely to make a difference. But if you install <span class="TEX">T<span
class="E">E</span>X</span> on a multi-user system, you will
want to change the configuration for the whole system. In this case, run <span
class="ec-lmss-10">texconfig-sys </span>instead of
<span
class="ec-lmss-10">texconfig</span>.
<!--l. 1031--><p class="indent" > Likewise, the <span
class="ec-lmss-10">updmap </span>and <span
class="ec-lmss-10">fmtutil </span>scripts were changed, to work under <span
class="ec-lmtt-10">$HOME/.texliveYYYY</span>. To alter
system directories, use <span
class="ec-lmss-10">updmap-sys </span>and <span
class="ec-lmss-10">fmtutil-sys</span>.
<!--l. 1035--><p class="indent" > In particular, for multi-user systems, you will probably want to pregenerate the standard formats
with <span
class="ec-lmtt-10">fmtutil-sys –missing</span>. Otherwise, each user will end up with their own formats.
<!--l. 1039--><p class="indent" > Also, if you have a personally-modified copy of <span
class="ec-lmtt-10">fmtutil.cnf </span>or <span
class="ec-lmtt-10">updmap.cfg</span>, instead of using the
ones generated by installation, they must be installed in the tree referenced by the variable
<span
class="ec-lmtt-10">TEXMFSYSCONFIG</span>.
<!--l. 1044--><p class="indent" > The variables specifying the directories altered by these commands are listed in section <a
href="#x1-90002.3">2.3<!--tex4ht:ref: sec:texmftrees --></a>, p. <a
href="#x1-90002.3">8<!--tex4ht:ref: sec:texmftrees --></a>. You
can see the actual directories by running <span
class="ec-lmtt-10">texconfig conf</span>, and you can change them by editing
<span
class="ec-lmtt-10">texmf.cnf</span>.
<!--l. 1050--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">4.2 </span> <a
id="x1-190004.2"></a>Testing the installation</h4>
<!--l. 1053--><p class="noindent" >After installing <span class="TEX">T<span
class="E">E</span>X</span> Live as best you can, you naturally want to test it out, so you can start creating
beautiful documents and/or fonts.
<!--l. 1056--><p class="indent" > This section gives some basic procedures for testing that the new system is functional. We give Unix
commands; under Mac OS X and Windows, you’re more likely to run the tests through a graphical
interface, but the principles are the same.
<!--l. 1061--><p class="indent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x1-19002x1">Make sure that you can run the <span
class="ec-lmss-10">tex </span>program in the first place:
<div class="alltt">
<!--l. 1066--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">tex</span> <span
class="ec-lmtt-10">--version</span></span>
<br /><span
class="ec-lmtt-10">TeX</span><span
class="ec-lmtt-10"> 3.141592</span><span
class="ec-lmtt-10"> (Web2C</span><span
class="ec-lmtt-10"> 7.5.5)</span>
<br /><span
class="ec-lmtt-10">kpathsea</span><span
class="ec-lmtt-10"> version</span><span
class="ec-lmtt-10"> 3.5.5</span>
<br /><span
class="ec-lmtt-10">...</span>
</div>
</div> If this comes back with ‘command not found’ instead of version and copyright information, most
likely you don’t have the correct <span
class="ec-lmtt-10">bin </span>subdirectory in your <span
class="ec-lmtt-10">PATH</span>. See the environment-setting
information on p. <a
href="#x1-130003.1">17<!--tex4ht:ref: text:path --></a>.
</li>
<li
class="enumerate" id="x1-19004x2">Process a basic <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> file: <div class="alltt">
<!--l. 1078--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">latex</span> <span
class="ec-lmtt-10">sample2e.tex</span></span>
<br /><span
class="ec-lmtt-10">This</span><span
class="ec-lmtt-10"> is</span><span
class="ec-lmtt-10"> pdfeTeXk,</span><span
class="ec-lmtt-10"> Version</span><span
class="ec-lmtt-10"> 3.141592...</span>
<br /><span
class="ec-lmtt-10">...</span>
<br /><span
class="ec-lmtt-10">Output</span><span
class="ec-lmtt-10"> written</span><span
class="ec-lmtt-10"> on</span><span
class="ec-lmtt-10"> sample2e.dvi</span><span
class="ec-lmtt-10"> (3</span><span
class="ec-lmtt-10"> pages,</span><span
class="ec-lmtt-10"> 7496</span><span
class="ec-lmtt-10"> bytes).</span>
<br /><span
class="ec-lmtt-10">Transcript</span><span
class="ec-lmtt-10"> written</span><span
class="ec-lmtt-10"> on</span><span
class="ec-lmtt-10"> sample2e.log.</span>
</div>
</div> If this fails to find <span
class="ec-lmtt-10">sample2e.tex </span>or other files, perhaps you have interference from old
environment variables or configuration files. For a deep analysis, you can always ask <span class="TEX">T<span
class="E">E</span>X</span> to
report on exactly what it is searching for, and finding; see “Debugging actions” on
page <a
href="#x1-620008.2.4">61<!--tex4ht:ref: Debugging --></a>.
</li>
<li
class="enumerate" id="x1-19006x3">Preview the result online: <div class="alltt">
<!--l. 1092--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">xdvi</span> <span
class="ec-lmtt-10">sample2e.dvi</span></span>
</div>
</div> (Under Windows, the analogous command is <span
class="ec-lmss-10">dviout</span>.) You should see a new window with a nice
document explaining some of the basics of <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span>. (Well worth reading, by the way if you’re new
to the system.) You do have to be running under X for <span
class="ec-lmss-10">xdvi </span>to work; if you’re not, or
your <span
class="ec-lmtt-10">DISPLAY </span>environment variable is set incorrectly, you’ll get an error ‘<span
class="ec-lmtt-10">Can’t open</span>
<span
class="ec-lmtt-10">display</span>’.
</li>
<li
class="enumerate" id="x1-19008x4">Create a PostScript file for printing or display: <div class="alltt">
<!--l. 1103--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">dvips</span> <span
class="ec-lmtt-10">sample2e.dvi</span> <span
class="ec-lmtt-10">-o</span> <span
class="ec-lmtt-10">sample2e.ps</span></span>
</div>
</div>
</li>
<li
class="enumerate" id="x1-19010x5">Create a PDF file instead of DVI; this processes the <span
class="ec-lmtt-10">.tex </span>file and writes PDF directly:
<div class="alltt">
<!--l. 1109--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">pdflatex</span> <span
class="ec-lmtt-10">sample2e.tex</span></span>
</div>
</div>
</li>
<li
class="enumerate" id="x1-19012x6">Preview the PDF file: <div class="alltt">
<!--l. 1114--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">gv</span> <span
class="ec-lmtt-10">sample2e.pdf</span></span>
<br />or:
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">xpdf</span> <span
class="ec-lmtt-10">sample2e.pdf</span></span>
</div>
</div> Unfortunately neither <span
class="ec-lmss-10">gv </span>nor <span
class="ec-lmss-10">xpdf </span>are currently included in <span class="TEX">T<span
class="E">E</span>X</span> Live, so you must install them
separately. See <span class="obeylines-h"><a
href="http://www.gnu.org/software/gv" class="url" ><span
class="ec-lmtt-10">http://www.gnu.org/software/gv</span></a></span> and <span class="obeylines-h"><a
href="http://www.foolabs.com/xpdf" class="url" ><span
class="ec-lmtt-10">http://www.foolabs.com/xpdf</span></a></span>,
respectively.
</li>
<li
class="enumerate" id="x1-19014x7">Other standard test files you may find useful:
<!--l. 1126--><p class="noindent" >
<dl class="list2"><dt class="list">
<span
class="ec-lmtt-10">small2e.tex</span> </dt><dd
class="list">
<!--l. 1127--><p class="noindent" >A simpler document than <span
class="ec-lmtt-10">sample2e</span>, to reduce the input size if you’re having troubles.
</dd><dt class="list">
<span
class="ec-lmtt-10">testpage.tex</span> </dt><dd
class="list">
<!--l. 1129--><p class="noindent" >Test if your printer introduces any offsets.
</dd><dt class="list">
<span
class="ec-lmtt-10">nfssfont.tex</span> </dt><dd
class="list">
<!--l. 1130--><p class="noindent" >For printing font tables and tests.
</dd><dt class="list">
<span
class="ec-lmtt-10">testfont.tex</span> </dt><dd
class="list">
<!--l. 1131--><p class="noindent" >Also for font tables, but using plain <span class="TEX">T<span
class="E">E</span>X</span>.
</dd><dt class="list">
<span
class="ec-lmtt-10">story.tex</span> </dt><dd
class="list">
<!--l. 1132--><p class="noindent" >The most canonical (plain) <span class="TEX">T<span
class="E">E</span>X</span> test file of all. You must type ‘<span
class="ec-lmtt-10">\bye</span>’ to the <span
class="ec-lmtt-10">* </span>prompt
after ‘<span
class="ec-lmtt-10">tex story.tex</span>’.</dd></dl>
<!--l. 1136--><p class="noindent" >You can process these in the same way as we did with <span
class="ec-lmtt-10">sample2e.tex</span>.
</li></ol>
<!--l. 1141--><p class="indent" > If you are new to <span class="TEX">T<span
class="E">E</span>X</span>, or otherwise need help with actually constructing <span class="TEX">T<span
class="E">E</span>X</span> or <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span>
documents, please visit <span class="obeylines-h"><a
href="http://tug.org/begin.html" class="url" ><span
class="ec-lmtt-10">http://tug.org/begin.html</span></a></span> for some introductory resources.
<!--l. 1146--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">5 </span> <a
id="x1-200005"></a>Mac OS X installation</h3>
<!--l. 1149--><p class="noindent" >The recommended way to install <span class="TEX">T<span
class="E">E</span>X</span> on Mac OS X is from the Mac<span class="TEX">T<span
class="E">E</span>X</span> distribution, new in
2005. This is provided on the <span
class="ec-lmss-10">live </span>DVD in the top-level <span
class="ec-lmtt-10">mactex/ </span>directory. It contains its own
(native) installer for a full <span class="TEX">T<span
class="E">E</span>X</span> distribution, based on a combination of te<span class="TEX">T<span
class="E">E</span>X</span> and <span class="TEX">T<span
class="E">E</span>X</span>
Live, along with many additional applications and documentation. The project web page is <span class="obeylines-h"><a
href="http://tug.org/mactex" class="url" ><span
class="ec-lmtt-10">http://tug.org/mactex</span></a></span>.
<!--l. 1156--><p class="indent" > If you prefer, installation of <span class="TEX">T<span
class="E">E</span>X</span> under Mac OS X can also be done directly from <span class="TEX">T<span
class="E">E</span>X</span> Live, using the
<span
class="ec-lmtt-10">install* </span>scripts, as follows.
<!--l. 1159--><p class="indent" > In order to run the installation scripts under Mac OS X, you need to have the <span
class="ec-lmss-10">bash </span>shell installed. If
you are running Mac OS X 10.2 or later, you have <span
class="ec-lmss-10">bash</span>, and can proceed. If you’re running an earlier
Mac OS X version, however, the default shell is <span
class="ec-lmss-10">zsh</span>, which won’t work; you’ll need to get <span
class="ec-lmss-10">bash </span>from the
Internet, or more likely upgrade your system.
<!--l. 1166--><p class="indent" > Once you have <span
class="ec-lmss-10">bash</span>, the Unix installation documentation in the previous section can be followed. See
section <a
href="#x1-120003">3<!--tex4ht:ref: sec:unix-install --></a> on p. <a
href="#x1-120003">10<!--tex4ht:ref: sec:unix-install --></a>; Mac OS X-specific notes are included there where needed.
<!--l. 1171--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">6 </span> <a
id="x1-210006"></a>Windows installation</h3>
<!--l. 1174--><p class="noindent" >In this release of <span class="TEX">T<span
class="E">E</span>X</span> Live, happily, the distribution once again has a native Windows installer, named
<span
class="ec-lmss-10">tlpmgui.exe</span>. (See section <a
href="#x1-70002.1">2.1<!--tex4ht:ref: sec:multiple-dist --></a>, p. <a
href="#x1-70002.1">6<!--tex4ht:ref: sec:multiple-dist --></a>, for an explanation of the different distributions.)
<!--l. 1179--><p class="indent" > <span
class="ec-lmss-10">tlpmgui </span>has essentially the same options as the Unix installer, only done through a GUI interface:
selecting schemes, individual collections, installation directories, and so on. Section <a
href="#x1-140003.2">3.2<!--tex4ht:ref: sec:unix-install-disk --></a> on p. <a
href="#x1-140003.2">17<!--tex4ht:ref: sec:unix-install-disk --></a> describes
the basic elements. It also allows some post-installation activities such as adding/removing packages,
updating the filename database and building formats. Moreover, <span
class="ec-lmss-10">tlpmgui </span>can setup the system for
running programs directly from the DVD.
<!--l. 1189--><p class="indent" > For those who like to look underneath the hood, <span
class="ec-lmss-10">tlpmgui </span>uses as its “engine” a command-line
Windows program named <span
class="ec-lmss-10">tlpm</span>.
<!--l. 1192--><p class="indent" > The Windows <span class="TEX">T<span
class="E">E</span>X</span> system included in <span class="TEX">T<span
class="E">E</span>X</span> Live is based on new binaries borrowed from the
W32TEX distribution, kindly provided by Akira Kakuto. It also includes some older (but still
working) tools made by Fabrice Popineau, and also a new <span
class="ec-lmtt-10">dvi </span>previewer, <span
class="ec-lmss-10">dviout </span>by Toshio
Oshima.
<!--l. 1198--><p class="indent" > <span class="TEX">T<span
class="E">E</span>X</span> Live can be installed on systems running Windows 98, ME, NT, 2K or XP. Older versions of
Windows (3.1x) and MS-DOS are not supported.
<!--l. 1202--><p class="indent" > <span
class="ec-lmbx-10">Warning: </span>Win9.x users must ensure they have enough environment space before undertaking
installation. The <span
class="ec-lmss-10">tlpmgui.exe </span>program won’t change the environment size for them. A few
environment variables will be created and it is possible you run out of environment space. Add
<span
class="ec-lmtt-10">SHELL=<path>COMMAND.COM /E:4096 /P </span>in the config.sys file in order to increase your environment
size.
<!--l. 1209--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">6.1 </span> <a
id="x1-220006.1"></a>Installing <span class="TEX">T<span
class="E">E</span>X</span> Live to disk</h4>
<!--l. 1211--><p class="noindent" >After inserting the <span class="TEX">T<span
class="E">E</span>X</span> Live CD into the CD drive, autostart should activate <span
class="ec-lmss-10">tlpmgui</span>. If
it does not, click <span
class="ec-lmss-10">Start</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Run</span>, then type <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10"><drive</span><span
class="ec-lmtt-10"> letter>:\setuptl\tplmgui.exe</span></span></span> (or
<span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10"><drive</span><span
class="ec-lmtt-10"> letter>:\texlive\setuptl\tplmgui.exe</span></span></span> if you are installing from the TeX Collection DVD),
where <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10"><drive</span><span
class="ec-lmtt-10"> letter></span></span></span> is the drive letter with the TeX Live CD (or TeX Collection DVD), and then
click OK.
<!--l. 1219--><p class="indent" > The installation window titled <span
class="ec-lmss-10">TeX Live installation and maintenance utility </span>should open. It contains
the following sections: <span
class="ec-lmss-10">Main customization</span>, <span
class="ec-lmss-10">Install</span>, <span
class="ec-lmss-10">Select a scheme</span>, <span
class="ec-lmss-10">Select systems</span>, <span
class="ec-lmss-10">Directories </span>and
<span
class="ec-lmss-10">Options</span>.
<!--l. 1224--><p class="indent" > In the <span
class="ec-lmss-10">Directories </span>section the installation drive (directory) next to the <span
class="ec-lmss-10">CD/DVD </span>button
should be displayed (e.g., <span
class="ec-lmtt-10">F:/ </span>or <span
class="ec-lmtt-10">F:/texlive/ </span>for the DVD), but if it is not, then click the
<span
class="ec-lmss-10">CD/DVD </span>button and select the CD/DVD drive, with the <span class="TEX">T<span
class="E">E</span>X</span> Live CD (or TeX Collection
DVD).
<!--l. 1229--><p class="indent" > The directory in which you wish to install the software can be set by clicking the <span
class="ec-lmss-10">TLroot </span>button. This
directory will be set as <span class="path"><span
class="ec-lmtt-10">TLroot</span></span> environment variable for later usage.
<!--l. 1233--><p class="indent" > In the <span
class="ec-lmss-10">Select a scheme </span>section the desired <span class="TEX">T<span
class="E">E</span>X</span> Live installation scheme should be chosen by clicking
the radio button labelled with the installation scheme name (e.g., <span
class="ec-lmss-10">scheme-gust</span>). Each scheme is
accompanied by an <span
class="ec-lmss-10">Info </span>button which, when clicked, displays a short description of the relevant
scheme.
<!--l. 1239--><p class="indent" > A scheme is a large set of files targeted at some kind of usage. There are generic schemes for
basic, medium and full installations. The remaining ones are either targeted at certain LUGs
(i.e., what GUST or GUTenberg propose for their members) or application targeted (e.g.,
for XML and <span class="TEX">T<span
class="E">E</span>X</span> cooperation). A preselected scheme can be refined. This is done in the
<span
class="ec-lmss-10">Main customization </span>section by choosing additional collections from <span
class="ec-lmss-10">Standard collections </span>or
<span
class="ec-lmss-10">Language collections</span>. For example, by clicking the <span
class="ec-lmss-10">Select </span>button labelled <span
class="ec-lmss-10">Standard collections</span>,
additional collections like Metapost, Omega or documentation in different languages can be
selected.
<!--l. 1250--><p class="indent" > <span
class="ec-lmss-10">Wintools </span>collection is selected by default as it contains many small programs, usually
absent in Windows, which can be handy, like graphics converters: <span
class="ec-lmss-10">sam2p</span>, <span
class="ec-lmss-10">jpeg2ps</span>, <span
class="ec-lmss-10">tiff2png</span>;
(de)compression programs: <span
class="ec-lmss-10">bzip2</span>, <span
class="ec-lmss-10">gzip</span>, <span
class="ec-lmss-10">unzip</span>, and <span
class="ec-lmss-10">wget </span>which is needed for <span
class="ec-lmss-10">getnonfreefonts </span>(new)
utility.
<!--l. 1257--><p class="indent" > Next, clicking the <span
class="ec-lmss-10">Select </span>button labelled <span
class="ec-lmss-10">Language Collections </span>in the <span
class="ec-lmss-10">Main customization </span>section opens
the <span
class="ec-lmss-10">Language collections </span>window in which the installation language can be chosen by ticking the box next
to the language.
<!--l. 1262--><p class="indent" > Next, click the <span
class="ec-lmss-10">Install </span>button in the <span
class="ec-lmss-10">Install </span>section to start the installation proper process.
<!--l. 1265--><p class="indent" > <span
class="ec-lmbx-10">Note: </span>The <span
class="ec-lmss-10">Perl </span>and <span
class="ec-lmss-10">Ghostscript </span>are installed only on demand. They should be installed unless they
are already installed and you really know what you are doing. Both programs are required by many
important tools. The <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">PERL5LIB</span></span></span> and <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">GS_LIB</span></span></span> environment variables will be set too, as well the path to
Ghostscript binaries will be added to the <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">PATH</span></span></span> variable.
<!--l. 1272--><p class="indent" > The <span class="TEX">T<span
class="E">E</span>X</span> Live system needs some post-processing steps (format files generation, ls-R
databases generation, environment variables, etc.). All these operations are done there, some of
them can be lengthy. So please wait until you see a statement about the successfully finished
installation.
<!--l. 1277--><p class="indent" > The shortcut for <span
class="ec-lmss-10">tlpmgui </span>(and also <span
class="ec-lmss-10">dviout</span>, if installed) will be added to the <span
class="ec-lmss-10">Start</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Programs</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">TeXLive2007</span>
menu.
<!--l. 1280--><p class="indent" > If it is needed (Win9x/WinME), you will be asked to reboot your computer.
<!--l. 1282--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">6.2 </span> <a
id="x1-230006.2"></a>Support packages for Windows</h4>
<!--l. 1285--><p class="noindent" >To be complete, a <span class="TEX">T<span
class="E">E</span>X</span> Live installation needs support packages that are not commonly found on a
Windows machine. Many scripts are written using the Perl language. Some important tools require the
Ghostscript PostScript interpreter to render or to convert files. A graphic file toolbox is also needed in
some cases. Last but not least, a <span class="TEX">T<span
class="E">E</span>X</span>-oriented editor makes it easy to type in your <span class="TEX">T<span
class="E">E</span>X</span>
files.
<!--l. 1292--><p class="indent" > All these tools are quite easy to find for Windows, but in order to try to make your life even easier,
we have put such a set of tools on <span class="TEX">T<span
class="E">E</span>X</span> Live:
<ul class="itemize1">
<li class="itemize">GNU <span
class="ec-lmss-10">Ghostscript </span>8.54
</li>
<li class="itemize">a minimal <span
class="ec-lmss-10">Perl </span>5.8, sufficient to run all the <span class="TEX">T<span
class="E">E</span>X</span> Live Perl scripts.
</li>
<li class="itemize">win-tools is a set of small programs (bzip2, gzip, jpeg2ps and tiff2png)</li></ul>
<!--l. 1306--><p class="indent" > Perl and Ghostscript are installed upon request; you may explicitly deselect them during installation
if you already have them.
<!--l. 1309--><p class="indent" > If you don’t want to install this bundle, then you are on your own to install the required tools to
complete your <span class="TEX">T<span
class="E">E</span>X</span> Live system. Here is a list of places to get those tools:
<!--l. 1313--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="ec-lmbx-10">Ghostscript</span> </dt><dd
class="description"><span class="obeylines-h"><a
href="http://www.cs.wisc.edu/~ghost/" class="url" ><span
class="ec-lmtt-10">http://www.cs.wisc.edu/~ghost/</span></a></span>
</dd><dt class="description">
<span
class="ec-lmbx-10">Perl</span> </dt><dd
class="description"><span class="obeylines-h"><a
href="http://www.activestate.com/" class="url" ><span
class="ec-lmtt-10">http://www.activestate.com/</span></a></span> (but you might need some supplementary packages from
CPAN: <span class="obeylines-h"><a
href="http://www.cpan.org/" class="url" ><span
class="ec-lmtt-10">http://www.cpan.org/</span></a></span>)
</dd><dt class="description">
<span
class="ec-lmbx-10">ImageMagick</span> </dt><dd
class="description"><span class="obeylines-h"><a
href="http://www.imagemagick.com" class="url" ><span
class="ec-lmtt-10">http://www.imagemagick.com</span></a></span>
</dd><dt class="description">
<span
class="ec-lmbx-10">NetPBM</span> </dt><dd
class="description">alternatively, you could use NetPBM instead of ImageMagick to process or convert
your graphic files. NetPBM home page is <span class="obeylines-h"><a
href="http://netpbm.sourceforge.net/" class="url" ><span
class="ec-lmtt-10">http://netpbm.sourceforge.net/</span></a></span>
</dd><dt class="description">
<span class="TEX"><span
class="ec-lmbx-10">T</span><span
class="E"><span
class="ec-lmbx-10">E</span></span><span
class="ec-lmbx-10">X</span></span><span
class="ec-lmbx-10">-oriented editors</span> </dt><dd
class="description">There is a wide choice, and it is a matter of the user’s taste. Here is a
selection:
<ul class="itemize1">
<li class="itemize"><span
class="ec-lmss-10">GNU Emacs </span>is available natively under Windows, see <span class="obeylines-h"><a
href="http://www.gnu.org/software/emacs/windows/ntemacs.html" class="url" ><span
class="ec-lmtt-10">http://www.gnu.org/software/emacs/windows/ntemacs.html</span></a></span>
</li>
<li class="itemize"><span
class="ec-lmss-10">Emacs </span>with AucTeX is available natively under Windows, see <span class="obeylines-h"><a
href="ftp://alpha.gnu.org/gnu/auctex" class="url" ><span
class="ec-lmtt-10">ftp://alpha.gnu.org/gnu/auctex</span></a></span>
</li>
<li class="itemize"><span
class="ec-lmss-10">WinShell </span>is available on <span class="TEX">T<span
class="E">E</span>X</span> Live in the <span class="path"><span
class="ec-lmtt-10">support</span></span> directory, see <span class="obeylines-h"><a
href="http://www.winshell.de" class="url" ><span
class="ec-lmtt-10">http://www.winshell.de</span></a></span>
</li>
<li class="itemize"><span
class="ec-lmss-10">WinEdt </span>is shareware available from <span class="obeylines-h"><a
href="http://www.winedt.com" class="url" ><span
class="ec-lmtt-10">http://www.winedt.com</span></a></span>
</li>
<li class="itemize"><span
class="ec-lmss-10">Vim </span>is available from <span class="obeylines-h"><a
href="http://www.vim.org" class="url" ><span
class="ec-lmtt-10">http://www.vim.org</span></a></span>
</li>
<li class="itemize">TeXnicCenter is free software, available from <span class="obeylines-h"><a
href="http://www.toolscenter.org" class="url" ><span
class="ec-lmtt-10">http://www.toolscenter.org</span></a></span> and in
the proTeXt distribution.
</li>
<li class="itemize"><span
class="ec-lmss-10">LEd </span>is available from <span class="obeylines-h"><a
href="http://www.ctan.org/support/LEd" class="url" ><span
class="ec-lmtt-10">http://www.ctan.org/support/LEd</span></a></span>
</li>
<li class="itemize"><span
class="ec-lmss-10">SciTE </span>is available from <span class="obeylines-h"><a
href="http://www.scintilla.org/SciTE.html" class="url" ><span
class="ec-lmtt-10">http://www.scintilla.org/SciTE.html</span></a></span></li></ul>
</dd></dl>
<!--l. 1339--><p class="indent" > You might want to install other tools that are not
free<span class="footnote-mark"><a
href="#fn1x0" id="fn1x0-bk"><sup class="textsuperscript">1</sup></a></span><a
id="x1-23001f1"></a>
and therefore not included on <span class="TEX">T<span
class="E">E</span>X</span> Live, such as <span
class="ec-lmss-10">GSView</span>, the <span
class="ec-lmss-10">Ghostscript </span>companion to more
conveniently view PS/PDF files. <span
class="ec-lmss-10">GSView </span>is available from <span class="obeylines-h"><a
href="http://www.cs.wisc.edu/~ghost/gsview/" class="url" ><span
class="ec-lmtt-10">http://www.cs.wisc.edu/~ghost/gsview/</span></a></span>
or any CTAN site.
<!--l. 1347--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">7 </span> <a
id="x1-240007"></a>Maintenance of the installation in Windows</h3>
<!--l. 1349--><p class="noindent" >If you have TeX Live installed, you can use <span
class="ec-lmss-10">tlpmgui </span>again for modifying and maintaining your
installation.
<!--l. 1352--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.1 </span> <a
id="x1-250007.1"></a>Adding/removing packages</h4>
<!--l. 1354--><p class="noindent" >As the <span
class="ec-lmss-10">tlpmgui </span>shortcut is available in the <span
class="ec-lmss-10">Start</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Programs</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">TeXLive2007 </span>menu, start it from here. The
maintenance window titled <span
class="ec-lmss-10">TeX Live installation and maintenance utility </span>shows. It contains several tabs:
<span
class="ec-lmss-10">Add Packages</span>, <span
class="ec-lmss-10">Remove packages</span>, <span
class="ec-lmss-10">Manage installation</span>, <span
class="ec-lmss-10">Remove installation</span>.
<!--l. 1360--><p class="indent" > Click the tab labelled <span
class="ec-lmss-10">Add packages </span>or <span
class="ec-lmss-10">Remove packages </span>to enter the relevant functionality and
then:
<ul class="itemize1">
<li class="itemize">In the first tab select the proper CD drive (or DVD with <span
class="ec-lmtt-10">texlive </span>directory) by pressing the
<span
class="ec-lmss-10">CD/DVD </span>button.
</li>
<li class="itemize">Click the <span
class="ec-lmss-10">Search </span>button in the <span
class="ec-lmss-10">Buttons </span>section to display or refresh in the <span
class="ec-lmss-10">Select packages</span>
<span
class="ec-lmss-10">to</span><span
class="ec-lmss-10">… </span>section the list of packages to install or remove.
<!--l. 1370--><p class="noindent" >When adding packages, the list of installed packages is compared to the list of packages
available from your CD/DVD. Only packages not already installed are displayed. It is up to
you to select which packages you want to install.
<!--l. 1375--><p class="noindent" >When removing individual packages, only a list of installed packages will be displayed.
<!--l. 1378--><p class="noindent" >Please note that for both <span
class="ec-lmss-10">Add packages </span>and <span
class="ec-lmss-10">Remove packages </span>the collections are listed first.
</li>
<li class="itemize">Select a package by clicking on the name of the package. Clicking the <span
class="ec-lmss-10">Info </span>button in the
<span
class="ec-lmss-10">Buttons </span>section displays a short description of the selected package in the window located
in the <span
class="ec-lmss-10">Info about the selected item </span>section. To select several packages at once hold down one
of the Ctrl or Shift keys at your keyboard while holding down the left mouse button or drag
the mouse pointer while holding down the left mouse button.
</li>
<li class="itemize">Click the <span
class="ec-lmss-10">Install </span>or <span
class="ec-lmss-10">Remove </span>button in the <span
class="ec-lmss-10">Buttons </span>section to perform the appropriate action.</li></ul>
<!--l. 1393--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.2 </span> <a
id="x1-260007.2"></a>Configuring and other management tasks</h4>
<!--l. 1395--><p class="noindent" >The functions available in the tab labelled <span
class="ec-lmss-10">Manage the installation </span>are helpful in performing actions
needed when you want to add support for a language which was not selected during the installation, or
add/regenerate a format which was not selected during the installation or was modified after the
installation.
<!--l. 1401--><p class="indent" > The following actions can be performed:
<ul class="itemize1">
<li class="itemize">Refresh the <span
class="ec-lmtt-10">ls-R </span>database
</li>
<li class="itemize">Create formats (All or Missing)
</li>
<li class="itemize">Edit <span
class="ec-lmtt-10">language.dat</span>
</li>
<li class="itemize">Edit <span
class="ec-lmtt-10">fmtutil.cnf</span>
</li>
<li class="itemize">Edit <span
class="ec-lmtt-10">updmap.cfg</span></li></ul>
<!--l. 1411--><p class="indent" > Note: you can close the Edit… window with the <span
class="ec-lmss-10">Cancel </span>or <span
class="ec-lmss-10">Done </span>button; the latter will start rebuilding
the format files (or the fontmap files if you have edited <span
class="ec-lmtt-10">updmap.cfg</span>), followed by a <span
class="ec-lmtt-10">ls-R </span>database files
refresh.
<!--l. 1416--><p class="indent" > For more information about the configuration see section <a
href="#x1-320007.8">7.8<!--tex4ht:ref: sec:persconf --></a>, p. <a
href="#x1-320007.8">38<!--tex4ht:ref: sec:persconf --></a>.
<!--l. 1419--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.3 </span> <a
id="x1-270007.3"></a>Uninstalling <span class="TEX">T<span
class="E">E</span>X</span> Live</h4>
<!--l. 1421--><p class="noindent" >The tab labelled <span
class="ec-lmss-10">Remove the TeX Live installation </span>opens a window which contains functionality not worth
describing and we do not know who would need it and what it is for…:-)
<!--l. 1425--><p class="indent" > Anyway, if you have the <span class="path"><span
class="ec-lmtt-10">texmf-local</span></span> directory for your local additions, the removal procedure will
not wipe it out or delete things in it. However, it will be done only if you select it explicitly. The <span class="path"><span
class="ec-lmtt-10">setuptl</span></span> directory containing <span
class="ec-lmss-10">tlpmgui </span>and related files will not be deleted. You will have to do some
manual cleanup to actually remove them.
<!--l. 1431--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.4 </span> <a
id="x1-280007.4"></a>Adding your own packages to the installation</h4>
<!--l. 1433--><p class="noindent" >First, whatever changes you make, <span
class="ec-lmbx-10">do not forget to rebuild the ls-R database files</span>. Otherwise,
your new files will not be found. You can do this either via the <span
class="ec-lmss-10">tlpmgui </span>run and selection of the
appropriate action from the <span
class="ec-lmss-10">Manage the installation </span>tab, or manually running the <span
class="ec-lmtt-10">mktexlsr</span>
command.
<!--l. 1439--><p class="indent" > If you want to add files that are not provided by the <span class="TEX">T<span
class="E">E</span>X</span> Live distribution, it is recommended to put
them in the <span class="path"><span
class="ec-lmtt-10">$TEXMFLOCAL</span></span> directory. This way, you will be safe against upgrades of the <span class="TEX">T<span
class="E">E</span>X</span> Live
software.
<!--l. 1443--><p class="indent" > The directory pointed to by <span class="path"><span
class="ec-lmtt-10">$TEXMFLOCAL</span></span> is initially empty. If, for example, you want to add the
support file for the Maple symbolic computation program, you will have to put the style files
in:
<br class="newline" /><span class="path"><span
class="ec-lmtt-10">c:\TeXLive2007\texmf-local\tex\latex\maple\</span></span>
<br class="newline" />and the documentation files in:
<br class="newline" /><span class="path"><span
class="ec-lmtt-10">c:\TeXLive2007\texmf-local\doc\latex\maple\</span></span>
<!--l. 1449--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.5 </span> <a
id="x1-290007.5"></a>Running <span
class="ec-lmtt-10">tlmp.exe </span>from the command line</h4>
<!--l. 1450--><p class="noindent" >The <span
class="ec-lmss-10">tlpm.exe </span>program which is used as engine by <span
class="ec-lmss-10">tlpmgui </span>has a number of other useful options. You can
get the list by running:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb1">
<a
id="x1-29002r1"></a>  tlpm --help
</div>
</div>
</td></tr></table>
<!--l. 1454--><p class="nopar" >
<!--l. 1456--><p class="indent" > More information and examples of use can be found in <span class="path"><span
class="ec-lmtt-10">tlpm.readme</span></span>.
<!--l. 1458--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.6 </span> <a
id="x1-300007.6"></a>Network installation</h4>
<!--l. 1460--><p class="noindent" >Kpathsea knows about UNC names, so you can use them to get your TEXMF tree from the network.
But there is better than this. All the support files and configuration files, everything except the files in
the <span class="path"><span
class="ec-lmtt-10">bin/win32</span></span> are shareable with a te<span class="TEX">T<span
class="E">E</span>X</span> or Unix <span class="TEX">T<span
class="E">E</span>X</span> Live installation. That means you can use
Samba either to mount from an NT server to a Unix workstation or the converse. Several strategies are
possible:
<ul class="itemize1">
<li class="itemize">Put everything on the server. Just add each set of files for the OS and architecture you want
to use in the <span class="path"><span
class="ec-lmtt-10">bin</span></span> directory. That means for example <span class="path"><span
class="ec-lmtt-10">bin/win32</span></span> and <span class="path"><span
class="ec-lmtt-10">bin/i386-linux</span></span>.
Next configure your main variables. You can use UNC names to point to the right directories
under Win32.
</li>
<li class="itemize">Install a local copy for the binaries and format files. In this case, assign <span class="path"><span
class="ec-lmtt-10">$TEXMFMAIN</span></span> to the
main <span class="path"><span
class="ec-lmtt-10">texmf</span></span> tree that will be accessed remotely. Set <span class="path"><span
class="ec-lmtt-10">$TEXMFVAR</span></span> to be a local directory
which will hold local configuration files and on-the-fly generated files.</li></ul>
<!--l. 1479--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.7 </span> <a
id="x1-310007.7"></a>What’s different in Windows?</h4>
<!--l. 1481--><p class="noindent" >The Windows version of Web2C has some specific features that should be pointed out.
<!--l. 1484--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="ec-lmssbx-10">kpsecheck</span> </dt><dd
class="description">This command provides some options that did not fit well into <span
class="ec-lmss-10">kpsewhich</span>. It will allow
you to list all the files that occur multiple times across your texmf trees. This could be
handy, but most of the time you will also get unwanted output (like dozens of <span class="path"><span
class="ec-lmtt-10">README</span></span> files).
It is noticeable that all these files result in clashes inside the Kpathsea-hashing mechanism;
fortunately, Kpathsea never looks for these files. For this reason, you can combine the <span class="path"><span
class="ec-lmtt-10">-multiple-occurrences</span></span> with 2 other options for including or excluding any filename that
match some pattern (you can request for several patterns).
<!--l. 1496--><p class="noindent" >The <span
class="ec-lmss-10">kpsecheck </span>command will also report the status of shared memory: in use or not used.
That might be useful to know because if the status reported is ‘<span
class="ec-lmtt-10">in use</span>’, that means one or
several processes are working, and the effect of any <span
class="ec-lmss-10">mktexlsr </span>command will be delayed until
the next time where no Kpathsea linked process will be running.
<!--l. 1503--><p class="noindent" >Last, this same command will report about the location it thinks Ghostscript can be found.
Under Win32, for many programs, it is easier to use the Ghostscript dll, and find it by using
the Ghostscript registry key than to change the <span class="path"><span
class="ec-lmtt-10">PATH</span></span>, which has a limited length anyway.
</dd><dt class="description">
<span
class="ec-lmbx-10">Web2C</span> </dt><dd
class="description">The engines have one more option than in Unix Web2C:
<ul class="itemize1">
<li class="itemize"><span class="path"><span
class="ec-lmtt-10">-proctimes</span></span> print statistics about the job run time. It is to be noted that Win9x not
being a true multitasking operating system, it has no reliable timer for short periods, so
the value printed is an approximation. Under NT/2K/XP, the result is quite accurate
with user time and system time values allocated for this run. For Unix users: the <span class="path"><span
class="ec-lmtt-10">time</span></span>
command is not usually available to Windows users.</li></ul>
</dd></dl>
<!--l. 1521--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.8 </span> <a
id="x1-320007.8"></a>Personal configurations</h4>
<!--l. 1524--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.8.1 </span> <a
id="x1-330007.8.1"></a>Dvips</h5>
<!--l. 1526--><p class="noindent" >The configuration file for dvips can be found in
<br class="newline" /><span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">C:\TeXLive2007\texmf-var\dvips\config\config.ps</span></span></span>
<br class="newline" />You may open it with any editor and change some parameters:
<!--l. 1532--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="ec-lmbx-10">fonts</span> </dt><dd
class="description">you can change the default printer Metafont mode or printer resolution in case <span
class="ec-lmss-10">dvips </span>needs
to generate PK fonts. By default it is configured to use Type 1 versions of the CM fonts, so
it should not call <span
class="ec-lmss-10">mktexpk </span>too often;
</dd><dt class="description">
<span
class="ec-lmbx-10">printer</span> </dt><dd
class="description">you can tell dvips where you want to print by default. If the <span
class="ec-lmtt-10">o </span>option is not followed by a
printer name, then a <span
class="ec-lmtt-10">.ps </span>PostScript file is written. You can give dvips a printer name such
as:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb2">
<a
id="x1-33002r1"></a>  o lpt1:
<br class="fancyvrb" /><a
id="x1-33004r2"></a>  % o | lpr -S server -P myprinter
<br class="fancyvrb" /><a
id="x1-33006r3"></a>  % o \\server\myprinter
</div>
</div>
</td></tr></table>
<!--l. 1545--><p class="nopar" >
</dd><dt class="description">
<span
class="ec-lmbx-10">paper</span> </dt><dd
class="description">Next, you might want to change the paper size from European (A4) to US letter by
making the US letter the first paper size mentioned in the file. Scroll to the group of
lines beginning with <span
class="ec-lmtt-10">@</span>. Move the appropriate lines so that this section begins with the
lines:
<br class="newline" />  @ letterSize 8.5in 11in
<br class="newline" />  @ letter 8.5in 11in
<br class="newline" />  @+ %%BeginPaperSize: Letter
<br class="newline" />  @+ letter
<br class="newline" />  @+ %%EndPaperSize</dd></dl>
<!--l. 1558--><p class="indent" > The current <span class="TEX">T<span
class="E">E</span>X</span> Live distribution implements the procedure of making always up-to-date fontmaps
files for Dvips and Pdftex. This is done by the <span
class="ec-lmss-10">updmap </span>program during installation. If you add
new font packages using the installation program or by hand, edit the file <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">updmap.cfg</span></span></span> in <span class="path"><span
class="ec-lmtt-10">$TEXMFVAR/web2c</span></span>.
<!--l. 1564--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.8.2 </span> <a
id="x1-340007.8.2"></a>PdfTeX</h5>
<!--l. 1566--><p class="noindent" >If you use the program pdflatex to write PDF format directly, and you are using US letter-size paper,
edit the file <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">C:\TeXLive2007\texmf-var\tex\generic\config\pdftexconfig.tex</span></span></span> and change
‘<span
class="ec-lmtt-10">\pdfpagewidth</span>’ and ‘<span
class="ec-lmtt-10">\pdfpageheight</span>’. These entries should read: <div class="alltt">
<!--l. 1571--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">\pdfpagewidth=8.5</span><span
class="ec-lmtt-10"> true</span><span
class="ec-lmtt-10"> in</span>
<span
class="ec-lmtt-10">\pdfpageheight=11</span><span
class="ec-lmtt-10"> true</span><span
class="ec-lmtt-10"> in</span>
</div>
</div> Save the file and exit the editor.
<!--l. 1577--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.8.3 </span> <a
id="x1-350007.8.3"></a>Xe<span class="TEX">T<span
class="E">E</span>X</span></h5>
<!--l. 1578--><p class="noindent" >Xe<span class="TEX">T<span
class="E">E</span>X</span> for Windows is linked statically with fontconfig 2.4.2. A configuration file for fontconfig is
<span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">fonts.conf</span></span></span>. For details, see the file <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">fonts.conf</span></span></span> itself which is in a directory shown by the command
<span
class="ec-lmtt-10">kpsewhich –var-value=FONTCONFIG_PATH</span>.
<!--l. 1583--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.8.4 </span> <a
id="x1-360007.8.4"></a>GSView</h5>
<!--l. 1584--><p class="noindent" >GSView is now distributed under the Aladdin License, and therefore is no longer included in <span class="TEX">T<span
class="E">E</span>X</span>
Live.
<!--l. 1587--><p class="indent" > You may want to change the page size to US letter size. If so, open GSView from the <span
class="ec-lmss-10">Start </span>menu, and
select <span
class="ec-lmss-10">Media</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Letter</span>.
<!--l. 1590--><p class="indent" > Also, there are menu settings that are supposed to give you the most readable screen image. On
<span
class="ec-lmss-10">Media</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Display Settings</span>, set both <span
class="ec-lmtt-10">Text Alpha </span>and <span
class="ec-lmtt-10">Graphics Alpha </span>to 4 bits.
<!--l. 1594--><p class="indent" > Note that the installation process has set all <span
class="ec-lmtt-10">.ps </span>and <span
class="ec-lmtt-10">.eps </span>files to automatically open with
<span
class="ec-lmss-10">GSView</span>.
<!--l. 1597--><p class="indent" > For printing instructions, see section <a
href="#x1-380007.10">7.10<!--tex4ht:ref: printing --></a> below.
<!--l. 1600--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.9 </span> <a
id="x1-370007.9"></a>Testing</h4>
<!--l. 1602--><p class="noindent" >For generic verification procedures, see section <a
href="#x1-190004.2">4.2<!--tex4ht:ref: sec:test-install --></a> (p. <a
href="#x1-190004.2">28<!--tex4ht:ref: sec:test-install --></a>). This section describes Windows-specific
tests.
<!--l. 1606--><p class="indent" > Open the file <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">sample2e.tex</span></span></span> in your editor (Xemacs, WinShell), found in <span class="path"><span
class="ec-lmtt-10">C:\TeXLive2007\texmf-dist\tex\latex\base</span></span>. The <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> source should appear on the screen.
Process it by clicking on the <span
class="ec-lmss-10">Command</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">LaTeX </span>menu (XEmacs) or <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> icon on the toolbar
(WinShell), then view it by clicking on the <span
class="ec-lmss-10">Command</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">View DVI </span>menu (XEmacs) or Preview (dviout)
icon (WinShell).
<!--l. 1613--><p class="indent" > At first, when you preview files with <span
class="ec-lmss-10">dviout</span>, it will create fonts because screen fonts were not
installed. After a while, you will have created most of the fonts you use, and you will rarely see the
font-creation window.
<!--l. 1617--><p class="indent" > <span
class="ec-lmbx-10">Hint for the future: </span>If a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> run stops because <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> cannot find a file, you can press
Ctrl-z to quit.
<!--l. 1621--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.10 </span> <a
id="x1-380007.10"></a>Printing</h4>
<!--l. 1624--><p class="noindent" >It is possible to print from <span
class="ec-lmss-10">dviout</span>. In this case, printing will be done using the Windows unified printer
driver. By definition, it is compatible with all printers. However, there is some drawback: it
can generate some huge spool files, and some (older) versions of Windows just don’t like
them. The advantage is that you can use features like embedding BMP or WMF images. You
also need to make sure that the printer parameters are correctly set, else you will get scaled
printing (printing at 600dpi on a 300dpi printer will give you only one quadrant of your
page).
<!--l. 1634--><p class="indent" > Printing is faster and more reliable if you run <span
class="ec-lmss-10">dvips </span>to make a <span
class="ec-lmtt-10">.ps </span>file and then print from <span
class="ec-lmss-10">GSView</span>. In
<span
class="ec-lmss-10">GSview</span>, select <span
class="ec-lmss-10">File</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Print</span><span
class="ec-lmss-10">…</span>. A <span
class="ec-lmss-10">Print </span>window will appear.
<!--l. 1639--><p class="indent" > If you are using a PostScript printer, <span
class="ec-lmri-10">be sure to select </span><span
class="ec-lmsso-10">PostScript Printer</span>. This is done in the <span
class="ec-lmss-10">Print</span>
<span
class="ec-lmss-10">Method </span>box at the bottom left of the <span
class="ec-lmss-10">Print </span>window. You can then select any of the printers that you have
previously installed. If you fail to check the box for <span
class="ec-lmtt-10">PostScript Printer</span>, printing will not
work.
<!--l. 1645--><p class="indent" > If you will be using your own non-PostScript printer, select <span
class="ec-lmss-10">Ghostscript device </span>in the <span
class="ec-lmss-10">Print Method</span>
box, then click on the button to the right labelled <span
class="ec-lmss-10">djet500 </span>and select your printer type from the list that
pops up. (In the older version of <span
class="ec-lmss-10">GSView</span>, make sure <span
class="ec-lmtt-10">PostScript Printer </span>is <span
class="ec-lmri-10">not </span>selected, then select
your printer type from the <span
class="ec-lmss-10">Device </span>list.)
<!--l. 1652--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.11 </span> <a
id="x1-390007.11"></a>Tips and tricks for Win32</h4>
<!--l. 1654--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.11.1 </span> <a
id="x1-400007.11.1"></a>Different flavors of Win32</h5>
<!--l. 1656--><p class="noindent" >What we call Win32 is not an operating system by itself. It is a large set of functions (around 12,000 in
the header files of the Microsoft SDK) that you can use to write programs for different operating systems
of the Windows family.
<!--l. 1661--><p class="indent" > Windows comes in different flavors:
<ul class="itemize1">
<li class="itemize">Win95, Win98 and WinME, which <span
class="ec-lmri-10">are not true multitasking, multithreading </span>environments,
but rather updated incarnations of DOS. This can be more or less proven by the fact that
when booting, the PC will load the <span class="path"><span
class="ec-lmtt-10">command.com</span></span> interpreter, and if you stop the boot
process at this point, you can ask for the current (DOS) version and it will answer something
like ‘<span
class="ec-lmtt-10">MS-DOS 7.0</span>’ (at least for the old versions of Win9x).
</li>
<li class="itemize">Windows NT, which is a new operating system written from scratch, capable of true
multitasking behavior, and including many high level features.
</li>
<li class="itemize">Windows 2000, based on NT, with all the bells and whistles of Win98.
</li>
<li class="itemize">Windows XP, which comes with Personal and Pro flavors. This is the last step in merging
both lines of products (Win9x based and NT based). XP is based on NT.</li></ul>
<!--l. 1680--><p class="indent" > Win9x are able to run 32 bits programs and 16 bits programs concurrently. But the operating
system by itself is not entirely written in 32 bits mode, and does not support memory protection: 16bits
applications can overwrite parts of the operating system memory! Some parts of the system like the GDI
(Graphical Device Interface) manage limited resources like bitmaps, fonts, pens and so on for the
set of all programs that run concurrently. All the bitmaps headers available at the same
time can’t amount for more than 64kB. This explains the performance tool and the fact
that you can put your system on his knees by making intensive use of graphic objects for
example.
<!--l. 1691--><p class="indent" > NT, 2K and XP do not suffer from these limitations, and neither from other Win9x limitations. They
are true multitasking environments, with protected memory. They are much more responsive than Win9x
because of better memory management, better file system and so on.
<!--l. 1696--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.11.2 </span> <a
id="x1-410007.11.2"></a>Command line prompt</h5>
<!--l. 1698--><p class="noindent" >You may wonder, “Why would I need to use a command line prompt when I have Windows?”
<!--l. 1701--><p class="indent" > Good question! The problem is of very general nature. Not all operations can be done easily using
only a GUI. Command line gives you programming power — assuming a clever command
interpreter.
<!--l. 1705--><p class="indent" > But the problem here is more fundamental: <span class="TEX">T<span
class="E">E</span>X</span> is <span
class="ec-lmri-10">a batch </span>tool. Not an interactive one. <span class="TEX">T<span
class="E">E</span>X</span> needs
to compute the best layout for each page, resolve cross-references and so on. This can be
done only by a global processing of the document. It is not (yet) a task that can be done
interactively.
<!--l. 1711--><p class="indent" > This means that you should use <span class="TEX">T<span
class="E">E</span>X</span> from a command line. In fact the situation is not so bad. There
is an advantage to write command line tools for complex processing: they are better debugged, because
they are independent of any GUI problems, and GUI tools can be designed to interface to the command
line tools. This is the case for <span class="TEX">T<span
class="E">E</span>X</span>, where you will mostly interact with it through a GUI text
editor.
<!--l. 1719--><p class="indent" > However, you may need to use the command line prompt in a number of situations. One is when you
are having difficulties and want to debug your setup.
<!--l. 1723--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="ec-lmbx-10">Win9x</span> </dt><dd
class="description">You can open a command line prompt by looking either for the MS-DOS icon in the
<span
class="ec-lmss-10">Start</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Programs </span>menu, or by choosing <span
class="ec-lmss-10">Start</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Run </span>menu typing in <span class="path"><span
class="ec-lmtt-10">command.com</span></span> as the
program name.
</dd><dt class="description">
<span
class="ec-lmbx-10">NT, 2K, XP</span> </dt><dd
class="description">You can open a command line prompt by looking for <span
class="ec-lmss-10">Command Prompt </span>in the
<span
class="ec-lmss-10">Start</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Accessories </span>menu. You can also choose <span
class="ec-lmss-10">Start</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Run </span>and type in <span class="path"><span
class="ec-lmtt-10">cmd.exe</span></span>, which is the
name of the brand new command interpreter for NT (thus, it is untrue to call this a <span
class="ec-lmri-10">DOS</span>
box!).</dd></dl>
<!--l. 1736--><p class="indent" > These locations may change across different Windows versions.
<!--l. 1738--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.11.3 </span> <a
id="x1-420007.11.3"></a>Path separators</h5>
<!--l. 1740--><p class="noindent" >The Win32 API understands both <span class="path"><span
class="ec-lmtt-10">/</span></span> and <span class="path"><span
class="ec-lmtt-10">\</span></span> characters as PATH separators. But the command
interpreters do not! So whenever a path name is used programmatically, you can use both separators,
and even mix them up in the same path name. But on the command line, you must type <span class="path"><span
class="ec-lmtt-10">\</span></span> as path
separator. The reason is compatibility: the command processor used ‘<span
class="ec-lmtt-10">/</span>’ to introduce arguments to
commands.
<!--l. 1747--><p class="indent" > All this to say: do not be surprised to read path names written using the Unix convention;
Windows-<span class="TEX">T<span
class="E">E</span>X</span> Live is a port of Web2C, and aims to be compatible across platforms. For this reason, all
the configuration files that need to specify path names use the Unix convention.
<!--l. 1752--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.11.4 </span> <a
id="x1-430007.11.4"></a>File systems</h5>
<!--l. 1755--><p class="noindent" >The worst feature of Win9x with regard to <span class="TEX">T<span
class="E">E</span>X</span> is probably the so-called FAT file system. <span class="TEX">T<span
class="E">E</span>X</span> uses
very many small files, with size around 1–3kB. The FAT file system is old, and predates by decades the
multi-gigabytes hard disks we have today. As a result, it cannot manage efficiently the tens of thousands
of <span class="TEX">T<span
class="E">E</span>X</span> files found in <span class="TEX">T<span
class="E">E</span>X</span> Live. The FAT file system allocates a minimum of 32kB for <span
class="ec-lmri-10">any</span>
file on a huge partition. It means that <span class="TEX">T<span
class="E">E</span>X</span> will use much more disk space than it actually
needs.
<!--l. 1764--><p class="indent" > The other, more modern, file systems available, FAT32 and NTFS, do not have this drawback. They
manage clusters of 4kB only. (You can lower the limit to 512 bytes on NTFS.)
<!--l. 1768--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.11.5 </span> <a
id="x1-440007.11.5"></a>How to add some directory to your PATH</h5>
<!--l. 1770--><p class="noindent" >There are pairs of variables and values which behave much like global variables inside your programs.
The set of those variables is called the environment. Each program is initialized with a copy of the
environment when it is run. It can request and change the value of any variable. The changes
happen in the copy of the environment, and is not at all propagated to the other running
programs.
<!--l. 1778--><p class="indent" > Your PATH is a special environment variable used to search for programs you want to run. There is a
different procedure to change it for Win9x, WinME and NT/2K/XP:
<!--l. 1782--><p class="indent" >
<dl class="description"><dt class="description">
<span
class="ec-lmbx-10">Windows 95/98</span> </dt><dd
class="description">Edit your <span class="path"><span
class="ec-lmtt-10">autoexec.bat</span></span>. In this file should be a line starting with <span
class="ec-lmtt-10">PATH= </span>and
followed by a list of directories separated by <span class="path"><span
class="ec-lmtt-10">;</span></span>. Please add the directory with the executables in
this line. After this, this line could look as follows:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb3">
<a
id="x1-44002r1"></a>  PATH=c:\windows;c:\windows\system;c:\TeXLive2007\bin\win32
</div>
</div>
</td></tr></table>
<!--l. 1789--><p class="nopar" >
</dd><dt class="description">
<span
class="ec-lmbx-10">Windows ME</span> </dt><dd
class="description">You need to run the special program <span class="path"><span
class="ec-lmtt-10">c:\windows\system\msconfig.exe</span></span> to be able to
change any environment variable. From this program, select the ‘Environment’ tab, and then add
or modify the variable you want. You will be asked to reboot the machine upon any
change.
</dd><dt class="description">
<span
class="ec-lmbx-10">Windows NT/2K/XP</span> </dt><dd
class="description">Click left on <span
class="ec-lmss-10">Start</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Settings</span><span
class="lmsy-10">!</span><span
class="ec-lmss-10">Control Panel</span>. Now the window with the control
panel icons opens. Double click on System. The System Properties window opens. Click on the tab
<span
class="ec-lmss-10">Environment </span>or look for a button named <span
class="ec-lmss-10">Environment Variables </span>among the dialog boxes. Now
you can change the environment variables for your user account. Note: There are also
displayed the environment settings for the system. Normally, you can’t change the
system variables unless you have administrator rights on your machine. If you want to
change the <span
class="ec-lmtt-10">PATH </span>for all users, you will have to contact your system administrator or be
the system administrator yourself — in the latter case you should know what you are
doing.
<!--l. 1808--><p class="noindent" >If there is already a <span
class="ec-lmtt-10">PATH </span>setting for your user account, left click on <span
class="ec-lmtt-10">PATH</span>. In the field
<span
class="ec-lmss-10">Variable </span>appears <span
class="ec-lmtt-10">PATH </span>while the field Value shows the current setting of <span
class="ec-lmtt-10">PATH </span>as a list of
directories separated by <span class="path"><span
class="ec-lmtt-10">;</span></span>. Add the directory where the executables are located (e.g. <span class="path"><span
class="ec-lmtt-10">c:\TeXLive2007\bin\win32</span></span>). If there isn’t a <span
class="ec-lmtt-10">PATH </span>variable for your user account, simply click in
the field Variable and type in <span
class="ec-lmtt-10">PATH</span>, click in the field <span
class="ec-lmss-10">Value </span>and type in the directory with the
executables. Important: Click on the <span
class="ec-lmss-10">Apply </span>button before clicking <span
class="ec-lmss-10">Ok</span>, otherwise the
changes to <span
class="ec-lmtt-10">PATH </span>won’t apply to your system. Be careful when changing the environment
settings.</dd></dl>
<!--l. 1822--><p class="indent" > The best way to be sure that a variable has been properly set is to open a console and
type:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb4">
<a
id="x1-44004r1"></a>  set VARIABLE
</div>
</div>
</td></tr></table>
<!--l. 1826--><p class="nopar" >which should return the corresponding value.
<!--l. 1829--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.11.6 </span> <a
id="x1-450007.11.6"></a><span class="TEX">T<span
class="E">E</span>X</span> engines</h5>
<!--l. 1831--><p class="noindent" >If you have a look at the Web2C documentation, you will read that all the various <span class="TEX">T<span
class="E">E</span>X</span>
derived programs use the same base engine. For example, <span class="path"><span
class="ec-lmtt-10">tex.exe</span></span> and <span class="path"><span
class="ec-lmtt-10">latex.exe</span></span> are exact
copies of the same program, but each one will use a different format file, based on its calling
name.
<!--l. 1837--><p class="indent" > Under Unix, this feature is implemented through <span
class="ec-lmri-10">symbolic links</span>. It saves up a bit of disk space,
because some engines are used with many different format files.
<!--l. 1841--><p class="indent" > The Win32 API does not know about file links. So to save up almost the same amount of memory, all
the <span class="TEX">T<span
class="E">E</span>X</span> base engines have been put in DLLs (<span
class="ec-lmri-10">Dynamic Linked Library</span>). This means that you will have
the following layout: <div class="alltt">
<!--l. 1845--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">2006-11-23</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> 07:06</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> 2</span><span
class="ec-lmtt-10"> 560</span><span
class="ec-lmtt-10"> latex.exe</span>
<br /><span
class="ec-lmtt-10">2007-01-06</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> 23:54</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> 1</span><span
class="ec-lmtt-10"> 073</span><span
class="ec-lmtt-10"> 664</span><span
class="ec-lmtt-10"> pdftex.dll</span>
<br /><span
class="ec-lmtt-10">2006-01-28</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> 08:05</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> 2</span><span
class="ec-lmtt-10"> 560</span><span
class="ec-lmtt-10"> pdftex.exe</span>
</div>
</div> and the <span class="path"><span
class="ec-lmtt-10">latex.exe</span></span> file is nothing but a rough copy of <span class="path"><span
class="ec-lmtt-10">pdftex.exe</span></span> using the same core <span class="path"><span
class="ec-lmtt-10">pdftex.dll</span></span>.
The same trick has been used for the <span class="path"><span
class="ec-lmtt-10">mktex*.exe</span></span> family of programs which are linked to the <span class="path"><span
class="ec-lmtt-10">mktex.dll</span></span> library.
<!--l. 1855--><p class="indent" > In fact, a generic tool called <span class="path"><span
class="ec-lmtt-10">irun.exe</span></span> is provided to build the equivalent of Unix hard links for
executable files only under Win32.
<!--l. 1858--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">7.12 </span> <a
id="x1-460007.12"></a>In case of problems</h4>
<!--l. 1861--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.12.1 </span> <a
id="x1-470007.12.1"></a>What to do if <span
class="ec-lmtt-10">latex </span>does not find your files?</h5>
<ul class="itemize1">
<li class="itemize"><span
class="ec-lmss-10">kpsewhich </span>is the tool of choice to debug any problem. However, <span
class="ec-lmss-10">kpsewhich </span>outputs debug
information to stderr, and the older Windows consoles do not know how to redirect stderr
to a file. (Windows NT and later do support redirections, but the trick below will work for
any console.) For diagnostic purposes you can temporarily set an environment variable (in
a DOS/cmd box):
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb5">
<a
id="x1-47002r1"></a>  SET KPATHSEA_DEBUG_OUTPUT=err.log
</div>
</div>
</td></tr></table>
<!--l. 1874--><p class="nopar" >You can also set the debug level:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb6">
<a
id="x1-47004r1"></a>  SET KPATHSEA_DEBUG=-1
</div>
</div>
</td></tr></table>
<!--l. 1878--><p class="nopar" >
<!--l. 1880--><p class="noindent" >Similarly, to redirect stderr to stdout:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb7">
<a
id="x1-47006r1"></a>  SET KPATHSEA_DEBUG_OUTPUT=con:
</div>
</div>
</td></tr></table>
<!--l. 1883--><p class="nopar" >This way you can capture both stdout and stderr in the same file.
</li>
<li class="itemize">Assuming the installation has been done in <span class="path"><span
class="ec-lmtt-10">c:/TeX</span></span>, check the following values:
<br class="newline" /><!--tex4ht:inline--><div class="tabular"><table class="tabular"
cellspacing="0" cellpadding="0"
><colgroup id="TBL-5-1g"><col
id="TBL-5-1"><col
id="TBL-5-2"></colgroup><tr
style="vertical-align:baseline;" id="TBL-5-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-5-1-1"
class="td11"> <span class="path"><span
class="ec-lmtt-9">kpsewhich␣-expand-path␣$SELFAUTOPARENT</span></span> </td><td style="white-space:nowrap; text-align:left;" id="TBL-5-1-2"
class="td11"> <span class="path"><span
class="ec-lmtt-9">c:/TeX</span></span> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-5-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-5-2-1"
class="td11"> <span class="path"><span
class="ec-lmtt-9">kpsewhich␣-expand-path␣$TEXMF</span></span> </td><td style="white-space:nowrap; text-align:left;" id="TBL-5-2-2"
class="td11"> <span class="path"><span
class="ec-lmtt-9">c:/TeX/texmf....</span></span> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-5-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-5-3-1"
class="td11"> <span class="path"><span
class="ec-lmtt-9">kpsewhich␣-expand-path␣$TEXMFCNF</span></span> </td><td style="white-space:nowrap; text-align:left;" id="TBL-5-3-2"
class="td11"> <span class="path"><span
class="ec-lmtt-9">.;c:/TeX/texmf-var/web2c;</span></span> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-5-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-5-4-1"
class="td11"> <span class="path"><span
class="ec-lmtt-9">kpsewhich␣-expand-var␣$TEXINPUTS</span></span> </td><td style="white-space:nowrap; text-align:left;" id="TBL-5-4-2"
class="td11"> <span class="path"><span
class="ec-lmtt-9">.;c:/TeX/texmf/tex//</span></span> </td>
</tr></table></div>
</li>
<li class="itemize">If you have other <span class="TEX">T<span
class="E">E</span>X</span>-related values already set in your environment, please, remove them. They
are overriding the ones in texmf.cnf.
</li>
<li class="itemize">Check the values from:
<br class="newline" /><!--tex4ht:inline--><div class="tabular"><table class="tabular"
cellspacing="0" cellpadding="0"
><colgroup id="TBL-6-1g"><col
id="TBL-6-1"><col
id="TBL-6-2"></colgroup><tr
style="vertical-align:baseline;" id="TBL-6-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-6-1-1"
class="td11"> <span
class="ec-lmtt-9">kpsewhich cmr10.tfm </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-6-1-2"
class="td11"> <span class="path"><span
class="ec-lmtt-9">c:/TeX/texmf-dist/fonts/tfm/public/cm/cmr10.tfm</span></span> </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-6-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-6-2-1"
class="td11"> <span
class="ec-lmtt-9">kpsewhich latex.fmt </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-6-2-2"
class="td11"> <span class="path"><span
class="ec-lmtt-9">c:/TeX/texmf-var/web2c/latex.fmt</span></span> </td>
</tr></table></div>
</li>
<li class="itemize">At this point, if everything is correct, <span class="TEX">T<span
class="E">E</span>X</span> and friends should work. If it is not the case, you will
need to play with the <span class="path"><span
class="ec-lmtt-10">-debug=n</span></span> option from <span class="path"><span
class="ec-lmtt-10">kpsewhich</span></span>, and check back all the values. Try to
identify and report the problem.</li></ul>
<!--l. 1912--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">7.12.2 </span> <a
id="x1-480007.12.2"></a>What to do if your setup still does not work as expected?</h5>
<!--l. 1914--><p class="noindent" >Here are several questions to investigate:
<!--l. 1916--><p class="indent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x1-48002x1">Is <span
class="ec-lmtt-10">tex.exe </span>in my <span class="path"><span
class="ec-lmtt-10">PATH</span></span>?
</li>
<li
class="enumerate" id="x1-48004x2">Is the <span class="path"><span
class="ec-lmtt-10">TEXMFCNF</span></span> variable correctly set to <span class="path"><span
class="ec-lmtt-10">c:/TeXLive2007/texmf-var/web2c</span></span> (default
value)?
</li>
<li
class="enumerate" id="x1-48006x3">Are there any errors in the log file generated by the <span
class="ec-lmtt-10">tlmpgui.exe </span>program? <span
class="ec-lmtt-10">tlmpgui.log</span>
can be found in your <span
class="ec-lmtt-10">TEMP </span>directory. You can find this by searching for the string ‘<span
class="ec-lmtt-10">Error</span>’.
Hint: the log file can show some errors after building all format files. Please do not panic:
perhaps some formats weren’t already installed.
</li>
<li
class="enumerate" id="x1-48008x4">Are there any relevant bug fixes at <span class="obeylines-h"><a
href="http://tug.org/texlive/" class="url" ><span
class="ec-lmtt-10">http://tug.org/texlive/</span></a></span>? (Unlikely, but it doesn’t
hurt to check.)
</li></ol>
<!--l. 1935--><p class="indent" > The <span class="TEX">T<span
class="E">E</span>X</span> Live software consists of hundreds of programs and tens of thousands of files, all from
varying sources. So it is quite difficult to predict all possible causes for problems. Nevertheless, we will do
our best to help you. (See section <a
href="#x1-50001.2">1.2<!--tex4ht:ref: sec:help --></a>, p. <a
href="#x1-50001.2">5<!--tex4ht:ref: sec:help --></a>.)
<!--l. 1941--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">8 </span> <a
id="x1-490008"></a>A user’s guide to Web2C</h3>
<!--l. 1943--><p class="noindent" >Web2C is an integrated collection of <span class="TEX">T<span
class="E">E</span>X</span>-related programs: <span class="TEX">T<span
class="E">E</span>X</span> itself, Metafont, MetaPost, BibTeX,
etc. It is the heart of <span class="TEX">T<span
class="E">E</span>X</span> Live.
<!--l. 1946--><p class="indent" > A bit of history: The original implementation was by Tomas Rokicki who, in 1987, developed a first
<span class="TEX">T<span
class="E">E</span>X</span>-to-C system based on change files under Unix, which were primarily the original work
of Howard Trickey and Pavel Curtis. Tim Morgan became the maintainer of the system,
and during this period the name changed to Web-to-C. In 1990, Karl Berry took over the
work, assisted by dozens of additional contributors, and in 1997 he handed the baton to Olaf
Weber.
<!--l. 1954--><p class="indent" > The Web2C system runs on Unix, 32-bit Windows systems, Mac OS X, and other operating systems.
It uses Knuth’s original sources for <span class="TEX">T<span
class="E">E</span>X</span> and other basic programs written in <span
class="ec-lmtt-10">web </span>and translates them
into C source code. The core <span class="TEX">T<span
class="E">E</span>X</span> programs are:
<!--l. 1959--><p class="indent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmss-10">bibtex</span> </dt><dd
class="list">
<!--l. 1960--><p class="noindent" >Maintaining bibliographies.
</dd><dt class="list">
<span
class="ec-lmss-10">dmp</span> </dt><dd
class="list">
<!--l. 1961--><p class="noindent" ><span
class="ec-lmss-10">troff </span>to MPX (MetaPost pictures).
</dd><dt class="list">
<span
class="ec-lmss-10">dvicopy</span> </dt><dd
class="list">
<!--l. 1962--><p class="noindent" >Expands virtual font references in DVI files.
</dd><dt class="list">
<span
class="ec-lmss-10">dvitomp</span> </dt><dd
class="list">
<!--l. 1963--><p class="noindent" >DVI to MPX (MetaPost pictures).
</dd><dt class="list">
<span
class="ec-lmss-10">dvitype</span> </dt><dd
class="list">
<!--l. 1964--><p class="noindent" >DVI to human-readable text.
</dd><dt class="list">
<span
class="ec-lmss-10">gftodvi</span> </dt><dd
class="list">
<!--l. 1965--><p class="noindent" >Generic font proofsheets.
</dd><dt class="list">
<span
class="ec-lmss-10">gftopk</span> </dt><dd
class="list">
<!--l. 1966--><p class="noindent" >Generic to packed fonts.
</dd><dt class="list">
<span
class="ec-lmss-10">gftype</span> </dt><dd
class="list">
<!--l. 1967--><p class="noindent" >GF to human-readable text.
</dd><dt class="list">
<span
class="ec-lmss-10">makempx</span> </dt><dd
class="list">
<!--l. 1968--><p class="noindent" >MetaPost label typesetting.
</dd><dt class="list">
<span
class="ec-lmss-10">mf</span> </dt><dd
class="list">
<!--l. 1969--><p class="noindent" >Creating typeface families.
</dd><dt class="list">
<span
class="ec-lmss-10">mft</span> </dt><dd
class="list">
<!--l. 1970--><p class="noindent" >Prettyprinting Metafont source.
</dd><dt class="list">
<span
class="ec-lmss-10">mpost</span> </dt><dd
class="list">
<!--l. 1971--><p class="noindent" >Creating technical diagrams.
</dd><dt class="list">
<span
class="ec-lmss-10">mpto</span> </dt><dd
class="list">
<!--l. 1972--><p class="noindent" >MetaPost label extraction.
</dd><dt class="list">
<span
class="ec-lmss-10">newer</span> </dt><dd
class="list">
<!--l. 1973--><p class="noindent" >Compare modification times.
</dd><dt class="list">
<span
class="ec-lmss-10">patgen</span> </dt><dd
class="list">
<!--l. 1974--><p class="noindent" >Creating hyphenation patterns.
</dd><dt class="list">
<span
class="ec-lmss-10">pktogf</span> </dt><dd
class="list">
<!--l. 1975--><p class="noindent" >Packed to generic fonts.
</dd><dt class="list">
<span
class="ec-lmss-10">pktype</span> </dt><dd
class="list">
<!--l. 1976--><p class="noindent" >PK to human-readable text.
</dd><dt class="list">
<span
class="ec-lmss-10">pltotf</span> </dt><dd
class="list">
<!--l. 1977--><p class="noindent" >Plain text property list to TFM.
</dd><dt class="list">
<span
class="ec-lmss-10">pooltype</span> </dt><dd
class="list">
<!--l. 1978--><p class="noindent" >Display <span
class="ec-lmtt-10">web </span>pool files.
</dd><dt class="list">
<span
class="ec-lmss-10">tangle</span> </dt><dd
class="list">
<!--l. 1979--><p class="noindent" ><span
class="ec-lmtt-10">web </span>to Pascal.
</dd><dt class="list">
<span
class="ec-lmss-10">tex</span> </dt><dd
class="list">
<!--l. 1980--><p class="noindent" >Typesetting.
</dd><dt class="list">
<span
class="ec-lmss-10">tftopl</span> </dt><dd
class="list">
<!--l. 1981--><p class="noindent" >TFM to plain text property list.
</dd><dt class="list">
<span
class="ec-lmss-10">vftovp</span> </dt><dd
class="list">
<!--l. 1982--><p class="noindent" >Virtual font to virtual property list.
</dd><dt class="list">
<span
class="ec-lmss-10">vptovf</span> </dt><dd
class="list">
<!--l. 1983--><p class="noindent" >Virtual property list to virtual font.
</dd><dt class="list">
<span
class="ec-lmss-10">weave</span> </dt><dd
class="list">
<!--l. 1984--><p class="noindent" ><span
class="ec-lmtt-10">web </span>to <span class="TEX">T<span
class="E">E</span>X</span>.</dd></dl>
<!--l. 1987--><p class="noindent" >The precise functions and syntax of these programs are described in the documentation of the individual
packages and of Web2C itself. However, knowing a few principles governing the whole family of programs
will help you take advantage of your Web2C installation.
<!--l. 1992--><p class="indent" > All programs honor these standard GNU options:
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">--help</span> </dt><dd
class="list">
<!--l. 1994--><p class="noindent" >print basic usage summary.
</dd><dt class="list">
<span
class="ec-lmtt-10">--verbose</span> </dt><dd
class="list">
<!--l. 1995--><p class="noindent" >print detailed progress report.
</dd><dt class="list">
<span
class="ec-lmtt-10">--version</span> </dt><dd
class="list">
<!--l. 1996--><p class="noindent" >print version information, then exit.</dd></dl>
<!--l. 1999--><p class="indent" > For locating files the Web2C programs use the path searching library Kpathsea. This
library uses a combination of environment variables and a configuration files to optimize
searching the (huge) collection of <span class="TEX">T<span
class="E">E</span>X</span> files. Web2C can look at more than one directory
tree simultaneously, which is useful in maintaining <span class="TEX">T<span
class="E">E</span>X</span>’s standard distribution and local
extensions in two distinct trees. To speed up file searches the root of each tree has a file
<span
class="ec-lmtt-10">ls-R</span>, containing an entry showing the name and relative pathname for all files under that
root.
<!--l. 2009--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">8.1 </span> <a
id="x1-500008.1"></a>Kpathsea path searching</h4>
<!--l. 2011--><p class="noindent" >Let us first describe the generic path searching mechanism of the Kpathsea library.
<!--l. 2014--><p class="indent" > We call a <span
class="ec-lmri-10">search path </span>a colon- or semicolon-separated list of <span
class="ec-lmri-10">path elements</span>, which are basically
directory names. A search path can come from (a combination of) many sources. To look up a file
‘<span
class="ec-lmtt-10">my-file</span>’ along a path ‘<span
class="ec-lmtt-10">.:/dir</span>’, Kpathsea checks each element of the path in turn: first <span
class="ec-lmtt-10">./my-file</span>,
then <span
class="ec-lmtt-10">/dir/my-file</span>, returning the first match (or possibly all matches).
<!--l. 2022--><p class="indent" > In order to adapt optimally to all operating systems’ conventions, on non-Unix systems Kpathsea can
use filename separators different from colon (‘<span
class="ec-lmtt-10">:</span>’) and slash (‘<span
class="ec-lmtt-10">/</span>’).
<!--l. 2026--><p class="indent" > To check a particular path element <span
class="ec-lmro-10">p</span>, Kpathsea first checks if a prebuilt database (see “Filename
database” on page <a
href="#x1-580008.2">57<!--tex4ht:ref: Filename-database --></a>) applies to <span
class="ec-lmro-10">p</span>, i.e., if the database is in a directory that is a prefix of <span
class="ec-lmro-10">p</span>. If so, the
path specification is matched against the contents of the database.
<!--l. 2032--><p class="indent" > If the database does not exist, or does not apply to this path element, or contains no matches, the
filesystem is searched (if this was not forbidden by a specification starting with ‘<span
class="ec-lmtt-10">!!</span>’ and if the file being
searched for must exist). Kpathsea constructs the list of directories that correspond to this path element,
and then checks in each for the file being sought.
<!--l. 2039--><p class="indent" > The “file must exist” condition comes into play with ‘<span
class="ec-lmtt-10">.vf</span>’ files and input files read by <span class="TEX">T<span
class="E">E</span>X</span>’s <span
class="ec-lmtt-10">\openin</span>
command. Such files may not exist (e.g., <span
class="ec-lmtt-10">cmr10.vf</span>), and so it would be wrong to search the disk for
them. Therefore, if you fail to update <span
class="ec-lmtt-10">ls-R </span>when you install a new ‘<span
class="ec-lmtt-10">.vf</span>’ file, it will never be found. Each
path element is checked in turn: first the database, then the disk. If a match is found, the search stops
and the result is returned.
<!--l. 2048--><p class="indent" > Although the simplest and most common path element is a directory name, Kpathsea supports
additional features in search paths: layered default values, environment variable names, config
file values, users’ home directories, and recursive subdirectory searching. Thus, we say that
Kpathsea <span
class="ec-lmri-10">expands </span>a path element, meaning it transforms all the specifications into basic
directory name or names. This is described in the following sections in the same order as it takes
place.
<!--l. 2057--><p class="indent" > Note that if the filename being searched for is absolute or explicitly relative, i.e., starts with ‘<span
class="ec-lmtt-10">/</span>’ or
‘<span
class="ec-lmtt-10">./</span>’ or ‘<span
class="ec-lmtt-10">../</span>’, Kpathsea simply checks if that file exists.
<!--l. 2071--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.1.1 </span> <a
id="x1-510008.1.1"></a>Path sources</h5>
<!--l. 2074--><p class="noindent" >A search path can come from many sources. In the order in which Kpathsea uses them:
<!--l. 2077--><p class="indent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x1-51002x1">A user-set environment variable, for instance, <span
class="ec-lmtt-10">TEXINPUTS</span>. Environment variables with a
period and a program name appended override; e.g., if ‘<span
class="ec-lmtt-10">latex</span>’ is the name of the program
being run, then <span
class="ec-lmtt-10">TEXINPUTS.latex </span>will override <span
class="ec-lmtt-10">TEXINPUTS</span>.
</li>
<li
class="enumerate" id="x1-51004x2">A program-specific configuration file, for example, a line ‘<span
class="ec-lmtt-10">S /a:/b</span>’ in <span
class="ec-lmss-10">dvips</span>’s <span
class="ec-lmtt-10">config.ps</span>.
</li>
<li
class="enumerate" id="x1-51006x3">A Kpathsea configuration file <span
class="ec-lmtt-10">texmf.cnf</span>, containing a line like ‘<span
class="ec-lmtt-10">TEXINPUTS=/c:/d</span>’ (see
below).
</li>
<li
class="enumerate" id="x1-51008x4">The compile-time default.</li></ol>
<!--l. 2090--><p class="noindent" >You can see each of these values for a given search path by using the debugging options (see “Debugging
actions” on page <a
href="#x1-620008.2.4">61<!--tex4ht:ref: Debugging --></a>).
<!--l. 2094--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.1.2 </span> <a
id="x1-520008.1.2"></a>Config files</h5>
<!--l. 2097--><p class="noindent" >Kpathsea reads <span
class="ec-lmri-10">runtime configuration files </span>named <span
class="ec-lmtt-10">texmf.cnf </span>for search path and other definitions. The
search path used to look for these files is named <span
class="ec-lmtt-10">TEXMFCNF </span>(by default such a file lives in the
<span
class="ec-lmtt-10">texmf/web2c </span>subdirectory). <span
class="ec-lmri-10">All </span><span
class="ec-lmtt-10">texmf.cnf </span>files in the search path will be read and definitions in earlier
files override those in later files. Thus, with a search path of <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">.:$TEXMF</span></span></span>, values from <span
class="ec-lmtt-10">./texmf.cnf </span>override
those from <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">$TEXMF/texmf.cnf</span></span></span>.
<ul class="itemize1">
<li class="itemize">Comments start with <span
class="ec-lmtt-10">% </span>and continue to the end of the line.
</li>
<li class="itemize">Blank lines are ignored.
</li>
<li class="itemize">A <span
class="ec-lmtt-10">\ </span>at the end of a line acts as a continuation character, i.e., the next line is appended.
Whitespace at the beginning of continuation lines is not ignored.
</li>
<li class="itemize">Each remaining line has the form: <div class="alltt">
<!--l. 2118--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmro-10">variable</span><span
class="ec-lmtt-10">[.</span><span
class="ec-lmro-10">progname</span><span
class="ec-lmtt-10">]</span><span
class="ec-lmtt-10"> [=]</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmro-10">value</span>
</div>
</div>where the ‘<span
class="ec-lmtt-10">=</span>’ and surrounding whitespace are optional.
</li>
<li class="itemize">The <span
class="ec-lmro-10">variable </span>name may contain any character other than whitespace, ‘<span
class="ec-lmtt-10">=</span>’, or ‘<span
class="ec-lmtt-10">.</span>’, but sticking to
‘<span
class="ec-lmtt-10">A-Za-z_</span>’ is safest.
</li>
<li class="itemize">If ‘<span
class="ec-lmtt-10">.</span><span
class="ec-lmro-10">progname</span>’ is present, the definition only applies if the program that is running is named
<span
class="ec-lmro-10">progname </span>or <span
class="ec-lmro-10">progname</span><span
class="ec-lmtt-10">.exe</span>. This allows different flavors of <span class="TEX">T<span
class="E">E</span>X</span> to have different search paths, for
example.
</li>
<li class="itemize"><span
class="ec-lmro-10">value </span>may contain any characters except <span
class="ec-lmtt-10">% </span>and ‘<span
class="ec-lmtt-10">@</span>’. The <span
class="ec-lmtt-10">$</span><span
class="ec-lmro-10">var</span><span
class="ec-lmtt-10">.</span><span
class="ec-lmro-10">prog </span>feature is not available on the
right-hand side; instead, you must use an additional variable. A ‘<span
class="ec-lmtt-10">;</span>’ in <span
class="ec-lmro-10">value </span>is translated to ‘<span
class="ec-lmtt-10">:</span>’ if
running under Unix; this is useful to be able to have a single <span
class="ec-lmtt-10">texmf.cnf </span>for Unix, MS-DOS and
Windows systems.
</li>
<li class="itemize">All definitions are read before anything is expanded, so variables can be referenced before they are
defined.</li></ul>
<!--l. 2143--><p class="noindent" >A configuration file fragment illustrating most of these points is shown below:
<!--l. 2147--><p class="indent" >
<div class="fancyvrb" id="fancyvrb8">
<a
id="x1-52002r1"></a><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> TEXMF</span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> =</span><span
class="ec-lmtt-8x-x-87"> {$TEXMFLOCAL,!!$TEXMFMAIN}</span>
<br class="fancyvrb" /><a
id="x1-52004r2"></a><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> TEXINPUTS.latex</span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> =</span><span
class="ec-lmtt-8x-x-87"> .;$TEXMF/tex/{latex,generic;}//</span>
<br class="fancyvrb" /><a
id="x1-52006r3"></a><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> TEXINPUTS.fontinst</span><span
class="ec-lmtt-8x-x-87"> =</span><span
class="ec-lmtt-8x-x-87"> .;$TEXMF/tex//;$TEXMF/fonts/afm//</span>
<br class="fancyvrb" /><a
id="x1-52008r4"></a><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> %</span><span
class="ec-lmtt-8x-x-87"> e-TeX</span><span
class="ec-lmtt-8x-x-87"> related</span><span
class="ec-lmtt-8x-x-87"> files</span>
<br class="fancyvrb" /><a
id="x1-52010r5"></a><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> TEXINPUTS.elatex</span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> =</span><span
class="ec-lmtt-8x-x-87"> .;$TEXMF/{etex,tex}/{latex,generic;}//</span>
<br class="fancyvrb" /><a
id="x1-52012r6"></a><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> TEXINPUTS.etex</span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> </span><span
class="ec-lmtt-8x-x-87"> =</span><span
class="ec-lmtt-8x-x-87"> .;$TEXMF/{etex,tex}/{eplain,plain,generic;}//</span>
</div>
<!--l. 2152--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.1.3 </span> <a
id="x1-530008.1.3"></a>Path expansion</h5>
<!--l. 2156--><p class="noindent" >Kpathsea recognizes certain special characters and constructions in search paths, similar to those
available in Unix shells. As a general example, the complex path, <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">~$USER/{foo,bar}//baz</span></span></span>, expands to
all subdirectories under directories <span
class="ec-lmtt-10">foo </span>and <span
class="ec-lmtt-10">bar </span>in <span
class="ec-lmtt-10">$USER</span>’s home directory that contain a directory or file
<span
class="ec-lmtt-10">baz</span>. These expansions are explained in the sections below.
<h5 class="subsubsectionHead"><span class="titlemark">8.1.4 </span> <a
id="x1-540008.1.4"></a>Default expansion</h5>
<!--l. 2168--><p class="noindent" >If the highest-priority search path (see “Path sources” on page <a
href="#x1-510008.1.1">52<!--tex4ht:ref: Path-sources --></a>) contains an <span
class="ec-lmri-10">extra colon </span>(i.e., leading,
trailing, or doubled), Kpathsea inserts at that point the next-highest-priority search path that is defined.
If that inserted path has an extra colon, the same happens with the next highest. For example, given an
environment variable setting
<div class="alltt">
<!--l. 2177--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">setenv</span> <span
class="ec-lmtt-10">TEXINPUTS</span> <span
class="ec-lmtt-10">/home/karl:</span></span>
</div>
</div> and a <span
class="ec-lmtt-10">TEXINPUTS </span>value from <span
class="ec-lmtt-10">texmf.cnf </span>of
<div class="alltt">
<!--l. 2182--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> .:$TEXMF//tex</span>
</div>
</div> then the final value used for searching will be:
<div class="alltt">
<!--l. 2187--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /home/karl:.:$TEXMF//tex</span>
</div>
</div>
<!--l. 2191--><p class="indent" > Since it would be useless to insert the default value in more than one place, Kpathsea changes only
one extra ‘<span
class="ec-lmtt-10">:</span>’ and leaves any others in place. It checks first for a leading ‘<span
class="ec-lmtt-10">:</span>’, then a trailing ‘<span
class="ec-lmtt-10">:</span>’, then a
doubled ‘<span
class="ec-lmtt-10">:</span>’.
<!--l. 2196--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.1.5 </span> <a
id="x1-550008.1.5"></a>Brace expansion</h5>
<!--l. 2198--><p class="noindent" >A useful feature is brace expansion, which means that, for instance, <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">v{a,b}w</span></span></span> expands to <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">vaw:vbw</span></span></span>.
Nesting is allowed. This is used to implement multiple <span class="TEX">T<span
class="E">E</span>X</span> hierarchies, by assigning a brace list to
<span
class="ec-lmtt-10">$TEXMF</span>. For example, in <span
class="ec-lmtt-10">texmf.cnf</span>, the following definition (appproximately; there are actually even
more trees) is made:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb9">
<a
id="x1-55002r1"></a>    TEXMF = {$TEXMFHOME,$TEXMFLOCAL,!!$TEXMFVAR,!!$TEXMFMAIN}
</div>
</div>
</td></tr></table>
<!--l. 2206--><p class="nopar" >Using this you can then write something like
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb10">
<a
id="x1-55004r1"></a>    TEXINPUTS = .;$TEXMF/tex//
</div>
</div>
</td></tr></table>
<!--l. 2210--><p class="nopar" >which means that, after looking in the current directory, the <span
class="ec-lmtt-10">$TEXMFHOME/tex</span>, <span
class="ec-lmtt-10">$TEXMFLOCAL/tex</span>,
<span
class="ec-lmtt-10">$TEXMFVAR/tex </span>and <span
class="ec-lmtt-10">$TEXMFMAIN/tex </span>trees <span
class="ec-lmri-10">only</span>) will be searched (the last two use using <span
class="ec-lmtt-10">ls-R </span>data base
files). It is a convenient way for running two parallel <span class="TEX">T<span
class="E">E</span>X</span> structures, one “frozen” (on a CD, for
instance) and the other being continuously updated with new versions as they become available. By
using the <span
class="ec-lmtt-10">$TEXMF </span>variable in all definitions, one is sure to always search the up-to-date tree
first.
<!--l. 2222--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.1.6 </span> <a
id="x1-560008.1.6"></a>Subdirectory expansion</h5>
<!--l. 2225--><p class="noindent" >Two or more consecutive slashes in a path element following a directory <span
class="ec-lmro-10">d </span>is replaced by all
subdirectories of <span
class="ec-lmro-10">d</span>: first those subdirectories directly under <span
class="ec-lmro-10">d</span>, then the subsubdirectories under those,
and so on. At each level, the order in which the directories are searched is <span
class="ec-lmri-10">unspecified</span>.
<!--l. 2231--><p class="indent" > If you specify any filename components after the ‘<span
class="ec-lmtt-10">//</span>’, only subdirectories with matching components
are included. For example, ‘<span
class="ec-lmtt-10">/a//b</span>’ expands into directories <span
class="ec-lmtt-10">/a/1/b</span>, <span
class="ec-lmtt-10">/a/2/b</span>, <span
class="ec-lmtt-10">/a/1/1/b</span>, and so on, but
not <span
class="ec-lmtt-10">/a/b/c </span>or <span
class="ec-lmtt-10">/a/1</span>.
<!--l. 2236--><p class="indent" > Multiple ‘<span
class="ec-lmtt-10">//</span>’ constructs in a path are possible, but ‘<span
class="ec-lmtt-10">//</span>’ at the beginning of a path is
ignored.
<!--l. 2239--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.1.7 </span> <a
id="x1-570008.1.7"></a>List of special characters and their meaning: a summary</h5>
<!--l. 2241--><p class="noindent" >The following list summarizes the special characters in Kpathsea configuration files.
<!--l. 2246--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">:</span> </dt><dd
class="list">
<!--l. 2247--><p class="noindent" >Separator in path specification; at the beginning or the end of a path it substitutes the
default path expansion.
</dd><dt class="list">
<span
class="ec-lmtt-10">;</span> </dt><dd
class="list">
<!--l. 2249--><p class="noindent" >Separator on non-Unix systems (acts like <span
class="ec-lmtt-10">:</span>).
</dd><dt class="list">
<span
class="ec-lmtt-10">$</span> </dt><dd
class="list">
<!--l. 2250--><p class="noindent" >Variable expansion.
</dd><dt class="list">
<span
class="ec-lmtt-10">~</span> </dt><dd
class="list">
<!--l. 2251--><p class="noindent" >Represents the user’s home directory.
</dd><dt class="list">
<span
class="ec-lmtt-10">{...}</span> </dt><dd
class="list">
<!--l. 2252--><p class="noindent" >Brace expansion.
</dd><dt class="list">
<span
class="ec-lmtt-10">//</span> </dt><dd
class="list">
<!--l. 2253--><p class="noindent" >Subdirectory expansion (can occur anywhere in a path, except at its beginning).
</dd><dt class="list">
<span
class="ec-lmtt-10">%</span> </dt><dd
class="list">
<!--l. 2255--><p class="noindent" >Start of comment.
</dd><dt class="list">
<span
class="ec-lmtt-10">\</span> </dt><dd
class="list">
<!--l. 2256--><p class="noindent" >Continuation character (allows multi-line entries).
</dd><dt class="list">
<span
class="ec-lmtt-10">!!</span> </dt><dd
class="list">
<!--l. 2257--><p class="noindent" >Search <span
class="ec-lmri-10">only </span>database to locate file, <span
class="ec-lmri-10">do not </span>search the disk.</dd></dl>
<!--l. 2262--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">8.2 </span> <a
id="x1-580008.2"></a>Filename databases</h4>
<!--l. 2265--><p class="noindent" >Kpathsea goes to some lengths to minimize disk accesses for searches. Nevertheless, at installations with
enough directories, searching each possible directory for a given file can take an excessively long time
(this is especially true if many hundreds of font directories have to be traversed.) Therefore, Kpathsea
can use an externally-built plain text “database” file named <span
class="ec-lmtt-10">ls-R </span>that maps files to directories, thus
avoiding the need to exhaustively search the disk.
<!--l. 2273--><p class="indent" > A second database file <span
class="ec-lmtt-10">aliases </span>allows you to give additional names to the files listed in <span
class="ec-lmtt-10">ls-R</span>. This
can be helpful to confirm to DOS 8.3 filename conventions in source files.
<!--l. 2277--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.2.1 </span> <a
id="x1-590008.2.1"></a>The filename database</h5>
<!--l. 2280--><p class="noindent" >As explained above, the name of the main filename database must be <span
class="ec-lmtt-10">ls-R</span>. You can put one at the
root of each <span class="TEX">T<span
class="E">E</span>X</span> hierarchy in your installation that you wish to be searched (<span
class="ec-lmtt-10">$TEXMF </span>by
default); most sites have only one hierarchy. Kpathsea looks for <span
class="ec-lmtt-10">ls-R </span>files along the <span
class="ec-lmtt-10">TEXMFDBS</span>
path.
<!--l. 2286--><p class="indent" > The recommended way to create and maintain ‘<span
class="ec-lmtt-10">ls-R</span>’ is to run the <span
class="ec-lmtt-10">mktexlsr </span>script included with the
distribution. It is invoked by the various ‘<span
class="ec-lmtt-10">mktex</span>’… scripts. In principle, this script just runs the command
<div class="alltt">
<!--l. 2290--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">cd</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmro-10">/your/texmf/root</span><span
class="ec-lmtt-10"> &&</span><span
class="ec-lmtt-10"> </span><span class="path"><span
class="ec-lmtt-10">\</span></span><span
class="ec-lmtt-10">ls</span><span
class="ec-lmtt-10"> -1LAR</span><span
class="ec-lmtt-10"> ./</span><span
class="ec-lmtt-10"> >ls-R</span>
</div>
</div> presuming your system’s <span
class="ec-lmtt-10">ls </span>produces the right output format (GNU <span
class="ec-lmtt-10">ls </span>is all right). To ensure that
the database is always up-to-date, it is easiest to rebuild it regularly via <span
class="ec-lmtt-10">cron</span>, so that it is
automatically updated when the installed files change, such as after installing or updating a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span>
package.
<!--l. 2299--><p class="indent" > If a file is not found in the database, by default Kpathsea goes ahead and searches the disk. If a
particular path element begins with ‘<span
class="ec-lmtt-10">!!</span>’, however, <span
class="ec-lmri-10">only </span>the database will be searched for that element,
never the disk.
<!--l. 2305--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.2.2 </span> <a
id="x1-600008.2.2"></a>kpsewhich: Standalone path searching</h5>
<!--l. 2308--><p class="noindent" >The <span
class="ec-lmtt-10">kpsewhich </span>program exercises path searching independent of any particular application. This can be
useful as a sort of <span
class="ec-lmtt-10">find </span>program to locate files in <span class="TEX">T<span
class="E">E</span>X</span> hierarchies (this is used heavily in the distributed
‘<span
class="ec-lmtt-10">mktex</span>’… scripts).
<div class="alltt">
<!--l. 2313--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmro-10">option</span><span
class="ec-lmtt-10">…</span> <span
class="ec-lmro-10">filename</span><span
class="ec-lmtt-10">…</span></span>
</div>
</div> The options specified in <span
class="ec-lmro-10">option </span>start with either ‘<span
class="ec-lmtt-10">-</span>’ or ‘<span
class="ec-lmtt-10">--</span>’, and any unambiguous abbreviation is
accepted.
<!--l. 2319--><p class="indent" > Kpathsea looks up each non-option argument on the command line as a filename, and returns the
first file found. There is no option to return all the files with a particular name (you can run the Unix
‘<span
class="ec-lmtt-10">find</span>’ utility for that).
<!--l. 2324--><p class="indent" > The more important options are described next.
<!--l. 2326--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">--dpi=</span><span
class="ec-lmro-10">num</span> </dt><dd
class="list">
<!--l. 2327--><p class="noindent" > Set the resolution to <span
class="ec-lmro-10">num</span>; this only affects ‘<span
class="ec-lmtt-10">gf</span>’ and ‘<span
class="ec-lmtt-10">pk</span>’ lookups. ‘<span
class="ec-lmtt-10">-D</span>’ is a synonym, for
compatibility with <span
class="ec-lmss-10">dvips</span>. Default is 600.
</dd><dt class="list">
<span
class="ec-lmtt-10">--format=</span><span
class="ec-lmro-10">name</span> </dt><dd
class="list">
<!--l. 2332--><p class="noindent" >
<br class="newline" />Set the format for lookup to <span
class="ec-lmro-10">name</span>. By default, the format is guessed from the filename. For
formats which do not have an associated unambiguous suffix, such as MetaPost support files
and <span
class="ec-lmss-10">dvips </span>configuration files, you have to specify the name as known to Kpathsea, such as
<span
class="ec-lmtt-10">tex </span>or <span
class="ec-lmtt-10">enc files</span>. Run <span
class="ec-lmtt-10">kpsewhich --help </span>for a list.
</dd><dt class="list">
<span
class="ec-lmtt-10">--mode=</span><span
class="ec-lmro-10">string</span> </dt><dd
class="list">
<!--l. 2340--><p class="noindent" >
<br class="newline" />Set the mode name to <span
class="ec-lmro-10">string</span>; this only affects ‘<span
class="ec-lmtt-10">gf</span>’ and ‘<span
class="ec-lmtt-10">pk</span>’ lookups. No default: any mode
will be found.
</dd><dt class="list">
<span
class="ec-lmtt-10">--must-exist</span> </dt><dd
class="list">
<!--l. 2343--><p class="noindent" >
<br class="newline" />Do everything possible to find the files, notably including searching the disk. By default,
only the <span
class="ec-lmtt-10">ls-R </span>database is checked, in the interest of efficiency.
</dd><dt class="list">
<span
class="ec-lmtt-10">--path=</span><span
class="ec-lmro-10">string</span> </dt><dd
class="list">
<!--l. 2347--><p class="noindent" >
<br class="newline" />Search along the path <span
class="ec-lmro-10">string </span>(colon-separated as usual), instead of guessing the search path
from the filename. ‘<span
class="ec-lmtt-10">//</span>’ and all the usual expansions are supported. The options ‘<span
class="ec-lmtt-10">--path</span>’
and ‘<span
class="ec-lmtt-10">--format</span>’ are mutually exclusive.
</dd><dt class="list">
<span
class="ec-lmtt-10">--progname=</span><span
class="ec-lmro-10">name</span> </dt><dd
class="list">
<!--l. 2352--><p class="noindent" >
<br class="newline" />Set the program name to <span
class="ec-lmro-10">name</span>. This can affect the search paths via the <span
class="ec-lmtt-10">.</span><span
class="ec-lmro-10">progname </span>feature.
The default is <span
class="ec-lmss-10">kpsewhich</span>.
</dd><dt class="list">
<span
class="ec-lmtt-10">--show-path=</span><span
class="ec-lmro-10">name</span> </dt><dd
class="list">
<!--l. 2357--><p class="noindent" >
<br class="newline" />shows the path used for file lookups of file type <span
class="ec-lmro-10">name</span>. Either a filename extension (<span
class="ec-lmtt-10">.pk</span>, <span
class="ec-lmtt-10">.vf</span>,
etc.) or a name can be used, just as with ‘<span
class="ec-lmtt-10">--format</span>’ option.
</dd><dt class="list">
<span
class="ec-lmtt-10">--debug=</span><span
class="ec-lmro-10">num</span> </dt><dd
class="list">
<!--l. 2361--><p class="noindent" >
<br class="newline" />sets the debugging options to <span
class="ec-lmro-10">num</span>.</dd></dl>
<!--l. 2366--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.2.3 </span> <a
id="x1-610008.2.3"></a>Examples of use</h5>
<!--l. 2369--><p class="noindent" >Let us now have a look at Kpathsea in action. Here’s a straightforward search:
<div class="alltt">
<!--l. 2371--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">article.cls</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/base/article.cls</span>
</div>
</div> We are looking for the file <span
class="ec-lmtt-10">article.cls</span>. Since the ‘<span
class="ec-lmtt-10">.cls</span>’ suffix is unambiguous we do not
need to specify that we want to look for a file of type <span
class="ec-lmtt-10">tex </span>(<span class="TEX">T<span
class="E">E</span>X</span> source file directories). We
find it in the subdirectory <span
class="ec-lmtt-10">tex/latex/base </span>below the ‘<span
class="ec-lmtt-10">texmf-dist</span>’ <span class="TEX">T<span
class="E">E</span>X</span> Live directory.
Similarly, all of the following are found without problems thanks to their unambiguous suffix.
<div class="alltt">
<!--l. 2381--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">array.sty</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/tools/array.sty</span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">latin1.def</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/base/latin1.def</span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">size10.clo</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/base/size10.clo</span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">small2e.tex</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/tex/latex/base/small2e.tex</span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">tugboat.bib</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/bibtex/bib/beebe/tugboat.bib</span>
</div>
</div>
<!--l. 2394--><p class="indent" > That last is a BibTeX bibliography database for <span
class="ec-lmro-10">TUGBoat </span>articles.
<div class="alltt">
<!--l. 2396--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">cmr10.pk</span></span>
</div>
</div> Font bitmap glyph files of type <span
class="ec-lmtt-10">.pk </span>are used by display programs like <span
class="ec-lmss-10">dvips </span>and <span
class="ec-lmss-10">xdvi</span>. Nothing is returned
in this case since there are no pre-generated Computer Modern ‘<span
class="ec-lmtt-10">.pk</span>’ files in <span class="TEX">T<span
class="E">E</span>X</span> Live — the Type 1
variants are used by default. <div class="alltt">
<!--l. 2403--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">wsuipa10.pk</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-var/fonts/pk/ljfour/public/wsuipa/wsuipa10.600pk</span>
</div>
</div>
<!--l. 2410--><p class="indent" > For these fonts (a phonetic alphabet from the University of Washington) we had to generate ‘<span
class="ec-lmtt-10">.pk</span>’
files, and since the default Metafont mode on our installation is <span
class="ec-lmtt-10">ljfour </span>with a base resolution of 600dpi
(dots per inch), this instantiation is returned. <div class="alltt">
<!--l. 2414--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">-dpi=300</span> <span
class="ec-lmtt-10">wsuipa10.pk</span></span>
</div>
</div> In this case, when specifying that we are interested in a resolution of 300dpi (<span
class="ec-lmtt-10">-dpi=300</span>) we see that no
such font is available on the system. A program like <span
class="ec-lmss-10">dvips </span>or <span
class="ec-lmss-10">xdvi </span>would go off and actually build the
required <span
class="ec-lmtt-10">.pk </span>files using the script <span
class="ec-lmss-10">mktexpk</span>.
<!--l. 2423--><p class="indent" > Next we turn our attention to <span
class="ec-lmss-10">dvips</span>’s header and configuration files. We first look at one of the
commonly used files, the general prolog <span
class="ec-lmtt-10">tex.pro </span>for <span class="TEX">T<span
class="E">E</span>X</span> support, before turning our attention to the
generic configuration file (<span
class="ec-lmtt-10">config.ps</span>) and the PostScript font map <span
class="ec-lmtt-10">psfonts.map </span>— as of 2004, map and
encoding files have their own search paths and new location in <span
class="ec-lmtt-10">texmf </span>trees. As the ‘<span
class="ec-lmtt-10">.ps</span>’ suffix is
ambiguous we have to specify explicitly which type we are considering (<span
class="ec-lmtt-10">dvips config</span>) for the file
<span
class="ec-lmtt-10">config.ps</span>. <div class="alltt">
<!--l. 2432--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">tex.pro</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf/dvips/base/tex.pro</span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">--format="dvips</span> <span
class="ec-lmtt-10">config"</span> <span
class="ec-lmtt-10">config.ps</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf/dvips/config/config.ps</span>
<br /><span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">psfonts.map</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf/fonts/map/dvips/updmap/psfonts.map</span>
</div>
</div>
<!--l. 2441--><p class="indent" > We now take a closer look at the URW Times PostScript support files. The prefix for these in the
standard font naming scheme is ‘<span
class="ec-lmtt-10">utm</span>’. The first file we look at is the configuration file, which contains the
name of the map file: <div class="alltt">
<!--l. 2445--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">--format="dvips</span> <span
class="ec-lmtt-10">config"</span> <span
class="ec-lmtt-10">config.utm</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/dvips/psnfss/config.utm</span>
</div>
</div> The contents of that file is <div class="alltt">
<!--l. 2450--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> p</span><span
class="ec-lmtt-10"> +utm.map</span>
</div>
</div> which points to the file <span
class="ec-lmtt-10">utm.map</span>, which we want to locate next. <div class="alltt">
<!--l. 2455--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">utm.map</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/fonts/map/dvips/times/utm.map</span>
</div>
</div> This map file defines the file names of the Type 1 PostScript fonts in the URW collection. Its contents
look like (we only show part of the lines): <div class="alltt">
<!--l. 2462--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">utmb8r</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> NimbusRomNo9L-Medi</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> ...</span><span
class="ec-lmtt-10"> <utmb8a.pfb</span>
<br /><span
class="ec-lmtt-10">utmbi8r</span><span
class="ec-lmtt-10"> NimbusRomNo9L-MediItal...</span><span
class="ec-lmtt-10"> <utmbi8a.pfb</span>
<br /><span
class="ec-lmtt-10">utmr8r</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> NimbusRomNo9L-Regu</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> ...</span><span
class="ec-lmtt-10"> <utmr8a.pfb</span>
<br /><span
class="ec-lmtt-10">utmri8r</span><span
class="ec-lmtt-10"> NimbusRomNo9L-ReguItal...</span><span
class="ec-lmtt-10"> <utmri8a.pfb</span>
<br /><span
class="ec-lmtt-10">utmbo8r</span><span
class="ec-lmtt-10"> NimbusRomNo9L-Medi</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> ...</span><span
class="ec-lmtt-10"> <utmb8a.pfb</span>
<br /><span
class="ec-lmtt-10">utmro8r</span><span
class="ec-lmtt-10"> NimbusRomNo9L-Regu</span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> ...</span><span
class="ec-lmtt-10"> <utmr8a.pfb</span>
</div>
</div> Let us, for instance, take the Times Roman instance <span
class="ec-lmtt-10">utmr8a.pfb </span>and find its position in the <span
class="ec-lmtt-10">texmf</span>
directory tree with a search for Type 1 font files: <div class="alltt">
<!--l. 2473--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">kpsewhich</span> <span
class="ec-lmtt-10">utmr8a.pfb</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> /usr/local/texmf-dist/fonts/type1/urw/times/utmr8a.pfb</span>
</div>
</div>
<!--l. 2480--><p class="indent" > It should be evident from these examples how you can easily locate the whereabouts of a given file.
This is especially important if you suspect that the wrong version of a file is picked up somehow, since
<span
class="ec-lmss-10">kpsewhich </span>will show you the first file encountered.
<!--l. 2485--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">8.2.4 </span> <a
id="x1-620008.2.4"></a>Debugging actions</h5>
<!--l. 2488--><p class="noindent" >Sometimes it is necessary to investigate how a program resolves file references. To make this practical,
Kpathsea offers various levels of debugging output:
<!--l. 2492--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10"> 1</span> </dt><dd
class="list">
<!--l. 2493--><p class="noindent" ><span
class="ec-lmtt-10">stat </span>calls (disk lookups). When running with an up-to-date <span
class="ec-lmtt-10">ls-R </span>database this should
almost give no output.
</dd><dt class="list">
<span
class="ec-lmtt-10"> 2</span> </dt><dd
class="list">
<!--l. 2496--><p class="noindent" >References to hash tables (such as <span
class="ec-lmtt-10">ls-R </span>databases, map files, configuration files).
</dd><dt class="list">
<span
class="ec-lmtt-10"> 4</span> </dt><dd
class="list">
<!--l. 2498--><p class="noindent" >File open and close operations.
</dd><dt class="list">
<span
class="ec-lmtt-10"> 8</span> </dt><dd
class="list">
<!--l. 2499--><p class="noindent" >General path information for file types searched by Kpathsea. This is useful to find out where
a particular path for the file was defined.
</dd><dt class="list">
<span
class="ec-lmtt-10">16</span> </dt><dd
class="list">
<!--l. 2502--><p class="noindent" >Directory list for each path element (only relevant for searches on disk).
</dd><dt class="list">
<span
class="ec-lmtt-10">32</span> </dt><dd
class="list">
<!--l. 2504--><p class="noindent" >File searches.</dd></dl>
<!--l. 2506--><p class="noindent" >A value of <span
class="ec-lmtt-10">-1 </span>will set all the above options; in practice, this is usually the most convenient.
<!--l. 2509--><p class="indent" > Similarly, with the <span
class="ec-lmss-10">dvips </span>program, by setting a combination of debug switches, one can follow in detail
where files are being picked up from. Alternatively, when a file is not found, the debug trace shows in
which directories the program looks for the given file, so that one can get an indication what the
problem is.
<!--l. 2515--><p class="indent" > Generally speaking, as most programs call the Kpathsea library internally, one can select a debug
option by using the <span
class="ec-lmtt-10">KPATHSEA_DEBUG </span>environment variable, and setting it to (a combination of) values as
described in the above list.
<!--l. 2520--><p class="indent" > (Note for Windows users: it is not easy to redirect all messages to a file in this system. For diagnostic
purposes you can temporarily <span
class="ec-lmtt-10">SET KPATHSEA_DEBUG_OUTPUT=err.log</span>).
<!--l. 2524--><p class="indent" > Let us consider, as an example, a small <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> source file, <span
class="ec-lmtt-10">hello-world.tex</span>, which contains the
following input.
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb11">
<a
id="x1-62002r1"></a>    \documentclass{article}
<br class="fancyvrb" /><a
id="x1-62004r2"></a>    \begin{document}
<br class="fancyvrb" /><a
id="x1-62006r3"></a>    Hello World!
<br class="fancyvrb" /><a
id="x1-62008r4"></a>    \end{document}
</div>
</div>
</td></tr></table>
<!--l. 2531--><p class="nopar" >This little file only uses the font <span
class="ec-lmtt-10">cmr10</span>, so let us look at how <span
class="ec-lmss-10">dvips </span>prepares the PostScript file (we
want to use the Type 1 version of the Computer Modern fonts, hence the option <span
class="ec-lmtt-10">-Pcms</span>).
<div class="alltt">
<!--l. 2535--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">dvips</span> <span
class="ec-lmtt-10">-d4100</span> <span
class="ec-lmtt-10">hello-world</span> <span
class="ec-lmtt-10">-Pcms</span> <span
class="ec-lmtt-10">-o</span></span>
</div>
</div> In this case we have combined <span
class="ec-lmss-10">dvips</span>’s debug class 4 (font paths) with Kpathsea’s path element
expansion (see <span
class="ec-lmss-10">dvips </span>Reference Manual, <a
href="../../../../texmf/doc/html/dvips/dvips_toc.html" >texmf/doc/html/dvips/dvips_toc.html</a>). The output (slightly
rearranged) appears in Figure <a
href="#x1-62031r1">1<!--tex4ht:ref: fig:dvipsdbga --></a>.
<!--l. 2543--><p class="indent" > <a
id="x1-62031r1"></a><a
id="x1-62036r2"></a><a
id="x1-62049r3"></a><hr class="float"><div class="float"
><table class="float"><tr class="float"><td class="float"
>
<div class="BVerbatimInput">
<span
class="ec-lmtt-9">debug:start</span><span
class="ec-lmtt-9"> search(file=texmf.cnf,</span><span
class="ec-lmtt-9"> must_exist=1,</span><span
class="ec-lmtt-9"> find_all=1,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:/usr/local/bin/texlive:/usr/local/bin:</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> /usr/local/bin/texmf/web2c:/usr/local:</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> /usr/local/texmf/web2c:/.:/./teTeX/TeX/texmf/web2c:).</span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=ls-R,</span><span
class="ec-lmtt-9"> must_exist=1,</span><span
class="ec-lmtt-9"> find_all=1,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=~/tex:/usr/local/texmf).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(ls-R)</span><span
class="ec-lmtt-9"> =>/usr/local/texmf/ls-R</span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=aliases,</span><span
class="ec-lmtt-9"> must_exist=1,</span><span
class="ec-lmtt-9"> find_all=1,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=~/tex:/usr/local/texmf).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(aliases)</span><span
class="ec-lmtt-9"> =></span><span
class="ec-lmtt-9"> /usr/local/texmf/aliases</span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=config.ps,</span><span
class="ec-lmtt-9"> must_exist=0,</span><span
class="ec-lmtt-9"> find_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex:!!/usr/local/texmf/dvips//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(config.ps)</span><span
class="ec-lmtt-9"> =></span><span
class="ec-lmtt-9"> /usr/local/texmf/dvips/config/config.ps</span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=/root/.dvipsrc,</span><span
class="ec-lmtt-9"> must_exist=0,</span><span
class="ec-lmtt-9"> find_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex:!!/usr/local/texmf/dvips//).</span>
<br /><span
class="ec-lmtt-9">search(file=/home/goossens/.dvipsrc,</span><span
class="ec-lmtt-9"> must_exist=1,</span><span
class="ec-lmtt-9"> find_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search($HOME/.dvipsrc)</span><span
class="ec-lmtt-9"> =></span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=config.cms,</span><span
class="ec-lmtt-9"> must_exist=0,</span><span
class="ec-lmtt-9"> find_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(config.cms)</span>
<br /><span
class="ec-lmtt-9">=>/usr/local/texmf/dvips/cms/config.cms</span>
</div>
<table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Figure 1: </td><td
class="content">Finding configuration files</td></tr></table><!--tex4ht:label?: x1-62031r1 -->
<div class="BVerbatimInput">
<span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=texc.pro,</span><span
class="ec-lmtt-9"> must\_exist=0,</span><span
class="ec-lmtt-9"> find\_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//:</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(texc.pro)</span><span
class="ec-lmtt-9"> =></span><span
class="ec-lmtt-9"> /usr/local/texmf/dvips/base/texc.pro</span>
</div>
<table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Figure 2: </td><td
class="content">Finding the prolog file</td></tr></table><!--tex4ht:label?: x1-62036r2 -->
<div class="BVerbatimInput">
<span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=cmr10.tfm,</span><span
class="ec-lmtt-9"> must\_exist=1,</span><span
class="ec-lmtt-9"> find\_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex/fonts/tfm//:!!/usr/local/texmf/fonts/tfm//:</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> /var/tex/fonts/tfm//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(cmr10.tfm)</span><span
class="ec-lmtt-9"> =></span><span
class="ec-lmtt-9"> /usr/local/texmf/fonts/tfm/public/cm/cmr10.tfm</span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=texps.pro,</span><span
class="ec-lmtt-9"> must\_exist=0,</span><span
class="ec-lmtt-9"> find\_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> ...</span>
<br /><span
class="ec-lmtt-9"><texps.pro></span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=cmr10.pfb,</span><span
class="ec-lmtt-9"> must\_exist=0,</span><span
class="ec-lmtt-9"> find\_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//:</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(cmr10.pfb)</span><span
class="ec-lmtt-9"> =></span><span
class="ec-lmtt-9"> /usr/local/texmf/fonts/type1/public/cm/cmr10.pfb</span>
<br /><span
class="ec-lmtt-9"><cmr10.pfb>[1]</span>
</div>
<table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Figure 3: </td><td
class="content">Finding the font file</td></tr></table><!--tex4ht:label?: x1-62049r3 -->
</td></tr></table></div><hr class="endfloat" />
<!--l. 2559--><p class="indent" > <span
class="ec-lmss-10">dvips </span>starts by locating its working files. First, <span
class="ec-lmtt-10">texmf.cnf </span>is found, which gives the definitions of the
search paths for the other files, then the file database <span
class="ec-lmtt-10">ls-R </span>(to optimize file searching) and the file
<span
class="ec-lmtt-10">aliases</span>, which makes it possible to declare several names (e.g., a short DOS-like 8.3 and a more natural
longer version) for the same file. Then <span
class="ec-lmss-10">dvips </span>goes on to find the generic configuration file <span
class="ec-lmtt-10">config.ps</span>
before looking for the customization file <span
class="ec-lmtt-10">.dvipsrc </span>(which, in this case is <span
class="ec-lmri-10">not found</span>). Finally, <span
class="ec-lmss-10">dvips </span>locates
the config file for the Computer Modern PostScript fonts <span
class="ec-lmtt-10">config.cms </span>(this was initiated
with the <span
class="ec-lmtt-10">-Pcms </span>option on the <span
class="ec-lmss-10">dvips </span>command). This file contains the list of the map files
which define the relation between the <span class="TEX">T<span
class="E">E</span>X</span>, PostScript and file system names of the fonts.
<div class="alltt">
<!--l. 2573--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">></span><span
class="ec-lmtt-10"> </span><span class="underline"><span
class="ec-lmtt-10">more</span> <span
class="ec-lmtt-10">/usr/local/texmf/dvips/cms/config.cms</span></span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> p</span><span
class="ec-lmtt-10"> +ams.map</span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> p</span><span
class="ec-lmtt-10"> +cms.map</span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> p</span><span
class="ec-lmtt-10"> +cmbkm.map</span>
<br /><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> </span><span
class="ec-lmtt-10"> p</span><span
class="ec-lmtt-10"> +amsbkm.map</span>
</div>
</div> <span
class="ec-lmss-10">dvips </span>thus goes on to find all these files, plus the generic map file <span
class="ec-lmtt-10">psfonts.map</span>, which is always loaded
(it contains declarations for commonly used PostScript fonts; see the last part of Section <a
href="#x1-610008.2.3">8.2.3<!--tex4ht:ref: SExamplesofuse --></a> for more
details about PostScript map file handling).
<!--l. 2586--><p class="indent" > At this point <span
class="ec-lmss-10">dvips </span>identifies itself to the user: <div class="alltt">
<!--l. 2587--><p class="noindent" ><div class="obeylines-v">
<span
class="ec-lmtt-10">This</span><span
class="ec-lmtt-10"> is</span><span
class="ec-lmtt-10"> dvips(k)</span><span
class="ec-lmtt-10"> 5.92b</span><span
class="ec-lmtt-10"> Copyright</span><span
class="ec-lmtt-10"> 2002</span><span
class="ec-lmtt-10"> Radical</span><span
class="ec-lmtt-10"> Eye</span><span
class="ec-lmtt-10"> Software</span><span
class="ec-lmtt-10"> (www.radicaleye.com)</span>
</div>
</div> Then it goes on to look for the prolog file <span
class="ec-lmtt-10">texc.pro</span>: <div class="alltt">
<!--l. 2592--><p class="noindent" ><div class="obeylines-v">
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=texc.pro,</span><span
class="ec-lmtt-9"> must_exist=0,</span><span
class="ec-lmtt-9"> find_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//:</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(texc.pro)</span><span
class="ec-lmtt-9"> =></span><span
class="ec-lmtt-9"> /usr/local/texmf/dvips/base/texc.pro</span>
</div>
</div>
<!--l. 2603--><p class="indent" > After having found the file in question, <span
class="ec-lmss-10">dvips </span>outputs date and time, and informs us that it will
generate the file <span
class="ec-lmtt-10">hello-world.ps</span>, then that it needs the font file <span
class="ec-lmtt-10">cmr10</span>, and that the latter is declared
as “resident” (no bitmaps needed): <div class="alltt">
<!--l. 2608--><p class="noindent" ><div class="obeylines-v">
<br /><span
class="ec-lmtt-9">TeX</span><span
class="ec-lmtt-9"> output</span><span
class="ec-lmtt-9"> 1998.02.26:1204’</span><span
class="ec-lmtt-9"> -></span><span
class="ec-lmtt-9"> hello-world.ps</span>
<br /><span
class="ec-lmtt-9">Defining</span><span
class="ec-lmtt-9"> font</span><span
class="ec-lmtt-9"> ()</span><span
class="ec-lmtt-9"> cmr10</span><span
class="ec-lmtt-9"> at</span><span
class="ec-lmtt-9"> 10.0pt</span>
<br /><span
class="ec-lmtt-9">Font</span><span
class="ec-lmtt-9"> cmr10</span><span
class="ec-lmtt-9"> <CMR10></span><span
class="ec-lmtt-9"> is</span><span
class="ec-lmtt-9"> resident.</span>
</div>
</div> Now the search is on for the file <span
class="ec-lmtt-10">cmr10.tfm</span>, which is found, then a few more prolog files (not shown) are
referenced, and finally the Type 1 instance <span
class="ec-lmtt-10">cmr10.pfb </span>of the font is located and included in the output
file (see last line). <div class="alltt">
<!--l. 2617--><p class="noindent" ><div class="obeylines-v">
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=cmr10.tfm,</span><span
class="ec-lmtt-9"> must_exist=1,</span><span
class="ec-lmtt-9"> find_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex/fonts/tfm//:!!/usr/local/texmf/fonts/tfm//:</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> /var/tex/fonts/tfm//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(cmr10.tfm)</span><span
class="ec-lmtt-9"> =></span><span
class="ec-lmtt-9"> /usr/local/texmf/fonts/tfm/public/cm/cmr10.tfm</span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=texps.pro,</span><span
class="ec-lmtt-9"> must_exist=0,</span><span
class="ec-lmtt-9"> find_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> ...</span>
<br /><span
class="ec-lmtt-9"><texps.pro></span>
<br /><span
class="ec-lmtt-9">kdebug:start</span><span
class="ec-lmtt-9"> search(file=cmr10.pfb,</span><span
class="ec-lmtt-9"> must_exist=0,</span><span
class="ec-lmtt-9"> find_all=0,</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> path=.:~/tex/dvips//:!!/usr/local/texmf/dvips//:</span>
<br /><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> </span><span
class="ec-lmtt-9"> ~/tex/fonts/type1//:!!/usr/local/texmf/fonts/type1//).</span>
<br /><span
class="ec-lmtt-9">kdebug:search(cmr10.pfb)</span><span
class="ec-lmtt-9"> =></span><span
class="ec-lmtt-9"> /usr/local/texmf/fonts/type1/public/cm/cmr10.pfb</span>
<br /><span
class="ec-lmtt-9"><cmr10.pfb>[1]</span>
</div>
</div>
<h4 class="subsectionHead"><span class="titlemark">8.3 </span> <a
id="x1-630008.3"></a>Runtime options</h4>
<!--l. 2634--><p class="noindent" >Another useful feature of Web2C is its possibility to control a number of memory parameters
(in particular, array sizes) via the runtime file <span
class="ec-lmtt-10">texmf.cnf </span>read by Kpathsea. The memory
settings can be found in Part 3 of that file in the <span class="TEX">T<span
class="E">E</span>X</span> Live distribution. The more important
are:
<!--l. 2640--><p class="noindent" >
<dl class="list1"><dt class="list">
<span
class="ec-lmtt-10">main_memory</span> </dt><dd
class="list">
<!--l. 2641--><p class="noindent" >Total words of memory available, for <span class="TEX">T<span
class="E">E</span>X</span>, Metafont and MetaPost. You must make a new
format file for each different setting. For instance, you could generate a “huge” version of
<span class="TEX">T<span
class="E">E</span>X</span>, and call the format file <span
class="ec-lmtt-10">hugetex.fmt</span>. Using the standard way of specifying the program
name used by Kpathsea, the particular value of the <span
class="ec-lmtt-10">main_memory </span>variable will then be read
from <span
class="ec-lmtt-10">texmf.cnf</span>.
</dd><dt class="list">
<span
class="ec-lmtt-10">extra_mem_bot</span> </dt><dd
class="list">
<!--l. 2649--><p class="noindent" >Extra space for “large” <span class="TEX">T<span
class="E">E</span>X</span> data structures: boxes, glue, breakpoints, etc. Especially useful
if you use PI C<span class="TEX">T<span
class="E">E</span>X</span>.
</dd><dt class="list">
<span
class="ec-lmtt-10">font_mem_size</span> </dt><dd
class="list">
<!--l. 2653--><p class="noindent" >Number of words for font information available for <span class="TEX">T<span
class="E">E</span>X</span>. This is more or less the total size
of all TFM files read.
</dd><dt class="list">
<span
class="ec-lmtt-10">hash_extra</span> </dt><dd
class="list">
<!--l. 2656--><p class="noindent" >Additional space for the hash table of control sequence names. Approximately 10,000 control
sequences can be stored in the main hash table; if you have a large book with numerous
cross-references, this might not be enough. The default value of <span
class="ec-lmtt-10">hash_extra </span>is <span
class="ec-lmtt-10">50000</span>.</dd></dl>
<!--l. 2664--><p class="noindent" >Of course, this facility is no substitute for truly dynamic arrays and memory allocation, but since these
are extremely difficult to implement in the present <span class="TEX">T<span
class="E">E</span>X</span> source, these runtime parameters provide a
practical compromise allowing some flexibility.
<!--l. 2772--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">9 </span> <a
id="x1-640009"></a>Acknowledgements</h3>
<!--l. 2774--><p class="noindent" ><span class="TEX">T<span
class="E">E</span>X</span> Live is a joint effort by virtually all of the <span class="TEX">T<span
class="E">E</span>X</span> user groups. This edition of <span class="TEX">T<span
class="E">E</span>X</span> Live was
overseen by Sebastian Rahtz and Karl Berry. The other principal contributors are listed
below.
<ul class="itemize1">
<li class="itemize">The English, German, Dutch, and Polish <span class="TEX">T<span
class="E">E</span>X</span> user groups (TUG, DANTE e.V., NTG,
and GUST, respectively), which together provide the necessary technical and administrative
infrastructure. Please join your local user group!
</li>
<li class="itemize">The CTAN team, which distributes the <span class="TEX">T<span
class="E">E</span>X</span> Live images and provides the common
infrastructure for package updates, upon which <span class="TEX">T<span
class="E">E</span>X</span> Live depends.
</li>
<li class="itemize">Peter Breitenlohner and the e-<span class="TEX">T<span
class="E">E</span>X</span> team for the stable foundation of future <span class="TEX">T<span
class="E">E</span>X</span>’s.
</li>
<li class="itemize">Thomas Esser, without whose marvelous te<span class="TEX">T<span
class="E">E</span>X</span> package <span class="TEX">T<span
class="E">E</span>X</span> Live would certainly not
exist, and whose continual help makes it a better product.
</li>
<li class="itemize">Michel Goossens, who co-authored the original documentation.
</li>
<li class="itemize">Eitan Gurari, whose <span class="TEX">T<span
class="E">E</span>X</span>4ht was used to create the HTML version of this documentation,
and who worked tirelessly to improve it at short notice.
</li>
<li class="itemize">Hans Hagen, for major testing and making the Con<span class="TEX">T<span
class="E">E</span>X</span>t format conform to <span class="TEX">T<span
class="E">E</span>X</span> Live’s
needs.
</li>
<li class="itemize">Hàn Thê´ Thành, Martin Schröder, and the pdf<span class="TEX">T<span
class="E">E</span>X</span> team for continuing enhancements of
<span class="TEX">T<span
class="E">E</span>X</span>’s abilities.
</li>
<li class="itemize">Taco Hoekwater, for renewed development efforts on MetaPost and <span class="TEX">T<span
class="E">E</span>X</span> itself.
</li>
<li class="itemize">Paweł Jackowski, for the Windows installer <span
class="ec-lmss-10">tlpm</span>, and Tomasz Łuczak, for <span
class="ec-lmss-10">tlpmgui</span>.
</li>
<li class="itemize">Akira Kakuto, for great assistance in incorporating the Windows binaries from his W32TEX
distribution (<span class="obeylines-h"><a
href="http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/" class="url" ><span
class="ec-lmtt-10">http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/</span></a></span>).
</li>
<li class="itemize">Jonathan Kew and his employer SIL, for the major new development of Xe<span class="TEX">T<span
class="E">E</span>X</span> and taking
the time and trouble to integrate it in <span class="TEX">T<span
class="E">E</span>X</span> Live.
</li>
<li class="itemize">Reinhard Kotucha, for helping with the massive task of updating packages in <span class="TEX">T<span
class="E">E</span>X</span> Live, as
well as Windows research efforts, the <span
class="ec-lmtt-10">getnonfreefonts </span>script, and more.
</li>
<li class="itemize">Petr Olšak, who coordinated and checked all the Czech and Slovak material very carefully.
</li>
<li class="itemize">Toshio Oshima, for his <span
class="ec-lmss-10">dviout </span>previewer for Windows.
</li>
<li class="itemize">Fabrice Popineau, for the original Windows support in <span class="TEX">T<span
class="E">E</span>X</span> Live.
</li>
<li class="itemize">Norbert Preining, for helping with the <span class="TEX">T<span
class="E">E</span>X</span> Live infrastructure and package updates, and
coordinating the Debian version of <span class="TEX">T<span
class="E">E</span>X</span> Live (together with Frank Küster), making many
suggestions for improvement along the way.
</li>
<li class="itemize">Staszek Wawrykiewicz, the principal tester for all of <span class="TEX">T<span
class="E">E</span>X</span> Live, and coordinator of the many
major Polish contributions: fonts, Windows installation, and more.
</li>
<li class="itemize">Olaf Weber, for his patient assembly and maintenance of Web2C, upon which all else
depends.
</li>
<li class="itemize">Gerben Wierda, for creating and maintaining the Mac OS X support, and much integration
and testing.
</li>
<li class="itemize">Graham Williams, on whose work the catalogue of packages depends.
</li></ul>
<!--l. 2852--><p class="indent" > Builders of the binaries: Tigran Aivazian (<span
class="ec-lmss-10">x86_64-linux</span>), Akira Kakuto and Fabrice Popineau (<span
class="ec-lmss-10">win32</span>),
Manfred Lotz (<span
class="ec-lmss-10">i386-freebsd</span>), Norbert Preining (<span
class="ec-lmss-10">alpha-linux</span>), Vladimir Volovich (<span
class="ec-lmss-10">powerpc-aix</span>, <span
class="ec-lmss-10">sparc-linux</span>,
<span
class="ec-lmss-10">sparc-solaris</span>), Karl Berry (<span
class="ec-lmss-10">i386-linux</span>), Olaf Weber (<span
class="ec-lmss-10">mips-irix</span>), Gerben Wierda (<span
class="ec-lmss-10">i386-darwin</span>,
<span
class="ec-lmss-10">powerpc-darwin</span>).
<!--l. 2863--><p class="indent" > Documentation and translation updates: Karl Berry (English), Daniel Flipo & Fabrice Popineau
(French), Günter Partosch & Hartmut Henkel (German), Petr Sojka & Jan Busa (Czech/Slovak), Boris
Veytsman (Russian), Staszek Wawrykiewicz (Polish).
<!--l. 2871--><p class="indent" > Of course the most important acknowledgement must go to Donald Knuth, first for inventing <span class="TEX">T<span
class="E">E</span>X</span>,
and then for giving it to the world.
<!--l. 2875--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">10 </span> <a
id="x1-6500010"></a>Release history</h3>
<!--l. 2878--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">10.1 </span> <a
id="x1-6600010.1"></a>Past</h4>
<!--l. 2880--><p class="noindent" >Discussion began in late 1993 when the Dutch <span class="TEX">T<span
class="E">E</span>X</span> Users Group was starting work on its 4All<span class="TEX">T<span
class="E">E</span>X</span> CD
for MS-DOS users, and it was hoped at that time to issue a single, rational, CD for all systems. This was
too ambitious a target for the time, but it did spawn not only the very successful 4All<span class="TEX">T<span
class="E">E</span>X</span>
CD, but also the TUG Technical Council working group on a <span class="TEX"><span
class="ec-lmri-10">T</span><span
class="E"><span
class="ec-lmri-10">E</span></span><span
class="ec-lmri-10">X</span></span> <span
class="ec-lmri-10">Directory Structure </span>(<span class="obeylines-h"><a
href="http://tug.org/tds" class="url" ><span
class="ec-lmtt-10">http://tug.org/tds</span></a></span>), which specified how to create consistent and manageable collections of
<span class="TEX">T<span
class="E">E</span>X</span> support files. A complete draft of the TDS was published in the December 1995 issue
of <span
class="ec-lmro-10">TUGboat</span>, and it was clear from an early stage that one desirable product would be a
model structure on CD. The distribution you now have is a very direct result of the working
group’s deliberations. It was also clear that the success of the 4All<span class="TEX">T<span
class="E">E</span>X</span> CD showed that Unix
users would benefit from a similarly easy system, and this is the other main strand of <span class="TEX">T<span
class="E">E</span>X</span>
Live.
<!--l. 2896--><p class="indent" > We first undertook to make a new Unix-based TDS CD in the autumn of 1995, and quickly identified
Thomas Esser’s te<span class="TEX">T<span
class="E">E</span>X</span> as the ideal setup, as it already had multi-platform support and was built with
portability across file systems in mind. Thomas agreed to help, and work began seriously at the start of
1996. The first edition was released in May 1996. At the start of 1997, Karl Berry completed a major new
release of Web2c, which included nearly all the features which Thomas Esser had added in te<span class="TEX">T<span
class="E">E</span>X</span>, and
we decided to base the 2nd edition of the CD on the standard Web2C, with the addition of te<span class="TEX">T<span
class="E">E</span>X</span>’s
<span
class="ec-lmtt-10">texconfig </span>script. The 3rd edition of the CD was based on a major revision of Web2C, 7.2, by Olaf
Weber; at the same time, a new revision of te<span class="TEX">T<span
class="E">E</span>X</span> was being made, and <span class="TEX">T<span
class="E">E</span>X</span> Live included
almost all of its features. The 4th edition followed the same pattern, using a new version of
te<span class="TEX">T<span
class="E">E</span>X</span>, and a new release of Web2C (7.3). The system now included a complete Windows
setup.
<!--l. 2912--><p class="indent" > For the 5th edition (March 2000) many parts of the CD were revised and checked, updating hundreds
of packages. Package details were stored in XML files. But the major change for <span class="TEX">T<span
class="E">E</span>X</span> Live 5 was that all
non-free software was removed. Everything in <span class="TEX">T<span
class="E">E</span>X</span> Live is now intended to be compatible with the
Debian Free Software Guidelines (<span class="obeylines-h"><a
href="http://www.debian.org/intro/free" class="url" ><span
class="ec-lmtt-10">http://www.debian.org/intro/free</span></a></span>); we have done our best to
check the license conditions of all packages, but we would very much appreciate hearing of any
mistakes.
<!--l. 2921--><p class="indent" > The 6th edition (July 2001) had much more material updated. The major change was a new install
concept: the user could select a more exact set of needed collections. Language-related collections were
completely reorganized, so selecting any of them installs not only macros, fonts, etc., but also prepares an
appropriate <span
class="ec-lmtt-10">language.dat</span>.
<!--l. 2927--><p class="indent" > The 7th edition of 2002 had the notable addition of Mac OS X support, and the usual myriad of
updates to all sorts of packages and programs. An important goal was integration of the source back with
te<span class="TEX">T<span
class="E">E</span>X</span>, to correct the drift apart in versions 5 and 6.
<!--l. 2932--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">10.1.1 </span> <a
id="x1-6700010.1.1"></a>2003</h5>
<!--l. 2934--><p class="noindent" >In 2003, with the continuing flood of updates and additions, we found that <span class="TEX">T<span
class="E">E</span>X</span> Live had grown so large
it could no longer be contained on a single CD, so we split it into three different distributions (see
section <a
href="#x1-70002.1">2.1<!--tex4ht:ref: sec:multiple-dist --></a>, p. <a
href="#x1-70002.1">6<!--tex4ht:ref: sec:multiple-dist --></a>). In addition:
<ul class="itemize1">
<li class="itemize">At the request of the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> team, we changed the standard <span
class="ec-lmss-10">latex </span>and <span
class="ec-lmss-10">pdflatex </span>commands
to now use e-<span class="TEX">T<span
class="E">E</span>X</span> (see p. <a
href="#x1-100002.4">9<!--tex4ht:ref: text:etex --></a>).
</li>
<li class="itemize">The new Latin Modern fonts were included (and are recommended).
</li>
<li class="itemize">Support for Alpha OSF was removed (HPUX support was removed previously), since no one
had (or volunteered) hardware available on which to compile new binaries.
</li>
<li class="itemize">Windows setup was substantially changed; for the first time an integrated environment based
on XEmacs was introduced.
</li>
<li class="itemize">Important supplementary programs for Windows (Perl, Ghostscript, ImageMagick, Ispell)
are now installed in the <span class="TEX">T<span
class="E">E</span>X</span> Live installation directory.
</li>
<li class="itemize">Font map files used by <span
class="ec-lmss-10">dvips</span>, <span
class="ec-lmss-10">dvipdfm </span>and <span
class="ec-lmss-10">pdftex </span>are now generated by the new program
<span
class="ec-lmss-10">updmap </span>and installed into <span
class="ec-lmtt-10">texmf/fonts/map</span>.
</li>
<li class="itemize"><span class="TEX">T<span
class="E">E</span>X</span>, Metafont, and MetaPost now, by default, output most input characters (32 and above)
as themselves in output (e.g., <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">\write</span></span></span>) files, log files, and the terminal, i.e., <span
class="ec-lmri-10">not </span>translated
using the <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">^^</span></span></span> notation. In <span class="TEX">T<span
class="E">E</span>X</span> Live 7, this translation was dependent on the system locale
settings; now, locale settings do not influence the <span class="TEX">T<span
class="E">E</span>X</span> programs’ behavior. If for some reason
you need the <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">^^</span></span></span> output, rename the file <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">texmf/web2c/cp8bit.tcx</span></span></span>. (Future releases will
have cleaner ways to control this.)
</li>
<li class="itemize">This documentation was substantially revised.
</li>
<li class="itemize">Finally, since the edition numbers had grown unwieldy, the version is now simply identified
by the year: <span class="TEX">T<span
class="E">E</span>X</span> Live 2003.</li></ul>
<!--l. 2972--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">10.1.2 </span> <a
id="x1-6800010.1.2"></a>2004</h5>
<!--l. 2974--><p class="noindent" >2004 saw many changes:
<ul class="itemize1">
<li class="itemize">If you have locally-installed fonts which use their own <span
class="ec-lmtt-10">.map </span>or (much less likely) <span
class="ec-lmtt-10">.enc </span>support
files, you may need to move those support files.
<!--l. 2982--><p class="noindent" ><span
class="ec-lmtt-10">.map </span>files are now searched for in subdirectories of <span
class="ec-lmtt-10">fonts/map </span>only (in each <span
class="ec-lmtt-10">texmf </span>tree),
along the <span
class="ec-lmtt-10">TEXFONTMAPS </span>path. Similarly, <span
class="ec-lmtt-10">.enc </span>files are now searched for in subdirectories of
<span
class="ec-lmtt-10">fonts/enc </span>only, along the <span
class="ec-lmtt-10">ENCFONTS </span>path. <span
class="ec-lmss-10">updmap </span>will attempt to warn about problematic
files.
<!--l. 2989--><p class="noindent" >For methods of handling this and other information, please see <span class="obeylines-h"><a
href="http://tug.org/texlive/mapenc.html" class="url" ><span
class="ec-lmtt-10">http://tug.org/texlive/mapenc.html</span></a></span>.
</li>
<li class="itemize">The <span class="TEX"><span
class="ec-lmss-10">T</span><span
class="E"><span
class="ec-lmss-10">E</span></span><span
class="ec-lmss-10">X</span></span><span
class="ec-lmss-10"> Collection</span> has been expanded with the addition of a MiK<span class="TEX">T<span
class="E">E</span>X</span>-based installable
CD, for those who prefer that implementation to Web2C. See section <a
href="#x1-60002">2<!--tex4ht:ref: sec:struct-tl --></a> (p. <a
href="#x1-60002">6<!--tex4ht:ref: sec:struct-tl --></a>).
</li>
<li class="itemize">Within <span class="TEX">T<span
class="E">E</span>X</span> Live, the single large <span
class="ec-lmtt-10">texmf </span>tree of previous releases has been replaced by three:
<span
class="ec-lmtt-10">texmf</span>, <span
class="ec-lmtt-10">texmf-dist</span>, and <span
class="ec-lmtt-10">texmf-doc</span>. See section <a
href="#x1-80002.2">2.2<!--tex4ht:ref: sec:tld --></a> (p. <a
href="#x1-80002.2">7<!--tex4ht:ref: sec:tld --></a>), and the <span
class="ec-lmtt-10">README </span>files for each.
</li>
<li class="itemize">All <span class="TEX">T<span
class="E">E</span>X</span>-related input files are now collected in the <span
class="ec-lmtt-10">tex </span>subdirectory of <span
class="ec-lmtt-10">texmf* </span>trees,
rather than having separate sibling directories <span
class="ec-lmtt-10">tex</span>, <span
class="ec-lmtt-10">etex</span>, <span
class="ec-lmtt-10">pdftex</span>, <span
class="ec-lmtt-10">pdfetex</span>, etc. See
<a
href="../../../../texmf-doc/doc/english/tds/tds.html#Extensions" ><span
class="ec-lmtt-10">texmf-doc/doc/english/tds/tds.html#Extensions</span></a>.
</li>
<li class="itemize">Helper scripts (not meant to be invoked by users) are now located in a new <span
class="ec-lmtt-10">scripts</span>
directory of <span
class="ec-lmtt-10">texmf* </span>trees, and searched for via <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">kpsewhich</span><span
class="ec-lmtt-10"> -format=texmfscripts</span></span></span>.
So if you have programs which call such scripts, they’ll need to be adjusted. See
<a
href="../../../../texmf-doc/doc/english/tds/tds.html#Scripts" ><span
class="ec-lmtt-10">texmf-doc/doc/english/tds/tds.html#Scripts</span></a>.
</li>
<li class="itemize">Almost all formats leave most characters printable as themselves via the “translation
file” <span
class="ec-lmtt-10">cp227.tcx</span>, instead of translating them with the <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">^^</span></span></span> notation. Specifically, characters
at positions 32–256, plus tab, vertical tab, and form feed are considered printable and
not translated. The exceptions are plain <span class="TEX">T<span
class="E">E</span>X</span> (only 32–126 printable), Con<span class="TEX">T<span
class="E">E</span>X</span>t (0–255
printable), and the Omega-related formats. This default behavior is almost the same as in
<span class="TEX">T<span
class="E">E</span>X</span> Live 2003, but it’s implemented more cleanly, with more possibilities for customization.
See <a
href="../../../../texmf/doc/web2c/web2c.html#TCX-files" ><span
class="ec-lmtt-10">texmf/doc/web2c/web2c.html#TCX-files</span></a>. (By the way, with Unicode input, <span class="TEX">T<span
class="E">E</span>X</span> may
output partial character sequences when showing error contexts, since it is byte-oriented.)
</li>
<li class="itemize"><span
class="ec-lmss-10">pdfetex </span>is now the default engine for all formats except (plain) <span
class="ec-lmss-10">tex </span>itself. (Of course
it generates DVI when run as <span
class="ec-lmss-10">latex</span>, etc.) This means, among other things, that the
microtypographic features of <span
class="ec-lmss-10">pdftex </span>are available in <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span>, Con<span class="TEX">T<span
class="E">E</span>X</span>t, etc., as well as the
e-<span class="TEX">T<span
class="E">E</span>X</span> features (<a
href="../../../../texmf-dist/doc/etex/base/" >texmf-dist/doc/etex/base/</a>).
<!--l. 3036--><p class="noindent" >It also means it’s <span
class="ec-lmri-10">more important than ever </span>to use the <span
class="ec-lmss-10">ifpdf </span>package (works with both plain
and <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span>) or equivalent code, because simply testing whether <span
class="ec-lmtt-10">\pdfoutput </span>or some other
primitive is defined is not a reliable way to determine if PDF output is being generated. We
made this backward compatible as best we could this year, but next year, <span
class="ec-lmtt-10">\pdfoutput </span>may
be defined even when DVI is being written.
</li>
<li class="itemize">pdf<span class="TEX">T<span
class="E">E</span>X</span> (<span class="obeylines-h"><a
href="http://pdftex.org" class="url" ><span
class="ec-lmtt-10">http://pdftex.org</span></a></span>) has many new features:
<ul class="itemize2">
<li class="itemize"><span
class="ec-lmtt-10">\pdfmapfile </span>and <span
class="ec-lmtt-10">\pdfmapline </span>provide font map support from within a document.
</li>
<li class="itemize">Microtypographic font expansion can be used more easily.
<br class="newline" /><span class="obeylines-h"><a
href="http://www.ntg.nl/pipermail/ntg-pdftex/2004-May/000504.html" class="url" ><span
class="ec-lmtt-10">http://www.ntg.nl/pipermail/ntg-pdftex/2004-May/000504.html</span></a></span>
</li>
<li class="itemize">All parameters previously set through the special configuration file <span
class="ec-lmtt-10">pdftex.cfg </span>must
now be set through primitives, typically in <span
class="ec-lmtt-10">pdftexconfig.tex</span>; <span
class="ec-lmtt-10">pdftex.cfg </span>is no
longer supported. Any extant <span
class="ec-lmtt-10">.fmt </span>files must be redumped when <span
class="ec-lmtt-10">pdftexconfig.tex</span>
is changed.
</li>
<li class="itemize">See the pdf<span class="TEX">T<span
class="E">E</span>X</span> manual for more: <a
href="../../../../texmf/doc/pdftex/manual" >texmf/doc/pdftex/manual</a>.
</li></ul>
</li>
<li class="itemize">The <span
class="ec-lmtt-10">\input </span>primitive in <span
class="ec-lmss-10">tex </span>(and <span
class="ec-lmss-10">mf </span>and <span
class="ec-lmss-10">mpost</span>) now accepts double quotes containing spaces and
other special characters. Typical examples:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb12">
<a
id="x1-68002r1"></a>  \input "filename with spaces"   % plain
<br class="fancyvrb" /><a
id="x1-68004r2"></a>  \input{"filename with spaces"}  % latex
</div>
</div>
</td></tr></table>
<!--l. 3070--><p class="nopar" >See the Web2C manual for more: <a
href="../../../../texmf/doc/web2c" >texmf/doc/web2c</a>.
</li>
<li class="itemize">enc<span class="TEX">T<span
class="E">E</span>X</span> support is now included within Web2C and consequently all <span class="TEX">T<span
class="E">E</span>X</span> programs, via the <span
class="ec-lmtt-10">-enc</span>
option — <span
class="ec-lmri-10">only when formats are built</span>. enc<span class="TEX">T<span
class="E">E</span>X</span> supports general re-encoding of input and output,
enabling full support of Unicode (in UTF-8). See <a
href="../../../../texmf-dist/doc/generic/enctex/" >texmf-dist/doc/generic/enctex/</a> and <span class="obeylines-h"><a
href="http://www.olsak.net/enctex.html" class="url" ><span
class="ec-lmtt-10">http://www.olsak.net/enctex.html</span></a></span>.
</li>
<li class="itemize">Aleph, a new engine combining e-<span class="TEX">T<span
class="E">E</span>X</span> and Omega, is available. A little information is available in
<a
href="../../../../texmf-dist/doc/aleph/base" >texmf-dist/doc/aleph/base</a> and <span class="obeylines-h"><a
href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=aleph" class="url" ><span
class="ec-lmtt-10">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=aleph</span></a></span>.
The <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span>-based format for Aleph is named <span
class="ec-lmss-10">lamed</span>.
</li>
<li class="itemize">The latest <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> release has a new version of the LPPL — now officially a Debian-approved
license. Assorted other updates, see the <span
class="ec-lmtt-10">ltnews </span>files in <a
href="../../../../texmf-dist/doc/latex/base" >texmf-dist/doc/latex/base</a>.
</li>
<li class="itemize"><span
class="ec-lmss-10">dvipng</span>, a new program for converting DVI to PNG image files, is included. See
<a
href="../../../../texmf/doc/man/man1/dvipng.1" >texmf/doc/man/man1/dvipng.1</a>.
</li>
<li class="itemize">We reduced the <span
class="ec-lmss-10">cbgreek </span>package to a “medium” sized set of fonts, with the assent and advice of the
author (Claudio Beccari). The excised fonts are the invisible, outline, and transparency ones, which
are relatively rarely used, and we needed the space. The full set is of course available from CTAN (<span class="obeylines-h"><a
href="http://www.ctan.org/tex-archive/fonts/greek/cb" class="url" ><span
class="ec-lmtt-10">http://www.ctan.org/tex-archive/fonts/greek/cb</span></a></span>).
</li>
<li class="itemize"><span
class="ec-lmss-10">oxdvi </span>has been removed; just use <span
class="ec-lmss-10">xdvi</span>.
</li>
<li class="itemize">The <span
class="ec-lmss-10">ini </span>and <span
class="ec-lmss-10">vir </span>commands (links) for <span
class="ec-lmss-10">tex</span>, <span
class="ec-lmss-10">mf</span>, and <span
class="ec-lmss-10">mpost </span>are no longer created, such as <span
class="ec-lmss-10">initex</span>. The
<span
class="ec-lmss-10">ini </span>functionality has been available through the command-line option <span
class="ec-lmtt-10">-ini </span>for years
now.
</li>
<li class="itemize"><span
class="ec-lmss-10">i386-openbsd </span>platform support was removed. Since the <span
class="ec-lmss-10">tetex </span>package in the BSD Ports system is
available, and GNU/Linux and FreeBSD binaries were available, it seemed volunteer time could be
better spent elsewhere.
</li>
<li class="itemize">On <span
class="ec-lmss-10">sparc-solaris </span>(at least), you may have to set the <span
class="ec-lmtt-10">LD_LIBRARY_PATH </span>environment
variable to run the <span
class="ec-lmss-10">t1utils </span>programs. This is because they are compiled with C++, and
there is no standard location for the runtime libraries. (This is not new in 2004, but
wasn’t previously documented.) Similarly, on <span
class="ec-lmss-10">mips-irix</span>, the MIPSpro 7.4 runtimes are
required.
</li></ul>
<!--l. 3121--><p class="noindent" >
<h5 class="subsubsectionHead"><span class="titlemark">10.1.3 </span> <a
id="x1-6900010.1.3"></a>2005</h5>
<!--l. 3123--><p class="noindent" >2005 saw the usual huge number of updates to packages and programs. The infrastructure stayed
relatively stable from 2004, but inevitably there were some changes there as well:
<ul class="itemize1">
<li class="itemize">New scripts <span
class="ec-lmss-10">texconfig-sys</span>, <span
class="ec-lmss-10">updmap-sys</span>, and <span
class="ec-lmss-10">fmtutil-sys </span>were introduced, which modify the
configuration in the system trees. The <span
class="ec-lmss-10">texconfig</span>, <span
class="ec-lmss-10">updmap</span>, and <span
class="ec-lmss-10">fmtutil </span>scripts now modify
user-specific files, under <span
class="ec-lmtt-10">$HOME/.texlive2005</span>. See section <a
href="#x1-180004.1">4.1<!--tex4ht:ref: sec:texconfig --></a>, p. <a
href="#x1-180004.1">28<!--tex4ht:ref: sec:texconfig --></a>.
</li>
<li class="itemize">Corresponding new variables <span
class="ec-lmtt-10">TEXMFCONFIG </span>and <span
class="ec-lmtt-10">TEXMFSYSCONFIG </span>to specify the trees where
configuration files (user or system, respectively) are found. Thus, you may need to move
personal versions of <span
class="ec-lmtt-10">fmtutil.cnf </span>and <span
class="ec-lmtt-10">updmap.cfg </span>to these places; another option is to
redefine <span
class="ec-lmtt-10">TEXMFCONFIG </span>or <span
class="ec-lmtt-10">TEXMFSYSCONFIG </span>in <span
class="ec-lmtt-10">texmf.cnf</span>. In any case the real location of
these files and the values of <span
class="ec-lmtt-10">TEXMFCONFIG </span>and <span
class="ec-lmtt-10">TEXMFSYSCONFIG </span>must agree. See section <a
href="#x1-90002.3">2.3<!--tex4ht:ref: sec:texmftrees --></a>,
p. <a
href="#x1-90002.3">8<!--tex4ht:ref: sec:texmftrees --></a>.
</li>
<li class="itemize">Last year, we kept <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">\pdfoutput</span></span></span> and other primitives undefined for DVI output, even though
the <span
class="ec-lmss-10">pdfetex </span>program was being used. This year, as promised, we undid that compatibility
measure. So if your document uses <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">\ifx\pdfoutput\undefined</span></span></span> to test if PDF is being
output, it will need to be changed. You can use the package <span
class="ec-lmss-10">ifpdf.sty </span>(which works under
both plain <span class="TEX">T<span
class="E">E</span>X</span> and <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span>) to do this, or steal its logic.
</li>
<li class="itemize">Last year, we changed most formats to output (8-bit) characters as themselves (see previous
section). The new TCX file <span
class="ec-lmtt-10">empty.tcx </span>now provides an easier way to get the original <span class="obeylines-h"><span class="verb"><span
class="ec-lmtt-10">^^</span></span></span> notation if
you so desire, as in:
<table
class="verbatim"><tr class="verbatim"><td
class="verbatim"><div class="verbatim">
<div class="fancyvrb" id="fancyvrb13">
<a
id="x1-69002r1"></a>  latex --translate-file=empty.tcx yourfile.tex
</div>
</div>
</td></tr></table>
<!--l. 3161--><p class="nopar" >
</li>
<li class="itemize">The new program <span
class="ec-lmss-10">dvipdfmx </span>is included for translation of DVI to PDF; this is an actively
maintained update of <span
class="ec-lmss-10">dvipdfm </span>(which is also still available for now, though no longer
recommended).
</li>
<li class="itemize">The new programs <span
class="ec-lmss-10">pdfopen </span>and <span
class="ec-lmss-10">pdfclose </span>are included to allow reloading of pdf files in the Adobe
Acrobat Reader without restarting the program. (Other pdf readers, notably <span
class="ec-lmss-10">xpdf</span>, <span
class="ec-lmss-10">gv</span>, and <span
class="ec-lmss-10">gsview</span>,
have never suffered from this problem.)
</li>
<li class="itemize">For consistency, the variables <span
class="ec-lmtt-10">HOMETEXMF </span>and <span
class="ec-lmtt-10">VARTEXMF </span>have been renamed to <span
class="ec-lmtt-10">TEXMFHOME </span>and
<span
class="ec-lmtt-10">TEXMFSYSVAR</span>, respectively. There is also <span
class="ec-lmtt-10">TEXMFVAR</span>, which is by default user-specific. See the first
point above.
</li></ul>
<!--l. 3183--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">10.2 </span> <a
id="x1-7000010.2"></a>Present</h4>
<!--l. 3186--><p class="noindent" >In 2006–2007, the major new addition to <span class="TEX">T<span
class="E">E</span>X</span> Live was the Xe<span class="TEX">T<span
class="E">E</span>X</span> program, available as the <span
class="ec-lmtt-10">xetex </span>and
<span
class="ec-lmtt-10">xelatex </span>programs; see <span class="obeylines-h"><a
href="http://scripts.sil.org/xetex" class="url" ><span
class="ec-lmtt-10">http://scripts.sil.org/xetex</span></a></span>.
<!--l. 3190--><p class="indent" > MetaPost also received a notable update, with more planned for the future (<span class="obeylines-h"><a
href="http://tug.org/metapost/articles" class="url" ><span
class="ec-lmtt-10">http://tug.org/metapost/articles</span></a></span>), likewise pdf<span class="TEX">T<span
class="E">E</span>X</span> (<span class="obeylines-h"><a
href="http://tug.org/applications/pdftex" class="url" ><span
class="ec-lmtt-10">http://tug.org/applications/pdftex</span></a></span>)
<!--l. 3194--><p class="indent" > The <span class="TEX">T<span
class="E">E</span>X</span> <span
class="ec-lmtt-10">.fmt </span>(high-speed format) and the similar files for MetaPost and Metafont are
now stored in subdirectories of <span
class="ec-lmtt-10">texmf/web2c</span>, instead of in the directory itself (although the
directory is still searched, for the sake of existing <span
class="ec-lmtt-10">.fmt</span>’s). The subdirectories are named for the
‘engine’ in use, such as <span
class="ec-lmtt-10">tex </span>or <span
class="ec-lmtt-10">pdftex </span>or <span
class="ec-lmtt-10">xetex</span>. This change should be invisible in normal
use.
<!--l. 3202--><p class="indent" > The (plain) <span
class="ec-lmtt-10">tex </span>program no longer reads <span
class="ec-lmtt-10">%& </span>first lines to determine what format to run; it is the pure
Knuthian <span class="TEX">T<span
class="E">E</span>X</span>. (<span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> and everything else do still read <span
class="ec-lmtt-10">%& </span>lines).
<!--l. 3206--><p class="indent" > The installation scripts now accept various environment variables to allow for non-interactive
installation; see section <a
href="#x1-150003.2.1">3.2.1<!--tex4ht:ref: sec:noninteractive-install --></a>.
<!--l. 3210--><p class="indent" > Of course the year also saw (the usual) hundreds of other updates to packages and programs. As
usual, please check CTAN (<span class="obeylines-h"><a
href="http://www.ctan.org" class="url" ><span
class="ec-lmtt-10">http://www.ctan.org</span></a></span>) for updates.
<!--l. 3214--><p class="indent" > Internally, the source tree is now stored in Subversion, with a standard web interface for viewing the
tree, as linked from our home page. Although not visible in the final distribution, we expect this will
provide a stable development foundation for future years.
<!--l. 3219--><p class="indent" > Finally, in May 2006 Thomas Esser announced that he would no longer be updating te<span class="TEX">T<span
class="E">E</span>X</span> (<span class="obeylines-h"><a
href="http://tug.org/tetex" class="url" ><span
class="ec-lmtt-10">http://tug.org/tetex</span></a></span>). As a result, there was been a surge of interest in <span class="TEX">T<span
class="E">E</span>X</span> Live, especially among
GNU/Linux distributors. (There is a new <span
class="ec-lmtt-10">tetex </span>installation scheme in <span class="TEX">T<span
class="E">E</span>X</span> Live, which provides
an approximate equivalent.) We hope this will eventually translate to improvements in the
<span class="TEX">T<span
class="E">E</span>X</span> environment for everyone.
<!--l. 3228--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">10.3 </span> <a
id="x1-7100010.3"></a>Future</h4>
<!--l. 3230--><p class="noindent" ><span class="TEX"><span
class="ec-lmri-10">T</span><span
class="E"><span
class="ec-lmri-10">E</span></span><span
class="ec-lmri-10">X</span></span> <span
class="ec-lmri-10">Live is not perfect! </span>(And never will be.) We intend to continue to release new versions, and would
like to provide more help material, more utilities, more installation programs, and (of course) an
ever-improved and checked tree of macros and fonts. This work is all done by hard-pressed volunteers in
their limited spare time, and a great deal remains to be done. If you can help, don’t hesitate to put your
name forward!
<!--l. 3238--><p class="indent" > Please send corrections, suggestions, and offers of help to:
<div class="quote">
<!--l. 3240--><p class="noindent" ><a
href="mailto:tex-live@tug.org" ><span class="path"><span
class="ec-lmtt-10">tex-live@tug.org</span></span></a>
<br class="newline" /><span class="obeylines-h"><a
href="http://tug.org/texlive" class="url" ><span
class="ec-lmtt-10">http://tug.org/texlive</span></a></span></div>
<!--l. 3245--><p class="noindent" ><span
class="ec-lmro-10">Happy </span><span class="TEX"><span
class="ec-lmro-10">T</span><span
class="E"><span
class="ec-lmro-10">E</span></span><span
class="ec-lmro-10">X</span></span><span
class="ec-lmro-10">ing!</span>
<div class="footnotes"><!--l. 1342--><p class="indent" > <span class="footnote-mark"><a
href="#fn1x0-bk" id="fn1x0"><sup class="textsuperscript">1</sup></a></span><span
class="ec-lmr-8">Not free, that is, in the sense of freedom to modify and redistribute, following free software guidelines. This does</span>
<span
class="ec-lmr-8">not mean you can’t acquire them for no money.</span> </div>
</body></html>
|