aboutsummaryrefslogtreecommitdiff
path: root/contrib/groff/ChangeLog
blob: e9b435aafa043d1f69fdec422110543eaef8cc84 (plain) (blame)
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
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
Version 1.17 released
=====================

2001-04-17  Werner LEMBERG  <wl@gnu.org>

	* tmac/Makefile.sub (install-data): mdoc.local-s is in current
	directory, not in $(srcdir).

2001-04-16  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: More info on conditionals.

2001-04-15  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Added some info about groff internals.

	* src/roff/troff/node.cc (make_glyph_node): Emit warning message
	about missing special character only if the name is non-null.

2001-04-14  Werner LEMBERG  <wl@gnu.org>

	Removing the grohtml-old device driver which is now obsolete.

	* src/devices/grohtml-old/*: Removed.
	* font/devhtml-old/*: Removed.
	* src/libgroff/htmlindicate.cc (graphic_start, graphic_end): Remove
	comments.
	* Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
	* test-groff (PATH): Updated.
	* tmac/Makefile.sub (NORMALFILES): Updated.
	* tmac/an-old.tmac: Remove special code for html-old device.
	Replace `html-or-html-old' register with `an-html'.
	* tmac/eqnrc: Updated.
	* tmac/html-old.tmac: Removed.
	* tmac/troffrc, tmac/troffrc-end: Updated.
	* tmac/www.tmac: Remove special code for html-old device.
	Replace `html-or-html-old' register with `www-html'.

	* src/libgroff/tmpfile.cc (remove_tmp_files),
	src/libgroff/htmlindicate.cc (graphic_end), include/htmlindicate.h,
	src/preproc/grn/*.cc, src/roff/groff/env.{cc,h}: Remove `void'
	parameter if used as a single argument for consistency with rest of
	source code.

	* aclocal.m4, tmac/an-old.tmac: Fix copyright.

2001-04-13  Ruslan Ermilov  <ru@FreeBSD.org>

	* src/roff/troff/troff.man: Fixing typos.

2001-04-13  Werner LEMBERG  <wl@gnu.org>

	* doc/pic.ms: Fixing many font switches.
	* doc/groff.texinfo: Fixes, additions.
	* MORE.STUFF: Updated.

2001-04-12  Gaius Mulley <gaius@glam.ac.uk>

	* src/devices/grohtml/grohtml.man: Updated manual page regarding
	simple anchor.
	* src/preproc/html/pre-html.cc (createImage): Fixed right hand
	cropping of images.
	(removeTempFiles): New function to tidy up temporary files.
	* src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'.
	Many fixes to do with the new inline suppress node and image regions
	are much tighter.
	* src/devices/grohtml/post-html.cc: New method `is_auto_img'.
	(generate_img_src): New function.
	(html_printer::do_auto_image): Utilizes it.
	(do_heading, do_title): Include inline images within their contents.
	(html_printer::begin_page): Tidied up comments that are issued to
	the html output file.
	(html_printer::do_fill): Fixed so that `.nf' works with fonts other
	than courier.
	(text_glob::is_br): New method used by do_heading.
	* tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its
	equivalent diversion.
	* src/include/html-strings.h: Altered image tags to reflect the
	inline image node.
	* src/include/htmlindicate.h (html_end_suppress): Added `is_inline'
	parameter.
	* src/preproc/eqn/main.cc: Will suppress generation of image tags if
	it is already inside a pic image.  Only emit tags if the argument
	`-Tps:html' is present.
	* src/preproc/tbl/main.cc: Changes to reflect additional
	`html_end_suppress' parameter.
	* src/roff/troff/env.cc: Only emit eol tag if a node has been
	emitted since the last eol tag was written.
	* src/roff/troff/env.h: New boolean `emitted_node'.
	* src/roff/troff/input.cc (do_suppress): Handles extra suppress
	nodes \O3, \O4, \O5.  No longer use `output_low_mark_miny'.
	* src/roff/troff/node.cc (check_charinfo): New method. 
	(troff_output_file::determine_line_limits): Alterations to limit
	checking.
	* tmac/www.tmac: Changes to reflect new suppress nodes.
	  
2001-04-12  Bruno Haible  <haible@clisp.cons.org>

	* src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf):
	Escape the html_glyph in the buffer.
	(str_translate_to_html): Output the unescaped escaped_char.
	* src/devices/grohtml/html-text.cc (issue_table_begin): Set
	`frame=void', not `frame=none'.  Add `border=0'.

2001-04-12  Ruslan Ermilov  <ru@FreeBSD.org>

	* contrib/mm/groff_mm.man: Fixing some typos.

2001-04-12  Werner LEMBERG  <wl@gnu.org>

	* PROBLEMS: Add some words on how to avoid wrapper macros.

2001-04-11  Blake McBride  <blake@florida-software.com>

	* src/include/nonposix.h (fileno) [_MSC_VER]: Removed.

2001-04-11  Werner LEMBERG  <wl@gnu.org>

	* font/devlbp/Makefile.sub (CLEANADD): Set it.
	* tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
	* Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
	* Makefile.sub (DISTCLEANFILES): Here.

	* libs/libgroff/new.cc: Include `nonposix.h'.
	* win32-diffs: Updated.

2001-04-10  Ruslan Ermilov  <ru@FreeBSD.org>

	Added skeleton macro for defunct macros.

	Updated documentation.

	When inside displays, an empty input line warning should be
	suppressed.  If another macro call is put inside a display,
	all subsequent empty lines found in that display caused a
	warning to be emitted.

	* tmac/doc.tmac (doc-defunct-macro): New macro.
	(Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
	(doc-restore-global-vars): Fixed typo.
	(doc-empty-line): Check the `doc-display-depth' register to
	determine whether we are inside display or not.

	* tmac/doc-common: Removed `Or' and `Sf' registers.
	Moved obsolete `Ds' macro to doc.tmac.

	* tmac/groff_mdoc.man: Bump document date.
	Document `.Vt' under ``Variable Types''.
	Removed documentation for obsolete `.Or' macro.

2001-04-10  Werner LEMBERG  <wl@gnu.org>

	* NEWS: Updated.
	* doc/groff.texinfo: Many fixes, additions, clarifications, etc.

2001-04-10  Bruno Haible  <haible@clisp.cons.org>

	* src/devices/grodvi/dvi.cc (main): Accept --help and --version.
	(usage): Add stream argument. Don't exit.
	* src/devices/grohtml/post-html.cc (main): Accept --help and --version.
	Write --version output to stdout, not stderr.
	(usage): Add stream argument. Don't exit.
	* src/devices/grohtml-old/html.cc (main): Accept --help and --version.
	(usage): Add stream argument. Don't exit.
	* src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
	constants.
	(usage): Add stream argument. Don't exit.
	(main): Write --help output to stdout, not stderr.
	* src/devices/grolj4/lj4.cc (main): Accept --help and --version.
	(usage): Add stream argument. Don't exit.
	* src/devices/grops/ps.cc (main): Accept --help and --version.
	(usage): Add stream argument. Don't exit.
	* src/devices/grotty/tty.cc (main): Accept --help and --version.
	(usage): Add stream argument. Don't exit.
	* src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
	(main): Accept --help and --version.
	* src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
	(main): Accept --help and --version.
	* src/preproc/html/pre-html.cc (usage): Add stream argument.
	(scanArguments): Accept --help and --version.
	* src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
	(main): Accept --help and --version.
	* src/preproc/refer/refer.cc (main): Accept --help and --version.
	(usage): Add stream argument. Don't exit.
	* src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
	exit.
	(main): Accept --help and --version.
	* src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
	(main): Accept --help and --version.
	* src/roff/groff/groff.cc (main): Accept --help and --version.
	(synopsis): Add stream argument.
	(help): Write --help output to stdout, not stderr.
	(usage): Add stream argument. Don't exit.
	* src/roff/grog/grog.pl: Accept --help and --version.
	(help): New sub.
	* src/roff/grog/grog.sh: Accept --help and --version.
	* src/roff/nroff/nroff.sh: Accept --help and --version.
	* src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
	(usage): Add stream argument. Don't exit.
	(main): Accept --help and --version.
	* src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
	(usage): New function with stream argument, doesn't exit.
	* src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
	(usage): New function with stream argument, doesn't exit.
	* src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
	(usage): Add stream argument. Don't exit.
	* src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
	(main): Accept --help and --version.
	* src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
	exit.
	(main): Accept --help and --version.
	* src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
	(main): Accept --help and --version.
	* src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
	(usage): Add stream argument. Don't exit.

2001-04-10  Ruslan Ermilov  <ru@freebsd.org>

	Fix indentation in SYNOPSIS.

	Updated to include changes of latest BSD mdoc version (basically,
	the only change is that `.Fn' and `.Fc' put a final semicolon after
	a function declaration in the SYNOPSIS section).

	* tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
	(doc-in-synopsis-section): New variable.  Updated all related
	functions.
	(doc-indent-synopsis-active): New register.
	(Nd, Fn, Fo): Use it.
	(Cd): It requires manipulation of \n[doc-indent-synopsis] so that
	`.Cd' with long argument line produces indented wrapped lines. 
	Also, the misplaced `.nop \*[doc-Nm-font]\c'' caused extra
	undesirable line break to be output.
	(doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
	`.rs'.
	(Fn, Fc): Add final `;' to output.
	(doc-save-global-vars, doc-restore-global-vars): Updated.
	* tmac/doc-common: Remove `Ex' register.
	Updated.
	* tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
	copyright.

2001-04-06  Ruslan Ermilov  <ru@freebsd.org>

	* tmac/doc.tmac (Cd): Simplify code.
	* tmac/groff_mdoc.man: Document some behaviour of `Cd' request.

2001-04-06  Werner Lemberg  <wl@gnu.org>

	Implement continuous underlining for nroff mode.  To do that, a new
	request in the ditroff language has been added: `x u N' (N is 0
	or 1).

	\X and \Y are now transparent to end-of-sentence recognition.

	* src/include/printer.h (printer): Add `type' parameter to `special'
	method.
	* src/libs/libdriver/printer.cc (printer::special): Updated.
	* src/libs/libdriver/input.cc (do_file): Handle `x u N'.

	* src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
	specials of type `p'.
	* src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
	* src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
	* src/devices/grops/ps.cc (ps_printer::special): Ditto.
	* src/devices/grotty/tty.cc: Add new enum CU_MODE.
	(glyph::order): New method.
	(tty_printer::add_char): Use it.
	(tty_printer::special): New method.
	(tty_printer::end_page): Implement it.

	* src/roff/troff/node.h (special_node): Add `no_init_string' member.
	* src/roff/troff/node.cc (special_node::special_node): Add parameter
	to set `no_init_string'.
	(special_node::tprint_start): Use it.
	(special_node::same, special_node::copy): Updated.
	(special_node::ends_sentence): New method.
	(troff_output_file::start_special): Add parameter to include
	inititialization of special conditionally.

	* src/roff/troff/env.h (environment): New member `underline_spaces'.
	* src/roff/troff/env.cc (do_underline_special): New function.
	(environment::set_font): Use it.
	(do_underline): Use it.  This was `underline()'.
	(underline): Call `do_underline()'.
	(continuous_underline): New function which calls `do_underline()'.
	(environment::newline): Use `do_underline_special()'.
	(init_env_requests): Updated.

	* NEWS, man/troff_out.man: Updated.

2001-04-06  Bruno Haible  <haible@clisp.cons.org>

	* font/devutf8/R.proto: Fix code of 'shc'.

2001-04-06  Ruslan Ermilov  <ru@freebsd.org>

	Many fixes.  Diag lists can now be nested also; additionally,
	`-compact' and `-offset' are supported.

	* tmac/doc.tmac (doc-have-indent): Replaced with ...
	(doc-list-have-indent-stackXXX): A new register stack.
	(doc-have-diag-list): Removed.
	(Bl): Use `doc-list-have-indent-stackXXX'.
	(El): Updated.
	(doc-diag-list): Use `doc-compact-list-stackXXX'.
	(doc-tag-list): Use `doc-list-have-indent-stackXXX'.
	(doc-set-vertical-and-indent): Ditto.
	(doc-next-list-depth): Removed.
	(doc-increment-list-stack): Updated.
	(doc-decrement-list-stack): Use `doc-list-depth' instead of
	`doc-next-list-depth'.
	(doc-end-list, doc-end-column-list): Don't use
	`doc-increment-list-stack'.
	(doc-set-column-tab): Don't use `doc-list-offset-stackXXX'.
	(doc-save-global-vars, doc-restore-global-vars): Updated.
	* tmac/doc-common: Updated.
	* tmac/groff_mdoc.man: Updated.
	* NEWS: Fix typo.

2001-04-02  Werner LEMBERG  <wl@gnu.org>

	* src/devices/grotty/grotty.man: Fix grammatical error.

2001-03-30  Ruslan Ermilov  <ru@freebsd.org>

	Remove .Ld from mdoc package; replace it with special handling of
	`...'.

	* tmac/doc-common: Remove `Ld' register.
	Uncomment `doc-volume-ds-*' strings.
	Remove `doc-operating-system-default'.
	(Os): Updated.
	* tmac/doc-syms (Ld): Removed.
	* tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
	`...' specially.
	* NEWS: Updated.

	* tmac/groff_mdoc.man: Many fixes and updates.

2001-03-29  Werner LEMBERG  <wl@gnu.org>

	* tmac/troffrc-end: Protect data with `.do'.  Reported by T. Kurt
	Bond <tkb@tkb.mpl.com>.
	* tmac/www.tmac: Save compatibility mode.

2001-03-28  Ruslan Ermilov  <ru@freebsd.org>

	* tmac/groff_mdoc.man: Many fixes.

2001-03-28  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/soelim/soelim.man: Document that `.<whitespace>so'
	isn't recognized.

2001-03-27  Werner LEMBERG  <wl@gnu.org>

	* tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
	diversion.  This fixes overlong tags.

2001-03-26  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Fixed and improved documentation of fonts.
	* tmac/doc-syms: Fix error messages.
	* tmac/an-old.tmac: Remove incorrect double backslashes.

2001-03-24  Ruslan Ermilov  <ru@freebsd.org>

	* tmac/Makefile.sub: Strip mdoc.local also
	* tmac/strip.sed: Fixed.

2001-03-24  Werner LEMBERG  <wl@gnu.org>

	* tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
	selecting the font size.
	* tmac/groff_mdoc.man, NEWS: Document it.

2001-03-23  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/div.cc (save_vertical_space): Add default argument
	to `sv' request.
	* src/roff/troff/env.cc (family_change): Make `.fam' accept no
	argument to restore previous font family.
	* src/roff/troff/troff.man, man/groff.man, NEWS: Updated.

	* doc/groff.texinfo: More fixes and additions (mainly for font
	manipulating commands).

	* tmac/groff_mdoc.reference.man: Small updates and renamed to ...
	* tmac/groff_mdoc.man: This.  The quick reference has been removed.
	* tmac/Makefile.sub, NEWS: Updated.

2001-03-23  Werner LEMBERG  <wl@gnu.org>

	Replaced mdoc implementation.  The new version is `state of the
	art', using almost all new features of groff 1.17 -- it won't run
	with older versions.

	* tmac/doc.tmac: Completely rewritten.
	* tmac/doc-common: Ditto.
	* tmac/doc-nroff: Ditto.
	* tmac/doc-ditroff: Ditto.
	* tmac/doc-syms: Ditto.
	* tmac/mdoc.local: New file.
	* tmac/groff_mdoc.samples.man: Replaced with ...
	* tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
	* tmac/strip.sed: Updated.
	* tmac/Makefile.sub: Updated.
	* INSTALL: Updated.

	* tmac/groff_man.man: Add `man.local' to the FILES section.

2001-03-22  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Added many @noindent.
	Replaced @end_Example -> @endExample.
	Added info whether registers are r/o.
	Many other additions and fixes.

2001-03-21  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Added macro @Var (and some hacks due to bugs
	in makeinfo of texinfo 4.0) to be used in @Def* macros.
	Improved @Def* macros: Now the exact syntax of request, register,
	and escapes is shown.
	Added macros for parentheses and brackets to be used in @Def*.
	Many fixes and improvements of the documentation.

2001-03-20  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Added new index: `st' (for strings).
	Added macros @Defstr(x).
	Added macro @Example (adding @group).
	Other minor improvements.

2001-03-19  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Added two new indices: `es' (for escapes) and
	`rq' for requests.  `fn' is no longer used.
	Added macros @Defreq(x), @Defreg(x), and @Defesc(x).
	Removed @Deffn(x).

	* tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page
	number with name of man page.

2001-03-19  Larry Kollar  <kollar@alltel.net>

	* doc/groff.texinfo: Complete revision.  Added many @Deffn to gain
	consistency.

2001-03-19  Werner LEMBERG  <wl@gnu.org>

	* man/groff_font.man: Document `prepro', `postpro', and `print'.
	* src/roff/groff/groff.man: Improve documentation of `-l' and `-L'.
	* src/devices/grohtml/grohtml.man: Fixing typos.

2001-03-19  Gaius Mulley  <gaius@glam.ac.uk>

	* tmac/s.tmac (@IP): Pass `.ip' html tag.
	* tmac/groff_mwww.man: Remove .LINE macro
	* tmac/www.tmac (LINE): Add `.ti'.

	* src/devices/grohtml/post-html.cc (html_printer): New member
	`indent'.
	(html_printer::emit_raw): Use it.
	(html_printer::do_linelength): Ditto.
	(html_printer::do_pageoffset): Ditto.
	(html_printer::do_indentation): Ditto.
	(html_printer::do_tempindent): Ditto.
	(html_printer::do_break): Ditto.
	(html_printer::begin_page): Ditto.
	(html_printer::do_indentedparagraph): New function.
	(html_printer::troff_tag): Handle `.ip'.
	* src/devices/grohtml/html-text.cc (html_text::issue_table_begin):
	Add `<td width=...>' handling.
	(html_text::do_table): Add parameter.
	(html_text::do_indent): Updated.
	* src/devices/groohtml/html-text.h: Updated.

2001-03-16  Gaius Mulley  <gaius@glam.ac.uk>

	Introduced simple html tables to implement indentation.

	* src/devices/grohtml/html.h (word, word_list): New structures.
	(simple_output): Use it.
	* src/devices/grohtml/post-html.cc: Add `INDENTATION'.
	(html_printer): Improve indentation handling.
	(html_printer::emit_raw): Set `in_table' element.  Handle
	indentation if set.
	(html_printer::write_header): Move conditional downwards.
	Don't allow whitespace in tags.
	(html_printer::do_linelength): Handle line length and indentation
	conditionally.
	(html_printer::do_pageoffset): Handle indentation conditionally.
	(html_printer::do_indentation): Ditto.
	(html_printer::do_tempindent): New function member.
	(html_printer::do_fill): Take care of indentation.
	(html_printer::do_flush): Finish table.
	(html_printer::do_links): Ditto.
	(html_printer::do_break): New function for handling `.br' and `.ti'.
	(html_printer::troff_tag): Use it.
	Handle `.ti'.
	(html_printer::flush_globs): Fix.
	(html_printer::flush_page): Finish table.
	(html_printer::html_printer): Fix error message.  Set up
	`linelength'.
	(html_printer::add_to_sbuf): Remove special handling of character
	code 255.
	(to_unicode): Remove `stop()'.
	(html_printer::write_title): Cleanup.
	(html_printer::begin_page): Use `put_string()'.  Handle indentation.
	(html_printer::~html_printer): Flush text and end the line.
	Use `put_string()'.
	* src/devices/grohtml/html_text.h: Add more *_TAG enum values.
	* src/devices/grohtml/html_text.cc (html_text::end_tag): Fix
	emission of tags.
	(html_text::start_tag): Disable newlines.
	(html_text::table_is_void): New function.
	(html_text::issue_table_begin): Ditto.
	(html_text::issue_table_end): Ditto.
	(html_text::push_para): Better table handling.
	(html_text::do_indent): New function.
	(html_text::do_table): Ditto.
	(html_text::done_table): Ditto.
	(html_text::do_tt): Handle PRE_TAG.
	(html_text::is_in_table): New function.
	(html_text::check_emit_text): Handle tables.
	(html_text::do_emittext): Use `nl()'.
	(html_text::do_para): Handle table.
	(html_text::remove_def): New function.
	* src/devices/grohtml/output.cc (word, word_list): Implement
	methods.
	(simple_output::end_line): Flush last word.
	(simple_output::simple_comment): Ditto.
	(simple_output::begin_comment): Recoded.
	(simple_output::end_comment): Ditto.
	(simple_output::comment_arg): Removed.
	(simple_output::check_newline): Improve test and flush last word.
	(simple_output::space_or_newline): Improved.
	(simple_output::write_newline): Replaced with...
	(simple_output::nl): This.
	(simple_output::put_raw_char): Flush last word.
	(simple_output::check_space): Removed.
	(simple_output::put_translated_string): Ditto.
	(simple_output::put_string): Simplified.
	(simple_output::put_number): Updated.
	(simple_output::put_float): Ditto.
	(simple_output::put_symbol): Removed.
	(simple_output::enable_newlines): Add `check_newline()'.
	(simple_output::flush_last_word): New function.

	* src/roff/troff/enc.cc (no_fill): Remove call to add_html_tag().
	* src/roff/troff/div.cc (page_offset): Add call to add_html_tag().

	* tmac/s.tmac (@PP, @IP): Add html conditional code.
	* tmac/an-old.tmac (TP): Ditto.

2001-03-09  Ruslan Ermilov  <ru@freebsd.org>

	* mdate.sh: Make it POSIX compliant.

2001-03-09  Werner LEMBERG  <wl@gnu.org>

	Added the `return' request to end a macro immediately.  It simply
	pops iterators from the input stack until a macro iterator is found.

	* src/roff/troff/input.cc (input_iterator::is_macro,
	macro_iterator::is_macro): New member.
	(input_return_boundary): New class to signal an immediate return
	to while_request().
	(input_stack::add_return_boundary, input_stack::is_return_boundary):
	New functions.
	(input_stack::clear): Use it.
	(input_stack::pop_macro): New function.
	(while_request): Use `is_return_boundary()'.
	(return_macro_request): New function.
	(init_input_requests): Use it.

	* src/roff/troff/TODO: Updated.
	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

2001-03-08  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/input.cc (input_iterator::is_boundary): Minor
	cleanup.

2001-03-07  Werner LEMBERG  <wl@gnu.org>

	Make `\B' more rigid.

	* src/roff/troff/number.cc (parse_expr, parse_term): Add `rigid'
	parameter.
	(get_number_rigidly): New function.
	* src/roff/troff/input.cc (do_expr_test): Use it.
	* src/roff/troff/token.h: Updated.

	* src/roff/troff/request.h: Fix typo (init_html_request ->
	init_markup_request).

2001-03-04  Gaius Mulley  <gaius@glam.ac.uk>

	Fixed grohtml handling of any named glyph for glyph indexes < 0x80. 
	Cosmetic changes to `.html-begin', `.html-end', `.html-image' which
	are now `.begin', `.end', `.image'.

	* src/devices/grohtml/post-html.cc: Adding UNICODE_DESC_START.
	(html_printer::add_to_sbuf): Changing type of `code' parameter.
	Use add_char_to_sbuf().
	(to_unicode): New function.
	(char_translate_to_html): Changing type of `ch' parameter.
	Use `to_unicode()'.
	(html_printer::~html_printer): Comment out doctype string.
	* src/preproc/html/pre-html.cc (write_end_image): Use `.end'
	instead of `.html-end'.
	(write_start_image): Use `.begin' and `.image' instead of
	`.html-begin' and `.html-image'.
	* src/roff/troff/input.cc: Rename `html_level' to `begin_level'.
	(html_begin): Renamed to ...
	(begin): This.
	(html_end): Renamed to ...
	(end): This.
	(html_image): Renamed to ...
	(image): This.
	(init_html_requests): Renamed to ...
	(init_markup_requests): This.
	* tmac/www.tmac: Updated.

2001-02-28  Bram  <bram@avontuur.org>

	* src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
	constructor.

2001-02-26  David Leonard  <david.leonard@csee.uq.edu.au>

	* doc/meref.me: Fixing some typos.

2001-02-16  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/node.cc (space_node::get_hyphenation_type): New
	method.  Return `HYPHEN_MIDDLE' if it was `\:'.
	* src/roff/troff/node.h: Updated.

2001-02-17  Ruslan Ermilov  <ru@FreeBSD.org>

	* tmac/groff_tmac.man: Fix typo.

2001-02-16  Werner LEMBERG  <wl@gnu.org>

	Fixing a bug which prevented proper end-of-sentence recognition
	between an `unformatted' box and the following text.  As a
	consequence, vertical line distances are no longer preserved in
	boxes after a call to `.unformat' -- because boxes aren't
	line-oriented (contrary to diversions), this doesn't make sense
	anyway.

	* src/roff/troff/node.cc (*node::set_unformat_flag): Add return
	value.
	(vertical_size_node::set_unformat_flag): New method.
	* src/roff/troff/node.hh: Updated.
	* src/roff/troff/input.cc (word_space_node::reread,
	hmotion_node::reread): Reset `unformat' flag after usage.
	(unformat_macro): Append only if `set_unformat_flag()' returns
	non-zero.
	* src/roff/troff/troff.man: Updated.

2001-02-15  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/troff.man, NEWS, man/groff.man: Improved
	documentation of `asciify' and `unformat' requests.

2001-02-13  Werner LEMBERG  <wl@gnu.org>

	Redesigned the `unformat' request.  It is no longer connected with
	`asciify' but rather uses new `reread()' methods if the `unformat'
	flag is set.  Additionally, the handling of space characters after
	unformatting has been fixed so that they retain their width.

	* src/roff/troff/node.h (width_list): New structure to store
	original widths of spaces.
	(node): Added `unformat' member.
	Replaced `num_spaces' variable with `orig_width' list.
	* src/roff/troff/node.cc (*node::asciify,
	asciify_reverse_node_list): Removed `unformat_only' flag and related
	code.
	(word_space_node::asciify, word_space_node::word_space_node): Use
	`orig_width'.
	(word_space_node::~word_space_node): New destructor.
	(word_space_node::copy): Updated to handle `orig_width'.
	(hmotion_node::copy, unbreakable_space_node::copy): Updated.
	(*node::merge_space): Update `orig_width' list if necessary.
	(*node::set_unformat_flag): New methods to set the `unformat' flag.
	* src/roff/troff/enc.cc (environment::space_newline): Use
	`width_list'.
	(environment::space): Added method to handle space width and
	sentence space width as parameters.  Use `width_list'.
	(environment::make_tab_node): Updated.
	* src/roff/troff/env.h: Updated.
	* src/roff/troff/input.cc (word_space_node::reread,
	unbreakable_space_node::reread, hmotion_node::reread): New methods
	to handle nodes specially if `unformat' flag is set.
	(do_asciify_macro): Renamed back to ...
	(asciify_macro): This.
	(unformat_macro): New implementation to simply set the `unformat'
	flag.

	* MORE.STUFF: Added more info about deroff.

2001-02-08  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
	space_char_hmotion_node, overstrike_node): Add `get_hyphen_list()'
	and `add_self()' methods to avoid hyphenation.  For example, the
	hyphen list for `foo\0\0bar' was `foobar', causing insertion of a
	soft hyphen after `foo'.  Now the hyphen list is correctly
	`foo<ignore><ignore>bar'.

2001-02-05  Yoshiteru Kageyama  <yt-kage@cb3.so-net.ne.jp>

	* tmac/groff_tmac.man: Fix `BIR' macro.

2001-02-04  Werner LEMBERG  <wl@gnu.org>

	A new escape sequence `\:', inserting a zero-width break point.

	* src/roff/troff/input.h: Adding `ESCAPE_COLON'.
	* src/roff/troff/input.cc (get_copy, token::next, asciify):
	Implement it.
	* src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
	method.
	(space_node): Add `was_escape_colon' member.  Add `is_escape_colon()'
	and `asciify()' methods.
	* src/roff/troff/node.cc (space_node::space_node): Updated.
	(space_node::asciify): Handle `was_escape_colon'.
	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

	Handle `\~' similar to other comparable requests.

	* src/roff/troff/input.cc (process_input_stack): Remove now obsolete
	label.
	(token::next): Move creation of an unbreakable_space_node to...
	(token::add_to_node_list): Here.

	Fix a bug which sometimes prevented hyphenation of words connected
	with `\~' or `\ ' (and other escape sequences handled as
	TOKEN_NODE).  This also fixes a hyphenation problem with boxes
	(after a call to the `unformat' request).

	* src/roff/troff/env.h (environment::possibly_break_line,
	environment::hyphenate_line): Introducing `start_here' parameter.
	* src/roff/troff/env.cc (environment::space_newline,
	environment::space): Use it.
	(environment::possibly_break_line, environment::hyphenate_line):
	Implement it.
	* src/roff/troff/input.cc (process_input_stack): Use it.
	* src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
	space_char_hmotion_node, overstrike_node): Add
	`get_hyphenation_type()' method.
	* src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
	if `unformat_only' is active.

2001-01-30  Werner LEMBERG  <wl@gnu.org>

	Implemented new read-only number register `.linetabs' which
	returns 1 if in line-tabs mode, 0 otherwise.

	* src/roff/troff/env.h (environment): Add get_line_tabs() member.
	* src/roff/troff/env.cc (get_line_tabs): New function.
	(init_env_requests): Use it.
	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

	* VERSION, REVISION: Changing to 1.17.0.

2001-01-28  Werner LEMBERG  <wl@gnu.org>

	Fixed a bug which prevented hyphenation of words which are finished
	with `\)'.

	* src/roff/troff/token.h (token): Add enum type
	`TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'.
	* src/roff/troff/input.cc (token::next, token::description,
	get_line_arg, token::add_to_node_list, token::process): Use it.

2001-01-27  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'.
	* src/roff/troff/div.cc (do_divert): Use it.

	* src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.

2001-01-25  Werner LEMBERG  <wl@gnu.org>

	Adding the `linetabs' request.  If set, tab distances are not
	computed relative to the input line but relative to the output line.

	* src/roff/troff/env.h (environment): New member `line_tabs'.
	* src/roff/troff/env.cc (line_tabs_request): Implement request.
	(environment::environment, environment::copy): Updated.
	(environment::distance_to_next_tab): Use `line_tabs'.
	(init_env_requests): Register request.
	* src/roff/troff/troff.man, man/groff.man, NEWS: Document it.  Other
	fixes.

2001-01-24  Werner LEMBERG  <wl@gnu.org>

	Introducing a new read-only register `.int' which is set to a
	positive value if the last output line is interrupted (i.e., if it
	contains `\c').

	* src/roff/troff/env.cc (init_env_requests): Add it.
	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

2001-01-23  Gaius Mulley  <gaius@glam.ac.uk>

	* tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
	* src/preproc/html/pre-html.cc (findPrefix): New function which
	generates the troff executable name via the system prefix.
	* src/preproc/eqn/main.cc: Modified warning message.

2001-01-23  Werner LEMBERG  <wl@gnu.org>

	troff's `box' and `boxa' requests didn't preserve temporary
	indentation.

	* src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
	`saved_target_text_length' members.
	* src/roff/troff/div.cc (do_divert): Use them.

	Tabs (but not yet leaders and fields) are now handled correctly by
	`asciify' request.

	* node.h (hmotion_node): Add field `was_tab'.
	* env.cc (environment::make_tab_node): Set it.
	* node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.

	Added new request `unformat' which will, contrary to `asciify',
	preserve font information after unformatting (i.e., only nodes
	dealing with horizontal space are converted back to input
	characters).

	* input.cc (asciify_macro): Renamed to ...
	(do_asciify_macro): this, having a new parameter `unformat_only'.
	(asciify_macro, unformat_macro): New; using do_asciify_macro.
	(init_input_requests): Added `unformat'.
	* node.cc (*_node::asciify), asciify_reverse_node_list: Added
	parameter to control asciification process.
	* node.h (*_node::asciify): Ditto.
	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

2001-01-20  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Minor improvement of `.in' documentation.

2001-01-18  Werner LEMBERG  <wl@gnu.org>

	* tmac/ps.tmac: Remove call of psold.tmac.
	* tmac/psold.tmac: Comment updated.
	* tmac/psnew.tmac: Removed since no longer needed.
	* tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.

	* font/devutf8/R.proto: Adding `shc' glyph.
	* font/devutf8/NOTES: Updated.

	* test-groff: Updated.

2001-01-15  Gaius Mulley  <gaius@glam.ac.uk>

	First cut of the new html device driver.  Changes to pre-html and
	the new grohtml are too numerous to be documented here.

	Stuff related to `html' has been renamed to `html-old' and `html2'
	stuff has been renamed to `html' (including directories).  The new
	html device driver is therefore invoked as `-Thtml'.

	Added new `\O' escape to suppress output (needed by html driver).

	Added functions and code to pass info about input-level commands
	(`.in', `.fl', etc.) to html driver.

	Three new functions (.html-begin, .html-end, and .html-image) for
	better html handling: `html-begin' will execute the remaining line
	if at the outermost nesting level, increasing an internal counter.
	`html-end' does the same but decreases the internal counter.
	`html_image' puts its arguments into a special node (suppress_node)
	to define an image region.

	The `output' request has been removed.

	* tmac/html-tags.tmac: Removed.
	* tmac/arkup.tmac: Updated and renamed to ...
	* tmac/www.tmac: New file.
	* tmac/markup.tmac Updated and renamed to ...
	* tmac/mwww.tmac: New file.
	* tmac/Makefile.sub: Updated.
	* tmac/an-old.tmac: Updated.
	* tmac/eqnrc: Updated.
	* tmac/groff_man.man
	* tmac/groff_markup.man: Updated and renamed to ...
	* tmac/groff_mwww.man: New file.
	* tmac/groff_tmac.man: Updated.
	* tmac/html-old.tmac: Updated and Renamed from html.tmac.
	* tmac/html.tmac: Updated and renamed from html2.tmac.
	* tmac/pspic.tmac: Updated html support.
	* tmac/s.tmac: Added html output support.
	* tmac/troffrc, tmac/troffrc-end: Updated.

	* Makefile.in, doc/Makefile: Updated.
	* doc/groff.texinfo: Added info about new `\O' escape.
	* doc/homepage.ms: Use `MAILTO' macro.

	* font/devhtml/DESC.proto: Add `C' font.
	* font/devhtml/Makefile.sub: Updated.
	* font/devhtml/R.proto: Minor fixes.
	* font/devhtml-old/Makefile.sub: Updated.

	* src/devices/grohtml-old/Makefile.sub: Updated.

	* src/libs/libdriver/printer.cc (printer::get_font_from_index): New
	method.
	* src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
	graphic_start): Add `inline' parameter.  Update.
	(html_end_suppress, graphic_end): Update.

	* src/include/html-strings.h: New file.
	* src/include/htmlindicate.h: Comments updated.
	* src/include/printer.h: Updated.

	* src/preproc/eqn/main.cc (do_file, main): Updated.
	* src/preproc/pic/troff.cc (troff_output::start_picture,
	troff_output::finish_picture): Updated.
	* src/preproc/tbl/main.cc (process_input_file): Updated.

	* src/roff/groff/groff.cc (main): Updated.
	Pass device arguments to predrivers also.
	Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
	* src/roff/troff/env.h (environment): Updated.
	New elements `need_eol' and `ignore_next_eol' (for html output).
	* src/roff/troff/env.cc (environment::environment): Add initializers
	for `need_eol' and `ignore_next_eol'.
	(environment::add_html_tag_eol, environment::add_html_tag_tabs): New
	functions.
	(point_size, fill, no_fill, center, right_justify, line_length,
	indent, temporary_indent, break_request, handle_tab): Use
	`add_html_tag()'.
	(set_tabs): Use `add_html_tag_tabs()'.
	(environment::add_html_tag): Updated.
	(environment::do_break): Updated.
	* src/roff/troff/div.cc (space_request, flush_output): Use
	`environment::add_html_tag()'.
	* src/roff/troff/input.cc: Updated.
	New variable `html_level' to indicate nested `html-begin' requests.
	(file_iterator::fill): Use `environment::add_html_tag_eol()'.
	(non_interpreted_char_node, token_node, non_interpreted_node): Add
	`force_tprint()' method.
	(token::next): Handle `\O'.
	(do_suppress): Implement it.
	(html_begin, html_end, html_image): New functions.
	(init_output_requests): Renamed to ...
	(init_html_requests): this.
	(main): Use it.
	(macro::append_str, macro::append_unsigned, macro::append_int): New
	methods.
	New variable `output_low_mark_miny' to limit minimal value of y.
	(reset_output_registers): Use it.
	(output_request): Removed.
	(get_output_registers): New function.
	* src/roff/troff/node.h (node): Make `force_tprint()' virtual.
	(*_node): Added `force_tprint()' if necessary.
	(special_node): New elements `tf' and `get_tfont()'.
	(suppress_node): New class.
	* src/roff/troff/node.cc:
	New global variables `image_no' and `suppress_start_page'.
	(real_output_file): New method `is_on()'.
	(troff_output_file): New method `start_special(tfont)'.
	(troff_output_file::really_print_line): Use `tprint' conditionally.
	(real_output_file::print_line): Updated.
	(real_output_file::on): Updated.
	(*_node): Added `force_tprint()'.
	(special_node::special_node): Initializer updated.
	(special_node::same, special_node::copy, special_node::tprint_start):
	Updated.
	(get_reg_int, get_reg_str): New functions.
	(suppress_node::*): New methods.
	New global variables last_position, last_image_filename;
	(min): New inline function.
	* src/roff/troff/reg.h, src/roff/troff/request.h,
	src/roff/troff/troff.h: Updated.

2001-01-13  Werner LEMBERG  <wl@gnu.org>

	* NEWS, src/roff/troff/troff.man, doc/groff.texinfo: Fix
	documentation of `asciify' request.

2001-01-12  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/input.cc: Move definition of special characters
	like `ESCAPE_TILDE' to ...
	* src/roff/troff/input.h: New file.
	* src/roff/troff/Makefile.sub (HDRS): Add it.

	Extending the .asciify request to `unformat' space characters also.

	* src/roff/troff/node.h (word_space_node): Add `num_spaces' element
	to count input space characters.
	Update constructors to take care of it.
	* src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use
	`ESCAPE_SPACE' instead of normal space.
	(word_space_node::asciify): New method.
	(unbreakable_space_node::asciify): New method.
	(word_space_node::merge_space): New method.
	* src/roff/troff/env.cc (environment::space_newline,
	environment::space): Add code to initialize `num_spaces' (using the
	constructor of `word_space_node').
	* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
	Document it.

2001-01-09  Werner LEMBERG  <wl@gnu.org>

	* man/groff_char.man: Use table header traps only conditionally.

2001-01-09  Bjarni Ingi Gíslason  <bjarniig@hi.is>

	* man/groff_char.man: Add `ý' and `Ý' to the `acute' group.

2001-01-08  Werner LEMBERG  <wl@gnu.org>

	Introducing the `box' and `boxa' requests which are similar to
	`di' resp. `da' but omitting a partially filled line (which is
	restored after ending the diversion).

	* src/roff/troff/div.h (diversion): Add elements to save partially
	filled line.
	* src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
	partially filled line.
	(divert, divert_append): Updated.
	(box, box_append): New functions.
	(init_div_requests): Use them.
	* src/roff/troff/env.h (environment): do_divert() is now a friend.
	* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

	* doc/groff.texinfo: Fix documentation of `lf' request.

2000-12-25  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/troff.man, NEWS: Document `writem' request.

2000-12-21  Werner LEMBERG  <wl@gnu.org>

	Ignore `ss' request if in compatibility mode.

	* src/roff/troff/input.cc: Make `compatible_flag' non-static.
	* src/roff/troff/env.h: Added extern `compatible_flag' declaration.
	* src/roff/troff/env.cc (space_size): Use it.

	* doc/groff.texinfo, src/roff/troff/troff.man: Fix documentation of
	`ss' request in nroff mode.

	* tmac/an-old.tmac: Fixed some serious bugs introduced with latest
	changes.

2000-12-15  Ruslan Ermilov  <ru@FreeBSD.org>

	* tmac/troffrc, tmac/troffrc-end: Convert tmac.* to *.tmac.

2000-12-13  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/eqn/Makefile.sub (MAN1): Added neqn.man.
	* src/preproc/eqn/neqn.man: Small fixes and additions.

2000-12-13  Ruslan Ermilov  <ru@FreeBSD.org>

	* src/utils/addftinfo/addftinfo.man, src/devices/grops/grops.man:
	Fixing typo.

	* src/preproc/eqn/neqn.man: New file.

	* src/preproc/tbl/table.cc (table::print): Fix `indent cannot be
	negative' warning.

	* tmac/e.tmac: Add `T&' macro.
	Fix `indent cannot be negative' warning.
	* tmac/s.tmac: Fix `indent cannot be negative' warning.

2000-12-07  Werner LEMBERG  <wl@gnu.org>

	* src/include/lib.h: Replaced __ALPHA with __alpha symbol.

2000-12-06  Werner LEMBERG  <wl@gnu.org>

	* PROBLEMS: Added info about adding -lPW on HP-UX to satisfy the
	`alloca' symbol .

	* MORE.STUFF: Added info about deroff for djgpp.

	* tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix
	documentation of -rcR switch.

2000-12-03  Werner LEMBERG  <wl@gnu.org>

	* tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);
	if -rcR=1 (which is now the default in nroff mode), a single, very
	long page is created instead of multiple pages: All `ne' and `wh'
	requests are put into conditionals; a new macro `an-end' is added to
	be called with `em'.

	Some other minor cleanups.

	* NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.

2000-12-02  Werner LEMBERG  <wl@gnu.org>

	Fixing a bug which prevented hyphenation in words followed
	immediately by a TOKEN_NODE (e.g. `\ ', `\~', etc.).

	* src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
	Adding possibly_break_line().
	* src/roff/troff/env.h (environment): Make possibly_break_line()
	public.

	Make `\~' usable in .tr request.

	* src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
	(token): Add stretchable_space().
	* src/roff/troff/input.cc (token::next, token::delimiter,
	token::description, process_input_stack, do_translate,
	add_to_node_list, token::process): Use it.
	* src/roff/troff/node.h (node): Add fourth parameter to add_char()
	for adjusting the space.
	* src/roff/troff/node.cc (node::add_char): Implement it.  Add code
	for stretchable space.
	* src/roff/troff/input.cc (token::add_to_node_list): Use it.
	(make_node): Add code for stretchable space.
	* src/roff/troff/env.cc (environment::add_char): Use it.
	* src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
	(get_copy, token::next, transparent_translate, asciify): Use it.

	* NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
	doc/groff.texinfo: Updated.
	* man/groff.man: Small reorderings.

2000-11-23  Werner LEMBERG  <wl@gnu.org>

	* NEWS: Fixes.
	* src/preproc/eqn/main.cc (main): Use `config_macro_path' for -M
	option.
	* src/roff/troff/input.cc (main): Add `config_macro_path' and
	`safer_macro_path' to -M option.
	* src/roff/troff/troff.man: Fixes.

2000-11-22  Werner LEMBERG  <wl@gnu.org>

	Use safer path (except for config files) if -U isn't specified.  Add
	a special macro path (without home and current directory) for config
	files.  Add home directory to unsafe path for consistency.  Don't
	include the home directory in the font path.

	* src/lib/libgroff/macropath.cc: Add `config_macro_path', change
	`macro_path'.
	* src/include/macropath.h: Add `config_macrp_path'.
	* src/lib/libgroff/fontfile.cc: Fix font path.
	* src/roff/troff/input.cc (process_startup_file): Use
	`config_macro_path'.
	(main): Select unsafe path if -U is given.

	* src/preproc/eqn/main.cc (main): Fixing search path for
	configuration file.
	* src/preproc/eqn/eqn.man: Updated.

	* src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
	Updated.

	* src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
	src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
	src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
	src/devices/grotty/grotty.man: Updated.

	* Makefile.in: Fix comments.

2000-11-17  Werner LEMBERG  <wl@gnu.org>

	* tmac/safer.tmac: Empty file added (again) for compatibility
	reasons.
	* tmac/Makefile.sub: Updated.

2000-11-16  Werner LEMBERG  <wl@gnu.org>

	* src/devices/grodvi/dvi.cc (main),
	src/devices/grohtml2/post-html.cc (main),
	src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
	(main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
	(main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
	(main), src/preproc/html2/pre-html.cc (main),
	src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
	src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
	(main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
	(main), src/utils/hpftodit/hpftodit.cc (main),
	src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc
	(main), src/utils/lookbib/lookbib.cc (main),
	src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc
	(main): Use stdout for -v.
	* src/roff/groff/groff.cc (run_commands),
	src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe'
	to make direct printing to stdout possible.
	* src/roff/groff/pipeline.h: Updated.

	* src/utils/afmtodit/afmtodit.pl: Add -v switch.
	* src/utils/afmtodit/Makefile.sub (afmtodit): Use @VERSION@.
	* src/utils/afmtodit/afmtodit.man: Updated.

	* src/utils/addftinfo/addftinfo.cc (main): Add -v switch.
	(version): New function.
	(usage): Updated.
	* src/utils/addftinfo/addftinfo.man: Updated.

	* src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*:
	Fixing copyright dates.

	* src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of
	replacing it.

	* src/devices/grolbp/lbp.cc (main): Use Version_string instead of
	version_string.

	* src/roff/nroff/Makefile.sub (nroff): Fix use of @VERSION@.

2000-11-15  Werner LEMBERG  <wl@gnu.org>

	In all programs, make -v return immediately with exit status 0 to
	be compliant with the GNU standard.

	* src/devices/grodvi/dvi.cc (main),
	src/devices/grohtml2/post-html.cc (main),
	src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
	(main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
	(main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
	(main), src/preproc/html2/pre-html.cc (main),
	src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
	src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
	(main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
	(main): Implement it.
	* NEWS: Updated.

	* src/roff/groff/groff.cc (main): Add copyright notice.  Add refer
	and postprocessors to the -v option.

	* src/roff/grog/grog.pl: Implement -v.
	* src/roff/grog/Makefile.sub (grog): Use @VERSION@.
	* src/roff/grog/grog.man, doc/groff.texinfo: Updated.

	* src/roff/nroff/nroff.sh: Implement -v.
	* src/roff/nroff/Makefile.sub (nroff): Use @VERSION@.
	* src/roff/nroff/nroff.man: Updated.
	
	* src/preproc/eqn/main.cc (main): Fix comment typo.

	* MORE.STUFF: Added info about djgpp port of grap.

2000-11-14  Werner LEMBERG  <wl@gnu.org>

	* src/roff/grog/grog.{pl,sh}: Implemented -C switch for compatibility
	mode (or rather, implemented non-compatibility mode).
	* NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.

	* src/roff/groff/groff.cc (main): Add BIN_PATH to PATH instead of
	replacing it -- we don't find gxditview otherwise.
	* NEWS, src/roff/groff/groff.man, doc/groff.texinfo: Updated.

	* src/preproc/pic/depend: Removed.  Unnecessary.

	Implemented dummy keyword `solid' in pic for compatibility with
	AT&T pic.

	* lex.cc (lookup_keyword): Added `solid'.
	* pic.y: Added SOLID with dummy rule.
	* pic.cc, pic_tab.h: Regenerated.
	* doc/pic.ms: Updated.

2000-11-13  Werner LEMBERG  <wl@gnu.org>

	For security reasons, don't use the current directory but the home
	directory while searching and scanning troffrc and troffrc-end.
	Similarly, replace the current directory with the home directory
	in the font path.

	* Makefile.in (fontpath, tmacpath): Remove current directory.

	* src/libs/libgroff/searchpath.cc (search_path::search_path): Add
	two parameters `add_home' and `add_current'.
	(search_path::~search_path, search_path::command_line_dir,
	search_path::open_file): Remove tests for `dirs' being zero.
	* src/include/searchpath.h: Adjust.
	* src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
	`safer_macro_path'.
	* src/libs/libgroff/fontfile.cc: Adjust `font_path'.

	* src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
	* src/roff/troff/input.cc: Use `mac_path', initialized with
	`macro_path'.
	(process_startup_file): Set `mac_path' to `safer_macro_path'.
	* src/roff/troff/env.cc: Use `mac_path'.

	* src/preproc/eqn/main.cc (main): Use `safer_macro_path'.

	* NEWS, man/roff.man, src/roff/troff/troff.man,
	src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
	Updated.

2000-11-12  Werner LEMBERG  <wl@gnu.org>

	* src/include/lib.h: Don't include groff-getopt.h for OSF/1.

	* aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
	* configure.in: Fix typo in comment.
	* configure: Regenerated.

	* src/libgroff/*, src/include/*, src/roff/troff/*: Fixing copyright
	dates.

2000-11-08  Werner LEMBERG  <wl@gnu.org>

	Add system tmac directory (/usr/local/lib/groff/site-tmac).

	* Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
	(uninstall_dirs): Add $(libdir), $(libprogramdir), and
	$(systemtmacdir).
	Use @libdir@.
	* Makefile.comm (.man.n): Add @SYSTEMMACRODIR@.
	* tmac/Makefile.sub (install_data): Create
	$(systemtmacdir) and $(localtmacdir).
	(uninstall_sub): Use $(systemtmacdir) for wrapper macros.
	* man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
	NEWS, doc/groff.texinfo: Updated and minor fixes.

	* Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
	* tmac/Makefile.sub: Added `wrap' stuff again, but installing into
	$(systemtmacdir) since the wrapper files are platform-dependent.

2000-11-01  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Fix typo.

2000-10-26  Werner LEMBERG  <wl@gnu.org>

	Convert macros `tmac.XXX' to `XXX.tmac'.  Special cases:
	  tmac.doc.old -> doc-old.tmac
	  tmac.an.old  -> an-old.tmac

	* tmac/tmac.*: Moved to ...
	* tmac/*.tmac: this.
	* tmac/man.local: Fix comment.
	* tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
	tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated. 
	Added some `FILES' sections.  More use of @...@ directives.  Other
	minor updates.
	* arch/djgpp/README, font/devutf8/NOTES: Updated.
	* doc/homepage.ms, doc/groff.texinfo: Updated.
	* man/groff.man, man/roff.man: Updated.
	* src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
	src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
	src/devices/grotty/grotty.man: Updated.
	* src/preproc/pic/pic.man: Updated.
	* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
	instead of -mdoc.old.
	* src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
	* src/roff/nroff/nroff.man: Updated.
	* NEWS: Updated.

	* tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.

	* tmac/mm.diff: Removed -- it has no use now since the mm package
	is part of groff.

	* tmac/*: Removed trailing spaces.

	* arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
	the tmac subdirectory also).

	* Makefile.comm, Makefile.in: Remove tmac_{s,an}_prefix stuff.
	* tmac/Makefile.sub: Adapted to new macro names; removed `wrap'
	stuff since it is no longer needed.

	* README, PROBLEMS: Updated.

2000-10-25  Werner LEMBERG  <wl@gnu.org>

	Invert current behaviour: Search first FOOBAR.tmac, then
	tmac.FOOBAR.

	* src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
	(open_mac_file, macro_source): Implement it.
	* src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
	doc/groff.texinfo, NEWS: Document it.

	* src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
	Small documentation improvements.

	* test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
	subdirectory also).

	* font/devps/Makefile.sub: Fix rules for dingbats.*map.

2000-10-24  Werner LEMBERG  <wl@gnu.org>

	Add local tmac directory (groff/site-tmac).

	* Makefile.in: Add $(localtmacdir).
	(uninstall_dirs): Add $(localtmacdir).
	* Makefile.comm (.man.n): Add @LOCALMACRODIR@.
	* tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
	in $(localtmacdir).  Create $(localtmacdir).
	* man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:
	Updated and minor fixes.

	Rename font/devps/generate/dingbats[r]map to dingbats.[r]map.

	* font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.

2000-10-23  Werner LEMBERG  <wl@gnu.org>

	Move hyphen.us to tmac directory.

	* src/roff/troff/hyphen.us: Removed.
	* src/tmac/hyphen.us: Added.
	* src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.

	Change installation structure for data files from .../groff/... to
	.../groff/<version><revision>/... to be conform with other GNU
	programs.

	* Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
	doc/Makefile: Implement it.
	* aclocal.m4 (GROFF_PAGE): Add test for new directory structure.
	* configure: Updated.
	* arch/djgpp/README, font/devutf8/NOTES: Use it.
	* NEWS: Document it.
	* man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
	@MACRODIR@ instead of hard-coded directories.

2000-10-22  Werner LEMBERG  <wl@gnu.org>

	Implement $GROFF_BIN_PATH environment variable (which defaults to
	$bindir) used for child programs of groff and similar wrappers.

	* gendefs.sh: Improve documentation.
	* Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
	src/preproc/eqn/Makefile.sub (neqn),
	src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
	* src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
	$GROFF_BIN_PATH.
	* src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
	$GROFF_PATH__ (the latter for communication with troff).
	* src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
	set.
	* NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
	doc/groff.texinfo: Document it.

	* doc/groff.texinfo: Improve documentation of troff's -a option.

2000-10-17  Gaius Mulley  <gaius@glam.ac.uk>

	* src/roff/troff/node.cc: Fixed calculation of opminx and fixed
	non-intrusive eol marker.
	(troff_output_file::determine_line_limits): New function.
	(troff_output_file::draw): Use it.
	* src/roff/troff/env.cc (environment::add_html_tag): Use output() +
	output_pending_lines() instead of output_line().
	* src/preproc/eqn/main.cc (do_file): Fix graphic_end().
	* src/preproc/html2/pre-html.cc (char_buffer::write_file_troff,
	createImage): Small fixes.
	
2000-10-14  Werner LEMBERG  <wl@gnu.org>

	Replace tmac.safer with a real secure solution.

	* src/roff/troff/input.cc (open_request, opena_request, pipe_source,
	system_request, pipe_output): Disable requests if in safer mode.
	* src/roff/groff/groff.cc (main): Remove reference to tmac.safer.
	* tmac/tmac.safer, tmac/groff_msafer.man: Removed.
	* tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man,
	doc/groff.texinfo, src/roff/groff/groff.man,
	src/roff/troff/troff.man, arch/djgpp/README: Updated.

	* src/devices/grops/ps.cc (main), src/devices/grops/psrm.cc
	(resource_manager::output_prolog): Replace setenv() with putenv().

2000-10-09  Werner LEMBERG  <wl@gnu.org>

	* src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
	src/libs/libgroff/strtol.c, src/preproc/html2/image.cc,
	src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc,
	src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid
	compilation errors with some compilers.  It seems that this code
	is no longer necessary -- if yes, it is easy to add some #ifdef's
	for that particular old-fashioned compiler.

	* MORE.STUFF: Added info about Meta-tbl.

	* doc/groff.texinfo: Added more info about `.if "..."..."'.

2000-10-07  Werner LEMBERG  <wl@gnu.org>

	Adding a new escape sequence \B'...': If the string between
	the delimiters is a valid numeric expression, return the character
	`1', and `0' otherwise.  This is an analogon to \A.

	* src/roff/troff/input.cc (do_expr_test): Implement it.
	(token::next): Use it.
	* src/roff/troff/troff.man, NEWS, man/groff.man: Document it.

	* tmac/tmac.trace: Made independent from escape character.

2000-10-06  Werner LEMBERG  <wl@gnu.org>

	Adding a new request .dei: define indirect.  The first and second
	parameter of .dei are taken from string registers instead directly;
	this very special request is needed to make tmac.trace independent
	from the escape character (which might even be disabled).

	* src/roff/troff/input.cc (do_define_macro): Implement it.
	(define_macro_indirect): New function.
	(init_input_requests): Use it.

	Adding two requests .ecs and .ecr: Save and restore the escape
	character.  These two requests are needed to make tmac.trace
	independent from the escape character (which might even be
	disabled).

	* src/roff/troff/input.cc (save_escape_char, restore_escape_char):
	Implement it.
	(init_input_requests): Use it.

	* src/roff/troff/troff.man, NEWS, man/groff.man: Updated.

2000-09-22  Ricardo Soares Guimarães <ricardo@conectiva.com.br>

	Adding a new option -P and new environment variable GROPS_PROLOGUE
	to grops, selecting a different prologue file (minor modifications
	by WL).

	* src/devices/grops/psrm.cc (resource_manager::output_prolog),
	src/devices/grops/ps.cc (main): Implement it.
	* src/devices/grops/grops.man, NEWS: Document it.

2000-09-22  Werner LEMBERG  <wl@gnu.org>

	* INSTALL: Add info about selecting paper format.

2000-09-21  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/input.cc (main): Fixing compiler warning.
	* src/include/{driver.h, lib.h}: Move inclusion of string.h and
	strings.h from the former to the latter.
	* src/devices/grolbp/lpb.cc, src/include/lib.h: Move strncasecmp()
	stuff from the former to the latter.

2000-09-11  Werner LEMBERG  <wl@gnu.org>

	Implementing two new requests .tm1 and .tmc: The former is similar
	to .tm but can output leading spaces; its syntax is similar to
	defining a string, i.e., a `"' can be used to mark the beginning of
	the string to be written to stderr: `.tm1 " test'.  The latter is
	similar to .tm1 but doesn't write out a final newline character.

	* src/roff/troff/input.cc (terminal1, terminal_continue,
	do_terminal): New functions.
	(init_input_requests): Use them.
	* src/roff/troff/troff.man, NEWS, man/groff.man: Updated.

2000-09-09  Werner LEMBERG  <wl@gnu.org>

	* tmac/groff_mdoc.samples.man: Small fixes.

2000-09-08  Werner LEMBERG  <wl@gnu.org>

	* tmac/groff_mdoc.man: Fixing typo.

2000-09-02  Werner LEMBERG  <wl@gnu.org>

	Implementing a .nop request which does nothing.

	* src/roff/troff/input.cc (nop_request): New function.
	(init_input_requests): Use it.
	* src/roff/troff/troff.man, NEWS, man/groff.man: Updated.

2000-09-01  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Added some comments.

2000-08-30  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/TODO: Updated.

2000-08-28  Bruno Haible  <haible@clisp.cons.org>

	* contrib/mm/Makefile.sub: New target 'all', makes all prerequisites
	of 'install'.

2000-08-25  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Fix comment how to compile the DVI file.

2000-08-25  Eli Zaretskii  <eliz@is.elta.co.il>

	* font/devps/generate/Makefile (SHELL): Define explicitly to
	"/bin/sh", for non-Unix platforms.
	(extraclean): Use a more portable "" quoting instead of a
	backslash (which doesn't work on DOS/Windows).
	
	* font/devlj4/generate/Makefile (extraclean): Ditto.

	* font/devdvi/generate/Makefile (extraclean): Ditto.

2000-08-25  Werner LEMBERG  <wl@gnu.org>

	* NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
	src/roff/troff/troff.man: Document Eli's latest changes.

2000-08-25  Eli Zaretskii  <eliz@is.elta.co.il>

	* src/roff/troff/input.cc (open_mac_file, macro_source): Support
	macro file names of the form NAME.tmac as well as tmac.NAME.

2000-08-25  Werner LEMBERG  <wl@gnu.org>

	* src/include/posix.h: Remove definition of FILENAME_MAX.

	* src/preproc/html2/pre-html.h, pre-html.cc: Add return type to
	`sys_fatal' and `stop' function().

	* test-groff: Updated.

2000-08-24  Gaius Mulley  <gaius@glam.ac.uk>

	Added the new troff command .output <arg> to suppress output (while
	still obeying motion) and also the opminx, opminy, opmaxx, opmaxy
	registers (for passing the output dimensions to the output device).

	* src/roff/troff/div.cc (top_level_diversion::output): Use `width'
	parameter.
	* src/roff/troff/node.h, src/roff/troff/node.cc
	(troff_output_file::really_print_line,
	ascii_output_file::really_print_line,
	supress_output_file::really_print_line): Use `width' parameter.
	(troff_output_file::really_on, troff_output_file::really_off,
	output_file::on, output_file::off, real_output_file::on,
	real_output_file::off, real_output_file::really_on,
	real_output_file::really_off): New functions.
	(real_output_file:public output_file): New variable `output_on'.
	(real_output_file::begin_page, real_output_file::copy_file,
	real_output_file::transparent_char, real_output_file::print_line):
	Use it.
	(real_output_file::print_line): Use check_output_limits.
	* src/roff/troff/reg.h, src/roff/troff/request.h,
	src/roff/troff/input.cc (assign_registers): New function to remove
	two `goto's.
	(do_ps_file): Use it.
	(check_output_limits, reset_output_registers, output_request,
	init_output_requests): New functions.
	(init_input_requests): Updated.

	Added new grohtml2 device and html2 preprocessor (coding
	not yet finished) which will eventually replace grohtml.

	* Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end:
	Updated.
	* src/include/htmlindicate.h, src/include/htmlindicate
	(html_begin_suppress, html_end_suppress): New functions.
	* src/preproc/tbl/main.cc: Use it.
	* src/roff/groff/groff.cc: Add support for html2 device (which will
	automatically invoke the html2 preprocessor).
	* src/roff/troff/input.cc (is_html2): New variable.
	* src/roff/troff/troff.h, src/roff/troff/env.h,
	src/roff/troff/env.cc (environment::add_html_tag): New function
	(uses `is_html2').
	(environment::do_break): Use it.
	* font/devhtml2/*: New files.
	* src/devices/grohtml2: New device.
	* src/preproc/html2: New preprocessor.
	* tmac/tmac.html-tags, tmac/tmac.html2: New files.

2000-08-23  Werner LEMBERG  <wl@gnu.org>

	* src/devices/grolbp/lbp.cc: Same workaround for sinix as for AIX.

2000-08-22  Werner LEMBERG  <wl@gnu.org>

	* src/include/lib.h: Provide a fix for IRIX to not include
	groff-getopt.h.

2000-08-18  Werner LEMBERG  <wl@gnu.org>

	* configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMD
	since some non-GNU sed programs can't handle null regexps.
	* configure, src/preproc/eqn/Makefile.sub,
	src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated.

	* src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf
	bug (string.h and strings.h are both needed according to latest
	POSIX standard).

	* MORE.STUFF: Added info about unroff and troffcvt.

2000-08-08  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.a4: Will now work with ms macros also; -ma4 should be
	used before -ms.

	* tmac/tmac.man.old: Remove unused number register.

	* tmac.doc: Minor documentation fix.

2000-08-07  Paul Eggert  <eggert@twinsun.com>

	* src/roff/groff/pipeline.c (is_system_shell):
	Fix typo: "monocased_shell" no longer exists.

2000-08-07  Paul Eggert  <eggert@twinsun.com>

	Remove FILENAME_MAX limits.

	* src/roff/groff/pipeline.c (is_system_shell): Do not assume
	that the argument length is less than FILENAME_MAX.
	* src/libs/libgroff/tmpfile.cc (add_tmp_file): Likewise.
	Use struct hack to allocate and free file name.
	(struct xtmpfile_list): fname is now part of the structure,
	not a pointer to another string.

2000-08-07  Tom Schmidt  <tschmidt@micron.com>

	* src/include/posix.h: Add a default value for FILENAME_MAX.

2000-08-06  Paul Eggert  <eggert@twinsun.com>

	Add support for new BSD-style man pages (with ".Dd" instead of
	".TH"), so that "groff -man" understands both styles, even
	when running "groff -man" on a host whose system man page
	macros don't support ".Dd".

	* tmac/Makefile.sub (NORMALFILES): Add tmac.an.old.
	(stamp-wrap): Source tmac.andoc first when wrapping man macros,
	in case the system man macros don't define Dd or TH.

	* tmac/tmac.an.old: Renamed from tmac/tmac.an.
	* tmac/tmac.an: New one-line file.
	* tmac/tmac.andoc (TH): Adjust to the tmac.an.old file renaming.

2000-08-06  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/troff.man: Fixing typos.

Version 1.16.1 released
=======================

2000-07-31  Werner LEMBERG  <wl@gnu.org>

	Preparing release 1.16.1.

	* REVISION: Revision number set to 1.
	* MORE.STUFF: Added info about port to DOS.
	* NEWS, win32-diffs: Updated.

	* src/include/nonposix.h: Remove first line -- this file is used
	in C also.

	* Makefile.in (dist): Delete Imakefile earlier to avoid a soft
	link to it.

2000-07-30  Werner LEMBERG  <wl@gnu.org>

	* doc/texinfo.tex: Update to latest version.

2000-06-28  Paul Eggert  <eggert@twinsun.com>

	* Makefile.in (ENVSETUP): Don't assume POSIX make semantics for
	commands that fail.  Don't assume that "export a=b" is valid shell
	syntax.  This is needed for Solaris 2.5.1.

	* src/libs/libgroff/tmpfile.cc, src/utils/indxbib/indxbib.cc: Fix
	comment about missing Solaris headers.

	* PROBLEMS: Add section about problems with Sun Make and VPATH.

2000-06-25  Werner LEMBERG  <wl@gnu.org>

	* src/devics/grodvi/dvi.cc: Replace _setmode() (for MSC) with
	SET_BINARY().

	* src/include/posix.h: Use HAVE_UNISTD instead of _MSC_VER.

	* win32-diffs: Updated.
	* README.WIN32: Added CRs to make all Windows editors happy.

	* src/roff/troff/node.cc: Added WIFSIGNALED() macro (copied from
	src/roff/groff/pipeline.c).

2000-06-23  Eli Zaretskii  <eliz@is.elta.co.il>

	* src/roff/grog/Makefile.sub (grog): Prepend `-e' to
	$(SH_SCRIPT_SED_CMD), for the case where its value is empty.

2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>

	* src/utils/tfmtodit/tfmtodit.cc: #include nonposix.h.
	(tfm::load, gf::load): Open tfm and gf files in binary mode: these
	are binary files.
	(main): Support non-Posix systems with several different styles of
	slash characters in file names.

	* src/utils/pfbtops/pfbtops.c: #include nonposix.h.
	(main) [SET_BINARY]: Switch stdin into binary mode.

	* src/utils/indxbib/indxbib.cc: #include nonposix.h.
	(main): Support file names with several possible slash-type
	characters, as given by DIR_SEPS[] in nonposix.h.
	(main) [__MSDOS__]: If renaming the temporary index file fails
	because it has more than one dot in its trunk, replace the dot
	with an underscore and try again.
	(do_file): Use FOPEN_RB instead of "r".  Skip every CR before a
	Newline.
	[__MSDOS__ || _MSC_VER]: Stop at the first ^Z character.

	* src/utils/hpftodit/hpftodit.cc: #include nonposix.h.
	(File::File): Open the input file in binary mode.  Strip CR
	characters from each CR-LF pair.
	(xbasename): Support file names with several possible slash-type
	characters, as given by DIR_SEPS[] in nonposix.h.

	* src/include/Makefile.sub (HDRS): Add nonposix.h.

	* src/roff/troff/node.cc [HAVE_UNISTD_H]: Include <unistd.h>.
	(WIFEXITED, WEXITSTATUS, WTERMSIG, WIFSTOPPED, WSTOPSIG)
	[!_POSIX_VERSION]: Define for traditional Unix systems.
	(real_output_file::real_output_file): Remove the MSVC-specific
	call to popen, use instead POPEN_WT, appropriately defined on
	nonposix.h.  #include nonposix.h.
	(real_output_file::~real_output_file): Remove the MSVC-specific
	call to pclose, a suitable macro is now defined on nonposix.h.
	Use the portable macros WIFEXITED, WIFSIGNALED, WTERMSIG, WSTOPSIG
	and WEXITSTATUS instead of assuming traditional Unix
	interpretation of the status returned by pclose.

	* src/roff/troff/input.cc (pipe_source): Remove the MSVC-specific
	call to popen, use POPEN_RT instead (appropriately defined on
	nonposix.h).  #include nonposix.h.
	(ps_bbox_request): Open the PostScript file in binary mode.
	Close the file after processing it.
	(getpid) [_MSC_VER]: Remove; a suitable macro is now defined on
	nonposix.h.

	* src/roff/groff/pipeline.c (run_pipeline) [__MSDOS__ || _WIN32]:
	A version of run_pipeline that doesn't use `fork'.
	(signal_catcher) [__MSDOS__ || _WIN32]: New function.
	(system_shell_name, system_shell_dash_c)
	(is_system_shell) [__MSDOS__ || _WIN32]: New functions, to hide
	the ugliness of testing DOS/Windows file names for equality, and
	support both stock shells and ports of Unix shells.

	* src/roff/groff/groff.cc: #include nonposix.h.
	(BSHELL): Definition moved to nonposix.h.
	(main): Use PATH_SEP[0] instead of literal ':'.  Use BSHELL_DASH_C
	instead of a literal "-c".
	(xbasename): Support file names with several possible slash-type
	characters, as given by DIR_SEPS[] in nonposix.h.
	(possible_command::print): Use BSHELL_DASH_C and IS_BSHELL instead
	of literal strings.

	* src/preproc/soelim/soelim.cc: #include nonposix.h.
	(do_file): Use IS_ABSOLUTE instead of testing for a literal '/'.

	* src/preproc/pic/Makefile.sub (YTABH): Change pic.tab.h to
	pic_tab.h.

	* src/preproc/pic/lex.cc: Change pic.tab.h to pic_tab.h.

	* src/preproc/eqn/Makefile.sub (YTABH): Rename eqn.tab.h to
	eqn_tab.h.

	* src/preproc/eqn/lex.cc: #include eqn_tab.h, not eqn.tab.h.

	* src/libs/libgroff/tmpfile.cc (DEFAULT_TMPDIR) [P_tmpdir]: If
	P_tmpdir is defined, use it instead of the literal "/tmp".
	(remove_tmp_files, add_tmp_file): New functions.
	(xtmpfile): Record temporary files and register an atexit function
	to delete them explicitly, instead of relying on the OS to do
	that, which doesn't work on non-Unix systems.

	* src/libs/libgroff/searchpath.cc: #include nonposix.h.
	(search_path::search_path): Use PATH_SEP instead of a literal
	colon.
	(search_path::command_line_dir): Ditto.
	(search_path::open_file): Use IS_ABSOLUTE, PATH_SEP and DIR_SEPS,
	to support non-Posix systems.

	* src/libc/libbib/search.cc: #include nonposix.h.
	(search_list::add_file): Open the file in binary mode.

	* src/libs/libbib/linear.cc: #include nonposix.h.
	(file_buffer::load): Remove \r characters preceding \n from the
	loaded buffer.

	* src/libs/libbib/index.cc: #include nonposix.h.
	(make_index_search_item): Open index_filename in O_BINARY mode.
	(index_search_item_iterator::get_tag): Ditto.  Remove \r
	characters before \n characters.
	(index_search_item::check_files): Open files in binary mode.
	(index_search_item::munge_filename): Support DOS-style file names
	with backslashes and drive letters, use IS_ABSOLUTE.

	* src/devices/grops/ps.cc: #include nonposix.h.
	(main) [SET_BINARY]: Switch stdout to binary mode.

	* src/devices/grolj4/lj4.cc: #include nonposix.h.
	(main) [SET_BINARY]: Switch stdout to binary mode.

	* src/devices/grolbp/lbp.cc: #include nonposix.h
	(fill_pattern) [SET_BINARY]: Switch stdout to binary mode.

	* src/devices/grodvi/dvi.cc: #include nonposix.h.
	[_MSC_VER]: Remove inclusion of Windows-specific headers (done by
	nonposix.h).
	(main) [SET_BINARY]: Switch stdout to binary mode.
	[_MSC_VER]: Remove an explicit call to _setmode.

	* src/include/nonposix.h: New file.

	* Makefile.in (ENVSETUP): New variable, to set up case-sensitive
	operation when building with DJGPP.
	($(TARGETS), dot, $(LIBDIRS), $(CPROGDIRS), $(CCPROGDIRS))
	($(DEVDIRS), $(TTYDEVDIRS), $(INCDIRS), $(OTHERDIRS)): Use
	ENVSETUP.

	* Makefile.comm: mv y.tab.[ch] to y_tab.[ch], to make it work on
	MS-DOS.
	(.man.n): Replace `;' with `|', since FONTPATH, MACROPATH,
	etc. can include a semi-colon on DOS/Windows.
	(depend.temp): Use depend1.temp instead of depend.temp1, to
	prevent files from overerwiting each other on 8+3 filesystems.

	* gendef.sh (t): Change definition to work with DOS/Windows.

	doc/groff.texinfo: Apart of some typo corrections, I also changed
	some index entris, to make them more non-ambiguous, and also put
	@ignore around some parts that are not yet written, to allow the
	Info output be readable.

2000-06-10  Gael Queri  <gqueri@mail.dotcom.fr>

	Replaced specific checks for function declarations with a generic
	routine taken from GNU bfd.

	* aclocal.m4 (GROFF_NEED_DECLARATION): New function.
	GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed.
	* configure.in: Use it.
	* src/devices/grolbp/lbp.cc, src/include/lib.h,
	src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h,
	src/roff/groff/groff.cc: Use it.
	* Makefile.in, configure: Updated.

2000-06-07  Paco Andres Verdu  <pandres@dragonet.es>

	* src/devides/grolbp/lbp.h: Removed unused variables.

2000-05-31  Keith Thompson  <kst@sdsc.edu>

	* src/devices/grolbp/lbp.cc (set_papersizes): Add declaration of
	strncasecmp().

2000-05-31  Werner LEMBERG  <wl@gnu.org>

	* aclocal.m4 (GROFF_SRAND): New function to test the return value
	of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'.
	* configure.in: Use it.
	* src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it.
	* configure, Makefile.in: Updated.

	* configure.in: Add test for strncasecmp().
	* src/include/lib.h: Use it.

2000-05-29  Andrej Borsenkow  <Andrej.Borsenkow@mow.siemens.ru>

	* src/preproc/grn/Makefile.sub: Add MLIB.

2000-05-29  Nix  <nix@esperi.demon.co.uk>

	* Makefile.in: Use @datadir@ and @mandir@ appropriately.

2000-05-29  Werner LEMBERG  <wl@gnu.org>

	* src/roff/grog/Makefile.sub, src/roff/grog/grog.sh: Add `@g@'.

	* PROBLEMS: Small update.

	* src/devices/grolbp/lbp.cc: Various small fixes.

2000-05-28  Keith Thompson  <kst@sdsc.edu>

	* src/roff/nroff/nroff.sh: Fix main loop syntax.

	* src/utils/indxbib/indxbib.cc: Add declaration of mkstemp().

2000-05-25  Werner LEMBERG  <wl@gnu.org>

	* man/roff.man: Removed unused macro.

2000-05-24  Werner LEMBERG  <wl@gnu.org>

	* Makefile.in (dist): Remove src/xditview/Imakefile explicitly. 
	This is needed e.g. if you do
	`make distclean; ./configure; make dist'.

Version 1.16 released
=====================

2000-05-23  Werner LEMBERG  <wl@gnu.org>

	Adding font CWI (constant width italic) to devdvi.

	* font/devdvi/CWI: New file.
	* font/devdvi/generate/Makefile: Add generating rule.
	* font/devdvi/DESC.in, font/devdvi/Makefile.sub, win32-diffs,
	tmac/tmac.dvi: Use it.
	* NEWS: Announce it.

	* font/devlj4/*: Regenerated (only adding kernings for `cq' glyph).
	* font/devlj4/generate/Makefile: Cosmetic changes only.

	* man/groff.man: Removed most of the redundant description of
	special characters (which is in groff_char.man).  Added font
	translation CB->CR for devdvi.  Other minor fixes.

	* tmac/tmac.dvi: Improved appearance of \(co (copyright) and \(rg
	(registered) symbols.

2000-05-22  Werner LEMBERG  <wl@gnu.org>

	* doc/Makefile: Added rule for creating info files.

	* font/devdvi/*: Added kernings for `cq' glyph.  Updated to latest
	AMS font metrics.
	* font/devdvi/generate/Makefile: Fixed dependencies.

	* font/devps/*: Regenerated.  Heavy changes for Bookman and
	NewCentury Schoolbook!
	* font/devps/generate/afmname: Will now run with GNU awk.
	* font/devps/generate/textmap: Added forgotten `cq' glyph name.
	* font/devps/generate/Makefile: Cosmetic changes only.

2000-05-21  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can be
	10, 11, or 12) to support output with 11pt and 12pt base font sizes. 
	`.SS' now produces a heading with a smaller size than `.SH'. 
	Completely formatted.
	* doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it.

	* man/groff.man: Improved table appearance.  Use of `eo' request
	to reduce number of doubled backslashes in macro definitions.
	Replacing `\e' with `\(rs'.  Other minor fixes.

	* src/preproc/tbl/main.cc: Insert HTML table end tag before `lf'
	to have correct line number.

	* INSTALL: Small improvement.

2000-05-20  Bernd Warken  <bwarken@mayn.de>

	* man/roff.man, tmac/groff_tmac.man: Updates (with corrections by
	WL).

2000-05-19  Bernd Warken  <bwarken@mayn.de>

	* man/groff.man: Complete update (with a lot of corrections by WL).

2000-05-18  Werner LEMBERG  <wl@gnu.org>

	Adding `cq' (PS name `quoteright') glyph name as an alias for "'".

	* font/*/*: Implement it.
	* man/groff_char.man, NEWS: Document it.

	* src/include/unix.h: Removed.  It isn't used.

	* doc/groff.texinfo: Slight improvements.

2000-05-17  Werner LEMBERG  <wl@gnu.org>

	* README, win32-diffs: Small fixes and improvements.

2000-05-16  Werner LEMBERG  <wl@gnu.org>

	* FDL: New file (the Free Documentation License version 1.1).

	* doc/groff.texinfo: Added many start-up values for gtroff.
	Some structural improvements of the source code.

2000-05-15  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/input.cc: Added small comment about troffrc-end.
	* src/roff/troff/troff.man: Added info about troffrc-end.

2000-05-14  Werner LEMBERG  <wl@gnu.org>

	* Makefile.in (EXTRADIRS): Fix typos.
	(dist): Handle deletion of old .tar.gz file correctly.
	(DISTDIRS): Include all tty output devices.

	* doc/groff.texinfo: Adding more cross references; countless other
	fixes.

2000-05-13  Werner LEMBERG  <wl@gnu.org>

	* MORE.STUFF: Added Robert Marks's utilities.

2000-05-12  Werner LEMBERG  <wl@gnu.org>

	Added win32 port contributed by Blake McBride
	<blake@florida-software.com>.

	* README.WIN32, win32-diffs: New files.
	* NEWS: Updated.

	* src/preproc/grn/hgraph.cc (HGSetBrush): Replace `%lf' with `%f'.
	(tmove, tmove2): Added parentheses to avoid compiler warnings.
	(change): Removed unused variables.

	* src/preproc/grn/main.cc (main, conv): Removed unused variables.
	(savebounds): Changed return value from `int' to `void'.
	* src/preproc/grn/hdb.cc: Ditto.

	* src/devices/grolbp/lbp.cc (lbp_printer::draw): Removed superfluous
	final backslash in comment to avoid compiler warning.

	* src/utils/pfbtops/pfbtops.c: Added `getopt.h'.

	* doc/groff.texinfo: More fixes.

2000-05-11  OKAZAKI Tetsurou  <okazaki@be.to>

	* tmac/tmac.doc: Documentation fix.

2000-05-11  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Reading the source code shows up a lot of
	omissions and incorrect data...  More conversion to @Deffn macros.

2000-05-10  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/reg.cc (number_value_to_ascii): Remove ASCII
	dependency.

	* src/roff/troff/request.h: Removing unused `no_break_flag'.

2000-05-09  Werner LEMBERG  <wl@gnu.org>

	* man/groff.man, man/roff.man, tmac/groff_tmac.man: Minor
	improvements.

	* doc/groff.texinfo: Extended history section.  More conversion to
	@Deffn macros.  More .tr documentation.

2000-05-07  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Completed tab section.  Added info about
	fields.

2000-05-06  Mike MacIsaac  <mikemac@us.ibm.com>

	* PROBLEMS: Describe configure script fix for OS/390 Unix.

2000-05-05  Werner LEMBERG  <wl@gnu.org>

	* font/devdvi/DESC.in: Change size 11pt to 10.95pt (as used in
	LaTeX 2e).
	* NEWS: Document it.

	* man/troff.man: Minor optical improvements.

2000-05-03  Werner LEMBERG  <wl@gnu.org>

	Adding `dq' (PS name `quotedbl') glyph name as an alias for `"'.

	* font/*/*: Implement it.
	* man/groff_char.man, NEWS: Document it.

2000-05-02  Werner LEMBERG  <wl@gnu.org>

	* tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@
	expansion.
	* NEWS: Document the three new man pages.

	* aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
	* configure: Updated.

	* font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).

2000-05-01  Werner LEMBERG  <wl@gnu.org>

	Added grap support to grog.

	* src/roff/grog/grog.sh, src/roff/grog/grog.pl: Implement it.
	* src/roff/grog/grog.man: Document it.

	* doc/groff.texinfo, NEWS: Add info about grap support.

	Add new man pages comptributed by Bernd Warken <bwarken@mayn.de>
	(with slight fixes by me).

	* tmac/groff_tmac.man: New file documenting tmac mechanism.
	* tmac/Makefile.sub: Add groff_tmac.man.
	* man/roff.man: New file giving overview of roff system.
	* man/troff.man: A short reference of troff.
	* man/Makefile.sub: Add roff.man and troff.man.

2000-04-30  Werner LEMBERG  <wl@gnu.org>

	Added grap support to groff.

	* src/roff/groff/groff.cc: Implement it.
	* src/roff/groff/groff.man: Document it.

	* src/devices/grotty/grotty.man: Add cp1047 device.
	* src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
	Ditto.
	* src/roff/groff/groff.man: Ditto.
	* src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
	* doc/groff.texinfo: Ditto.

	* tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
	for cp1047.

2000-04-29  Werner LEMBERG  <wl@gnu.org>

	* man/groff_char.man: Add `pc' glyph.
	* tmac/tmac.latin1: Replacing `md' glyph with `pc'.
	* tmac/tmac.tty: Add `pc' glyph.
	* tmac/tmac.tty-char: Use/add `pc' glyph.  Don't call tmac.latin1 if
	we use cp1047 output device.

	* Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
	there are still hardcoded latin1->unicode values in utf8's font
	definition files.
	* configure: Updated.
	* NEWS: Minor clarification.  Updated.

	* PROBLEMS: Formatted.  Added info about C++ fix pack for OS/390
	Unix.

2000-04-28  Werner LEMBERG  <wl@gnu.org>

	Adding EBCDIC code page 1047.

	* font/devcp1047/R.proto, font/devcp1047/Makefile.sub,
	font/devcp1047/DESC.proto: New files.

	* aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
	either ascii/latin1 or cp1047.
	* Makefile.in: Use it.
	* configure: Updated.

	Replacing and/or adding `md' (mathdot) glyph with `pc'
	(periodcentered) in all text fonts.

	* font/*/*: Change it.

2000-04-27  Werner LEMBERG  <wl@gnu.org>

	* aclocal.m4 (GROFF_OS390): Fixing compiler flags.

	* configure.in: Add check for strings.h.
	* src/include/driver.h: Use HAVE_STRINGS_H.
	* src/devices/grolbp/lpb.cc: Remove string.h.

	* src/include/groff-getopt.h: New file.  It will be used instead of
	getopt.h (to be included in lib.h) to avoid endless problems with
	picky C++ compilers.
	* src/include/lib.h: Use groff-getopt.h.
	* src/include/Makefile.sub: Updated.

	* configure: Updated.
	* Makefile.in: Updated.

	* NEWS: Mention EBCDIC support.

2000-04-26  Werner LEMBERG  <wl@gnu.org>

	* TODO: Some additions.

2000-04-25  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
	of mso request.

2000-04-23  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/troff.man: Minor fixes.

2000-04-22  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document the
	`.T' string register and the incompatible definition of the `.T'
	number register (compared to Unix troff).

	* man/groff_char.man: Add some missing characters.
	* font/devutf8/NOTES: Update.

2000-04-21  Werner LEMBERG  <wl@gnu.org>

	* src/include/htmlindicate.h, src/include/lib.h,
	src/include/posix.h: Fix copyright.

	* src/include/Makefile.sub: Update.

2000-04-20  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/input.cc (input_char_description): Removing
	superfluous space char.

	* tmac/tmac.X: Fix typo \(bq -> \(Bq.

	* doc/groff.texinfo: Document EBCDIC.

2000-04-19  Werner LEMBERG  <wl@gnu.org>

	Introducing `shc' as the glyph name for the soft hyphen character.

	* tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
	font/devlatin1/R.proto: Use it.

	* NEWS: Updated.

2000-04-18  Werner LEMBERG  <wl@gnu.org>

	* src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
	dependency on ASCII order.

2000-04-16  Sandor BARANY  <S.Barany@infosys.tuwien.ac.at>

	* src/libs/libgroff/illegal.c: Added EBCDIC table.
	* src/roff/troff/input.cc: Added adaptation to EBCDIC.

	* src/preproc/refer/refer.cc, src/roff/troff/env.cc: Minor changes
	to increase portability.

2000-04-15  Werner LEMBERG  <wl@gnu.org>

	* aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.
	Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with
	the generic `\n' if under OS/390 Unix.

	* configure.in: Call GROFF_EBCDIC and GROFF_OS390.

	* configure: Regenerated.

2000-04-14  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: More conversions to @Deffn.

2000-04-12  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.psfig: Fix incorrect use of `&' operator by replacing it
	with `:'.

	* src/roff/nroff/nroff.man: Add note about tmac.tty-char.

2000-04-10  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: More conversions to @Deffn.

2000-04-08  Werner LEMBERG  <wl@gnu.org>

	* src/libs/libgroff/{getopt.c,getopt1.c}, src/include/getopt.h:
	Updated to latest version (glibc 2.1.3).

2000-04-07  Werner LEMBERG  <wl@gnu.org>

	* doc/Makefile (clean): Include more index files.
	Add rule texinfo->dvi.

2000-04-05  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Added new index `op' for operators.  More
	info on end of sentence characters.  More use of @Deffn.

2000-03-30  Werner LEMBERG  <wl@gnu.org>

	* */*.man: Adding a note that a whitespace can be inserted between
	a command line option and its parameter -- we are using GNU getopt.

	* src/roff/groff/groff.man: Add example of `-m mandoc'.

2000-03-28  Werner LEMBERG  <wl@gnu.org>

	Correct anachronism of calling the man macro file with `-man'
	instead of `-m man' etc.

	* tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc,
	tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply
	load tmac.<package>.

	* tmac/Makefile.sub: Updated.  Take care of $(tmac_an_prefix) etc.

	* NEWS: Updated.

	* doc/groff.texinfo: Updated.

	* tmac/groff_man.man: Copyright added.

2000-03-27  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Introducing macros `Deffn' and `Defmac' to
	typeset the request resp. escape name with a tt font -- due to a
	bug in texinfo.tex it is necessary to use the `-e' switch with
	texi2dvi.

	Improving info about usage of groff units.

	Other minor fixes.

2000-03-20  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Added section about man macro package
	(I've basically taken groff_man.man).  Introducing new indices `ma'
	for macros/strings and `gl' for glyph names.  Other minor fixes.

	* tmac/groff_man.man: Fixed some typos.

2000-03-19  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Removed all occurrences of `you', `we', etc.
	Other minor fixes.

	* doc/texinfo.tex: New file.

2000-03-18  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Improved section on number registers.  Other
	minor updates.

2000-03-16  Werner LEMBERG  <wl@gnu.org>

	* src/roff/groff/groff.man: Added info about grolbp.  Make nicer
	synopsis.

	* src/devices/grolbp/grolbp.man, src/roff/nroff/nroff.man,
	src/devices/grolj4/grlj4.man, src/devices/grops/grops.man,
	src/preproc/eqn/eqn.man, src/utils/afmtodit/afmtodit.man,
	src/utils/tfmtodit/tfmtodit.man: Make nicer synopsis.

	* src/preproc/grn/grn.man: Better synopsis; added copyright.

	* src/roff/grog/grog.man: Updated copyright date.

2000-03-14  Francisco Andres Verdu  <pandres@dragonet.es>

	* configure.in: Added test for strdup.

	* src/devices/grolbp/lbp.cc: Added a strdup() version in case none
	is available.

	Replaced dynamic allocation of arrays `[...]' with `new' operator.

	Other minor fixes.

2000-03-12  OKAZAKI Tetsurou  <okazaki@be.to>

	* Makefile.comm: Add $(INCLUDES) to $(ALL_CFLAGS).

2000-03-11  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/grn/hdb.cc (DBGetType): Added return value to make
	compilers silent.
	* src/preproc/grn/hgraph.cc: Add #ifdef for hypot().
	* src/include/lib.h: Remove some spaces.

2000-03-10  Werner LEMBERG  <wl@gnu.org>

	* src/libs/libgroff/tmpfile.cc (xtmptemplate, xtmpfile): Removing
	initializers from arguments (some compilers don't like this).

2000-03-09  Gaius Mulley  <gaius@glam.ac.uk>

	* src/libs/libgroff/htmlindicate.cc: Added library file which is now
	used by pic and eqn to tell grohtml where the graphic regions start
	and end.
	* src/libs/libgroff/Makefile.sub: Use it.
	* src/preproc/eqn/main.cc, src/preproc/pic/troff.cc: Altered to use
	graphic_start() and graphic_end() from htmlindicate.cc.

2000-03-09  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.safer: Will now work correctly in compatibility mode.
	* tmac/groff_man.man: More fixes.

2000-03-08  Werner LEMBERG  <wl@gnu.org>

	* doc/Makefile: Added texput.log to the `clean' target.
	* doc/groff.texinfo: Added info about delimiters for escapes.

2000-03-08  Bernd Warken  <bwarken@mayn.de>

	* src/preproc/pic/pic.man: Add info on conversion of pic images to
	other graphic formats.

2000-03-07  OKAZAKI Tetsurou  <okazaki@be.to>

	* Makefile.in, contrib/mm/Makefile.sub, src/preproc/eqn/Makefile.sub,
	src/roff/groff/Makefile.sub, src/roff/nroff/Makefile.sub,
	src/utils/afmtodit/Makefile.sub: Use $(INSTALL_SCRIPT) for script
	files.

2000-03-07  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Spelling fixes.

2000-03-06  Werner LEMBERG  <wl@gnu.org>

	* tmac/groff_man.man: Completely revised to cover everything in
	tmac.an.

	* doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
	Other minor fixings.
	* src/roff/troff/env.cc (environment_copy): Improve error message and
	fix itoa->i_to_a.
	* src/roff/troff/TODO: Updated.

	* doc/Makefile: Bug fixes -- this is still provisional, though...

	* tmac/eqnrc: Small fixes.

2000-03-05  Abramo Bagnara <abramo@alsa-project.org>

	Adding a request `evc' to copy environments.

	* src/roff/troff/env.cc (environment::copy, environment_copy):
	Implement it.
	* src/roff/troff/env.h: Add prototype.

2000-03-05  Francisco Andres Verdu  <pandres@dragonet.es>

	Adding strsep() -- Solaris 8 doesn't have it.

	* configure.in: Test it.
	* src/devices/grolbp/lbp.cc: Add code.

2000-03-05  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/div.cc (macro_diversion::output,
	top_level_diversion::output): Fixing an incompatibility with
	original troff: \x'0' updates the .a register also.  Thanks to
	<Andries.Brouwer@cwi.nl> for pointing this out.
	* doc/groff.texinfo: Document it.

	* Makefile.in: Create Makefile.dep if necessary before calling the
	submake process to avoid warning about nonexistent file.

	* NEWS, PROJECTS: Updated.

2000-03-04  Werner LEMBERG  <wl@gnu.org>

	* tmac/troffrc: Add tmac.lbp.

2000-03-03  Francisco Andres Verdu  <pandres@dragonet.es>

	* tmac/tmac.lbp: New file.
	* src/devices/grolbp/grolbp.man: Add documentation of `lbpname'
	command.

2000-03-03  Werner LEMBERG  <wl@gnu.org>

	* Makefile.in: Fixing $(subdir).

	* README, NEWS: Small fixes.

	* test-groff: Adding path to grolbp.

	* configure.in: The (new) file src/xditview/Imakefile.in will be
	also configured -- it is now possible to build gxditview in a
	directory different from $srcdir.

2000-03-02  Blake McBride  <blake@florida-software.com>

	* src/libs/libgroff/searchpath.cc (open_file): Adapting to WinNT.

	* MORE.STUFF: Added website of bell labs and info about plot2dev.

2000-03-01  Colin Phipps  <crp22@cam.ac.uk>

	* src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
	files.

2000-02-29  Werner LEMBERG  <wl@gnu.org>

	Adding GNU getopt to the groff distribution.

	* src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
	New files.
	* src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
	* aclocal.a4: Remove GROFF_GETOPT function.
	* configure.in, Makefile.in, PROBLEMS: Update.
	* src/include/lib.h: Replace getopt tests with getopt.h.
	* src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.

	* doc/groff.texinfo: Further checking/updating.  Adding more index
	entries.

	* man/groff_out.man: Fix nroff mode activation (for emacs).
	* man/groff_font.man: Add missing ligature.

2000-02-28  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Further checking/updating.  Adding more index
	entries.

	* src/devices/grolbp/grolbp.man: Added a comment line at the
	beginning of the file (similar to shell scripts) which indicates
	that `tbl' should be used as a preprocessor.

2000-02-27  Blake McBride  <blake@florida-software.com>

	Adapting groff to MS Visual C++ 6.0 compiler (tested with
	Windows NT 4.0).  Uses _MSC_VER define where necessary.

	* src/devices/grodvi/dvi.cc: Making stdout a binary stream.
	* src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
	* src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
	src/include/lib.h, src/libs/libgroff/errarg.cc,
	src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
	src/preproc/refer/label.y, src/preproc/refer/label.cc,
	src/roff/groff/pipeline.c, src/roff/troff/column.cc,
	src/roff/troff/div.cc, src/roff/troff/env.cc,
	src/roff/troff/input.cc, src/roff/troff/node.cc,
	src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
	if_to_a() to avoid name	clashes.
	* src/include/posix.h: Don't use unistd.h.
	* src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
	clause for integrating non-Unix xtmpfile() code.
	* src/roff/troff/input.cc: Adding `public' keyword to macro_header
	structure; use "rt" for popen() in pipe_source(); add getpid()
	dummy function.
	* src/roff/troff/node.cc: Use special versions of popen() in
	real_output_file() and pclose() in ~real_output_file().

2000-02-27  Werner LEMBERG  <wl@gnu.org>

	Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
	LBP-8 series laser printers).  This code has been contributed by
	Francisco Andres Verdu <pandres@dragonet.es>.

	* src/devices/grolbp/*: The grolbp output device.
	* font/devlpb/*: The font description files.
	* Makefile.in: Add grolpb and devlbp subdirectories.

	* src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
	src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
	typographic fixes.

	* doc/groff.texinfo: Further checking/updating.  Adding more index
	entries.

	* NEWS: Updated.

	* src/devices/grolbp/Makefile.sub: Adding $(srcdir).

	* man/groff_font.man: Adding info about obsolete DESC keywords.
	* src/devices/grolj4/grolj4.man: Documenting additional DESC
	keywords.

2000-02-26  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/grn/grn.man: Added info about the gremlin file format
	(contributed by Daniel Senderowicz <daniel@synchrods.com>).

2000-02-25  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/grn/main.cc: Allow values of `narrow' parameter and
	friends to be non-integer.

	* src/preproc/grn/grn.man: Document it.

	* doc/groff.texinfo: Further checking/updating.  Adding more index
	entries.

2000-02-24  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
	line thicknesses to be integer multiples of this value.

	* src/preproc/grn/grn.man: Commenting out the -s option -- the
	corresponding code doesn't work (yet).

	* doc/groff.texinfo: Further checking/updating.  Adding more index
	entries.

2000-02-23  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
	specify line thickness instead of base units.  The new default
	values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
	thick lines respectively.

	Removed unused variable `prevval'.

	* src/preproc/grn/grn.man: Updated.

2000-02-22  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/grn/main.cc: Slight formatting.

	* src/roff/groff/groff.man: Formatting fix.
	* src/preproc/grn/grn.man: Ditto.

	* src/roff/grog/grog.pl: Fixing two embarassing bugs.

	* doc/groff.texinfo: Further checking/updating.

2000-02-21  Werner LEMBERG  <wl@gnu.org>

	* README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.

	* test-groff: Added grn subdir to path.

	* doc/groff.texinfo: Some restructing and other small improvements.

	* src/roff/groff/groff.cc (help): Fixed info string.

2000-02-20  Werner LEMBERG  <wl@gnu.org>

	* doc/meref.me: Fix description of .GS request.

	* src/roff/troff/troff.man: Fixing typo.

	Adding the `grn' preprocessor for gremlin graphic files.

	* src/preproc/grn/*: This is the Berkeley distribution written by
	David Slattengren and Barry Roitblat, adapted to groff by Daniel
	Senderowicz and Werner Lemberg.

	* doc/grnexampl.{me,g}: A sample for grn.

	* Makefile.in: Added subdirectory entry for grn.

	* src/roff/groff/groff.cc: Added support for grn.  It can be now
	called with the switch `-g'.

	* src/roff/groff/groff.man: Updated.

	* src/roff/grog/grog.{man,pl,sh}: Updated.

	* NEWS: Updated.

2000-02-11  Gaius Mulley  <gaius@glam.ac.uk>

	* src/include/lib.h: Added xtmptemplate and made xtmpfile
	parametrically polymorphic.

	* src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
	and the alterations to xtmpfile.
	xtmpfile can be requested to return the filename created
	and asked not to unlink the temp file.  The default behaviour
	if parameters are absent is exactly the same as before.

2000-02-11  Abramo Bagnara  <abramo@alsa-project.org>

	A new request `length' is available which returns the length of a
	string in a number register:

	* src/roff/troff/input.cc (length_macro): Implement it.
	* src/roff/troff/input.cc (init_input_requests): Register it.

2000-02-11  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
	of the `substring' request.

	* src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
	request.

	* src/roff/troff/TODO, NEWS: Updated.

2000-02-09  Werner LEMBERG  <wl@gnu.org>

	* src/roff/groff/groff.man: Added an example.

2000-02-06  Werner LEMBERG  <wl@gnu.org>

	I've considerably modified the directory structure of the
	distribution to get a more vertical layout.  For example, the number
	of top level directories has been reduced from 42 to 6.

	As a consequence, many changes, especially to the makefiles, were
	necessary:

	* The makefile variables `top_builddir' and `top_srcdir' have been
	introduced.  Virtually all relative paths have been replaced with
	absolute ones using these two variables.

	* Dependencies (in the files `Makefile.dep') are no longer part of
	the distribution.  Instead, they are created during a `make install'
	in the build directory.

	* aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
	make `top_srcdir' and `top_builddir' absolute.

	Some other changes:

	* Man pages no depend on the files `VERSION' and `REVISION'.

	* The added shell script `mkinstalldirs' will replace `mkdir' in
	almost all cases.

	* VERSION: Version number increased to 1.16.

2000-02-04  Werner LEMBERG  <wl@gnu.org>

	* grops/psrm.cc (read_one_of): Fixed pointer incrementation.

	* Makefile.in: Removed $(tmac_m) since it is no longer needed
	(after an update of the mm stuff).

	* troff/Makefile.sub (majorminor.cc): Fix dependencies.

2000-02-03  Werner LEMBERG  <wl@gnu.org>

	The .psbb request will now also accept Mac PS images (i.e. using LF
	as the EOL character).

	* troff/input.cc (ps_get_line): New function, taken from psrm.cc
	(with slight modifications).
	* troff/input.cc (do_ps_file): Use it.

	* test-groff: Add grohtml and grolj4 output devices to PATH.

2000-01-30  Werner LEMBERG  <wl@gnu.org>

	* NEWS, MORE.STUFF: Updated.

2000-01-30  Cary D. Renzema  <caryr@dollar.mxim.com>

	Add the `srand' command to pic.

	* pic/lex.cc, pic/pic.y: Implement it.
	* pic/pic.man: Document it.
	* pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).

2000-01-30  Werner LEMBERG  <wl@gnu.org>

	Add a new request `.psbb'.  This does exactly what the external
	program psbb did.  It scans a PostScript image file for a
	%%BoundingBox comment and extracts the bounding box values (in
	PostScript units) which	are then stored in the four new (read-only)
	number registers `llx', `lly', `urx', and `ury'.

	This will allow the usage of the .PSPIC macro without worrying
	about unsafe behaviour of groff, i.e., it will work without the
	`-U' switch of groff.

	* troff/input.cc: Implement it.
	* tmac/tmac.pspic: Use it.
	* troff/troff.man, grops/grops.man, NEWS: Document it.
	* psbb/*, Makefile.in: Remove it since it is no longer needed.

	This is bloody C code simply adapted from psbb.c!  Any improvements
	welcome.

2000-01-29  Werner LEMBERG  <wl@gnu.org>

	* man/groff_font.man: Minor clarifications.

	* NEWS: Updated.

2000-01-28  Werner LEMBERG  <wl@gnu.org>

	* afmtodit/afmtodit.pl: Use new `--' comment delimiter.

2000-01-28  Gaius Mulley  <gaius@glam.ac.uk>

	* man/groff_font.man: Brought up to date regarding tcommand
	extensions.
	* libgroff/font.cc: Handle everything after `--' as a comment
	in the font files.
	* devps/*: Added comment delimiter inside devps font files.

2000-01-28  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
	\fC...\fP (which now works as expected).

	* troff/troff.man: Fix typo.

2000-01-27  Gaius Mulley  <gaius@glam.ac.uk>

	Completed the pass_filenames implementation in troff.

	* libdriver/input.cc: Will read the new `F' tcommand.
	* troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
	* troff/input.cc: Use it.

2000-01-26  Werner LEMBERG  <wl@gnu.org>

	* troff/env.cc (set_font): Fix the behaviour of \fP.  The previous
	font will now be updated even if an invalid font is selected.

2000-01-24  Werner LEMBERG  <wl@gnu.org>

	* doc/homepage.ms: Updated for new tmac.arkup.

	* tmac/tmac.html: Disable line breaks after hyphen-like characters.

	* tmac/tmac.arkup: Cleanup.

	Added `\&' to .HTML macro to `leave vertical mode', so to say.

	Removed obsolete .LINK macro completely.

	The macros .URL, .FTP, and .MAILTO now accept a third argument which
	will be immediately appended to the second argument (to be used with
	punctuation, for example).

	Disabled .CDFTP macro temporarily for security reasons.

	* tmac/groff_markup.man: Complete revision for latest changes in
	tmac.arkup -- note that it does not yet format correctly with
	grohtml :-(

2000-01-23  Bruno Haible  <haible@clisp.cons.org>

	* nroff/nroff.sh: Accept -Tutf8 option and pass it through.
	* devutf8/R.proto: Add mappings for wp, lh, rh.
	* devutf8/NOTES: Updated.

2000-01-23  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Updated version/copyright info.

2000-01-21  Gaius Mulley  <gaius@glam.ac.uk>

	Added support for two new directives in device descriptions:
	`pass_filenames' (to pass the input file name to the output device)
	and `use_charnames_in_special' (to support e.g. accented characters
	in the `X' request).

	* include/font.h, troff/charinfo.h: Declare it.

	* libgroff/font.cc, libgroff/fontfile.cc: Set it.

	* devhtml/DESC: Use it.

	* troff/input.cc: New function encoded_char.

	* troff/token.h: Add test for `specialness'.

2000-01-21  Werner LEMBERG  <wl@gnu.org>

	* tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
	mistake from the list of files to be installed.

2000-01-18  Werner LEMBERG  <wl@gnu.org>

	* README: Added info how to apply patches.

2000-01-15  Jan Echternach  <echter@informatik.uni-rostock.de>

	* troff/node.cc (ligature_note::operator delete):  Fix g++ warning.

2000-01-15  Gaius Mulley  <gaius@glam.ac.uk>

	* troff/input.cc: Add support for troffrc-end.

	* tbl/main.cc: Altered to issue table-start and table-end special
	characters if using the html device.

	* devhtml/*: Modified font files to incorporate html encoding of
	characters.

	* tmac/groff_markup.man: New file documenting tmac.arkup.

	* tmac/troffrc-end: New file.  This is invoked after all user
	specified macros.  Currently used by the html device to	include
	tmac.html.  Thus no need for users to specify -mhtml anymore.

	* tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
	(MAN7): Add groff_markup.man.

	* tmac/tmac.an, tmac/tmac.html: Small html updates.

	* tmac/troffrc: tmac.arkup will now be called for the html device.

	* libgroff/font.cc, libgroff/font.h: Altered to include reading of
	extra device specific information about fonts.

	* doc/homepage.ms: New file.  It is an example how an HTML home page
	could look like with grohtml.

	* doc/Makefile: Add homepage.ms.  Remove rule for pic.html.

2000-01-12  Bruno Haible  <haible@clisp.cons.org>

	* devutf8/R.proto: Add mappings for ti, Fn, st, an.  Change mappings
	of Im, Re.

	* devutf8/NOTES: Updated.

2000-01-08  Bruno Haible  <haible@clisp.cons.org>

	* eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
	eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
	libbib/index.cc, libbib/linear.cc, libbib/search.cc,
	libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
	pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
	tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
	troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
	troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
	warnings.

	* troff/node.cc (bracket_node::copy): Initialize last to NULL.

2000-01-12  Fabrizio Polacco  <fab@prosa.it>

	grolj4: Paper size will be searched case-insensitively.

	* include/lib.h: Add check for strcasecmp().
	* grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
	* configure.in: Check for strcasecmp().

2000-01-11  Werner LEMBERG  <wl@gnu.org>

	* troff/Makefile.sub (majorminor.cc): Fix incorrect path to
	`REVISION'.

2000-01-10  Werner LEMBERG  <wl@gnu.org>

	* Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
	revision scheme.

	Add a new read-only register, `.Y', which contains the groff
	revision.

	* troff/input.cc (init_input_requests): Define it.
	* troff/Makefile.sub (majorminor.cc): Define `revision' string.
	* doc/groff.texinfo, troff/troff.man: Document it.

	* libgroff/Makefile.sub (version.cc): Add definition of
	`Version_string[]', consisting of `<major>.<minor>.<revision>'
	* eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
	grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
	refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
	troff/input.cc, pfbtops/pfbtops.c: Use it.

2000-01-10  Fabrizio Polacco  <fab@prosa.it>

	Add a revision scheme to the groff package.

	* REVISION: New file.
	* libgroff/Makefile.sub (version.cc): Use it to define
	`revision_string[]'.
	* grops/psrm.cc: Use revision_string (converted to an unsigned
	integer) in constructor of resource_manager.

2000-01-10  Bruno Haible  <haible@clisp.cons.org>

	* devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
	files.
	* Makefile.in (DEVDIRS): Add devutf8.
	* grotty/tty.cc: Include device.h.
	(glyph): Change type of `code' to `unsigned int'.
	(tty_printer): New field is_utf8.  Constructor takes device argument.
	(tty_printer::tty_printer): If device if `utf8', set is_utf8.
	(tty_printer::add_char): Change type of first arg to `unsigned int'.
	(tty_printer::put_char): New function.
	(tty_printer::end_page): Use put_char() instead of ::putchar().
	(make_printer): Pass device to tty_printer constructor.
	* nroff.sh: Determine default device by calling 'locale'.  As a
	fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
	Recognize UTF-8 locales.
	* tmac/eqnrc: Recognize utf8 like latin1.
	* tmac/troffrc: Device utf8 needs tmac.tty.

2000-01-07  Werner LEMBERG  <wl@gnu.org>

	* tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.

2000-01-07  Paul Eggert  <eggert@twinsun.com>

	Add a new predefined writeable number register, `year',
	which contains the current year.

	* doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
	* tmac/tmac.s: Use it.
	* troff/input.cc (init_registers): Initialize it.

2000-01-06  Werner LEMBERG  <wl@gnu.org>

	* PROBLEMS: Fixed typo.

2000-01-04  Paul Eggert  <eggert@twinsun.com>

	* PROBLEMS: Add Y2k advice for the yr number register.

2000-01-03  Paul Eggert  <eggert@twinsun.com>

	* doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.

2000-01-02  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.arkup: Slight modification of macros to provide better
	appearance for non-HTML formats.

2000-01-01  Charles Levert  <charles@comm.polymtl.ca>

	* soelim/soelim.cc (include_path_append): realloc(NULL, n)
	does not automatically translate to malloc(n) on all OSes
	(e.g., SunOS) so do it explicitly.  Also, check the returned
	value.

2000-01-01  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.arkup: Added .LINE macro.  Some formatting.

	* Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
	expects this variable

2000-01-01  Gaius Mulley <gaius@glam.ac.uk>

	* doc/Makefile: Added instructions to create HTML and text
	versions of some files.

1999-12-31  Werner LEMBERG  <wl@gnu.org>

	* Updated INSTALL.gen.

	* tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
	better resp. correctly with non-HTML devices.

Version 1.15 released
=====================

1999-12-28  Werner LEMBERG  <wl@gnu.org>

	* NEWS, VERSION: Changed to 1.15

1999-12-27  Paul Eggert  <eggert@twinsun.com>

	* nroff/nroff.man: -S is safer, not safe.

	* groff/groff.cc (main): Use `safer', not `safe', in variable
	names.  This does not change the behavior.

	* troff/input.cc (main): Likewise.

	* nroff/nroff.sh: Likewise.

	* troff/input.cc (prepend_string): New function.
	(main): Prepend -msafer, so that we check macro libraries for
	safety.

	* PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.

Version 1.14 released
=====================

1999-12-26  Werner LEMBERG  <wl@gnu.org>

	* NEWS, VERSION: Changed to 1.14.

1999-12-24  Werner LEMBERG  <wl@gnu.org>

	* refer/refer.cc: Fixing the last fix.

Version 1.13 released
=====================

1999-12-23  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
	number disappear.

	* NEWS: Updated.

	* tmac/tmac.safer: Forgot to remove `so' from the `rm' request.

	* VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
	document conventions, the version number must be a real.

Version 1.12.1 released
=======================

1999-12-22  Werner LEMBERG  <wl@gnu.org>

	* VERSION: Changed to 1.12.1.

1999-12-22  Alan Rooks  <arooks@istar.ca>

	* refer/refer.cc (do_file): Slight modification to satisfy the
	`Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
	UnixWare 7.1.

1999-12-20  Werner LEMBERG  <wl@gnu.org>

	* changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
	notices.

	* tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
	list of unsafe requests.

	* pic/pic.man: Fixed a typo.

	* man/groff_out.man: Fixed a typo.

1999-12-18  Werner LEMBERG  <wl@gnu.org>

	* Makefile.in: Doc fixes.

1999-12-17  Fabrizio Polacco  <fab@prosa.it>

	* groff/groff.cc: Missing `U' option added to getopt().

	* troff/troff.man: Missing `U' option added to synopsis.

Version 1.12 released
=====================

1999-12-14  Werner LEMBERG  <wl@gnu.org>

	* troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
	to the synopsis.

	* nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
	with the more appropriate terms `safer' and `unsafe'.

	* libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
	sys_nerr and sys_errlist[].

	* pic/pic.h, aclocal.m4, configure.in: Added check for hypot().

	* pic/pic.y, pic/pic.cc: Added check for fmod().

1999-12-13  Werner LEMBERG  <wl@gnu.org>

	* VERSION: Changed to 1.12.

	Here some patches from various sources; most of them taken from
	the Debian distribution.

	* tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
	tmac/Makefile.sub: New files copied directly from the NetBSD
	distribution.  Probably, some additional adaptation later on is
	necessary...

	* tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
	of unsafe requests.

	* groff/groff.cc, groff/groff.man, nroff/nroff.sh,
	nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
	troff/troff.man: Added option `-U' for unsafe mode.  Safe mode
	(`-S') is now the default.

	* README, NEWS: Updated.

1999-12-09  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Regenerated nodes and menus with emacs.

	* doc/Makefile (clean): Added cleaning commands for groff.texinfo.

1999-12-06  Werner LEMBERG  <wl@gnu.org>

	* configure.in: Removed AC_PREFIX_PROGRAM since it causes more
	grief than relief today.  Additionally, it is against the GNU
	coding standards.

	* configure: Recreated.

1999-12-05  Werner LEMBERG  <wl@gnu.org>

	* configure.in: Added GROFF_LIBM.

	* configure: Recreated.

	* aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
	necessary.

	* Makefile.in: Added definition of $(LIBM).

	* Makefile.comm (LIBM): Removed.

	* pfbtops/Makefile.sub: On AIX, -lm is needed also.

1999-12-03  Gaius Mulley <gaius@glam.ac.uk>

	* doc/Makefile: Added rule for generation pic.html.

	(clean): Files produced by grohtml will be removed also.

	* doc/pic.ms: Small fix.

	* tmac/tmac.html: Fixed suppression of headers.

1999-11-16  Gaius Mulley <gaius@glam.ac.uk>

	* tmac/tmac.html: Fixing horizontal arrows.

	Turning off hyphenation.

	* tmac/tmac.an: Improved support for grohtml; better indentation,
	no footers/headers.

1999-10-31  Gaius Mulley <gaius@glam.ac.uk>

	* tmac/tmac.arkup: Added CDFTP macro

	* tmac/tmac.html: All headers are turned off for ms, me, and mm
	macros.

	* tmac/troffrc: Some additions for HTML stuff.

1999-10-06  Gaius Mulley <gaius@glam.ac.uk>

	* tmac/tmac.html: Small changes.

1999-09-26  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Minor fixes.

1999-09-26  Gaius Mulley <gaius@glam.ac.uk>

	* devhtml/TR: Changed spacewidth to 3.

	* tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.

	* tmac/tmac.html: Moved markup macros to tmap.arkup.

	* tmac/tmac.arkup: New file.

	* grohtml/ChangeLog: New file.

1999-09-16  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo (Common Features): Added Copying chapter.
	Changed format to @smallbook.

1999-09-15  Werner LEMBERG  <wl@gnu.org>

	* NEWS: Added info about groff.texinfo.

	* doc/groff.texinfo: Will now compile (using texi2dvi) without
	warning messages.

1999-09-14  Werner LEMBERG  <wl@gnu.org>

	* groff/groff.man: More updates.

1999-09-13  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: New file.  This manual is still very
	rudimentary.  It has been originally contributed by Trent
	A. Fisher <trent@gnurd.portland.or.us> with first corrections and
	additions by me.

	* INSTALL: Added information about the `doc' subdir

	* troff/troff.man: Minor fixes.

	* groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
	reordered options.

	* troff/input.cc (usage): Added missing `-ffam' to usage message.

	* Makefile.in (dist): groff-$(version).tar.gz must be removed
	also, otherwise it is included itself in another call of `make
	dist'.

	* groff/groff.cc (synopsis): Removed superfluous space.

	* PROJECTS, PROBLEMS, NEWS: Updated.

	* VERSION: Updated to 1.12beta.

	* BUG-REPORT: Some cosmetic fixes.  Corrected email address.

	* README: Updated: Included documentation about CVS repository,
	mailing lists, and daily snapshots.

	* tmac/Makefile.sub: Fixed $(tmap_wrap) finally.

1999-09-12  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	* tmac/tmac.an: If the tag didn't fit into the space that the
	macro `TP' specifies, the rest of the tag went into the space for
	the next line.

1999-09-12  Jeffrey Copeland  <jeff@opennt.com> 

	* grolj4/lj4.cc: Added duplex printing (option `-d').

	* grolj4/grolj4.man: Document duplex printing.

1999-09-12  Werner LEMBERG  <wl@gnu.org>

	* doc/Makefile (pic.ps): Fixed rule which caused problems with
	non-GNUish sed programs.

	* tmac/doc-syms: Removed extra space from -iso8802-3 macro
	definition.

	* configure.in (LIBS): Added `-lc'

	* Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.

	* pic/tex.cc (solid_arc): Casting M_PI to double.

	* libgroff/putenv.c (putenv): Changed function header to ANSI C.

	* groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
	(new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
	file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.

	* groff/groff_man.man: New file.  This manual page was originally
	written for the Debian GNU/Linux system by Susan G. Kleinmann
	<sgk@debian.org>.

	* eqn/list.cc (list_box::compute_metrics,
	list_box::compute_sublist_width): Removed variable declaration to
	avoid shadowing warnings.

	* grops/psrm.cc (resource_manager::process_file): Ditto.

	* tfmtodit/tfmtodit.cc (main): Ditto.

	* libgroff/font.cc (font::load_desc): Renamed auxiliary variable
	to avoid shadowing warnings.

	* tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
	shadowing loop variable.

	* groff/groff.man, troff/troff.man: Added doc about grohtml.

1999-09-12  Gaius Mulley  <gaius@glam.ac.uk>

	New grohtml frontend to convert groff input to html.

	* Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.

	* tmac/Makefile.sub (NORMALFILES): Added tmac.html.

	* tmac/eqnrc: Added html device.

	* tmac/tmac.html: New file.

	* eqn/main.cc (do_file, inline_equation), pic/troff.cc
	(troff_output::start_picture, troff_output::finish_picture),
	tbl/main.cc (process_input_file):
	Surrounded output with `graphics_start' and `graphics_end' so that
	the html driver can identify non-text portions.

	* grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
	(lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
	grotty/tty.ps (tty_printer::set_char): Additional parameter
	`name'.

	* include/printer.h: Class printer: New function
	set_char_and_width; new variables (is_char_named, is_named_set,
	named_command, named_char_s, named_char_n) to hold information
	about named characters -- needed by the html driver.

	* libdriver/printer.cc (printer::set_ascii_char,
	printer::set_special_char): Use set_char_and_width.

	* devhtml/*: New device files for html driver.

	* grohtml/*: New driver grohtml.

1999-09-11  Wilfredo Sanchez  <wsanchez@apple.com>

	* tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
	default strings.

1999-09-11  Luke Mewburn  <lukem@netbsd.org>

	* libgroff/string.cc (search): Small fix to test against NULL
	pointer.

1999-09-11  Jeff Conrad  <jeff_conrad@msn.com>

	* troff/node.cc (copy): The characters in a bracket escape (e.g.,
	\b'abc') were stacked in reverse order when processed in a
	diversion.

	* troff/node.h: Added `*last' to struct `node' to make the above
	fix work.

	* troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
	The default scale for the 'f' and 't' graphics functions were 'm'
	rather than 'u' (i.e., no scaling).

1999-09-11  Peter Miller  <peterm@jna.com.au>

	* groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
	do_file), soelim/soelim.man: Added `-I file' option to soelim,
	defining include paths.

	* soelim/soelim.cc (include_path_append): New function.

1999-09-11  Larry Jones  <larry.jones@sdrc.com>

	* tbl/main.cc (process_options): Unix (at least Documenter's
	Workbench) tbl allows arbitrary non-alpha characters between
	options.

1999-09-11  Paul Eggert  <eggert@twinsun.com>

	Y2k fixes.  Don't assume that the current year precedes 2000.

	* doc/meref.me: Add \n(y2, \n(y4.

	* tmac/doc-common (Yr): New number register.
	(Dd): Don't assume current year precedes 2000.

	* tmac/tmac.e (td): Likewise.
	(y2, y4): New number registers.

	* pic/pic.man: Update reference for pic paper to May, 1991
	version.

1999-09-11  Werner LEMBERG  <wl@gnu.org>

	* tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
	Removed quotation marks which prevented correct expansion of
	$(tmac_wrap).

	* devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).

1999-09-10  Werner LEMBERG  <wl@gnu.org>

	* Makefile.sub (DISTCLEANFILES): Added `config.log' and
	`config.cache'.

	* Removed configure.old.

1999-08-31  Werner LEMBERG  <wl@gnu.org>

	* VERSION: Updated to 1.11.1

1999-05-27  Werner LEMBERG  <wl@gnu.org>

	* doc/Makefile: changed `.PS' postfix to `.ps' for consistency.

	* tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
	added quotations around $(tmac_wrap) to avoid syntax error if
	variable is empty.

	* configure: Newly generated using autoconf 2.13.

	* Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.

Fri Aug 15 08:51:47 1997  Eric S. Raymond  <esr@snark.thyrsus.com>

	* README, PROJECTS, NEWS, INSTALL, VERSION, 
	doc/Makefile. doc/pic.ms, groff/groff.man:
	Prepare for 1.11 release.  No code changes.
	Documentation for pic added (doc/pic.ms).

Sun Nov 26 11:45:13 1995  James Clark  <jjc@jclark.com>

	* Version 1.10 released.

Fri Nov 24 09:56:16 1995  James Clark  <jjc@jclark.com>

	* afmtodit/afmtodit.pl: Avoid comment on first line.

Mon Nov 20 11:13:49 1995  James Clark  <jjc@jclark.com>

	* aclocal.m4 (GROFF_INSTALL_SH): New macro.
	* configure.in: Call it.

	* Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
	(distfiles): Doesn't depend on config.log or config.cache.

Sun Oct  1 08:45:36 1995  James Clark  <jjc@jclark.com>

	* grog/grog.sh: Use print "" rather than print in END rule.

Wed Aug 23 13:30:52 1995  James Clark  <jjc@jclark.com>

	* tbl/main.cc (process_data): Don't give error for excess data
	entries that are comments.

Fri Jul 28 11:00:27 1995  James Clark  <jjc@jclark.com>

	* tbl/main.cc (process_data): Fix case where new for-scope rules
	silently change meaning of code.

Tue Jul  4 23:39:51 1995  James Clark  <jjc@jclark.com>

	* troff/env.cc (hyphenate): Loop over all consecutive sequences
	of non-zero hyphenation codes.

Sat Jul  1 00:42:15 1995  James Clark  <jjc@jclark.com>

	* aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.

Thu Jun 29 13:58:36 1995  James Clark  <jjc@jclark.com>

	* tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.

Tue Jun 27 12:30:16 1995  James Clark  <jjc@jclark.com>

	* tmac/tmac.andoc: Make it work in compatibility mode.

	* refer/token.h (token_info::is_range_sep): New function.
	* refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
	* refer/ref.cc (reference::output): More sophisticated check for
	multiple pages.

	* devps/prologue.ps (MANUAL): New procedure.
	* grops/ps.cc (main): New -m option.
	(usage): Include -m.
	(ps_printer::~ps_printer): Implement -m.

	* aclocal.m4 (GROFF_G): New macro.
	* configure.in: Call it.
	* Makefile.in (g): Provided by configure.

	* hpftodit/hpftodit.cc (basename): Rename to xbasename.

	* tmac/tmac.tty: Disable warning about bad fonts.  Remove font
	translations.

	* Makefile.in (tmacpath): Don't include /usr/lib/tmac.
	(tmac_m, tmac_s): Deleted.
	(sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
	tmac_s_prefix): New variables.
	(MDEFINES): Change accordingly.
	* Makefile.comm (.man.n): Use new TMAC_* variables.
	* configure.in (GROFF_TMAC): Call.
	* aclocal.m4 (GROFF_TMAC): Define.
	* tmac/Makefile.sub (stamp_wrap): New target.
	(install_data, uninstall_sub): Handle macro wrapping.

Mon Jun 26 14:54:39 1995  James Clark  <jjc@jclark.com>

	* tbl/main.cc (main): Ignore -T option.

Thu Jun 22 09:08:06 1995  James Clark  <jjc@jclark.com>

	* devlj4/generate/special.map: Add definition of \(nb.

	* tmac/tmac.dvi: Add definition of \(nb.

	* troff/dictionary.c (dictionary::dictionary): association::v gets
	initialized by association::association.

	* tmac/Makefile.sub: Avoid using temporary files when installing.

	* troff/env.cc (environment::set_font): Make bad font number a
	warning.

	* Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.

	* Makefile.in (datadir): Use share rather than lib.

	* groff/groff.cc (basename): Rename to xbasename.

Wed Jun 21 16:59:46 1995  James Clark  <jjc@jclark.com>

	* Makefile (CCLIBS): Don't use.
	* Makefile.ccpg: Likewise.

	* acgroff.m4: Rename to...
	* aclocal.m4: Modify extensively for autoconf 2.
	* configure.in: Likewise.
	* Makefile.in: Likewise.

	* groff/pipeline.c (const): Declare as empty if __STDC__ not
	defined.
	(xstrsignal): Check for definition of NSIG. Conditionalize
	on SYS_SIGLIST_DECLARED.  Make return type const.

Sat Jun 10 12:28:16 1995  James Clark  <jjc@jclark.com>

	* troff/input.cc (interpolate_macro): Rephrase missing space
	warning.

Thu May 11 01:07:16 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

	* addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
	grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
	grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
	libbib/index.cc, libbib/linear.cc, libbib/search.cc,
	libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
	libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
	libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
	pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
	refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
	tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
	troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
	Fix 'for' scoping.

Wed Apr 19 21:15:11 1995  James Clark  <jjc@jclark.com>

	* troff/input.cc (spring_trap): Push a macro_iterator rather than a
	string_iterator.
	(spring_trap, postpone_traps, unpostpone_traps): Move to later in
	file.
	(macro_iterator::macro_iterator): Add additional argument.

Mon Apr 10 12:06:02 1995  James Clark  <jjc@jclark.com>

	* troff/div.cc (vertical_size::vertical_size): In place of integer
	specifying line spacing use cunits specifying post vertical
	space.
	(macro_diversion::output, top_level_diversion::output): Likewise.
	* troff/div.h: Change declarations accordingly.
	* troff/env.cc (pending_output_line): Replace ls field by post_vs
	field.
	(pending_output_line::pending_output_line,
	pending_output_line::output, environment::output,
	environment::output_line, environment::output_title,
	environment::hyphenate_line):  In place of
	integer specifying line spacing use cunits specifying post vertical
	space.
	(environment::environment): Add post_vertical_spacing and
	prev_post_vertical_spacing arguments.
	(environment::get_post_vertical_spacing): New function.
	(environment::total_post_vertical_spacing): New function.
	(environment::post_vertical_spacing): New function.
	(init_env_requests): Initialize pvs request and .pvs register.
	* troff/env.h: Change declarations.

Tue Mar 28 09:52:07 1995  James Clark  <jjc@jclark.com>

	* tmac/tmac.pspic: Immediately remove the temporary file.

Sat Mar 25 10:43:11 1995  James Clark  <jjc@jclark.com>

	* tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
	height is specified.

Thu Jan 26 16:20:13 1995  James Clark  <jjc@jclark.com>

	* tbl/table.c (struct vertical rule, class table_entry): Use int
	not short for start_row and end_row.

Fri Jan 13 13:53:05 1995  James Clark  <jjc@jclark.com>

	* troff/input.cc (trapping_blank_line, blank_line_macro): New
	functions.
	(diverted_space_node::reread, process_input_stack): Call
	trapping_blank_line() rather than blank_line().
	(init_input_requests): Bind "blm" to blank_line_macro().

	* tmac/tmac.s (XA): Use .br and par@reset rather than XA.

Tue Jan 10 11:40:35 1995  James Clark  <jjc@jclark.com>

	* troff/env.cc (environment::possibly_break_line): Require that
	width total excluding width of final space node be greater than
	the target text length.

Tue Jan  3 09:13:37 1995  James Clark  <jjc@jclark.com>

	* troff/node.cc (kern_pair_node::vertical_extent): New function.

Sun Dec  4 13:19:07 1994  James Clark  <jjc@jclark.com>

	* troff/node.cc (charinfo_node): New class.
	(glyph_node, composite_node): Derive from charinfo_node.  Change
	member functions accordingly.

Wed Nov 30 10:29:29 1994  James Clark  <jjc@jclark.com>

	* nroff/nroff.sh: Use -Tlatin1 not -TLatin1.

Mon Aug  8 10:17:59 1994  James Clark  (jjc@jclark.com)

	* tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].

	* devps/generate/textmap (notsubset): Add.

	* tmac/tmac.a4: New file.

Sun Jul 24 20:08:42 1994  James Clark  (jjc@jclark.com)

	* pic/main.cc (had_parse_error): New variable.
	(do_picture, do_whole_file): Set had_parse_error if yyparse()
	returns non-zero.
	(main): Return 1 if had_parse_error is true.

Tue Jul 19 13:40:31 1994  James Clark  (jjc@jclark.com)

	* grolj4/lj4.cc (main): Avoid use of strtoul.

Mon Jul 18 15:03:02 1994  James Clark  (jjc@jclark.com)

	* nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
	iso_8859_1 or $LESSCHARSET is latin1.

Sun Jul 10 13:38:35 1994  James Clark  (jjc@jclark.com)

	* hpftodit: New directory.
	* Makefile.in (CCPROGDIRS): Add hpftodit.
	* devlj4/generate: New directory.

Thu Jul  7 23:49:48 1994  James Clark  (jjc@jclark.com)

	* configure.in: Don't use AC_VFORK.
	* groff/pipeline.c (run_pipeline): Use fork() always.

Wed Jul  6 11:13:17 1994  James Clark  (jjc@jclark.com)

	* grops/ps.cc (main): Use %1 not %s in error message for -w.

	* Makefile.in (CCPROGDIRS): Add grolj4.
	(DEVDIRS): Add devlj4.
	* grolj4, devlj4: New directories.
	* tmac/troffrc: Handle lj4.
	* tmac/tmac.lj4: New file.

Fri Jun 17 18:02:53 1994  James Clark  (jjc@jclark.com)

	* tmac/tmac.e (@n): Set indent to 0 before calling |h.

Wed Jun  1 07:33:47 1994  James Clark  (jjc@jclark.com)

	* troff/input.cc (do_if_request): At end of second string, switch
	environments before getting next token.

Fri May 20 07:39:18 1994  James Clark  (jjc@jclark.com)

	* devps/psstrip.sed: Split rule that strips whitespace on either
	side of delimiters.

Wed May 18 08:13:47 1994  James Clark  (jjc@jclark.com)

	* troff/node.h (font_family::make_definition): Add return value to
	declaration.  * troff/symbol.h (symbol::operator==,
	symbol::operator!=): Likewise.

Tue May 17 20:46:06 1994  James Clark  (jjc@jclark.com)

	* groff/groff.cc (main, help, synopsis): Handle -S.
	(possible_command::insert_arg): New function.

	* tmac/tmac.safer: New file.
	* tmac/msafer.man: New file.
	* tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.

Thu Mar 10 01:58:30 1994  Paul Eggert  (eggert@twinsun.com)

	* pic/pic.h, pic/main.cc (safer_flag): New variable.
	* pic/pic.y (placeless_element): Avoid unsafe operations if
	`safer_flag' is set.
	* pic/main.cc (main): Add -S option, which sets `safer_flag'.

Tue May 10 13:02:31 1994  James Clark  (jjc@jclark.com)

	* eqn/lex.cc (get_token): Put call to add_context() in block to
	work around Sun C++ 4.0 bug.

	* include/stringclass.h (operator +): Use ?: instead of `if' to
	work around Sun C++ 4.0 bug.

Thu May  5 11:18:03 1994  James Clark  (jjc@jclark.com)

	* tbl/main.cc (process_format): Accept - as a synonym for the _
	key letter.

	* libbib/index.cc (minus_one): Don't declare as const.

Fri Apr 29 09:32:48 1994  James Clark  (jjc@jclark.com)

	* troff/input.cc (get_char_for_escape_name): Push back a newline.

Wed Apr 27 21:14:18 1994  James Clark  (jjc@jclark.com)

	* troff/input.cc (write_macro_request): New function.
	(init_input_requests): Bind write_macro_request to writem.

Sun Apr 17 11:15:38 1994  James Clark  (jjc@jclark.com)

	* tmac/tmac.s (@EN): Turn filling back on even if there was no
	equation.

	* eqn/lex.cc (do_space): Supply missing argument to lex_error.

	* tmac/tmac.s (@TS): Renamed from TS.
	(TS): Call LP then TS again.
	(cov*ab-init): Alias @TS to TS.

	* tmac/tmac.s: Allow QP or RS to initialize.

	* tmac/tmac.s (par@load-init): New macro.  Call at end of file.
	Move initializations of PS and LL here.
	(par@init): Don't initialize HY.  Avoid changing environment 0.
	(par*env-init): Don't all par@reset.

Thu Apr 14 19:15:45 1994  James Clark  (jjc@jclark.com)

	* include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.

Sun Apr 10 09:54:44 1994  James Clark  (jjc@jclark.com)

	* Makefile.in (MDEFINES): Add LDFLAGS.
	(LDFLAGS): Add definition line.

Thu Apr  7 22:22:22 1994  James Clark  (jjc@jclark.com)

	* troff/input.cc (get_optional_char): Split off error check into...
	(check_missing_character): New function.
	* troff/token.h: Declare it.
	* troff/env.cc (margin_character): Don't call get_optional_char.
	Only call tok.next() after making the node.

	* include/lib.h (getopt): Make 2nd argument char *const *.

Fri Mar 11 07:28:03 1994  James Clark  (jjc@jclark.com)

	* nroff/conftest.sh: Deleted.

Fri Mar  4 10:51:36 1994  James Clark  (jjc@jclark.com)

	* pic/make-dos-dist: Deleted.

Wed Mar  2 20:59:16 1994  James Clark  (jjc@jclark.com)

	* devps/psstrip.sed: Strip comments before stripping trailing
	white space.

Sat Feb 19 13:07:16 1994  James Clark  (jjc@jclark.com)

	* Version 1.09 released.

Wed Feb 16 16:53:49 1994  James Clark  (jjc@jclark.com)

	* tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.

Mon Feb 14 08:26:40 1994  James Clark  (jjc@jclark.com)

	* libgroff/font.cc (font::load_desc): Fix typo in error message.

Sun Feb 13 09:37:38 1994  James Clark  (jjc@jclark.com)

	* libgroff/new.cc (operator new): Rewrite so as to avoid warning
	about returning without a value.

	* troff/charinfo.h (charinfo::get_special_translation): Cast
	TRANSLATE_NONE to int.

	* refer/token.cc (lookup_token, store_token): Remove bogus loop
	test.  Fix test so that it works with n unsigned.

	* pic/pic.y (defaults_table): Fully bracket initializer.
	* pic/lex.cc (lookup_keyword): Likewise.
	* eqn/lex.cc (token_table, def_table): Likewise.
	* eqn/box.cc (param_table): Likewise.
	* troff/input.cc (warning_table): Likewise.
	* libgroff/font.cc (table): Likewise.
	* grops/ps.cc (ps_printer::special): Likewise.
	* grops/psrm.cc (resource_manager::process_file): Likewise.
	* tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
	* refer/command.cc (command_table): Likewise.
	* addftinfo/addftinfo.cc (param_table): Likewise.

	* troff/symbol.cc (symbol::symbol): Prevent compiler warnings
	about temp's being unused.
	(unused): New function.

	* groff/pipeline.cc: Declare c_fatal.

	* libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
	uchar.

	* libbib/index.cc (index_search_item::load): Prevent compiler
	warnings about fd_closer's being unused.
	(unused): New function.

Sat Feb 12 10:31:59 1994  James Clark  (jjc@jclark.com)

	* troff/input.cc (copy_mode_error): Make `prefix' static.
	Fix typo.

	* include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
	defined.
	* acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
	HAVE_CC_OSFCN_H and modify accordingly.

	* troff/input.cc (init_charset_table): radicalex overlaps
	horizontally.

	* groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
	udodo!hans@relay.NL.net).
	* groff/configure.in: Call it.

	* groff/acgroff.m4 (GROFF_PCLOSE): New macro.
	* groff/configure.in: Call it.
	* include/lib.h: Conditionalize declaration of pclose.

	* troff/div.cc (last_page_number): New global variable.
	(top_level_diversion::begin_page): Exit if we just printed the
	last page.
	* troff/div.h (last_page_number): Declare it.
	* troff/input.cc (parse_output_page_list): Set last_page_number.

	* eqn/sqrt.cc: Rename \(rn to \[radicalex].
	* devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
	tmac/tmac.X: Likewise.
	* tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
	* tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.

Fri Feb 11 11:45:40 1994  James Clark  (jjc@jclark.com)

	* tmac/doc-ditroff (hK): Remove groff specific code which
	prevented page-breaks between separate manual entries.  If this is
	the first page, don't set the page number to 1.

	* acgroff.m4 (GROFF_POSIX): New macro.
	* configure.in: Use it.

	* troff/node.cc (class real_output_file,
	real_output_file::real_output_file,
	real_output_file::~real_output_file): Conditionalize use of
	popen/pclose on POPEN_MISSING.
	* troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
	* troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
	(pipe_source): Similarily.

	* acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.

	* acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
	presence of declarations by trying to compile example with
	conflicting declarations.  (gcc only gives a warning for missing
	declarations.)

Wed Feb  9 09:12:23 1994  James Clark  (jjc@jclark.com)

	* tmac/tmac.pspic (PSPIC): Allow options to specify alignment
	(from Ulrich Lauther).

Tue Feb  8 03:56:40 1994  James Clark  (jjc@jclark.com)

	* libbib/linear.cc (file_buffer::load): Use S_ISREG macro.

Thu Feb  3 09:34:35 1994  James Clark  (jjc@jclark.com)

	* indxbib/indxbib.cc (write_hash_table): Add code for case where
	pointers and ints have different sizes.

Sun Jan  9 16:17:51 1994  James Clark  (jjc@jclark.com)

	* tmac/tmac.s (par*env-init): Call par@reset.

Fri Jan  7 10:24:27 1994  James Clark  (jjc@jclark.com)

	* tmac/tmac.s (@IP): Switch to a new environment when diverting
	tag.
	(par*push-tag-env, par*pop-tag-env): New macros.

Wed Jan  5 21:18:34 1994  James Clark  (jjc@jclark.com)

	* grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
	initializing `out'.  Reduce MAX_LINE_LENGTH from 79 to 72.

	* grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
	comment.  Include <time.h>.

Wed Dec 15 14:14:00 1993  James Clark  (jjc@jclark.com)

	* grops/ps.cc (is_small_h, is_small_v): Deleted.
	(ps_printer::flush_sbuf): Use absolute motion only at beginning of
	lines.

Tue Dec 14 10:06:34 1993  James Clark  (jjc@jclark.com)

	* troff/input.cc (read_request): Only print a prompt if reading
	from the terminal.  Also clearerr on EOF if reading from the
	terminal.  Declare isatty.

Mon Nov 29 08:38:15 1993  James Clark  (jjc@jclark.com)

	* refer/label.y: Rename map_t to map_func and extractor_t to
	extractor_func.

Sat Oct 30 06:38:12 1993  James Clark  (jjc@jclark.com)

	* include/assert.h: Don't use volatile.
	* libgroff/assert.cc: Likewise.

Fri Oct 29 15:00:23 1993  James Clark  (jjc@jclark.com)

	* troff/input.cc (abort_request): Look at character in tok before
	calling get_copy().

Thu Oct 28 14:09:48 1993  James Clark  (jjc@jclark.com)

	* troff/troff.h (NO_RETURN): Deleted.
	* troff/div.cc (cleanup_and_exit):  Don't declare aas NO_RETURN.
	* troff/input.cc (exit_troff): Likewise

	* Makefile.in: Remove `Making ...' messages since GNU make now
	gives these. 

	* configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.

Wed Oct 27 11:12:51 1993  James Clark  (jjc@jclark.com)

	* tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
	to constant 1 inch.

Sat Oct 23 10:03:52 1993  James Clark  (jjc@jclark.com)

	* tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.

Thu Oct 14 12:09:45 1993  James Clark  (jjc@jclark.com)

	* eqn/delim.cc (delim_box::compute_metrics): Don't increase
	MARK_REG if there was no left delimiter.

Sat Oct  2 19:54:47 1993  James Clark  (jjc@jclark.com)

	* pic/troff.cc (troff_output::text): Set line thickness to
	relative before outputting text.

	* tmac/tmac.e (@k): Don't zero ?T.
	((z): Likewise.

Sat Sep 25 11:08:43 1993  James Clark  (jjc@jclark.com)

	* tmac/tmac.e ($p): Handle possibility that $3 is empty.

Wed Aug 18 08:51:41 1993  James Clark  (jjc@jclark.com)

	* troff/input.cc (decode_args): Warn about unquoted tabs (from
	Paul Eggert).

Tue Aug 10 08:38:32 1993  James Clark  (jjc@jclark.com)

	* troff/input.cc (ignoring): New variable.
	(ignore): Set ignoring during call to do_define_macro.
	(do_define_macro): Clear ignoring before interpolating terminating
	macro.
	(copy_mode_error): New function.
	(get_char_for_escape_name, read_long_escape_name,
	interpolate_arg): Use copy_mode_error.
	(warning_table): Add WARN_IG.
	* troff/troff.h (WARN_IG): Declare.
	(WARN_TOTAL): Change accordingly.

	* groff/pipeline.c (strsignal): Rename to xstrsignal.
	* groff/groff.cc (strsignal): Delete declaration.

Fri Jul 16 01:43:12 1993  James Clark  (jjc@jclark.com)

	* troff/div.cc (page_offset): Use 'm' as default scaling.

Sat Jul  3 09:11:38 1993  James Clark  (jjc@jclark.com)

	* nroff/nroff.sh: Ignore -u.

Wed Jun  9 12:17:27 1993  James Clark  (jjc@jclark.com)

	* Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.

Fri Jun  4 17:35:47 1993  James Clark  (jjc@jclark.com)

	* tmac/tmac.s (par*box-draw): Set adjustment mode to l while
	drawing box.
	(B2): With -Tascii, leave additional vertical space before
	and after. Ensure that the left and right indent is restored to
	what it was even if the point size changes.  Don't call
	par@finish. Change the indent, line length and title length
	directly.  With -Tascii, make the width of the box 1n less.
	(B1): Remember 1n at the current point size.  Don't call
	par@reset.  Change the indent, line length and title length
	directly.  Ensure that the temporary indent is preserved.
	(par*box-mark-top): Turn off no spacing mode.

Thu Jun  3 17:47:14 1993  James Clark  (jjc@jclark.com)

	* Makefile.in (dist): Use .gz suffix.

Thu May 27 20:04:59 1993  James Clark  (jjc@jclark.com)

	* troff/input.cc (main): Add return 0.
	* pic/main.cc (main): Use return instead of exit.
	* tbl/main.cc (main): Likewise.
	* eqn/main.cc (main): Likewise.
	* grops/ps.cc (main): Likewise.
	* grotty/tty.cc (main): Likewise.
	* groff/groff.cc (main): Likewise.
	* grodvi/dvi.cc (main): Likewise.
	* refer/refer.cc (main): Likewise.
	* indxbib/indxbib.cc (main): Likewise.
	* lkbib/lkbib.cc (main): Likewise.
	* soelim/soelim.cc (main): Likewise.
	* addftinfo/addftinfo.cc (main): Likewise.
	* acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
	GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.

	* troff/token.h (process_input_stack): Don't declare as static.
	* troff/input.cc: Likewise.

	* troff/node.c (invalidate_fontno): Make it a static member of
	class font_family.  Change callers.
	* troff/node.c: Change declaration.

	* tbl/main.cc (struct input_entry_format): Add explicit public
	specifier.
	* tbl/table.cc (struct text_stuff, struct single_hline_stuff,
	struct double_hline_stuff): Likewise.
	* tbl/table.h (struct entry_format): Likewise.
	* pic/object.h (struct saved_state): Likewise.

	* include/stringclass.h: Add forward declarations of friend
	functions that are later declared as inline.  Don't include inline
	specifier in friend declaration.

	* libgroff/lib.h: Declare popen and pclose.
	* acgroff.m4 (GROFF_POPEN): New macro.
	* configure.in: Call it.

	* include/lib.h (PI): New constant. Undef first if necessary.
	* tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
	* grops/ps.cc (degrees, radians): Likewise.
	* libgroff/font.cc (font::get_skew): Likewise.

	* grops/ps.cc (is_ascii): New function.
	(ps_output::put_string): Use is_ascii.  Use csprint rather than
	isprint.
	(ps_printer::define_encoding): Use csspace.
	* libgroff/strtol.c (ISASCII): New macro.
	(strtol): Cast arguments to is*() and tolower() to unsigned char.
	Use ISASCII rather than isascii.
	* libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
	* libgroff/cset.cc: Likewise.
	* libdriver/input.cc: Include cset.h.
	(do_file, get_integer, possibly_get_integer): Use csdigit() rather
	than isdigit().

	* refer/refer.cc (main): Use %ld rather than %d for longs.

	* libbib/index.cc (index_search_item_iterator::get_tag): Use
	S_ISREG macro.

	* addftinfo/addftinfo.cc (param_t): Add explicit `int'.

Mon May 24 08:51:37 1993  James Clark  (jjc@jclark.com)

	* troff/input.cc (hyphenation_code): Skip white space between
	char/code pairs.

Sun May 16 08:15:52 1993  James Clark  (jjc at jclark.com)

	* tbl/table.h (table::entry_list_tailp): New member.
	(table::table): Initialize it.
	(table::add_entry): Use entry_list_tailp to avoid O(n^2)
	behaviour.

Sat May 15 17:26:00 1993  James Clark  (jjc at jclark.com)

	* grotty/tty.cc (tty_printer::add_char): Don't discard characters
	with negative horizontal positions. Remove casts of glyph::hpos to
	int.
	(USHRT_MAX): Delete definition.
	(SHRT_MAX, SHRT_MIN): New definitions.
	(glyph::hpos): Change type to short.
	(tty_printer::end_page): Output multiple backspaces if necessary.
	 Remove casts of glyph::hpos to int.
	
Fri May  7 12:14:37 1993  James Clark  (jjc at jclark.com)

	* tmac/tmac.s (@RT): New definition.

Thu May  6 21:36:54 1993  James Clark  (jjc at jclark.com)

	* refer/refer.cc (do_file): Make sure current_filename is set when
	filename is "-".

	* pic/common.cc (common_output::dot_line): Handle zero length
	lines.

Sun May  2 19:54:16 1993  James Clark  (jjc at jclark.com)

	* tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
	(par@init): Initialize \n[HY].

Mon Apr 26 11:43:16 1993  James Clark  (jjc at jclark.com)

	* troff/dictionary.cc (dictionary::remove): Continue when
	r < j < i.

Sun Apr 25 11:03:00 1993  James Clark  (jjc at jclark.com)

	* Makefile.com (.y.cc): Avoid ending up with two versions of
	$(YTABH).

Thu Apr 22 21:03:45 1993  James Clark  (jjc at jclark.com)

	* tmac/tmac.dvi (\(,c): Define only if it does not exist.
	(\(,C): Likewise.  Also fix typo.

Wed Apr 21 08:47:32 1993  James Clark  (jjc at jclark.com)

	* lib.h: Delete extraneous semi-colon.

	* Add pso request: `so' from a pipe.
	* troff/input.c (file_iterator::file_iterator): Add 3rd argument.
	(file_iterator::close): New function.
	(file_iterator::~file_iterator, file_iterator::next_file): Use
	file_iterator::close.
	(file_iterator::backtrace): Say `process' rather than `file' when
	the stream is popened.
	(pipe_source): New function.
	(init_input_requests): Bind ".pso" to pipe_source.

Tue Apr 20 00:02:26 1993  James Clark  (jjc at jclark.com)

	* afmtodit/afmtodit.pl: Avoid single quotes in comments.

	* pfbtops/pfbtops.c: Output 64 characters per line.  Output hex
	digits in lower case.

Mon Apr 19 09:55:57 1993  James Clark  (jjc at jclark)

	* Version 1.08 released.

	* Makefile.in (dist): Insert || true after ln -s commands that
	might fail.

	* mm: Update to mm 1.16.

	* acgroff.m4 (GROFF_CSH_HACK): New macro.
	* configure.in: Call GROFF_CSH_HACK.  Substitute for
	SH_SCRIPT_SED_CMD.
	* Makefile.in (SH_SCRIPT_SED_CMD): New variable.  Include in
	MDEFINES.
	* nroff/Makefile.sub (nroff): New target.
	(install_data): Install nroff.
	* eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
	* grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.

Sat Apr 17 08:24:28 1993  James Clark  (jjc at jclark)

	* eqn/Makefile.sub (neqn): Add chmod +x.

	* grog/Makefile.sub (grog): Remove spurious semi-colon.

Fri Apr 16 22:41:57 1993  James Clark  (jjc at jclark)

	* troff/input.cc (string_iterator::string_iterator()): Initialize
	lineno and count.

Tue Apr 13 10:22:28 1993  James Clark  (jjc at jclark)

	* troff/div.cc (macro_diversion::space,
	top_level_diversion::space): Don't set high_water_mark.
	(macro_diversion::output, top_level_diversion::output): Don't
	include post line space in high water mark.

Wed Apr  7 12:48:18 1993  James Clark  (jjc at jclark)

	* eqn/eqn.y: Don't define YYDEBUG.
	* pic/pic.y: Likewise.

Mon Apr  5 10:15:15 1993  James Clark  (jjc at jclark)

	* tmac/tmac.e ([3): Add space after comma following editors.
	Change double spaces to single spaces.
	([4): Change double spaces to single spaces.

	* grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
	* grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
	bit is set in broken_flags, use 2.0 rather than 3.0 as the version
	after %!PS-Adobe- (for Newsprint).

	* troff/div.cc (top_level_diversion::begin_page): When
	before_first_page is 1, set page_number to 1.

Sun Apr  4 14:28:53 1993  James Clark  (jjc at jclark)

	* eqn/box.cc (box::top_level): Protect equation with \&.

Sat Apr  3 23:27:25 1993  James Clark  (jjc at jclark)

	* groff/groff.cc (possible_command::set_name): Delete old name.

	* groff/groff.cc (possible_command::~possible_command): Use
	a_delete.

	* troff/node.cc (troff_output_file::begun_page): New member.
	(troff_output_file::troff_output_file): Initialize it.
	(troff_output_file::really_begin_page): Only output V command if a
	page has been begun.

	* pic/pic.y (placeless_element): Delete argument to PRINT after
	use.

Fri Apr  2 11:31:02 1993  James Clark  (jjc at jclark)

	* Make wrapman work.
	* troff/div.h (class top_level_diversion): Replace
	first_page_begun by before_first_page (with opposite sense).
	* Change first_page_begun to before_first_page inverting sense.
	* troff/div.cc (class nl_reg): New class.
	(init_div_requests): Use class nl_reg for \n(nl.
	(top_level_diversion::begin_page): Don't call
	output_file::begin_page if before_first_page is 2;
	reset before_first_page afterwards.  If have_next_page_number is
	false, then always increment page_number.
	* tmac/tmac.an: Set traps within TH rather than at the top-level.
	Restore compatibility mode after loading, and then disable
	compatibility mode in TH.

Thu Apr  1 11:09:34 1993  James Clark  (jjc at jclark)

	* grotty/tty.cc (tty_printer::end_page): Don't discard characters
	past last line.
	* troff/node.h (output_file::trailer): Declare.
	* troff/div.cc (cleanup_and_exit): Call output_file::trailer().
	* troff/node.cc (output_file::trailer): New function.
	(troff_output_file::~troff_output_file): Move most code into...
	(troff_output_file::trailer): New function.
	(class troff_output_file): Delete page_length member. Declare
	trailer().
	(troff_output_file::really_begin_page): Use current page length
	for final V command.

	* tbl/main.cc (struct options): New decimal_point_char member.
	(options::options): Initialize this.
	(process_options): Implement decimalpoint option.
	(process_data): Pass decimal_point_char option to table::table.
	* tbl/table.h (class table): New decimal_point_char member.
	(table::table): Add additional argument.
	* tbl/table.cc (find_dot): Rename to find_decimal_point. Add
	second argument specifying decimal point character.  Use this
	instead of '.'.
	(table::table): Initialize decimal_point_char.
	(table::add_entry): Change call to find_dot.

	* troff/input.cc (get_copy, token::next): Implement \V.
	(interpolate_environment_variable): New function.

Tue Mar 30 14:41:39 1993  James Clark  (jjc at jclark)

	* pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
	* pic/pic.y: Likewise.

	* grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
	Add casts to int.
	* refer/ref.cc (reference::insert_field, reference::delete_field):
	Likewise.
	* troff/number.cc (parse_term): Likewise.

	* acgroff.m4 (GROFF_PROG_YACC): New macro.
	* configure.in: Use GROFF_PROG_YACC.

	* acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
	and g++.
	* Makefile.in (OPTIMIZE): New define.
	(DEBUG): Empty by default.
	(CCFLAGS, CFLAGS): Include $(OPTIMIZE).

	* acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
	(GROFF_ARRAY_DELETE): Likewise.
	(GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.

	* troff/env.cc (trie::~trie): Make virtual to shut up g++.

	* devps/psstrip.sed: Use different delimiter on last line (so that
	it works with BSD 4.4 sed.)

Mon Mar 29 17:07:14 1993  James Clark  (jjc at jclark)

	* devps/psstrip.sed: Delete comments.

	* acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
	optind, opterr, optarg.
	* lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
	opterr, optarg.

Sun Mar 28 17:44:25 1993  James Clark  (jjc at jclark)

	* Makefile.in (check): Dummy target.

Wed Mar  3 04:53:38 1993  James Clark  (jjc at jclark)

	* Version 1.07 released.

	* Integrate mm 1.11.

	* tbl/table.cc (alphabetic_block_entry::print): start_row was used
	where start_col was meant.

Thu Feb 25 07:55:36 1993  James Clark  (jjc at jclark)

	* grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.

Wed Feb 24 10:15:34 1993  James Clark  (jjc at jclark)

	* troff/input.cc (token::next): Make \z\o'...' and similar things
	work.

	* env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
	constants.
	(environment): Add margin_character_flags member.
	* env.cc (environment::environment(symbol),
	environment::environment(const environment *): Initialize
	margin_character_flags.
	(margin_character): Rewrite.
	(environment::output_line): Add a margin character if
	margin_character_flags is non-zero.  Turn off the
	MARGIN_CHARACTER_NEXT bit.  If that makes margin_character_flags
	zero, use margin_character_node without copying and then set
	margin_character_node to 0.

	* devps/DESC.in: Change minimum size to 1000.

Tue Feb 23 14:57:49 1993  James Clark  (jjc at jclark)

	* troff/symbol.h (symbol::hash): Change return type to unsigned
	long.
	* troff/dictionary.cc (dictionary::lookup, dictionary::remove):
	Add casts to int.

	* test-groff: Use -r rather than -x.

	* grops/psfig.diff: Include in distribution again.

Mon Feb 22 09:10:44 1993  James Clark  (jjc at jclark)

	* Makefile.in (dist): Use gzip.

Sun Feb 21 11:12:53 1993  James Clark  (jjc at jclark)

	* acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
	unistd.h as well as in stdlib.h.
	* include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
	defined; otherwise include <sys/types.h> and <unistd.h> if
	UNISTD_H_DECLARES_GETOPT is defined.

	* configure.in: use builtin(include, ... rather than include(...
	* configure: Regenerate with autoconf 1.3.

	* libdriver/print.cc (printer::adjust_arc_center): Use new
	algorithm suggested by Andy Fyfe.

	* libdriver/printer.cc (printer::adjust_arc_center): New function.
	* include/printer.h: Declare this.
	* grops/ps.cc (ps_printer::draw): Use it.
	* grodvi/dvi.cc (dvi_printer::draw): Use it.

Fri Feb 19 23:13:51 1993  James Clark  (jjc at jclark)

	* Makefile.comm (.man.n): Replace macrodir by tmacdir.

Thu Feb 11 16:46:59 1993  James Clark  (jjc at jclark)

	* eqn/main.cc (main): Handle "eqn -".

Mon Jan  4 20:29:56 1993  James Clark  (jjc at jclark)

	* tmac/tmac.e (++): Install fix from comp.bugs.4sd.

	* mm: Integrate version 1.08.

	* pic/troff.cc (troff_output::finish_picture): Set
	EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
	* eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
	if it's not defined. Check whether the register is non-zero rather
	than whether it's not defined.
	* tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.

	* indxbib/indxbib.cc: Move all signal handling into...
	* indxbib/signal.c: New file.
	* configure.in: Call AC_RETSIGTYPE.

	* acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
	* configure.in: Call GROFF_STRUCT_EXCEPTION.
	* libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.

	* troff/input.cc (token::token, token::operator=): Work round SGI
	C++ bug.
	* pic/object.cc (position::position): Likewise.

Mon Dec 28 21:50:21 1992  James Clark  (jjc at jclark)

	* pic/pic.h: Move declaration of hypot().

Wed Dec 16 12:28:29 1992  James Clark  (jjc at jclark)

	* pic/pic.h: Declare hypot().

	* pic/pic.h: Define M_PI if necessary.

Thu Dec 10 12:03:29 1992  James Clark  (jjc at jclark)

	* tmac/tmac.e (re): Add alternative version that doesn't use groff
	`.ta T' feature.

	* devps/prologue.ps (RE): Handle the possibility that the old font
	doesn't have a FontName entry.

Wed Dec  2 10:25:29 1992  James Clark  (jjc at jclark)

	* tmac/tmac.e (fam): Redefine to set family in environment 2.
	(@C): Use @fam not fam.

Thu Nov 26 16:01:25 1992  James Clark  (jjc at jclark)

	* lookbib/lookbib.cc (main): Change type of start to const char *.
	* lkbib/lkbib.cc (main): Likewise.

	* eqn/lex.cc (definition::definition): Don't use member
	initializer syntax for members of anonymous unions.

	* troff/input.cc (input_stack::backtrace): Change type of to const
	char *.

Wed Nov 25 13:43:09 1992  James Clark  (jjc at jclark)

	* include/stringclass.h (class string): Declare inline friend
	functions as inline in class declaration.
	* troff/hvunits.h (class hunits, class vunits): Likewise.
	* include/refid.h (class reference_id): Likewise
	* troff/troff.h (points_to_units(units), scale(units, double)):
	Delete declarations.
	* libdriver/input.cc (get_char): Delete declaration.
	* include/lib.h: Change 2nd argument of getopt from const char **
	to char **.
	* troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
	char **' before assigning to a `const char **'.
	* tbl/table.cc: Delete extra declarations of prints().

Tue Nov 24 14:33:13 1992  James Clark  (jjc at jclark)

	* libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
	char **' before assigning to a `const char **'.

	* libgroff/errarg.cc (errarg::errarg): Don't use member
	initializer syntax for members of anonymous unions.

Sat Nov 21 05:02:23 1992  James Clark  (jjc at jclark)

	* mm: Integrate version 1.07.

Tue Nov 17 16:44:27 1992  James Clark  (jjc at jclark)

	* troff/input.c (translate2): Rename to
	(translate_no_transparent).
	(init_input_requests): Rename tr2 to trnt.

Mon Nov 16 09:49:32 1992  James Clark  (jjc at jclark)

	* troff/charinfo.h (class charinfo): Add transparent_translate field.
	(charinfo::set_translation, charinfo::set_special_translation):
	Add second argument that specifies value for
	transparent_translate.
	(charinfo::get_translation, charinfo::get_special_translation):
	Add optional second argument that specifies whether translation is
	being used for transparent throughput.
	* troff/input.cc (charinfo::set_translation,
	charinfo::set_special_translation): Handle second argument.
	(charinfo::charinfo): Initialize transparent_translate.
	(translate): Split main part off into
	(do_translate): New function.  Pass argument saying whether
	translation applies to transparent throughput.
	(translate2): New request.
	(init_input_requests): Bind translate2 to `tr2'.

Wed Nov 11 11:43:20 1992  James Clark  (jjc at jclark)

	* tbl/table.h (class table): Add `nokeep' flag.
	* tbl/main.cc (process_options): Handle `nokeep' option.
	* tbl/table.cc (table::init_output, table::do_row, table::do_top,
	table::do_bottom): Don't output keep/release macro definitions or
	calls when `nokeep' option has been specified.

Sat Nov  7 01:28:33 1992  James Clark  (jjc at jclark)

	* tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.

Wed Nov  4 16:29:04 1992  James Clark  (jjc at jclark)

	* tbl/table.cc (table_entry::divert, block_entry::do_divert,
	block_entry::divert, alphabetic_block_entry::divert): Add extra
	argument giving column separation.
	(table::compute_widths): Pass column separation to
	table_entry::divert().
	(block_entry::do_divert): If an entry spans multiple columns and a
	minimumum width has been specified for each column, then set the
	line length to the sum of the widths (plus possibly the column
	separations).

	* troff/input.cc (set_escape_char): Don't set the escape_char
	until after calling has_arg().

Tue Nov  3 11:23:27 1992  James Clark  (jjc at jclark)

	* tbl/table.cc (table::do_top): Add missing \s0 for double box
	case.

	* tbl/table.cc (table::print_double_hline): Avoid extra new line
	in case where r > nrows - 1.

	* tbl/table.cc (BODY_HEIGHT): Deleted.
	(LINE_SEP): New definition.
	(table::print_single_hline, table::print_double_hline,
	table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
	table::do_row, table::do_top): Use LINE_SEP space before a line
	instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.

	* tbl/table.cc (text_entry::print_contents): New function.
	(text_string_name, right_text_string_name): Deleted.
	(TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
	(simple_text_entry::do_width, numeric_text_entry::do_width,
	alphabetic_text_entry::do_width): Don't store the contents of the
	entry in a string.
	(left_text_entry::simple_print, right_text_entry::simple_print,
	center_text_entry::simple_print,
	alphabetic_text_entry::simple_print,
	numeric_text_entry::simple_print): Print the entry directly
	instead of using the stored string.

Fri Oct 30 10:39:32 1992  James Clark  (jjc at jclark)

	* devps/Makefile: Strip PostScript files.
	* devps/prologue: Rename to...
	* devps/prologue.ps.
	* devps/psstrip.sed: New file.
	* devps/download: Use .pfa rather than .ps for installed versions
	of fonts.

Thu Oct 29 09:14:43 1992  James Clark  (jjc at jclark)

	* troff/env.cc (input_trap): Give a warning if the argument is out
	of range.

	* troff/env.cc (adjust): Treat negative argument as missing. Round
	argument > 5 down to 5.

	* troff/env.cc (center, right_justify): Make negative argument zero.

	* troff/div.cc (page_offset, vertical_position_traps): Treat
	invalid argument as missing.
	* troff/env.cc (line_spacing, line_length, title_length, indent,
	underline, hyphen_line_max_request, control_char,
	no_break_control_char, widow_control_request, adjust, input_trap,
	point_size): Likewise.
	* troff/node.cc (ligature, kern_request, bold_font, track_kern,
	constant_space): Likewise.
	* troff/input.cc (compatible, shift, warn_request,
	set_escape_char): Likewise.

	* tbl/main.cc (format::format): Avoid doing `new int[0]'.
	* tbl/table.cc (table::table): Likewise.

	* Makefile.dev (install_dev): depends on $(DEVFILES).

Wed Oct 28 08:30:57 1992  James Clark  (jjc at jclark)

	* devX75, devX75-12, devX100, devX100-12: New directories.
	* Makefile.in: Add these to DEVDIRS.

	* troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
	afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
	grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
	* Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
	targets.
	* Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
	(uninstall): New target.
	* Makefile.comm (uninstall, uninstall_sub, uninstall_man,
	uninstall_prog, uninstall_dev): New targets.

	* troff/div.cc (return_request): Treat an invalid argument as
	missing.

Mon Oct 26 11:33:47 1992  James Clark  (jjc at jclark)

	* tmac/tmac.e ((f): Set up the environment even when there's a
	current diversion.  Transperently throughput a call to @N.
	(@N): New macro.

Thu Oct 22 05:05:59 1992  James Clark  (jjc at jclark)

	* tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
	up to vertical resolution.

	* tbl/table.cc (table::do_row): Change row number after printing
	stuff list.

	* pic/lex.cc (get_token_after_dot): Make .left and .right work.

Wed Oct 21 14:46:45 1992  James Clark  (jjc at jclark)

	* Rename CHANGES to NEWS.

Tue Oct 20 23:25:21 1992  James Clark  (jjc at jclark)

	* libgroff/new.cc (operator new): Avoid calling malloc(0).

Mon Oct 19 09:10:13 1992  James Clark  (jjc at jclark)

	* man.ultrix: Removed.

Sun Oct 18 06:35:15 1992  James Clark  (jjc at jclark)

	* Makefile.comm (extraclean): Delete files whose names begin with
	`='.

	* pic/troff.cc (troff_output::text): Fix typo in implementation of
	aligned text.

Sat Oct 10 09:32:29 1992  James Clark  (jjc at jclark)

	* troff/env.cc (hyphenate_request, vertical_spacing, no_number):
	* troff/div.cc (page_length, need_space, space_request): Treat
	invalid optional argument as missing.
	* troff/env.cc (number_lines): If the first argument is present
	but not a number, turn on line numbering, don't change the next
	line number and parse the remaining arguments.

	* tmac/tmac.e (@q): Do the `ne' before changing to environment 2.

Thu Oct  8 10:24:40 1992  James Clark  (jjc at jclark)

	* eqn/box.h: Change declaration accordingly.
	* eqn/box.cc (set_gsize): Change return type to int.  Return 0 if
	the specified size was bad but don't give an error.  Check for
	overflow.
	* eqn/main.cc (main): Change caller. Leave validation to set_gsize.
	* eqn/lex (do_size): Likewise.

Wed Oct  7 09:48:59 1992  James Clark  (jjc at jclark)

	* acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
	compatible headers.

Sun Oct  4 18:24:02 1992  James Clark  (jjc at jclark)

	* tbl/table.cc (table::init_output): Improve error message when
	table won't fit on one page.

Fri Oct  2 10:41:40 1992  James Clark  (jjc at jclark)

	* pic/troff.cc (troff_output::start_picture): Generate line
	containing a horizontal motion equal to the width of the picture.

	* groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
	using GROFF_COMMAND_PREFIX environment variable.

Fri Sep 25 11:40:40 1992  James Clark  (jjc at jclark)

	* mdate.sh: Use $NF rather than $(NF).

Tue Sep 22 09:47:24 1992  James Clark  (jjc at jclark)

	* pic/main.cc (main):  Use %1 not %c in argument to warning.

	* eqn/main.cc (main): Output code to check that geqn was given the
	correct -T option.

Mon Sep 21 10:59:16 1992  James Clark  (jjc at jclark)

	* Makefile.in (dist): Instead of doing `make -f ../Makefile', do
	`ln -s ../Makefile .; make; rm -f Makefile'.

	* troff/hyphen: Rename to...
	* troff/hyphen.us:
	* troff/input.cc (main): Delete -H option. Don't call
	read_hyphen_file().
	* troff/env.cc: Include searchpath.h and macropath.h.
	(exception_dictionary): Deleted.
	(ht): Deleted.
	(read_hyphen_file): Deleted.
	(hyphenation_language): New struct.
	(class trie, class hyphen_trie): Move declarations up.
	(trie_node::~trie_node): Deleted.
	(trie::delete_trie_node): New function.
	(trie::do_delete): New pure virtual function.
	(hyphen_trie::do_delete): New function.
	(trie::~trie): New function.
	(hyphen_trie::~hyphen_trie): New function.
	(trie::clear): No need to chcek that tp is not 0.
	(current_language, language_dictionary): New variables.
	(hyphen_word): Give an error if no current language.  Use
	exceptions dictionary in current language.
	(hyphen_trie::read_patterns_file): Find file using macro_path.
	Allow comments (starting with %) in patterns file.  Don't make it
	a fatal error if the file can't be found.
	(hyphenate): Return if no current language.  Get the exceptions
	dictionary and the hyphenation patterns from the current language.
	(set_hyphenation_language): New variable.
	(hyphenation_patterns_file): New function.
	(hyphenation_language_reg): New class.
	(hyphenation_language_reg::get_string): New function.
	(init_hyphen_requests): Bind "hla" to set_hyphenation_language and
	"hpf" to hyphenation_patterns_file.  Initialize `.hla' number
	register.
	* groff/groff.cc (main, help, synopsis): Delete -H option.
	* include/Makefile.sub: Don't define HYPHENFILE.
	* Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
	* Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
	* tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
	hyphenation patterns.

Sun Sep 20 09:33:02 1992  James Clark  (jjc at jclark)

	* eqn/neqn.sh: New file.
	* eqn/Makefile.sub: Handle neqn.sh.

	* eqn/eqn.h: Declare `nroff' variable.
	* eqn/box.cc (param_table): Add `nroff' param.
	(nroff): Define it.
	* eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
	variable.
	* tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.

	* troff/troff.h (WARN_FONT): New warning.
	(WARN_TOTAL): Change accordingly.
	* troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
	(warning_table): Add WARN_FONT.
	* troff/node.cc (mount_font_no_translate): Pass argument to
	font::load_font.  If this is non-zero, give a warning.
	Don't give an error message when accessing a font that has already
	been found to be invalid.
	* include/font.h (font::load, font::load_font): Add additional
	optional argument which suppresses error message if the font is
	not found.
	* libgroff/font.cc (font::load_font): Handle additional argument.
	(font::load): Add additional argument. If this is non-null, set it
	to 1 and don't give error message.

	* include/printer.h (printer::end_page): Add argument giving
	length of page.
	* libdriver/input.cc (do_file): Pass this.
	* grops/ps.cc (ps_printer::end_page): Add argument.
	* grodvi/dvi.cc (dvi_printer::end_page,
	draw_dvi_printer::end_page): Add argument.
	* grotty/tty.cc (class tty_printer): Remove lines_per_page and
	columns_per_page members. New member nlines.
	(DEFAULT_LINES_PER_PAGE): Deleted.
	(tty_printer::tty_printer): Don't compute lines_per_page from
	font::paperlength. Don't compute columns_per_page from
	font::paperwidth.
	(tty_printer::add_char): Don't check horizontal position against
	columns_per_page. Grow glyphs vector if neccessary.
	(tty_printer::end_page): Add argument giving page_length in units.
	Discard lines past end of page.

Wed Sep 16 06:29:52 1992  James Clark  (jjc at jclark)

	* tmac/tmac.tty-char: Fix definition of \(/l.

	* tmac/tmac.X: Define \(en.

Tue Sep 15 10:37:13 1992  James Clark  (jjc at jclark)

	* acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
	lpq, then use lp rather than lpr.

	* tmac/tmac.s (par@reset): Don't call `ad'.
	(par*env-init): Call `ad'.

Sun Sep 13 18:48:20 1992  James Clark  (jjc at jclark)

	* mdate.sh: Use $(NF) instead of $6 to extract year from output of
	date.

	* troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
	* indxbib/indxbib.cc: Likewise.

Sun Sep  6 09:44:46 1992  James Clark  (jjc at jclark)

	* libgroff/putenv.c: New file.
	* libgroff/Makefile.sub: Add putenv.c to CSRCS.
	* Makefile.in: Say that putenv.o can be one of LIBOBJS.
	* configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
	stdlib.h with AC_HAVE_HEADERS.

Sat Sep  5 18:11:52 1992  James Clark  (jjc at jclark)

	* indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
	does not exist.

Fri Sep  4 09:43:26 1992  James Clark  (jjc at jclark)

	* eqn/box.cc (gsize): Make it an int.
	(set_gsize): Parse argument handling increment or decrement.
	(box::top_level): Convert gsize to a string.

	* troff/input.cc (exit_troff): Make buf unsigned char [].
	Call to make_temp_iterator casts buf to char*.

	* Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.

	* Makefile.ccpg (depend.temp): Depends on $(YTABC).
	* Makefile.cpg (depend.temp): Likewise.

	* Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).

	* Makefile.comm: Add y.output to MOSTLYCLEANFILES.

Thu Sep  3 08:01:55 1992  James Clark  (jjc at jclark)

	* tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.

Tue Sep  1 18:24:53 1992  James Clark  (jjc at jclark)

	* Version 1.06 released.

	* Integrate mm 1.04.

Fri Aug 28 11:28:19 1992  James Clark  (jjc at jclark)

	* Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.

Thu Aug 27 11:03:33 1992  James Clark  (jjc at jclark)

	* afmtodit/afmtodit.pl: Add -n option that disables generation of
	ligatures command.
	* devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
	afmtodit. Regenerate.

	* tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
	@f back past the current position.

	* tmac/tmac.e: Change calls to @R so that comments are not part of
	arguments.

Tue Aug 25 10:42:07 1992  James Clark  (jjc at jclark)

	* configure.in: Check for mkstemp with AC_HAVE_FUNCS.

	* acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
	check that we can link a call to a function declared in <stdio.h>.
	(GROFF_UNISTD_H): New macro.
	* configure.in: Call it.
	* Makefile.in: Document it.
	* include/posix.h: New file.
	* troff/troff.h: Don't include <osfcn.h>
	* troff/input.cc: Include posix.h.
	* libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
	osfcn.h.
	* indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
	Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
	<fcntl.h>.
	* indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
	* libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
	* libbib/search.cc (O_RDONLY): Delete definition.
	* refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
	Don't include <osfcn.h>.

	* acgroff.m4 (GROFF_TIME_T): New macro.
	* configure.in: Call it.
	* Makefile.in: Document it.

	* acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
	* configure.in: Call it.
	* Makefile.in: Document -DTRADITIONAL_CPP.
	* include/ptable.h: Don't include generic.h.
	(name2): Define it.

	* tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
	Afterwards remove [T1 and [T2.
	(ref*spec!0, ref*spec!2): Use T1 rather than T.
	(ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
	(ref*add-T2): Renamed from ref*add-T.
	(ref*add-T1): New macro.

Mon Aug 24 11:11:11 1992  James Clark  (jjc at jclark)

	* acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.

	* libbib/index.cc: Include <fcntl.h>.
	(O_RDONLY): Define if necessary.
	(make_index_search_item, index_search_item_iterator::get_tag,
	index_search_item::check_files): Use O_RDONLY.
	* libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
	(O_RDONLY): Define if necessary.
	(search_list::add_file): Use O_RDONLY.
	* indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
	<sys/stat.h>.
	(S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
	(main): Use these.

	* libbib/index.cc (S_ISREG): Define it if necessary.
	(index_search_item::load): Use S_ISREG.

	* include/driver.h: Include <errno.h>.

Sun Aug 23 11:32:18 1992  James Clark  (jjc at jclark)

	* eqn/box.cc (body_height): Increase default value to 85.
	(body_depth): Increase default value to 35.

Fri Aug 21 05:34:42 1992  James Clark  (jjc at jclark)

	* eqn/pbox.h (SAVE_FONT_STRING): Define it.
	* eqn/box.cc (box::top_level): Hide use of \R in a string that is
	protected from expansion with \E.

	* acgroff.m4 (GROFF_PAGE): Use `case' to test domain.

	* Makefile (Makefile): New target.

	* Makefile.sub (configure, distfiles): New targets.

	* acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
	construct.

Thu Aug 20 12:27:26 1992  James Clark  (jjc at jclark)

	* eqn/box.cc (param_table): Add body_height and body_depth.

	* eqn/lex.cc (def_table): Make circumflex in hat_def roman.

Tue Aug 18 16:24:25 1992  James Clark  (jjc at jclark)

	* psbb/Makefile.sub: Don't link with libgroff.a.

	* acgroff.m4 (GROFF_PUTENV): New macro.
	* configure.in: Call GROFF_PUTENV.
	* Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
	* groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
	is defined.

	* troff/env.cc (distribute_space): Rename force_forward argument
	to force_reverse.  Reverse the list if force_reverse is true.

Mon Aug 17 17:49:05 1992  James Clark  (jjc at jclark)

	* tmac/tmac.an: Don't define a string `T'. Just define Tm.

	* eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
	height or depth to be negative.  Guard against SUP_RAISE quantity
	being negative.

Sat Aug 15 08:18:54 1992  James Clark  (jjc at jclark)

	* devps/generate/textmap: Add `an' (arrowhorizex).
	* tmac/tmac.ps: \(an overlaps horizontally.
	* tmac/tmac.dvi, tmac/tmac.tty: Add `an'.

	* devps/symbolchars: Add arrowverttp, arrowvertbt.
	* devps/textmap: Add arrowvertex.
	* eqn/delim.cc (delim_table): Add uparrow, downarrow and
	updownarrow delimiters.
	* tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.

	* tbl/table.cc (simple_entry::position_vertically,
	block_entry::position_vertically):  For a centered entry, perform
	the motion in two stages.

	* refer/refer.cc (split_punct): Don't call lookup_token if there
	is no token.

Fri Aug 14 11:14:58 1992  James Clark  (jjc at jclark)

	* troff/input.cc (token::next): Delete token_node after copying
	token.

	* grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
	cur_point_size.

	* libdriver/printer.cc (printer::load_font): Delete old_font_table.

	* grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.

Tue Aug 11 13:50:38 1992  James Clark  (jjc at jclark)

	* grops/ps.cc (usage): -b option takes an argument.

	* devps/prologue (PLG): New procedure.
	* grops/ps.cc (main, usage): New -g option.
	(ps_printer::~ps_printer):  If guess_flag is set, guess the paper
	length using PLG.

Mon Aug 10 11:17:53 1992  James Clark  (jjc at jclark)

	* include/cset.h: Include <limits.h> if we have it.

	* libgroff/illegal.cc: New file.
	* include/lib.h (illegal_input_char): Use table.
	* troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
	* pic/lex.cc (ARG1): Renumber to 14.
	* eqn/lex.cc (ARG1: Likewise.

	* troff/Makefile.sub (majorminor.cc): Handle 3 part versions
	(eg 1.05.90) correctly.

Sun Aug  9 13:35:43 1992  James Clark  (jjc at jclark)

	* tmac/tmac.e (sr): Deleted. Set $r and $R directly.
	Rename $r and $R registers to $v and $V.
	($r, $R): Initialize to 0.
	(@v, @V): New macros.
	(sz): Call @v.
	(@M): Call @V.

	* troff/input.cc (main, usage): Add -R option that says not to
	load troffrc.
	* eqn/main.cc (main, usage): Rename -n to -R.

Sat Aug  8 00:16:00 1992  James Clark  (jjc at jclark)

	* devps/DESC.in: Leave font positions 5-9 blank.
	* devdvi/DESC.in: Likewise.

	* grog/grog.pl: Handle `.PS <file' correctly.

	* troff/input.cc (input_stack::push): Improve error message when
	input stack limit exceeded.

Fri Aug  7 13:08:16 1992  James Clark  (jjc at jclark)

	* refer/refer.cc (main): Fix typo in handling of `a' option.

	* refer/refer.cc (do_bib): In state START after a newline remain
	in state START.

	* groff/groff.sh: Deleted.
	* groff/Makefile.sub: Delete handling of groff.sh.

	* pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
	to determine whether to use \X'ps:...'.
	* tmac/troffrc: Set 0p register to 0.
	* tmac/tmac.ps: Set 0p register to 1.

	* groff/groff.cc: Support -X option. Give warning for -TXps and
	transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
	* tmac/troffrc: Support -r.X=1.

	* pic/troff.cc (troff_output::dot): Don't test
	zero_length_line_flag.

Thu Aug  6 13:32:08 1992  James Clark  (jjc at jclark)

	* include/lib.h: Declare getopt() and friends unless
	STDLIB_H_DECLARES_GETOPT is defined.

	* doc/chars.tr: Delete.
	* man/groff_char.man: New file.

Wed Aug  5 00:38:58 1992  James Clark  (jjc at jclark)

	* tmac/tmac.e (np, bu): Test \n($p with string expression in case
	user has changed register format.

Mon Aug  3 11:22:18 1992  James Clark  (jjc at jclark)

	* groff/groff.cc: Get rid of device_table.  Get postprocessor from
	`postpro' command in DESC file.  Get spooler command from `print'
	command in DESC file.  Execute spooler command with /bin/sh.

	* groff/groff.cc: Split Unix-specific parts into...
	* groff/pipeline.c: New file.

	* LICENSE: Delete.
	* COPYING: New file.
	* all files: Update copyright notices.

	* Rearrange files.  Redo Makefiles.  Use autoconf.

Sat Aug  1 09:36:50 1992  James Clark  (jjc at jclark)

	* troff/input.c (charinfo_to_node_list): Interpret character
	definition with escape_char of `\'.

Tue Jul 28 12:20:12 1992  James Clark  (jjc at jclark)

	* lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
	Define INT_DIGITS as big enough for 64-bit integer.
	* lib/strtol.c: Don't include lib.h.
	* lib/lib.h: Delete ifdef __cplusplus stuff.

Mon Jul 27 11:08:50 1992  James Clark  (jjc at jclark)

	* ps/devps/Makefile: Add DESC to DEVICEFILES.  Separate out rule
	for making DESC.  Make $(FONTS) depend on DESC. afmtodit should
	get DESC from current directory.

Sun Jul 26 15:38:26 1992  James Clark  (jjc at jclark)

	* tbl/main.c (main): Always reset the line number when reading
	from stdin.

	* tbl/table.c (table::print_single_hline, table::print_double_hline,
	table::define_bottom_macro, table::do_row, table::do_top): Round
	vertical spacing up to vertical resolution.

Fri Jul 24 14:32:07 1992  James Clark  (jjc at jclark)

	* ps/ps.h (enum resource_type): Avoid comma at end of
	enumerator-list.
	* dvi/dvi.c (class dvi_printer): Likewise.
	* dvi/tfmtodit.c (gf::load): Likewise.
	* refer/label.y (struct expression): Likewise.
	* refer/refer.c (class label_processing_state): Likewise.
	* refer/indxbib.c (do_file): Likewise.
	* troff/troff.c (enum warning_type): Likewise.
	* tbl/main.c (process_data): Likewise.
	* troff/charinfo.h (class charinfo):

Wed Jul 22 09:17:58 1992  James Clark  (jjc at jclark)

	* dvi/devdvi/textt.map: Add entry for `-'.  Regenerate fonts.

Tue Jul 21 11:39:26 1992  James Clark  (jjc at jclark)

	* groff.c: Move to new groff subdirectory.
	* groff/Makefile: New file.
	* Makefile: Remove handling of groff.c. Add groff to SUBDIRS.

	* man/mdate.sh: Use ls -L if supported.

	* Consolidate all header files produced by gendef into lib/defs.h.
	* lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
	Don't include path.h.
	* lib/Makefile (path.h): Don't generate.
	* troff/input.c: Include defs.h. Don't include config.h.
	* troff/Makefile (config.h): Don't generate.
	* refer/index.h: Don't include suffix.h.
	* refer/index.c: Include defs.h.
	* refer/indxbib.c: Include defs.h.
	* refer/refer.h, refer/lkbib.h: Don't include path.h. Include
	defs.h.
	* refer/Makefile (suffix.h, path.h): Don't generate.
	* groff.c: Don't include config.h. Include defs.h.
	* Makefile (config.h): Don't generate.
	(lib/defs.h): Generate.
	(topclean): Remove lib/defs.h.

Mon Jul 20 10:12:57 1992  James Clark  (jjc at jclark)

	* lib/malloc.c, lib/getpagesize.h: Deleted.
	* Makefile: Add COOKIE_BUG configuration option.  Delete malloc
	related stuff.
	* lib/Makefile: Delete malloc-related stuff.
	* lib/new.c: Workaround COOKIE_BUG if necessary.

	* refer/lkbib.c, refer/indxbib.c: Don't include refer.h.  Include
	needed header files directly.
	* refer/refer.h: Omit definition of DEFAULT_INDEX.
	* Makefile: Include definition of DEFAULT_INDEX in path.h.

Sun Jul 19 10:19:22 1992  James Clark  (jjc at jclark)

	* lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
	argument.
	* lib/font (font::load_desc, font::load): Don't split argument of
	unknown command.
	(font::handle_unknown_font_command): Change type.
	* ps/ps.c (ps_font::handle_unknown_font_command,
	handle_unknown_desc_command): Change type.
	* dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.

Fri Jul 17 11:12:49 1992  James Clark  (jjc at jclark)

	* lib/font.h (font::handle_unknown_font_command): Add file and
	line arguments.
	* lib/font.c (font::handle_unknown_font_command):
	* ps/ps.c (ps_font::handle_unknown_font_command):
	* dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
	lineno arguments.  Use _with_file_and_line functions for error
	reporting.

	* lib/fontfile.c (font::unknown_desc_command_handler): New static
	data member.
	* lib/font.c (font::set_unknown_desc_command_handler): New
	function.
	(font::load_desc): For unknown commands, call
	unknown_desc_command_handler if not null.
	* lib/font.h (class font): Declare them.
	(FONT_COMMAND_HANDLER): New typedef.
	* ps/ps.c (handle_unknown_desc_command): New function.
	(main): Set bflag if we had a -b option. Call
	font::set_unknown_desc_command_handler.
	(broken.h): Don't include.
	* ps/Makefile: No need for broken.h.  Pass BROKEN_SPOOLER_FLAGS to
	submake 
	* ps/devps/Makefile: Add `broken' command to DESC file using
	BROKEN_SPOOLER_FLAGS.

	* macros/tmac.e ([, ]): Add as synonyms for { and }.

	* macros/tmac.e ($p): Only exdent if \$3 > 0.

	* macros/tmac.e (@R, @S): New macros.
	Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
	?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
	Declare $H, $[0-9], .. macros with @S.
	Declare |0, |1, |2, |3 strings with @S.

	* macros/tmac.e (@S): Rename to @U.

	* macros/tmac.e (@z): Define @b and bp as empty instead of
	deleting them,

	* macros/tmac.e (@m): Deleted.
	(@h): Don't call @m.
	(@z): Don't set @m trap.

	* macros/tmac.e ($h, $f): Define |z as empty string.

	* macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
	(@q): Likewise.

	* macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
	removing them.
	()f): Likewise for * register.

	* macros/tmac.e (sr): Don't ever scale the arguments. If the third
	argument is missing, don't change $R.  Call sr with three
	arguments when initializing.

Thu Jul 16 12:17:12 1992  James Clark  (jjc at jclark)

	* macros/tmac.e (sr): New macro.
	Initialize $r and $R using sr.

	* macros/tmac.e (,): Delete \*(#[.

	* troff/env.c (set_tabs): Read the tab type even if the position
	is bad.  Allow the position of the first tab stop to be negative.

Wed Jul 15 13:14:37 1992  James Clark  (jjc at jclark)

	* refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
	_POSIX_VERSION.
	* refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
	rather than -DPATHCONF_MISSING.
	* Makefile: Get rid of PATHCONF_MISSING.

	* refer/map.c: New file.
	* refer/index.c: Interface to mmap through map.c.  Rename map_size
	to map_len.
	* refer/Makefile: Handle map.c.
	* Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.

Tue Jul 14 14:15:20 1992  James Clark  (jjc at jclark)

	* Makefile: RANLIB should be `true' if there is no ranlib.
	* lib/Makefile (libgroff.a): Simplify.
	* driver/Makefile (libdriver.a): Simplify.

	* Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
	* groff.c (WCOREDUMP): Use WCOREFLAG.  Define only if not already
	defined.

Sat Jul 11 09:19:17 1992  James Clark  (jjc at jclark)

	* troff/env.c (compare_ranges): Declare as extern "C".

	* troff/input.c (init_registers): Use `struct tm' instead of `tm'.

	* macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.

Wed Jul  8 11:52:27 1992  James Clark  (jjc at jclark)

	* pic/troff.c (troff_output::text): Merge in grops_output::text,
	but conditionalize use of \X based on \*(.T.
	(grops_output::*): Deleted.
	* pic/output.h: Delete declaration of make_grops_output.
	* pic/main.c (main): Ignore -p and -x.  driver_extension_flag is 1
	by default. -n sets it to 0.
	(usage): Corresponding changes.
	* groff.c (main): Don't pass -x or -p to pic.
	* groff.sh: Likewise.

	* ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
	to be non-zero.

	* ps/devps/afmtodit: Change calculation of asc_boundary and
	desc_boundary.  Make these bounds inclusive.
	* ps/devps: Regenerate font files.

Tue Jul  7 13:14:15 1992  James Clark  (jjc at jclark)

	* macros/tmac.latin1: New file.
	* macros/tmac.tty-char: Use tmac.latin1.
	(tmac.tty-tr): Deleted.
	* macros/Makefile: Install tmac.latin1.
	* macros/tmac.dvi: Use tmac.latin1.
	* macros/troffrc: Translate \[char160] onto no-break space here.
	* macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.

Mon Jul  6 11:06:52 1992  James Clark  (jjc at jclark)

	* macros/tmac.Xps: Use `do' request.

	* macros/tmac.ps: Use `do' request.

	* macros/tmac.e (@C): Use `do' request.

	* macros/tmac.X, macros/tmac.Xps: Moved from xditview.
	* macros/Makefile: Install tmac.X*.

	* tty/tmac.tty, tty/tmac.tty-char: Move to macros.
	* tty/Makefile: Don't install tmac.tty*.
	* macros/Makefile: Install tmac.tty*.

	* dvi/tmac.dvi: Move to macros.
	* dvi/Makefile: Don't install tmac.dvi.
	* macros/Makefile: Install tmac.dvi.

	* ps/tmac.ps*: Move to macros.
	* ps/Makefile: Don't install tmac.ps*.
	* macros/Makefile: Install tmac.ps*.

	* eqn/box.c: Provide draw_lines parameter corresponding to -D
	option.
	* macros/eqnrc: Set draw_lines parameter based on device.
	* groff.c: Don't pass -D flag to eqn.
	* groff.sh: Likewise.
	* eqn/main.c: Warn about use of -D.

	* troff/input.c (process_startup_file): New function.
	(main): Call process_startup_file().
	* macros/troffrc: New file.
	* macros/Makefile: Install troffrc.
	* groff.c (main): Don't pass extra -m option to troff. For a 
	pseudo device pass the name of the pseudo device to troff using
	-d.
	* groff.sh: Likewise.
	* groff.c (possible_command::prepend_arg): Deleted.

	* troff/input.c (do_request): New function.
	(init_input_requests): Bind "do" to do_request.

	* eqn/main.c (main): Instead of loading eqnchar from device directory,
	load eqnrc from macro directory.
	* macros/eqnrc: New file.
	* macros/Makefile: Install eqnrc.
	* ps/devps/eqnchar: Deleted.
	* ps/devps/Makefile: Don't install eqnchar.
	* dvi/devdvi/eqnchar: Deleted.
	* dvi/devdvi/Makefile: Don't install eqnchar.
	* groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
	variable optM.

	* lib/device.[ch]: New files.
	* lib/font.h (font::set_device_name, font::get_device_name):
	Deleted.
	* lib/fontfile.c: Use device.h.
	* lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
	* troff/input.c: Delete definition of `device'.
	(main): Don't initialize device.
	* troff/troff.h: Include device.h rather than declaring device.
	* troff/Makefile: No need to handle DEVICE.
	* driver/input.c: Include device.h. Don't use
	font::{set,get}_device_name.
	* groff.c, Makefile: Rename device.h to config.h.
	* groff.c: Use library device variable.
	* eqn/main.c: Use library device variable.
	* eqn/Makefile: No need to handle DEVICE.

	* lib/searchpath.[ch]: New files.
	* lib/Makefile: Handle searchpath.[ch].
	* troff/input.c (open_file, init_dirs): Deleted.
	(macro_dirs): Deleted.
	(open_mac_file, macro_source): Use class search_path.
	(add_string, struct string_list): Move definition.
	(main): Change -M option to use macro_path. Delete call to
	init_dirs().
	* lib/fontfile.c (font::command_line_font_dir, font::open_file):
	Rewrite to use class search_path.
	* lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
	* lib/Makefile: fontfile.c depends on searchpath.h.
	* lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
	MACROPATH.
	* lib/macropath.[ch]: New files.
	* troff/Makefile: No need to handle MACROPATH.

	* troff/input.c: Delete DUMP code.
	* lib/fontfile.c, lib/font.h: Delete
	font::forget_command_line_font_dirs.

	* troff/input.c (push_token): New function.
	(handle_first_page_transition): Use push_token().
	(process_input_stack): Change handling of a space at the beginning
	of the line.

Sun Jul  5 17:11:09 1992  James Clark  (jjc at jclark)

	* troff/input.c (font_dirs): Delete unused variable.

	* eqn/lex.c (do_set): Correct error messages.

Sat Jul  4 10:20:55 1992  James Clark  (jjc at jclark)

	* troff/input.c (do_define_string): Allow the string name to be
	followed immediately by a tab.
	(define_character): Likewise.

Thu Jul  2 10:59:15 1992  James Clark  (jjc at jclark)

	* ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
	be negative.

	* troff/input.c (input_iterator::is_file): New virtual function.
	(file_iterator::is_file): New function.
	(input_stack::end_file): New function.
	(input_stack::next_file): Handle the situation where there is no
	file on the input stack correctly.  Avoid making two passes over
	the input stack.
	(next_file): Make the filename optional; in this case call
	input_stack::end_file().

Wed Jul  1 10:17:25 1992  James Clark  (jjc at jclark)

	* dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
	produce a real _ charater when the current font is CW and _
	otherwise.

	* lib/errarg.c (errarg::errarg(const char *)): Invert conditional
	expression to work around gcc 2.2 bug.

Wed Jun 24 08:12:24 1992  James Clark  (jjc at jclark)

	* eqn/main.c (main): Don't give an error if we can't find eqnchar.

	* troff/env.c (environment::add_padding): New function.
	(environment::add_char): Use add_padding().
	(environment::space): Likewise.
	(environment::wrap_up_field): Add some padding if there is none
	and there's no current tab.
	* troff/env.h: Declare environment::add_padding.

Mon Jun 22 08:37:45 1992  James Clark  (jjc@jclark)

	* pic/pic.y: undef fmod and rand before declaring them.

Sun Jun 14 11:40:18 1992  James Clark  (jjc@jclark)

	* troff/input.c (main): If the DESC file specifies a font name of
	0, then leave the corresponding font position empty.

	* nroff.sh: New file.
	* Makefile (install.nobin): Install nroff.sh.

	* tty/devlatin1/R.proto: Add ao as synonym for de.
	* tty/tmac.tty-char: Define ao as o.

	* tty/dev{ascii,latin1}/R.proto: Add aq.
	* tty/tmac.tty-char: Delete definition of aq.

Mon Jun  8 11:43:20 1992  James Clark  (jjc@jclark)

	* troff/input.c (init_charset_table): Don't translate 0240.
	* ps/tmac.ps: Translate char160 to space.
	* dvi/tmac.dvi: Likewise.
	* tty/tmac.tty: Likewise.

Sun Jun  7 10:52:35 1992  James Clark  (jjc@jclark)

	* dvi/tmac.dvi: Add support for all Latin-1 characters.

	* macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
	\(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
	\(oe, \(r?, \(r!.

	* tty/tmac.tty-char: Add \(ah.

	* dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
	No need to define \(FM and \(!/. Conditionalize all character
	definitions.

	* ps/devps/lgreekmap: Add +h, +f, +p.

	* ps/tmac.psnew: New file.
	* ps/Makefile: Install tmac.psnew.

	* troff/input.c (charinfo_to_node_list): Don't ever interpret
	character definitions in compatible mode.

	* troff/input.c (remove_character): New function.
	(init_input_requests): Bind remove_character to "rchar".

	* ps/tmac.psold: New file.
	* ps/Makefile: Install tmac.psold.
	* ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
	characters into tmac.psold.  Make these definitions unconditional.

	* tty/tmac.tty-char: Define \n(_C only if it is not already defined.

	* ps/tmac.ps: Don't define \('c and \('C.

	* ps/devps/textmap: Move Greek characters to...
	* ps/devps/symbolchars:

Sat Jun  6 16:41:17 1992  James Clark  (jjc@jclark)

	* ps/devps/text.enc: Add quotesingle.
	* ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
	* tty/tmac.tty-char: Likewise.
	* dvi/devdvi/texmi.map: Add +h, +f, +p.
	* dvi/devdvi/texi.map: Add Fn.
	* dvi/devdvi/msam.map: Add lz.
	* dvi/tmac.dvi: Handle Bq, bq, aq.

	* pic/lex.c (get_token): Recognize 'th.
	* pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.

Fri Jun  5 11:20:46 1992  James Clark  (jjc@jclark)

	* ps/devps/textmap: Move di, mu, +- to...
	* ps/devps/symbolchars:

	* macros/tmac.s (@XS): Don't call par@reset or fi.
	(XA): Call LP. Turn off adjustment. Reduce line length.

	* macros/tmac.s: Initially alias XS to LP.
	(XS): Rename to @XS.
	(cov*ab-init): Alias XS to @XS.

Thu Jun  4 09:12:05 1992  James Clark  (jjc@jclark)

	* troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
	TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
	(token::is_size, token::changes_env): Deleted.
	* troff/number.c (parse_term): No need to process \s explicitly.
	Call tok.next() only after scale indicator has been processed.
	* troff/input.c (do_overstrike, do_bracket): No need to process \s,
	\f etc explicitly.
	(token::next): Handle \s, \f, \S, \H immediately rather than
	returning them as tokens.
	(token::operator==, token::description, token::add_to_node_list,
	token::process): Remove handling of deleted tokens.

	* troff/env.c (environment::add_char): When adding padding
	indicator character, call start_line() if necessary.

Wed Jun  3 09:55:50 1992  James Clark  (jjc@jclark)

	* ps/devps/afmtodit: Don't output 0 kerns.

	* ps/devps/afmtodit: Remove directory from name of encoding in
	font description file.

	* ps/devps/afmtodit: Improve error messages.

	* ps/devps/afmtodit: Allow DESC file to be specified with -d.

	* ps/devps/Makefile: Incorporate FontMakefile. Rework.
	* ps/devps/FontMakefile: Deleted.
	* ps/devps/afmname: New file.

	* ps/devps/symbol.sed: New file.
	* ps/devps/symbol.diff: Deleted.
	* ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
	Generate zapfdr.afm from zapfd.afm.

	* tty/tmac.tty (tty-char): Prefix definition with ".

	* macros/tmac.an (TP): Don't start a diversion if one has already
	been started.

	* tty/tmac.tty-char: Add Latin-1 characters.

	* tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.

Tue Jun  2 00:54:34 1992  James Clark  (jjc@jclark)

	* tbl/table.c (table::allocate): Delete old_vline, old_entry.
	Move declaration of struct horizontal_span.

	* tbl/table.c (table::table): Initialize span_list.
	(table::~table): Delete span_list.

	* lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.

	* ps/devps/Makefile: Avoid dependency on GNU make.

	* ps/tmac.ps: Check that character does not already exist before
	defining it.

	* tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
	\(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
	\(ru, \(ul, \(br, \(bv, \(sl which are in the font description
	files.

	* tty/tmac.tty-char: New file.
	* tty/Makefile: Install tmac.tty-char.
	* tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
	tmac.tty-char.

	* tty/tmac.tty: Fix definition of \(34.

	* tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
	bracket-drawing characters onto |. Add *o.

	* troff/env.c (environment::wrap_up_tab): Increment field_spaces
	only if current_field.

	* troff/dictionary.c (dictionary::lookup): Free old_table after
	rehashing. 

Mon Jun  1 10:15:22 1992  James Clark  (jjc@jclark)

	* tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
	whose glyphs are identical to glyphs of some Roman character.

	* tty/devlatin1/R.proto (bu): Deleted.
	* tty/devascii/R.proto (bu): Deleted.
	* tty/tmac.tty: Add definition of \(bu.

	* eqn/main.c (do_file): Pass FILE as argument.
	(main): Automatically load eqnchar.  New options -F and -n.
	Pass do_file an opened FILE.
	* groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
	No need to include font.h.
	* groff.sh: Likewise.  Don't need to use - for standard input.
	Prefix files with -- if first file starts with -.

	* macros/tmac.e: Conditionalize use of \$* on \n(.g.

	* troff/env.c (environment::possibly_break_line): Don't set line
	to 0 across call to output_line().  Don't call output_line() until
	after discarding nodes after break.

Sun May 31 10:45:29 1992  James Clark  (jjc@jclark)

	* request.h (macro::empty): Declare it.
	* input.c (macro::empty): New method.
	(interpolate_macro):  Don't give a WARN_SPACE if the two-character
	macro is empty.

Sat May 30 10:27:15 1992  James Clark  (jjc@jclark)

	* troff/env.c (environment::start_field): Decrement space_total
	when a space is frozen.

Fri May 22 14:34:38 1992  James Clark  (jjc@jclark)

	* macros/tmac.an (R): Delete macro.

	* troff/input.c (get_copy, token::next): Support \# (like \" but
	newline is ignored).

	* troff/input.c (token::next): Fix error message in 'Y' case.

Thu May 21 09:26:24 1992  James Clark  (jjc@jclark)

	* eqn/delim.c (define_extensible_string): Recognize any prefix of
	a delimiter name.

Fri May 15 10:20:41 1992  James Clark  (jjc at jclark)

	* c++test.c: Include <osfcn.h>.

	* lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
	<errno.h> doesn't.

Fri May  8 09:37:19 1992  James Clark  (jjc at jclark)

	* tbl/table.c (table::divide_span): Don't count column separation
	if expand was specified.

	* tbl/main.c (process_format): Don't ignore width specs in
	continued format.  Give warning for changing equal widths or
	column separation in continued format.
	(process_data): Set column separation, minimum width, equal
	columns at end of table.

Thu May  7 08:50:40 1992  James Clark  (jjc at jclark)

	* troff/node.c (kern_pair_node::add_discretionary_hyphen,
	node::add_discretionary_hyphen): Use soft_hyphen_char.
	(set_soft_hyphen_char): New function.
	(init_node_requests): Bind to shc.  Initialize soft_hyphen_char.

	* Makefile (c++tested): Give more helpful message if test fails.

Tue May  5 10:58:39 1992  James Clark  (jjc at jclark)

	* troff/input.c (init_charset_table): Translate 0240 to
	an unbreakable space.

	* troff/token.h (token::hyphen_indicator): New function.
	* troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
	translation.
	* troff/input.c (translate): Allow translation to \%.
	* troff/node.c (node::add_char): Handle
	TRANSLATE_HYPHEN_INDICATOR.	
	(make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.

	* troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
	for \(hy.

	* tty/devlatin1/R.proto: \(hy and - should print as 055.

Tue Apr 21 09:24:42 1992  James Clark  (jjc at jclark)

	* groff.c (run_commands): If the last command gets a SIGPIPE send
	a SIGPIPE to all children than haven't yet terminated.  When
	command terminates, set pid field to -1.

Fri Apr 17 11:20:48 1992  James Clark  (jjc at jclark)

	* groff.c (main): Pass an appropriate -filename option to gxditview.

Thu Apr 16 15:11:40 1992  James Clark  (jjc at jclark)

	* Makefile.bd (install): Remove existing program before copying.

	* Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
	programs which have Unix counterparts to be installed with
	user-specified prefix.

	* troff/input.c (exit_troff): Don't check if exit_started.
	(exit_request): Don't call exit_troff if exit_started.

	* Makefile.bd (install.mm): Rename to install.dwbmm.

Tue Apr 14 10:05:10 1992  James Clark  (jjc at jclark)

	* driver/input.c (do_file): Add missing break for '#' case.

Mon Apr 13 10:11:02 1992  James Clark  (jjc at jclark)

	* troff/input.c (input_stack::clear):  Clear past any boundaries and
	then add the boundaries back.

	* troff/input.c (exit_troff): Return immediately if already
	exiting.

	* macros/tmac.s (pg@end-text): New macro.  Use pg@end-text for the
	end macro.
	(pg*end-page): If the text has ended and there are no more
	footnotes or keeps, exit.

	* macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.

	* troff/input.c (init_charset_table): Make \(rq transparent by
	default.

	* macros/tmac.an: Define lq and rq strings.

	* macros/tmac.s (Q, U): Define as \(lq and \(rq.

Sun Apr 12 12:54:37 1992  James Clark  (jjc at jclark)

	* troff/env.c (environment::final_break): New function.
	(environment::newline): Set prev_line_interrupted to 2 if
	exit_started.
	* troff/env.h: Declare environment::final_break.
	* troff/input.c (exit_troff): Call environment::final_break()
	instead of environment::do_break().

	* macros/Makefile: Install man.local if $(MACRODIR)/man.local
	doesn't already exist.
	* macros/man.local: New file.
	* macros/tmac.an: Load man.local.
	* macros/man.ultrix: New file.

Sat Apr 11 17:32:04 1992  James Clark  (jjc at jclark)

	* troff/input.c (exit_groff): Rename to...
	(exit_troff): New function.

	* troff/div.c (exit_started, done_end_macro,
	seen_last_page_ejector): New global variables.
	(began_page_in_end_macro): New static variable.
	(exit_flag): Deleted.
	(top_level_diversion::top_level_diversion): Initialize
	last_page_count.
	(top_level_diversion): More elaborate test for whether
	cleanup_and_exit() should be called.
	Set began_page_in_end_macro if the end macro isn't yet finished.
	* troff/div.h (top_level_diversion::last_page_count): New data
	member.
	(top_level_diversion::set_last_page): New function.
	(exit_started, done_end_macro, seen_last_page_ejector): Declare.
	* troff/env.c (do_break): Zero prev_line_interrupted.
	* troff/input.c (exit_flag): Delete declaration.
	(LAST_PAGE_EJECTOR): New magic cookie.
	(token::next): Handle LAST_PAGE_EJECTOR.
	(exit_groff): Set exit_started and done_end_macro instead of
	exit_flag.  Call top_level_diversion::set_last_page.  Push a
	LAST_PAGE_EJECTOR instead of calling push_page_ejector().  Do
	another ejection after setting seen_last_page_ejector.

Thu Apr  9 04:37:11 1992  James Clark  (jjc at jclark)

	* etc/grog.sh, etc/grog.sh: Recognize -me sh macro.

	* macros/tmac.e (TH): Make sure there's room for the initial
	header.

	* macros/tmac.s (par@init): Make PD and DD at least \n(.V.
	Set FVS in points rather than units.

Mon Apr  6 11:21:32 1992  James Clark  (jjc at jclark)

	* troff/div.c (top_level_diversion::add_trap): Don't consider the
	position of empty slots.

Fri Apr  3 10:46:45 1992  James Clark  (jjc at jclark)

	* ps/devps/S: Fix height and depth of parenrightex.
	* ps/devps/symbol.diff: Regenerate.

Sat Mar 28 21:17:52 1992  James Clark  (jjc at jclark)

	* tmac.e (u): Do underlining as in -mgs.

Fri Mar 27 09:23:44 1992  James Clark  (jjc at jclark)

	* tty/tty.c (tty_printer::end_page): If overstriking is
	suppressed, still turn overstruck horizontal and vertical lines
	into +.

	* lib/new.c: Back out Feb 24 change; no longer needed with gcc
	2.1.

	* refer/label.y (format_expr::evaluate): Avoid use of %0*d.

Wed Mar 18 09:29:10 1992  James Clark  (jjc at jclark)

	* Version 1.05 released.

Tue Mar 17 16:50:45 1992  James Clark  (jjc at jclark)

	* tty/tty.c: Instead of keeping an array of glyphs and then
	sorting it, keep a ordered linked list of glyphs for each line.

	* driver/driver.h: Include stddef.h.

	* tty/tty.c (compare_glyph):
	* refer/refer.c (rcompare):
	* troff/env.c (compare_ranges): Arguments of qsort comparison
	function should be const void *.

	* troff/number.c (parse_term):
	* dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
	switch statement.

	* refer/label.y (consider_authors): Don't access variables
	constructed under a condition outside that condition: put braces
	round for statement containing declaration; redeclare use of same
	variable later.

	* pic/pic.y (text_expr): Delete production that allows
	parenthesised text_expr.
	(expr): Allow a conditional_expr to appear in parentheses.
	(conditional_expr): Rename to any_expr.

	* mm: Install new version 1.01 from jh.

	* lib/font.c (font::get_width): Cache scaled widths.
	(font::font): Initialize widths_cache.
	(font::~font): Destroy widths_cache.
	* lib/font.h: Add font::widths_cache. Declare font_widths_cache.

Mon Mar 16 10:16:10 1992  James Clark  (jjc at jclark)

	* c++test.c, c++test.ref: New files.
	* Makefile: Check that the C++ compiler works.

	* ps/tmac.pspic (PSPIC): Do a break.

	* ps/tmac.ps: Move definition of PSPIC into...
	* ps/tmac.pspic: New file.
	(PSPIC): Draw box around picture, but make it invisible to grops.
	* ps/tmac.ps: Load tmac.pspic.
	* ps/Makefile: Install tmac.pspic.

Sun Mar 15 14:18:08 1992  James Clark  (jjc at jclark)

	* lib/font.c (scale_round): If n is negative,
	subtract .5 before truncating floating point result.

	* lib/fontfile.c: Include <errno.h>.

Tue Mar 10 14:17:03 1992  James Clark  (jjc at jclark)

	* driver/input.c (get_char): Inline. Don't update current_lineno.
	Change callers to up date current_lineno if necessary.
	Use get_char() instead of getc(current_file).

Sun Mar  8 18:05:28 1992  James Clark  (jjc at jclark)

	* ps/tmac.ps: Fix up spacing of \(mo and \(nm.

Fri Mar  6 19:38:58 1992  James Clark  (jjc at jclark)

	* tty/tty.c (tmac.tty): Define \(rg as (R).

Tue Mar  3 10:11:25 1992  James Clark  (jjc at jclark)

	* lib/lib.h: New define a_delete.
	* Use a_delete instead of delete when deleting an array of objects
	without destructors.

	* lib/lib.h: Rename adelete to ad_delete.
	* Change uses of adelete.

Mon Mar  2 12:41:05 1992  James Clark  (jjc at jclark)

	* eqn/eqn.y: Include lib.h.

	* troff/node.c (grow_font_table): Delete old_font_table.

	* mm: Install new version from jh.

Fri Feb 28 10:42:23 1992  James Clark  (jjc at jclark)

	* tbl/table.h (format_type): Make global instead of local to class
	entry_format.  Prefix enumerators with FORMAT_.
	* tbl/table.c, tbl/main.c: Corresponding changes.
	* refer/token.h (token_type): Make global.  Prefix enumerators
	with TOKEN_.
	* refer/token.[ch]: Corresponding changes.
	* Makefile: Get rid of -DNO_NESTED_TYPES configuration option.

	* troff/div.c (node::set_vertical_size): Don't name argument.

Thu Feb 27 10:29:19 1992  James Clark  (jjc at jclark)

	* Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
	* lib/lib.h: Define adelete accordingly.
	* pic/object.c (graphic_object::graphic_object):
	* tbl/main.c (format::~format):
	* tbl/table.c (table::~table):
	* refer/ref.c (reference::~reference, reference::merge,
	reference::insert_field, reference::delete_field): Use adelete.

	* Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
	* refer/token.h:
	* tbl/table.h: Corresponding changes.

	* common.c (common_output::dashed_arc, common_output::dotted_arc):
	Ensure total_angle is positive.

Wed Feb 26 08:49:26 1992  James Clark  (jjc at jclark)

	* refer/ref.c (reference::merge, reference::insert_field,
	reference::delete_field): Avoid delete[0].

	* refer/token.c (init_special_chars): Move calls to cmupper
	outside calls to init_two_char_letter to work around bug in gcc
	2.0.

Mon Feb 24 14:20:00 1992  James Clark  (jjc at jclark)

	* lib/new.c (operator new): Use __builtin_new for g++.

	* pic/object.c (graphic_object::~graphic_object):  Don't use
	delete [] on 0.

	* pic/object.c (output::compute_scale): Initialize max_width and
	max_height.

Sat Feb 15 09:55:20 1992  James Clark  (jjc at jclark)

	* troff/input.c (write_request): Call fflush.

	* troff/node.h (class composite_node): Move declaration to node.c
	* troff/input.c (charinfo_to_node): Rename to ...
	(charinfo_to_node_list): Return node list rather than composite
	node.
	* troff/node.c (make_composite_node): New function.
	(make_node, add_char): Call make_composite_node instead of
	charinfo_to_node.
	(class composite_node): Add a tfont * member.  Delete font_size
	member.
	(composite_node::composite_node, composite_node::copy,
	composite_node::size): Corresponding changes.
	(composite_node::tprint): Provide constant spacing, emboldening
	and track kerning as specified in tfont.
	(composite_node::width): Change width calculation accordingly.
	* troff/env.h (environment::composite): New member.
	(environment::is_composite, environment::set_composite): New
	functions.
	* troff/env.c (environment::environment): Initialize composite.
	* troff/input.c (charinfo_to_node): Call
	environment::set_composite.
	* troff/node.c (make_composite_node, make_glyph_node): Use the
	plain version of the tfont if the environment is composite.

	* troff/node.c (font_info::get_space_width): Additional argument
	giving space_size.  Handle constant space correctly. Scale by
	space_size unless constant spaced.
	(env_sentence_space_width): New function.
	* troff/node.h: Declare it.
	* troff/env.h (environment::get_space_size,
	environment::get_sentence_space_size,
	environment::get_narrow_space_width,
	environment::get_half_narrow_space_width): Make inline.
	(environment::get_space_width): Make inline.  Just call
	env_space_width.
	* troff/env.c: Delete definitions for funtions made inline.
	(environment::space_newline, environment::space): Use
	env_sentence_space_width(). Don't scale by space_size.
	* troff/node.h: Move declarations of env*space_width() functions
	into env.h.

Sat Feb  8 09:30:22 1992  James Clark  (jjc at jclark)

	* macros/tmac.s (PS): Don't try to set negative indent.

Thu Feb  6 09:00:35 1992  James Clark  (jjc at jclark)

	* pic/pic.y: Fix min function.

Tue Jan 28 07:52:29 1992  James Clark  (jjc at jclark)

	* man/mdate.sh: Clear LANGUAGE.

Sun Jan 19 13:02:41 1992  James Clark  (jjc at jclark)

	* pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
	* pic/lex.c: New COMMAND keyword.
	* pic/pic.y (print_args, print_arg): New rules.
	(placeless_element): Use print_args for PRINT.
	New COMMAND element.

Tue Jan  7 13:14:31 1992  James Clark  (jjc at jclark)

	* troff/input.c (terminal): Handle missing argument correctly.

	* pic/pic.y (text_expr): New rule.

	* pic/pic.y: Implement := operator.

Sun Jan  5 10:23:02 1992  James Clark  (jjc at jclark)

	* etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
	mdoc.

Sat Jan  4 14:42:26 1992  James Clark  (jjc at jclark)

	* ps/devps/dingbatsrmap: Include this in the distribution.

	* macros/tmac.doc: Replace with new version from 2nd Networking
	Release. Fix loading of doc-* files.
	* macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
	* macros/tmac.doc.old: New file.  Apply fixes that had been
	applied to old tmac.doc.
	* macros/tmac.andoc: Check that we're running under groff.
	* macros/Makefile: Rework.

Fri Jan  3 13:27:51 1992  James Clark  (jjc at jclark)

	* tbl/table.h (format_type): 
	* refer/token.h (token_type): If NESTED_TYPES is defined, use
	typedef to make these types visible at file scope.
	* Makefile: Add NESTED_TYPES configuration option.

	* troff/div.c (mark): At the top level use the value of
	nl_reg_contents rather than the current vertical position.

Thu Jan  2 10:34:51 1992  James Clark  (jjc at jclark)

	* tty/tty.c: Implement \D for horizontal or vertical lines.
	(tty_printer::set_char): Use vec_used+2 as serial number.
	Don't allow size of vector to exceed USHRT_MAX-2.
	Split off part into...
	(tty_printer::add_char): New function.
	(tty_printer::draw): New function.
	(compare_glyph): Handle equal serial numbers.
	(tty_printer::end_page): Handle overstruck characters from \D.
	(main, usage): Implement -d option.

Mon Dec 23 10:37:51 1991  James Clark  (jjc at jclark)

	* tbl/main.c (process_format):
	* eqn/text.c (split_text):
	* troff/input.c (token::next): Use inner block for declarations
	with initializers in switch statement.

Mon Dec 16 20:52:03 1991  James Clark  (jjc at jclark)

	* pic/common.c (common_output::dash_line): Cope with zero-length
	lines.

Sun Nov 17 12:04:08 1991  James Clark  (jjc at jclark)

	* Version 1.04 released.

Wed Nov 13 05:27:21 1991  James Clark  (jjc at jclark)

	* macros/tmac.an (TH): Define a macro an-init to define variables
	based on command line arguments.
	(an-header): Call it.

Sun Nov  3 12:07:34 1991  James Clark  (jjc at jclark)

	* Makefile (install.mm): Rename to install.dwbmm.

	* Makefile: Integrate mm.
	* mm: New directory.

Wed Oct 30 10:11:34 1991  James Clark  (jjc at jclark)

	* refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
	<sys/types.h>.

	* pic/troff.c (troff_output::simple_spline,
	troff_output::simple_polygon): Rename variable `v' to `d' to avoid
	shadowing parameter.

	* lib/tmpfile.c (xtmpfile): Declare dir as const char *.

	* lib/ptable.h: Add explicit casts when converting from unsigned
	long to unsigned.

	* dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
	* dvi/devdvi/Makefile: Install SA, SB.

	* refer/indxbib.c: Add declaration of mktemp.

	* refer/lookbib.c: Add declaration of isatty.

Fri Oct 25 09:00:17 1991  James Clark  (jjc at jclark)

	* pic/lex.c (interpolate_macro_with_args):  While collecting
	arguments, keep track of whether we're in a string.

Wed Oct 23 08:42:48 1991  James Clark  (jjc at jclark)

	* ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
	down with \v, so as to avoid problems with top of page trap
	setting no space mode.

Tue Oct 22 17:38:49 1991  James Clark  (jjc at jclark)

	* eqn/lex.c (get_delimited_text): Allow tab before macro body.

Tue Oct 15 17:24:53 1991  James Clark  (jjc at jclark)

	* ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
	Improve error message.

Fri Oct 11 11:09:38 1991  James Clark  (jjc at jclark)

	* ps/psrm.c (print_ps_string): Don't pass negative numbers to
	printf("%03o");

Wed Oct  9 17:50:14 1991  James Clark  (jjc at jclark)

	* groff.c (possible_command::execp): Always use _exit() after a
	failed exec.

	* Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
	NO_SYS_WAIT_H 	configuration options.
	* groff.c: Use these options.  Use POSIX-style macros to extract
	fields from the status returned by wait().

Fri Oct  4 12:12:27 1991  James Clark  (jjc at jclark)

	* tbl/table.c (table::compute_separation_factor): Allow the
	separation factor to drop to 0.

Tue Oct  1 18:12:38 1991  James Clark  (jjc at jclark)

	* refer/search.c: Include <errno.h>.

Sun Sep 29 08:40:57 1991  James Clark  (jjc at jclark)

	* pic/pic.y (YYDEBUG): Don't define for Borland C++.

	* lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
	C++. 

	* pic/lex.c (input_stack::bol): Move definition out of class body.

	* pic/main.c: On MSDOS munge argv[0].

	* lib/ptable.h: Define name2 as _Paste2 for Borland C++.

	* lib/ptable.c (hash_string): Use unsigned long rather than
	unsigned.
	(next_ptable_size): Use unsigned rather than int.  Give an error
	message if we've hit the largest table size.
	* lib/ptable.c: Corresponding changes.  Also use unsigneds for the
	table size.

	* pic/object.h (object_spec): Make flags unsigned long.  Declare
	flags as const unisgned long rather than as enums.

	* pic/output.c: Deleted.

	* pic/troff.c (troff_output::simple_ellipse): Remove spurious %.

	* tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
	Add additional argument.
	(line_entry::note_double_vrule_on_{left,right}): Set value of
	douvle_vrule_on_{right,left} flag according to argument.
	(simple_line_entry::simple_print,
	simple_line_entry::double_line_print): If adjacent to double vrule
	on a corner extend rather than shorten the rule by half the double
	vrule sep.

	* troff/number.c (parse_term): In checking for overflow, handle the
	case where the current horizontal position is negative.

Thu Sep 12 08:26:09 1991  James Clark  (jjc at jclark)

	* pic/object.c (draw_arrow): Check for object having zero length.

Wed Sep 11 10:32:38 1991  James Clark  (jjc at jclark)

	* eqn/main.c (do_file): Split off inline equation handling into...
	(inline_equation): New function.  Search for starting delimiter
	using...
	(delim_search): New function. Don't recognize a delimiter that
	occurs in the name of an escape sequence, number register, string
	etc.

Tue Sep 10 04:01:11 1991  James Clark  (jjc at jclark)

	* eqn/delim.c (delim_box::compute_metrics): Don't call
	define_extensible_string if left is 0.
	(delim_box::output):  Don't print the left delimiter if left is 0.
	(delim_box::debug_print): Check for left == 0 before calling printf.

Fri Aug 23 13:02:30 1991  James Clark  (jjc at jclark)

	* troff/Makefile (majorminor.c): Include only digits in
	minor_version.

Thu Aug 22 09:35:37 1991  James Clark  (jjc at jclark)

	* refer/dirnamemax.c: new file.
	* refer/genlimits.c: Deleted.
	* refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
	Don't check path length.
	* refer/Makefile: Add dir_name_max.o; delete genlimits.
	* Makefile: Add PATHCONF_MISSING option.

	* refer/indxbib.c (get_cwd): New function.
	(main): Use get_cwd().
	* lib/getcwd.c: New file.
	* Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
	GETCWD in SUBFLAGS.
	* lib/Makefile: Compile getcwd.o.

	* ps/tmac.psatk (psatk-defs): Define showpage after pushing
	userdict.

	* refer/indxbib.c (main): Check success of mktemp.

	* lib/tmpfile.c: New file.
	* lib/Makefile: Add tmpfile.c.
	* lib/lib.h: Declare xtmpfile(); include <stdio.h>.
	* ps/ps.h: Delete declaration of mktemp().
	* ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
	* refer/refer.c (divert_to_temporary_file): Use xtmpfile().
	* driver/driver.h: No need now to include errno.h.

	* everywhere: Set errno to 0 before calling fopen().

	* eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
	dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
	refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.

Mon Aug 19 10:52:18 1991  James Clark  (jjc at jclark)

	* troff/env.h (translate_space_to_dummy): Declare it.
	* troff/env.c (environment::space_newline, environment::space):
	If translate_space_to_dummy is set then make the width of spaces 0.
	* troff/input.c (translate): If the second character of a
	translation is a space, translate to unbreakable space.  If the
	first character is a space, set or clear translate_space_to_dummy
	according to whether the second character is \&.  Weird!

Tue Jul 30 10:03:56 1991  James Clark  (jjc at jclark)

	* groff.c (run_commands): Don't use non-zero exit code because a
	command gets SIGPIPE.

	* groff.c, groff.sh: Use -mXps with -TXps.

	* ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
	(ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
	ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
	(ps_printer::special): New specials invis and endinvis.
	(ps_printer::do_invis, ps_printer::do_endinvis): New functions.
	(ps_printer::set_char, ps_printer::draw): Return if invis_count>0. 
	(ps_printer::end_page): Check that invis_count == 0.
	(ps_printer::invis_count): New member.
	(ps_printer::ps_printer): Initialize invis_count to 0.

	* troff/env.c (environment::hyphenate_line): Hyphenation
	indicator at beginning of word inhibits splitting after -, \(em
	etc.

	* pic/pic.y (element): Allow another element to follow } without
	any intervening separator.

Mon Jul 22 12:27:37 1991  James Clark  (jjc at jclark)

	* pic/lex.c (get_delimited): Allow tabs before delimiter.

Wed Jul 17 10:59:08 1991  James Clark  (jjc at jclark)

	* groff.c: Get rid of HAVE_UNION_WAIT stuff.  Instead suppress
	declaration of wait() in header files.
	* Makefile: Get rid of -DHAVE_UNION_WAIT.

	* tbl/table.c (alphabetic_text_entry::add_tab): New function.

	* lib/lib.h: Declare return type of strerror as char *.

	* man/Makefile: Add g flag to sed substitutions.
	* Makefile (shgroff, bindist): Likewise.

Sun Jul 14 11:57:02 1991  James Clark  (jjc at jclark)

	* ps/ps.c (ps_printer::do_import): Move push of userdict into...
	* ps/devps/prologue (PBEGIN): Define showpage after pushing
	userdict.

Sat Jul 13 20:53:04 1991  James Clark  (jjc at jclark)

	* ps/devps/prologue (PBEGIN): Zap any definition of showpage in
	userdict.

Fri Jul 12 07:10:09 1991  James Clark  (jjc at jclark)

	* man/mdate.sh: Handle the fact that BSD ls -l does not print the
	group.

Sun Jul  7 08:00:23 1991  James Clark  (jjc at jclark)

	* troff/input.c (define_number_reg):  If currently undefined,
	don't define it if the argument is an invalid expression.

	* Makefile: Ignore return value of `if' commands without `else'
	parts.

	* Makefile: Split up CPPDEFINES into a series of separate
	configuration options.

	* troff/input.c (init_registers): Use time_t instead of long
	unless LONG_FOR_TIME_T is defined.  Use returned result rather
	than passing pointer.
	* Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.

	* lib/Makefile (fontpath.h): Use gendef.

Thu Jul  4 09:48:05 1991  James Clark  (jjc at jclark)

	* troff/input.c (input_iterator::shift): Delete argument name.
	* troff/node.c (suppress_output_file::really_begin_page,
	suppress_output_file::really_transparent_char, node::ascii_print,
	node::tprint): Delete names of unused arguments.

Wed Jul  3 17:34:57 1991  James Clark  (jjc at jclark)

	* refer/label.y (string):  Pass $4 to command_error.

Tue Jul  2 15:06:01 1991  James Clark  (jjc at jclark)

	* Version 1.03 released.

Sat Jun 29 08:14:01 1991  James Clark  (jjc at jclark)

	* Makefile: Pass definition of SHELL in SUBFLAGS.

	* gendef: New file.
	* Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
	ps/Makefile: Use gendef to construct header files that are
	constructed from the Makefile.

	* macros/Makefile: make all should build stripped version of tmac.e.

	* refer/Makefile (clean): Remove y.output.

Fri Jun 28 09:44:36 1991  James Clark  (jjc at jclark)

	* ps/pfbtops.c (main): Add -v option which prints out a version
	number.
	* ps/Makefile (pfbtops): Link with libgroff.a.

Fri Jun 21 07:43:23 1991  James Clark  (jjc at jclark)

	* refer/search.h (linear_searcher::get_nkeys): Delete declaration.
	* refer/linear.c (linear_searcher::get_nkeys): Delete definition.

	* refer/lkbib.c (main): Always terminate reference with blank
	line.
	* refer/lookbib.c (main): Likewise.

	* refer/linear.c (file_buffer::load): Check that the file is not a
	binary file.

	* refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
	(genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
	Delete second inclusion of <sys/param.h>.

Tue Jun 18 01:32:26 1991  James Clark  (jjc at jclark)

	* troff/token.h (token::special): Deleted.

	* tbl/main.c (process_format): Rework so that opt->tab_char is
	recognized only when appropriate.

	* ps/Makefile (clean): Remove pfbtops.

Sun Jun 16 09:37:19 1991  James Clark  (jjc at jclark)

	* lib/font.c (text_file::next): Don't return if we have got a
	blank line.

Fri Jun 14 09:52:26 1991  James Clark  (jjc at jclark)

	* refer/refer.c (store_reference): Get hash code from old_table[i]
	when rehashing the table.

Thu Jun 13 01:26:43 1991  James Clark  (jjc at jclark)

	* eqn/box.c (box::top_level): Save size and prev size using \R and
	restore it afterwards. Set the size to the size at the beginning
	of the line.
	* eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
	SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.

	* refer/Makefile (limits.h): Use ./genlimits.

Wed Jun 12 16:05:34 1991  James Clark  (jjc at jclark)

	* refer/index.c: Delete declarations of stat() and fstat().

Tue Jun 11 14:52:49 1991  James Clark  (jjc at jclark)

	* tty/tmac.tty: Add character definitions for \(>= and \(<=.

Mon Jun 10 22:49:48 1991  James Clark  (jjc at jclark)

	* etc/grog.sh, etc/grog.pl: Change regex for .PS.

Fri Jun  7 09:13:06 1991  James Clark  (jjc at jclark)

	* troff/input.c (token::get_char): Handle \e.

	* refer/linear.c: Delete declarations of fstat() and stat().

Wed Jun  5 09:11:59 1991  James Clark  (jjc at jclark)

	* troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
	OP_DELETE_BROKEN stuff, since we now have a fix for g++.

Mon Jun  3 13:41:32 1991  James Clark  (jjc at jclark)

	* troff/input.c (do_define_macro): Improve error handling for end
	of file while defining macro.

Sun Jun  2 10:20:24 1991  James Clark  (jjc at jclark)

	* eqn/box.h: Fix declaration of set_gsize.
	* eqn/box.c (set_gsize): Make argument const char *.
	(gsize): Declare as char *.
	* eqn/main.c (main): Don't convert gsize to int.
	* eqn/lex.c (do_gsize): Pass char * to set_gsize.

	* Version 1.02 released.

Sat Jun  1 12:19:46 1991  James Clark  (jjc at jclark)

	* macros/tmac.andoc: New file.
	* macros/Makefile: Install tmac.andoc.

	* troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
	operator new and delete on OP_DELETE_BROKEN not being defined.
	* Makefile: Mention OP_DELETE_BROKEN.

Mon May 27 13:49:07 1991  James Clark  (jjc at jclark)

	* Makefile (bindist): Pass SUBFLAGS.

Sun May 26 14:13:22 1991  James Clark  (jjc at jclark)

	* Makefile, groff.c: Pass definitions to groff.c via device.h.

	* tty/tty.c (tty_font::load_tty_font): Avoid shadowing
	parameter.

	* ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.

	* ps/ps.h, ps/psrm.c: Make comment_table and
	header_comment_table local to resource_manager::process_file.

	* groff.sh: With -TXps pass -printCommand option to gxditview.

	* groff.c (possible_command::print): Implement using
	append_arg_to_string.

	* xditview: Merge in new implementation with own ChangeLog.

Sat May 25 18:33:20 1991  James Clark  (jjc at jclark)

	* groff.c (main): Implement PRINT_OPTION.
	(append_arg_to_string): New command.
	(device_table): Set PRINT_OPTION flag for Xps.

Fri May 24 09:48:58 1991  James Clark  (jjc at jclark)

	* troff/groff.h: Rename to troff.h.

	* pic/lex.c (lookup_keyword, docmp): New functions.
	(get_token): Use new lookup_keyword.
	Don't include key.h.
	* pic/key.[ch], pic/pic.gperf: Deleted.
	* pic/Makefile: Remove gperf stuff.

	* pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
	into output.h.
	* pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.

	* troff/Makefile, troff/node.c: Move definition of
	STORE_WIDTH into node.c.

	* etc/grog.pl, etc/grog.sh: Support -mdoc.

Thu May 23 12:30:49 1991  James Clark  (jjc at jclark)

	* dvi/devdvi/texr.map, dvi.devdvi/texi.map,
	dvi/devdvi/texb.map: Add lq and rq.
	dvi/devdvi: Regenerate fonts.
	* ps/devps/textmap: Add lq and rq.
	* ps/devps: Regenerate fonts.
	* tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
	* macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.

	* pic/object.c (position_rectangle): When checking radius
	cope with possiblity that width or height is negative.
	(box_object::box_object): Have separate xrad and yrad with
	signs matching signs of dim components.
	(box_object::{north,south}_{east,west}): Use xrad and yrad.
	(box_object::print): With rounded boxes use absolute values
	for dim and rad arguments.

	* lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
	in fontpath.h.

	* eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.

	* various files: Add explicit destructors to keep Saber CC +d
	happy.

Wed May 22 11:37:11 1991  James Clark  (jjc at jclark)

	* eqn/box.c (box::top_level): Restore fonts correctly after
	font changes in line containing inline equation.  Also
	restore previous font as well as current font.
	* eqn/pbox.h: Define necessary string and register names.

	* troff/input.c (token::next): Case 'R' calls do_register.
	(do_register): New function.

Tue May 21 11:28:23 1991  James Clark  (jjc at jclark)

	* groff.c, groff.sh: Support Xps device.  Allow each device
	to have a pseudo_name and a real_name.

	* groff.c (run_commands): Don't print `Broken pipe' messages.

	* ps/pfbtops.c: New file.
	* ps/Makefile: Add pfbtops.

	* troff/number.c (parse_term): Improved error message.

Mon May 20 11:22:14 1991  James Clark  (jjc at jclark)

	* groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.

	* Makefile: Integrate refer.
	* refer: New directory.
	* man/grefer.man, man/glookbib.man, man/gindxbib.man,
	man/lkbib.man: New files.
	* man/Makefile: Support refer man pages.

	* lib/lib.h: Declare is_prime.
	* lib/prime.c: New file.

	* troff/input.c (macro_source): New function.
	(init_input_requests): Bind "mso" to macro_source.

	* troff/env.c (environment::possibly_break_line): Maintain
	pointer to pointer to node to be split in ndp so as to avoid
	using address of freed node.

	* troff/env.c (environment::hyphenate_line): Maintain pointer to
	pointer to first node to be hyphenated in startp so as to
	avoid using address of freed node.

	* troff/env.c (class trie, class hyphen_trie): Make the
	elements of the trie be of type char not unsigned char.
	Declare arguments to be const char* instead of unsigned char *.
	
	* troff/env.c (hyphenate): Initialize hbuf[0].

	* troff/input.c (set_string): Declare p to be char * and cast
	*p to unsigned char when necessary.

	* troff/input.c (do_define_macro): Declare s to be const
	char*. Cast element to unisgned char when necessary, Declare
	d to be an int.  Handle EOF better.

	* troff/Makefile, troff/input.c: Different scheme for passing
	definitions of MACROPATH, HYPHENFILE and DEVICE.

Tue May 14 13:41:36 1991  James Clark  (jjc at jclark)

	* tty/devascii/R.proto: Delete entry for em.
	* tty/devlatin1/R.proto: Likewise.

Sat May 11 11:13:28 1991  James Clark  (jjc at jclark)

	* troff/input.c (translate): Stop when we get a space. Treat eof
	like newline.

	* macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.

Wed Apr 24 19:24:33 1991  James Clark  (jjc at jclark)

	* tbl/main.c (process_format): A font name following a `f'
	modifier that starts with a digit can be only one character long.
	Also deal with EOF on the second character of the font name.

Wed Apr 17 11:23:43 1991  James Clark  (jjc at jclark)

	* troff/input.c (token::next): Turn \~ into an
	unbreakable_space_node.
	* troff/node.c (unbreakable_space_node): New class.
	* troff/node.h: Declare it.

Tue Apr 16 10:47:12 1991  James Clark  (jjc at jclark)

	* dvi/dvi.c (dvi_printer::set_char): Make code an int.  Check that
	it's >= 0, before outputting it as a single byte.

Mon Apr 15 11:20:23 1991  James Clark  (jjc at jclark)

	* lib/font.c: Make font_char_metric::code an int.
	(font::get_code): Change return type to int.
	(font::load): Allow code to be arbitrary integer.
	* lib/font.h (font::get_code): Change return type to int.
	(font::number_to_index): Change argument type to int.
	* troff/input.c (token::next):  In case 'N', allow any value.
	Store value in token::val.
	(token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
	(token::get_char, token::add_to_node_list, token::process): Get
	number from val.
	(charinfo::set_number): Change argument to int.
	(charinfo::get_number):  Require that NUMBERED flag be set.
	(get_charinfo_by_number): Store numbered characters not between 0
	and 255 in a dictionary.
	* troff/charinfo.h (get_charinfo_by_number): Change argument type
	to int.
	(charinfo::number): Change type to int.
	(charinfo::set_number): Change type of set_number to int.
	* troff/node.c (troff_output_file::put_char_width,
	troff_output_file::put_char): Test whether character is numbered
	using charinfo::numbered().
	* driver/printer.c (printer::set_numbered_char): Allow arbitrary
	values of num.
	* lib/nametoindex.c: New implementation to cope with arbitrary
	number characters.

	* troff/input.c (token::operator==): Test val for
	TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
	TOKEN_SIZE.

	* man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
	(.man.n):  sed out @BROKEN_SPOOLER_FLAGS@.

Sun Apr 14 12:57:00 1991  James Clark  (jjc at jclark)

	* ps/devps/zapfdr.ps: Don't copy UniqueID.  Avoid use of newdict
	variable.

	* all Makefiles: rm targets of cp and >.

	* xditview/xtotroff.c (MapFont): Unlink troff_name before opening
	it.

	* eqn/lex.c (def_table): Add dollar.

Sat Apr 13 13:02:44 1991  James Clark  (jjc at jclark)

	* troff/input.c (do_width): Push back newline before closing delim
	like do_bracket.

Fri Apr 12 15:16:03 1991  James Clark  (jjc at jclark)

	* groff.c (possible_command::prepend_arg): New function.
	(main): Prepend device -m option.
	* groff.sh: Put device -m options before command-line options.

Tue Apr  9 10:24:43 1991  James Clark  (jjc at jclark)

	* macros/tmac.an (IP): Quote argument to TP.

	* ps/ps.c (main): New option -b, which sets...
	(broken_flags): New variable.
	(ps_printer::~ps_printer): Incorporate the setup section in the
	prolog if (broken_flags & NO_SETUP_SECTION).
	(ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
	(ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
	ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
	ps_printer::print_needed_font_comment,
	ps_printer::print_supplied_font_comment,
	ps_printer::print_include_font_comments,
	ps_printer::lookup_doc_font, ps_printer::download_fonts,
	ps_printer::read_download_file, read_document_fonts, add_font,
	skip_line, parse_fonts_arg, document_font::document_font,
	document_font::~document_font, document_font::download,
	ps_output::include_file):  Deleted.
	(ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
	rather than %!PS-Adobe-2.0.  Make calls to
	resource_manager::need_font for each font that we used. Replace
	calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
	print_supplied_font_comment, print_needed_font_comment by call to
	resource_manager::print_header_comments. Output %%Orientation
	comment. Output %%Requirements: numcopies comment if ncopies > 1.
	Don't output the prolog directly.  Instead call
	resource_manager::output_prolog.  Only define #copies when ncopies
	> 1.  Delete calls to print_include_font_comments  and
	download_fonts.  Add call to resource_manager::document_setup.
	(ps_printer::do_file): Call resource_manager::import_file instead
	of including it ourselves.
	(ps_printer::do_import): Likewise.  Also don't call
	merge_import_fonts. Push userdict on the dictionary stack before
	and pop it afterwards.
	Move declaration of ps_output into ps.h.
	* ps/psrm.c: New file implementing resource_manager class.
	* ps/ps.h: New file declaring ps_output and resource_manager
	classes.
	* ps/devps/zapfdr.ps:
	* ps/devps/symbolsl.ps:
	* ps/devps/prologue:  Use 3.0 conventions.
	* ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
	Add default definition of BROKEN_SPOOLER_FLAGS.
	* Makefile: New variable BROKEN_SPOOLER_FLAGS.  Add
	BROKEN_SPOOLER_FLAGS to SUBFLAGS.

Mon Apr  8 09:26:54 1991  James Clark  (jjc at jclark)

	* etc/grog.pl: New file.
	* Makefile (GROG): New variable.
	Add GROG to SUBFLAGS.
	* etc/Makefile (GROG): New variable.
	(install.nobin): Install $(GROG) rather than grog.sh.

Thu Apr  4 11:36:45 1991  James Clark  (jjc at jclark)

	* eqn/special.c (special_box::compute_metrics): Make the input and
	output strings the same.  Get the new height and depth from the
	predefined height and depth registers.  Also make subscript kern
	and skew available.
	(special_box::compute_subscript_kern, special_box::compute_skew):
	New functions.

	* eqn/box.c (pointer_box::compute_skew,
	simple_box::compute_metrics, box::top_level)
	* eqn/text.c (prime_box::compute_metrics,
	prime_box::comput_subscript_kern)
	* eqn/limit.c (limit_box::compute_metrics):
	* eqn/delim.c (build_extensible, delim_box::compute_metrics):
	* eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
	negative numbers in `nr' requests with a leading 0.

Wed Apr  3 15:58:23 1991  James Clark  (jjc at jclark)

	* eqn/special.c: New file.
	* eqn/eqn.y: Declare token SPECIAL.  Make it right associative.
	Add new rule for simple.
	* eqn/lex.c (token_table): Add SPECIAL.
	* eqn/box.h: Declare make_special_box.
	* eqn/Makefile: Add special.[co].

Sat Mar 30 10:57:53 1991  James Clark  (jjc at jclark)

	* ps/devps/prologue: Possibly set packing to true while defining.
	Create grops dictionary here.  Initialize local variables before
	defining procedures.
	(PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
	the dictionary stack. Set strokeadjust and overprint to false if
	the relevant operators are defined.
	(PEND): New procedure.
	* ps/ps.c (ps_printer::~ps_printer): In the prolog just include
	prologue.  Do everything else in the setup section.
	(ps_printer::do_import): Just call PBEGIN and PEND around the
	picture. Also push userdict before, and pop it afterwards.

Wed Mar 27 07:59:50 1991  James Clark  (jjc at jclark)

	* troff/node.c (bracket_node::tprint): Brackets were being printed
	1m too low.

	* macros/tmac.an (SH, SS): Set fill mode.

Tue Mar 26 07:46:31 1991  James Clark  (jjc at jclark)

	* troff/div.c (top_level_diversion::begin_page): Set
	high_water_mark to 0.

Fri Mar 22 09:19:46 1991  James Clark  (jjc at jclark)

	* man/mdate.sh: New file.
	* man/mdate.c: Deleted.
	* man/Makefile: Use mdate.sh instead of mdate.
	(mdate): Deleted.

	* eqn/lex.c (do_gsize): Supply missing argument to error message.

Tue Mar 19 11:06:50 1991  James Clark  (jjc at jclark)

	* man/mdate.c: New file.
	* man/*.man: Replace modification date by @MDATE@.
	* man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
	(mdate): New target.

	* lib/font.c (text_file::next): Deal with arbitrarily long lines.
	Remove illegal input characters.

Mon Mar 18 08:32:25 1991  James Clark  (jjc at jclark)

	* macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.

Sat Mar 16 03:52:25 1991  James Clark  (jjc at jclark)

	* troff/div.c (begin_page): Change behaviour when
	!first_page_begun and !break_flag.

	* troff/input.c (do_name_test): Return 0 if argument is empty.

	* troff/input.c (read_long_escape_name): Require closing ] to be
	at same input level as opening [.

	* troff/input.c (read_increment_and_escape_name): New function.
	(get_copy, process_input_stack): Use this for \n.

Fri Mar 15 00:31:48 1991  James Clark  (jjc at jclark)

	* troff/div.c (top_level_diversion::begin_page): Ignore the
	current value of page_number if !first_page_begun.

	* groff.c (main): Fix declaration of buf.

	* troff/input.c (do_name_test): New function.
	(token::next): Implement \A.
	(token::next): Implement \e by turning it into a TOKEN_ESCAPE.
	(token::description, token::add_to_node_list, token::process):
	Handle TOKEN_ESCAPE.
	* troff/token.h: New token TOKEN_ESCAPE.

Thu Mar 14 10:22:26 1991  James Clark  (jjc at jclark)

	* pic/main.c (do_picture): Allow space before and after filename
	following `<'.  Check that the filename is not empty.

Wed Mar 13 12:49:40 1991  James Clark  (jjc at jclark)

	* Version 1.01 released. 

	* dvi/devdvi/CompileFonts: Add cm*ss10 fonts.

	* dvi/tmac.dvi: ftr HR to H.

	* macros/tmac.e: Round up computation of $r.

	* xditview/tmac.X:  Don't give up completely in compatibility mode.
	Use \n(.s instead of \n[.s].

	* dvi/tmac.dvi: Don't give up completely in compatibility mode.
	Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
	Add u to factors inside \s[...]. Rename frac to dvi-frac.
	Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
	short names in the char definitions.

	* ps/tmac.ps: Don't give up completely in compatibility mode.
	Fix the fraction definitions to use \n(.s and \(f/. Add an extra
	quote in front of \n(.s. Add u to factors inside \s[...].

Mon Mar 11 12:01:20 1991  James Clark  (jjc at jclark)

	* tty/tmac.tty: Call the nroff request.

	* macros/tmac.e ((x, )x):  Better definitions that work properly
	in a diversion.
	(@0, @1): Helper macros for (x.

	* macros/tmac.e ($s, hl): Use \l rather than \D.

	* tty/tmac.tty: Make it work better in compatibility mode.
	(pchar): Rename to tty-char.

	* macros/tmac.e (@E): New macro.
	(r, i, b, rb, bi): Use @E.

	* macros/tmac.e (@F): Don't use (;...) syntax.

	* macros/tmac.e: Remove mention of \*(||/revisions.  Mention that
	it was modified for groff.

	* macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.

	* macros/tmac.e (<., .>): Removed.
	([., .]): If \n(.V>=1v, use [] instead of superscripting.

	* macros/tmac.e: Remove check that groff is being used.

	* macros/tmac.e (@C): Change families only if using groff; turn
	compatibility mode off while changing familes. Save compatibility
	mode before changing families and restore it afterwards.

	* macros/tmac.e (@h): Remove test for offset + line length.

	* macros/tmac.e (sorry): Rename to @S.  Use \$1 instead of \$0
	(lo, th, ac): Define to call @S instead of using als.

	* macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
	the ratio of the vertical spacing to the point size in units
	expressed as a percentage.  Use these instead of $10r and $10R,
	Delete $10r and $10R.

	* lib/font.c (font::load): In default computation of space_width,
	divide by sizescale.  Use scale_round.

	* macros/tmac.an (TP): Don't call `nf'.
	(an-do-tag): Don't call `fi'.

Sun Mar 10 09:52:35 1991  James Clark  (jjc at jclark)

	* troff/input.c (process_input_stack): Handle the case where
	spaces at the beginning of an input line are followed by a
	newline.

Thu Mar  7 20:18:07 1991  James Clark  (jjc at jclark)

	* groff.c (device_table): Add PIC_X_OPTION for dvi device.
	* groff.sh: Use pic -x with the dvi device.

	* dvi/devdvi/FontMakefile (H): Don't use -s.

	* dvi/devdvi/HI, dvi/devdvi/HB: New files.
	* dvi/devdvi/Makefile: Add HI and HB to FONTS.
	* dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
	in FONTS.

Mon Mar  4 13:20:14 1991  James Clark  (jjc at jclark)

	* ps/psfig.diff: New file.
	* ps/tmac.psfig: New file.

Sat Mar  2 00:15:09 1991  James Clark  (jjc at jclark)

	* macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
	(]-): Don't call ref*do-tl.

	* macros/tmac.s (ref*end-print): Use XP if [F not defined.

	* macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
	(fn@do-FS): Rename to fn*do-FS.

	* troff/input.c (transparent_translate): New function.
	(process_input_stack): Apply transparent_translate before calling
	diversion::transparent_output(unsigned char).

Wed Feb 27 00:13:25 1991  James Clark  (jjc at jclark)

	* troff/input.c (do_define_macro): Define the macro before calling
	skip_line.

	* xditview/Makefile: Add DEVICES variable.  Change install target
	to use this.

Tue Feb 26 10:46:22 1991  James Clark  (jjc at jclark)

	* groff.c (run_commands): Handle the possibility that there are
	child processes other than those forked by us.

Sun Feb 24 21:32:30 1991  James Clark  (jjc at jclark)

	* lib/string.c (string::append): New function.
	* lib/stringclass.h: Declare it.

Thu Feb 21 11:49:26 1991  James Clark  (jjc at jclark)

	* eqn/main.c (main): New option -N which sets
	no_newline_in_delim_flag. 
	(do_file): If no_newline_in_delim_flag is set don't allow newlines
	in delimiters.
	* groff.c (main): Pass -N on to eqn.
	(help, synopsis): Mention -N.
	* groff.sh: Implement -N.

Wed Feb 20 15:16:10 1991  James Clark  (jjc at jclark)

	* macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
	(]-): Call ref*do-tl if ref*need-tl is non-zero.
	(XP): Allow as initializer.

Tue Feb 19 14:09:06 1991  James Clark  (jjc at jclark)

	* troff/env.c (environment::wrap_up_field): If field_spaces are
	non-zero and we have a current_tab, subtract padding from
	tab_distance.  If this makes tab_distance <= 0, use the next tab
	stop instead.  If there isn't any next tab or it's a left tab,
	wrap up the current tab.
	(environment::start_field): Initialize tab_precedes_field.
	(environment::wrap_up_tab): If there's a current field, update
	pre_field_width, field_distance and tab_precedes_field.
	* troff/env.h (environment::tab_precedes_field): New member.

Fri Feb 15 01:24:00 1991  James Clark  (jjc at jclark)

	* ps/ps.c (ps_printer::do_file): New function.
	(ps_printer::special): Bind to `file' special.
	(ps_printer::do_exec): Set ndefined_styles to 0.

Sat Feb  9 03:03:04 1991  James Clark  (jjc at jclark)

	* eqn/text.c (split_text): Grok \* and similar escapes sequences.
	Avoid stripping first character from the start of unrecognized
	escapes.  Use lex_error instead of error to report errors.
	* eqn/lex.c (get_token): Rework handling of escapes.
	(lex_error): Move declaration into...
	* eqn/eqn.h.

	* xditview/xditview.c (main): Make -page option work.

	* Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.

Wed Feb  6 12:28:43 1991  James Clark  (jjc at jclark)

	* macros/tmac.s (B2): Correct size of box.

Tue Feb  5 00:37:35 1991  James Clark  (jjc at jclark)

	* macros/tmac.s (B2): Postpone drawing the box until in the
	top-level diversion.

	* tty/tmac.tty: Add font translations for C, CR, CW.

	* groff.c (synopsis, help): Document -i.
	* groff.sh: Implement -i.

	* macros/tmac.s (@NH): Put a `.' after multi-part numbers.
	Simplify the construction of SN.

	* troff/number.c (parse_term): Give `|' a higher precedence.
	* tbl/table.c (numeric_text_entry::simple_print): Parenthesise
	accordingly.

	* macros/tmac.s (B2): Use par@finish instead of par@reset.

Mon Feb  4 12:36:09 1991  James Clark  (jjc at jclark)

	* lib/string.c (string::move): New function.
	* lib/stringclass.h: Declare it.

Sat Feb  2 16:02:16 1991  James Clark  (jjc at jclark)

	* troff/env.c (distribute_space): Add optional argument
	`force_forward'.
	(environment::wrap_up_field): Call distribute_space with
	`force_forward' argument of 1.

Fri Feb  1 19:36:33 1991  James Clark  (jjc at jclark)

	* lib/string.c, lib/stringclass.h (string::operator+=(char)):
	Inline it.  Move reallocation into...
	(string::grow1): New function.
	* pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
	dependencies to include library header files.
	* lib/Makefile: Make string.c and lf.c depend on stringclass.h.

Thu Jan 31 15:02:27 1991  James Clark  (jjc at jclark)

	* macros/tmac.s (@NH): Use the same number registers than -ms does
	for the heading level counters.  Use the same string that -ms does
	for the number for this heading.

Wed Jan 30 14:25:40 1991  James Clark  (jjc at jclark)

	* lib/new.c (operator new): Cast result of malloc to char *.

	* troff/input.c (spring_trap, lookup_request): Add assert that nm
	is not null.

Tue Jan 29 18:08:05 1991  James Clark  (jjc at jclark)

	* groff.c (main): Support -i.

Sun Jan 27 13:23:17 1991  James Clark  (jjc at jclark)

	* pic/pic.h: Include <osfcn.h>.

	* ps/ps.c: Add declaration of mktemp.

	* Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
	* groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
	argument as union wait *.
	(run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
	argument to union wait *.

Sat Jan 26 12:04:52 1991  James Clark  (jjc at jclark)

	* tty/tmac.tty: Add definition of \(co.

	* pic/object.c (make_arc): Only increase radius when radius
	strictly less than d.
	(arc_object::update_bounding_box): May need to add 4.0 to end_quad
	more than once.

	* troff/env.c (environment::environment(symbol),
	environment::environment(const environment *)):  Initialize
	input_trap_count.

Sat Jan 19 08:18:35 1991  James Clark  (jjc at jclark)

	* tbl/main.c (main): Add exit(0).

	* ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.

	* pic/main.c (main):
	* eqn/main.c (main):
	* tbl/main.c (main):
	* etc/soelim.c (main):
	* driver/printer.c (printer::~printer):
	* troff/node.c (real_output_file::~real_output_file,
	real_output_file::flush):  Check for errors on stdout.

	* most files: Add 1991 to copyright notice.

	* macros/tmac.s: Don't test \n(.x and \n(.y.

	* troff/input.c (token::next): Rename `escape_char' label to
	`handle_escape_char' and `normal_char' label to
	`handle_normal_char'.

Thu Jan 17 15:46:35 1991  James Clark  (jjc at jclark)

	* groff.c (main, synopsis, help): Support -a option.
	* groff.sh: Likewise.  Also eliminate Zflag variable by adding -z
	to trflags while parsing options.

Tue Jan 15 13:07:27 1991  James Clark  (jjc at jclark)

	* troff/number.c (parse_term): With `m', `M' and `n' scale
	indicators, convert scale factor to hunits before scaling.

Mon Jan 14 12:39:12 1991  James Clark  (jjc at jclark)

	* lib/font.c (scale_round): Better test for overflow when n is
	negative.

Thu Jan 10 11:10:56 1991  James Clark  (jjc at jclark)

	* tbl/main.c (process_format): Add second argument of type
	options*. Change callers.  Allow opt->tab_char as well as '\t'
	between format items.

Mon Jan  7 12:30:18 1991  James Clark  (jjc at jclark)

	* macros/tmac.an (PD): With no arguments, make sure register PD is
	at least \n[.V].
	(TH): Call PD with no argument, instead of setting register PD
	directly.

Sun Jan  6 11:18:39 1991  James Clark  (jjc at jclark)

	* Version 1.00 released.

Sat Jan  5 08:44:30 1991  James Clark  (jjc at jclark)

	* ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.

	* dvi/devdvi/DESC: Mount CW instead of CR.

	* dvi/tmac.dvi: Add definition of \(tm.

	* dvi/devdvi/texsy.map: Add lh, and rh.
	* dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
	* dvi/devdvi/texmi.map: Add *o. Regenerate fonts.

	* dvi/devdvi/FontMakefile: Generate H from cmss10.
	* dvi/devdvi/Makefile: Install H.
	* dvi/devdvi/H: New file.

Fri Jan  4 15:04:57 1991  James Clark  (jjc at jclark)

	* troff/env.c (vertical_spacing): Don't allow vertical spacing to
	be 0.

Thu Jan  3 13:41:19 1991  James Clark  (jjc at jclark)

	* macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.

	* macros/tmac.pic (PS): Avoid attempting to set negative indent.

	* macros/tmac.s (@EN): Handle the case where the equation is empty
	but the label is not.

Wed Jan  2 10:31:44 1991  James Clark  (jjc at jclark)

	* troff/groff.h: New warning category WARN_SPACE.
	* troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
	WARN_SPACE to warning_table.
	(interpolate_macro): Give a warning of type WARN_SPACE if the name
	is longer than two characters and is not defined, but the first
	two characters do make a defined name.

	* PROBLEMS: New file.

	* CHANGES: New file.
	* README-0.6, README-1.00: Deleted.

	* groff.c, groff.sh: Add X75-12 and X100-12 devices.
	* xditview/devX75/Makefile: Make devX75-12.
	* xditview/devX100/Makefile: Make devX100-12.

	* xditview/devX100/eqnchar, xditview/devX75/eqnchar,
	dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.

Tue Jan  1 19:24:01 1991  James Clark  (jjc at jclark)

	* README-0.7: Rename to README-1.00.

	* macros/tmac.pic: New file.
	* macros/Makefile (install.nobin): Install tmac.pic.

Mon Dec 31 10:40:53 1990  James Clark  (jjc at jclark)

	* troff/env.c (hyphen_word): Correct the test for whether the
	token is a hyphen.  Reset npos to 0.

	* macros/tmac.s (par@sup-start, par@sup-end): New implementations.

Sun Dec 30 15:53:13 1990  James Clark  (jjc at jclark)

	* macros/tmac.s (ds*common-end): Call par*reset.
	(PE): Likewise.
	(par@reset-indent): Deleted.

	* macros/tmac.s (@IP): Divert the label.

Sat Dec 29 14:33:32 1990  James Clark  (jjc at jclark)

	* xditview/draw.c (setGC): Use a line width of .1m rather than
	.04m by default; round rather than truncate value.

	* tbl/table.c (class empty_entry): New class.
	(empty_entry::empty_entry, empty_entry::line_type): New functions.
	(table::add_entry): Represent empty entries by objects of type
	empty_entry.
	(table_entry::line_type): Return -1.
	(table::determine_row_type): Ignore entries with line_type 0.
	Treat type -1 as non-lines.

Fri Dec 28 15:04:41 1990  James Clark  (jjc at jclark)

	* ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
	macros/tmac.s: Rename \(-d to \(Sd.

Thu Dec 27 12:35:47 1990  James Clark  (jjc at jclark)

	* ps/devps/textmap: Add `sd', `/_' and `3d' characters.
	* xditview/libXdvi/DviChar.c: Likewise.
	* dvi/devdvi/texsy.map: Add `<<', `>>'.

Wed Dec 26 13:33:23 1990  James Clark  (jjc at jclark)

	* troff/div.c (top_level_diversion::begin_page): Call
	init_output() if the_output is 0.

Sat Dec 22 12:35:29 1990  James Clark  (jjc at jclark)

	* troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
	ESCAPE_c.
	(get_copy): Turn \E into ESCAPE_E.
	(token::process, asciify): Handle ESCAPE_E.

	* macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
	(RD): New macro.
	(DS): Implement `.DS R'.

Fri Dec 21 11:41:53 1990  James Clark  (jjc at jclark)

	* macros/tmac.s (FS): New macro.

	* macros/tmac.s (fn@do-FS): Use @LP instead of LP.

	* macros/tmac.s (cov*tl-init): Remove after first execution
	instead of aliasing to @nop.  Call top of page macro explicitly
	instead of setting trap; call @init first.  Set pg@top as top of
	page macro.
	(cov*auto-init): Deleted.  Set cov*tl-init instead of
	cov*auto-init as top of page trap. 
	(TL, LP): Do a break instead of calling cov*tl-init.
	(cov*print): With RP format but no TL, alias FS and FE to @FS and
	@FE; in this case also give a warning and always start another
	page. No need to set pg@top here.
	(cov*tl-init): Rename to cov*first-page-init.

	* macros/tmac.s (RP): Do `.pn 0'.
	(cov*tl-init): With RP format don't do `.pn 0'.

	* macros/tmac.s (pg@cs-top): Set no space mode.

	* macros/tmac.s (par@TL, par@AU, par@AI): New macros.
	(cov*ab-init): Alias TL, AU and AI to these.

Thu Dec 20 10:10:50 1990  James Clark  (jjc at jclark)

	* macros/tmac.s (@EQ): Move the space before the equation into @EN
	(@EN): Do nothing unless \n[dl] is > 0.

Tue Dec 18 12:20:47 1990  James Clark  (jjc at jclark)

	* pic/object.c (ellipse_object::radius): New function.

	* VERSION: Change version to 0.7.

	* tbl/table.c (block_entry::do_divert): Declare return type as
	void.
	(block_entry::divert, alphabetic_block_entry::divert): Return 1.

Mon Dec 17 12:30:34 1990  James Clark  (jjc at jclark)

	* troff/column.c: New file.
	* troff/Makefile: Corresponding changes.

	* troff/hvunits.c (scale(vunits, vunits, vunits)):  New function.
	Friend of vunits.

	* troff/div.c (top_level_diversion::space): If the space causes
	the first-page transition and springs a trap, truncate the space
	to 0.

Fri Dec 14 12:30:02 1990  James Clark  (jjc at jclark)

	* ps/ps.c (ps_printer::do_import): Add a `clear' after including
	the document.

	* pic/troff.c (troff_output::line_thickness,
	troff_output::set_fill): Do a horizontal motion to compensate for
	the width of the \D escape sequence.

Thu Dec 13 10:17:14 1990  James Clark  (jjc at jclark)

	* xditview/tmac.X: Reinstate definition of \(rn, but only for X100
	(not X75).

	* eqn/sqrt.c (sqrt_box::compute_metrics):  Supply missing argument
	to printf.

	* tbl/table.c (simple_entry::simply_print): Don't declare as pure.
	Supply empty definition.
	(text_entry::simple_print, simple_text_entry::simple_print):
	Delete declarations.
	(table::add_entry): Represent empty entries by objects of type
	`simple_entry'.

Wed Dec 12 08:50:48 1990  James Clark  (jjc at jclark)

	* troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.

	* tbl/table.c (left_text_entry::add_tab): New function.

	* macros/tmac.s: Make @RT an alias for par@reset.  Make RT
	initialize like LP.

Mon Dec 10 11:19:55 1990  James Clark  (jjc at jclark)

	* troff/env.c (environment::start_field): Give an error message if
	there is no next tab.

Sun Dec  9 11:46:40 1990  James Clark  (jjc at jclark)

	* troff/env.c (hyphenate): Skip initial elements with zero
	hyphenation code.

	* macros/tmac.s (par@init): Keep VS in points rather than units.

Sat Dec  8 23:00:27 1990  James Clark  (jjc at jclark)

	* pic/main.c (main): Implement `-c' option.
	* pic/output.h: Declare make_tpic_output().
	* pic/tex.c (tex_output::set_pen_size): Make it virtual and
	protected.
	(tpic_output): New class.
	(tpic_output::tpic_output, tpic_output::set_pen_size,
	tpic_output::command, make_tpic_output): New functions.

Fri Dec  7 11:57:41 1990  James Clark  (jjc at jclark)

	* tbl/main.c (main): Call `.ab' if \n(.g is false.  Define TS/TE
	if they're not already defined.
	* tbl/table.c (init_output): Don't test \n(.g.

	* troff/input.c (do_if_request): Delete `g' condition. Recognize
	`d', `r' and `c' conditions even in compatibility mode.

Tue Dec  4 09:13:47 1990  James Clark  (jjc at jclark)

	* ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
	box.

Mon Dec  3 07:18:26 1990  James Clark  (jjc at jclark)

	* troff/env.h (environment::prev_line_interrupted): New member.
	(environment::get_prev_line_interrupted): New function.
	* troff/env.c (environment::newline): Set prev_line_interrupted.
	(environment::environment(const environment *),
	environment::environment(symbol)): Initialize
	prev_line_interrupted.
	* troff/input.c (process_input_stack): Don't give special
	treatment to space and newline at the beginning of the line if the
	previous line was interrupted.

Sat Dec  1 15:48:37 1990  James Clark  (jjc at jclark)

	* eqn/eqn.y: Disallow PRIME by itself.
	* eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
	PRIME.
	(def_table): Remove definition of '.  Define prime to be `.

	* eqn/eqn.y: Split off part of rule `script' into a new rule
	`nonsup'.

Fri Nov 30 10:23:44 1990  James Clark  (jjc at jclark)

	* macros/tmac.s ({, }): New string aliases.

Thu Nov 29 11:34:40 1990  James Clark  (jjc at jclark)

	* README-0.7: New file.

Wed Nov 28 10:09:57 1990  James Clark  (jjc at jclark)

	* macros/tmac.s: New file.
	* man/groff_ms.man: New file.
	* Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
	* Makefile.bd: Similarily.
	* man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
	definition of TMAC_S.
	* macros/Makefile: Add definition of TMAC_S. Install tmac.s.
	* macros/TODO: New file.

Sat Nov 24 20:04:54 1990  James Clark  (jjc at jclark)

	* troff/env.c (right_justify): New function.
	(init_env_requests): Bind this to request "rj".
	(center_lines): Set right_justify_lines to 0. If we get a bad
	integer, center 1 line.
	(environment::environment(symbol), environment::environment(const
	environment *)): Initialize right_justify_lines.
	(environment::get_right_justify_lines): New function.
	(init_env_requests): Bind this to number_register ".rj".

	* troff/env.c (environment::choose_breakpoint): Implement
	hyphenation_margin and hyphenation_space.
	(environment::get_hyphenation_space,
	environment::get_hyphenation_margin): New functions.
	(init_env_requests): Bind these to .hys and .hym.
	(hyphenation_space_request, hyphenation_margin_request): New
	functions
	(init_env_requests): Bind these to hys and hym.
	(environment::environment(symbol), environment::environment(const
	environment *)): Initialize hyphenation_margin and
	hyphenation_space.
	* troff/env.h: Corresponding changes to class environment.

Fri Nov 23 09:08:16 1990  James Clark  (jjc at jclark)

	* troff/div.c (blank_line): Always do a break.

	* eqn/box.c (do_text): Turn off escapes while appending text to
	string.

Thu Nov 22 10:58:59 1990  James Clark  (jjc at jclark)

	* troff/input.c (while_break_request, while_continue_request): New
	functions.
	(init_input_requests): Bind these to "break" and "continue".
	(while_depth, while_break_flag): New variables.
	(while_request): Update while_depth.  Break out of loop if
	while_break_flag is set.

Wed Nov 21 10:54:40 1990  James Clark  (jjc at jclark)

	* tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
	rather than 0.

Mon Nov 19 00:45:03 1990  James Clark  (jjc at jclark)

	* Makefile: Include -DBROKEN_SPOOLER by default.  Expand comment.

	* stringify: New file.
	* Makefile (groff.o): Use stringify.

	* xditview/tmac.X: Remove definition of \(rn.
	* xditview/libXdvi/DviChar.c: Remove radicalex from
	Adobe_symbol_map.

Sat Nov 17 10:44:58 1990  James Clark  (jjc at jclark)

	* tbl/table.c (table::add_entry): Allow alphabetic text blocks.
	(alphabetic_block_entry::alphabetic_block_entry,
	alphabetic_block_entry::divert, alphabetic_block_entry::print):
	New functions.
	(block_entry::divert): Split off body into ...
	(block_entry::do_divert): If the block is alphabetic, subtract 2n
	from the line length; also update the span width to dl+2n, and the
	alphabetic span width to dl.

	* driver/input.c (do_file):  While reading argument to D command,
	when expanding buffer, multiply szp by sizeof(int) rather than 2
	in the argument to memcpy.

	* tbl/table.c (compute_span_width): Add 2n rather than 1n to the
	width of alphabetic columns.

Fri Nov 16 06:34:27 1990  James Clark  (jjc at jclark)

	* troff/node.c (lookup_family): Supply second argument to lookup.

	* troff/dictionary.c (dictionary::lookup): After an unsuccesful
	search, return immediately if v is 0.

	* pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
	(troff_output::start_picture): Set this reg.
	(troff_output::end_picture): Remove this reg
	* eqn/box.c (box::extra_space): Don't produce `\x's if
	EQN_NO_EXTRA_SPACE_REG is defined.

	* eqn/eqn.y: Allow just a PRIME to be a `simple'.
	* eqn/text.c (split_text): Map ' to \(fm when it's the first
	character.

Thu Nov 15 10:35:06 1990  James Clark  (jjc at jclark)

	* macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
	requests.

	* troff/div.c (top_level_diversion::top_level_diversion):
	Initialize page_number to 0.

Wed Nov 14 21:41:58 1990  James Clark  (jjc at jclark)

	* groff/troff (environment::environment(const environment *)):
	Initialize name to e->name, rather than "anonymous".

Sat Nov 10 01:59:37 1990  James Clark  (jjc at jclark)

	* xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
	requested_page.  Split middle part into ...
	(FindPage): New function.
	(SetValues): If we don't yet know the last page, and the requested
	page is greater than the current page, call FindPage.
	Update the font_map_string before doing this.

	* xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
	Translate \(lh and \(rh into left and right double arrows.

	* troff/node.c (class hyphen_inhibitor_node): New class.
	(hyphen_inhibitor_node::hyphen_inhibitor_node,
	hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
	hyphen_inhibitor_node::type,
	hyphen_inhibitor_node::get_hyphenation_type): New functions.
	(node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
	than dbreak_node(0, 0) to represent a `\%' at the beginning of a
	word.

Fri Nov  9 16:05:38 1990  James Clark  (jjc at jclark)

	* troff/node.h (dummy_node::get_hyphenation_type,
	transparent_dummy_node::get_hyphenation_type):  Declare them.
	* troff/node.c: (dummy_node::get_hyphenation_type,
	transparent_dummy_node::get_hyphenation_type): New functions.

Wed Nov  7 10:09:06 1990  James Clark  (jjc at jclark)

	* xditview/libXdvi/draw.c: If M_PI not defined after including
	math.h, then define it.

	* xditview/Makefile: Add definition of AR. Pass it to the submake
	in libXdvi.
	* xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.

Tue Nov  6 10:14:27 1990  James Clark  (jjc at jclark)

	* troff/dictionary.h (object_dictionary::alias): Declare return
	value as int.
	* troff/dictionary.c (object_dictionary::alias): Return non-zero
	if the old name was defined.
	* troff/input.c (alias_macro): Give a warning if the old name was
	not defined.
	* troff/reg.c (alias_reg): Likewise.

Mon Nov  5 00:31:39 1990  James Clark  (jjc at jclark)

	* troff/input.c (token::next): Delete implementation of \R.

	* macros/Makefile: Strip comments from tmac.e while installing it.

	* troff/input.c: New variable `nroff_mode'.
	(troff_request, nroff_request): New functions.
	(init_input_requests): Bind `troff' and `nroff' to troff_request
	and nroff_request.
	(do_if_request): Compute results of t and n conditions from
	nroff_mode.

	* text/text.c (split_text): Fix typo in >=.

	* eqn/lex.c: Add definition of `==' to def_table.

Fri Nov  2 02:49:09 1990  James Clark  (jjc at jclark)

	* pic/tex.c (tex_output::start_picture): Change the definitions of
	\graph and \graphtemp so that they work properly with Plain TeX.

	* pic/tex.c (tex_output::solid_arc): Ensure that the second angle
	argument to `ar' is not less than the first.

	* pic/pic.y: Allow a comma between elements of the variable list
	in the argument to `reset'.

	* pic/object.c (arc_object::arc_object): Fix computation of
	radius.

	* eqn/main.c (main): Add exit(0).

Thu Nov  1 02:03:50 1990  James Clark  (jjc at jclark)

	* troff/div.c (begin_page): Test no_space_mode after doing the
	break, but still push the page ejector cookie before doing the
	break.  Also set the next page number after doing the break.
	
	* xditview/xditview.c (NewFile): Don't set the title and icon name
	if this is the first file and its name is `-'.
	* groff/groff.c: Define a new device flag XT_OPTION.  Set it for
	the X75 and X100 devices.
	(main): If a device has the XT_OPTION flag set and there's exactly
	one file argument, pass the driver -xrm and -title options to set
	the icon name and window title to the name of the file.

	* troff/env.c (environment_switch): If there was an argument but
	it wasn't a valid number or name, then pop an environment but
	don't give an error message on underflow.

	* troff/number.c (start_number): Correct spelling in error message.

	* troff/input.c (token::delimiter): Don't print an error message
	if err is false.

	* xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
	ParseDrawFunction if dw->display_enable is true.

Wed Oct 31 05:49:50 1990  James Clark  (jjc at jclark)

	* pic/pic.y: Parse text positioning like normal attributes, so as
	to allow `"text" at 0,0 ljust'.  Don't allow `center' as a
	positioning attribute.

Mon Oct 29 22:50:38 1990  James Clark  (jjc at jclark)

	* tbl/main.c (process_data): When in state START while reading a
	text block, don't change to state MIDDLE if c is a newline.

Sun Oct 28 21:59:56 1990  James Clark  (jjc at jclark)

	* dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
	so as to avoid shadowing parameter.

Wed Oct 24 18:35:39 1990  James Clark  (jjc at jclark)

	* tbl/table.c (trim_space): Deleted.
	(table::add_entry): Don't call trim_space.

Mon Oct 22 03:48:39 1990  James Clark  (jjc at jclark)

	* VERSION: Change version to 0.6.

	* troff/number.c (parse_expr): Make == work.

Sat Oct 20 11:28:17 1990  James Clark  (jjc at jclark)

	* man/grog.man: New file.
	* man/Makefile: Add grog.n to MAN1PAGES.
	* etc/grog.sh: New file.
	* etc/Makefile: Install grog.sh as grog.

Fri Oct 19 11:17:15 1990  James Clark  (jjc at jclark)

	* troff/input.c (token::next): Implement \E.

Thu Oct 18 11:56:24 1990  James Clark  (jjc at jclark)

	* xditview/tmac.X: Change font translations to match tmac.ps.

	* troff/input.c (non_empty_name_warning): Don't give a warning if
	`\{' terminates the name.

Tue Oct 16 10:04:23 1990  James Clark  (jjc at jclark)

	* ps/devps/symbol.diff: New file.
	* ps/devps/FontMakefile: Mention symbol.diff.

Sun Oct 14 11:46:46 1990  James Clark  (jjc at jclark)

	* troff/node.c (font_position): Use get_long_name to read the
	external_name.

	* troff/env.c (environment_switch): If we get a number that's < 0
	or >= NENVIRONMENTS, treat it like a name.
	Change NENVIRONMENTS to 10.

	* troff/groff.h: Remove definition of FONTS_MAX.
	* troff/node.h (class font_family): Make map a pointer instead of
	an array. Add a map_size member. Make it a class. Make nm const
	and public. Make invalidate_fontno a friend.
	* troff/node.c: Define font_table_size. Make font_info a pointer
	rather than an array.
	(class troff_output_file): Allocate font_position dynamically. Add
	nfont_positions member.
	(troff_output_file::set_font): Grow font_position if necessary.
	(troff_output_file::~troff_output_file): Delete font_position.
	(troff_output_file::troff_output_file): Allocate font_position.
	(grow_font_table): New function.
	(troff_output_file::really_begin_page,
	troff_output_file:really_copy_page): Use nfont_positions rather
	than FONTS_MAX.
	(mount_font_no_translate, mount_style): Call grow_font_table if
	necessary.
	(font_family::font_family): Allocate map.
	(font_family::make_definite): Grow map if necessary. Use
	font_table_size instead of FONTS_MAX.
	(font_family::~font_family): New function.
	(invalidate_fontno): Use font_family::map_size.
	(get_fontno, env_space_width, env_half_narrow_space_width,
	env_narrow_space_width, symbol_fotno, is_good_fontno,
	get_bold_fontno, make_glyph_node): Use font_table_size rather than
	FONTS_MAX.
	(next_available_font_position): Never return 0.

Fri Oct 12 10:17:52 1990  James Clark  (jjc at jclark)

	* ps/tmac.ps: Add font translations for compatibility with dpost.

Thu Oct 11 12:09:03 1990  James Clark  (jjc at jclark)

	* eqn/pile.c: Rename default_baseline_sep to baseline_sep.
	Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
	Move definitions baseline_sep, shift_down, column_sep,
	matrix_side_sep into...
	* eqn/box.c: Add them to param_table.
	* eqn/pbox.h: Add declarations to pbox.h.

	* troff/input.c (set_string): Cast value to unsigned char *.

	* troff/token.h (process_input_stack): Declare it static before
	declaring it a friend.

Wed Oct 10 09:59:13 1990  James Clark  (jjc at jclark)

	* dvi/devdvi/texex.map: Fix positions of extensible brace middle
	and bottom.
	* dvi/devdvi/EX: Regenerate.

	* troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
	transparent.

Tue Oct  9 08:34:02 1990  James Clark  (jjc at jclark)

	* eqn/lex.c: In defaults_table, make definition of `dot' call
	`dot_def'.  Don't explicitly make it roman.  Similarily for other
	accents.

	* pic/lex.c (for_input::for_input): Add by_is_multiplicative
	argument.
	(for_input::get, for_input::peek): Use this.
	(do_for): Add by_is_multiplicative argument.
	* pic/pic.y: Change optional_by clause to allow '*' after `by'.
	Change semantic value of optional_by to be a double plus a flag
	saying whethet the by clause is multiplicative.

	* eqn/lex.c (get_delimited_text): Remember location of start of
	definition.  Improve error handling when EOF is encountered.

	* lib/font.h: Rename handle_x_command to
	handle_unknown_font_command.
	* lib/font.c (font::load): Call handle_unknown_font_command for
	any unknown command in the font description file.  Don't call
	handle_x_command. Include the name of the command in the argv.
	Improve message for unknown command after kernpairs or charset
	command.
	* ps/ps.c (ps_font::handle_x_command): Rename to
	handle_unknown_font_command.  Remove message about `x download'
	command.  Give error message for wrong number of arguments.
	* ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
	* dvi/dvi.c (dvi_font::handle_x_command): Rename to
	handle_unknown_font_command. Give an error message for wrong
	number of arguments.  Rename design_size to designsize.
	* dvi/tfmtodit.c (main): Generate `checksum' instead of `x
	checksum', `designsize' instead of `design_size'.

Mon Oct  8 00:38:55 1990  James Clark  (jjc at jclark)

	* eqn/*.[chy]: Change underaccent to uaccent.

	* eqn/eqn.y: Add rule for underaccent.  Declare UNDERACCENT token;
	give it the same precedence as ACCENT.
	* eqn/other.c (make_underaccent_box): New function.
	* eqn/box.h: Declare it.
	* eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
	def_table.

Sun Oct  7 11:25:16 1990  James Clark  (jjc at jclark)

	* pic/pic.y (reset_all): New function. Called in rule for RESET.
	(parse_init): Call reset_all.
	(define_variable): When defining scale reset only those
	pre-defined variables that are scaled.
	(defaults_table): Add `scale' as non-scaled value.

	* pic/pic.y: Redo parsing of text adjustments: parse adjustments
	together with the text; allow any number of positioning words;
	allow center as a positioning word.

	* pic/object.c (output::compute_scale): Get picture maximum height
	and width from variables called maxpswid and maxpsht.
	* pic/pic.y: Add maxpswid and maxpsht to defaults_table.

Sat Oct  6 10:16:56 1990  James Clark  (jjc at jclark)

	* pic/object.c (object_spec::make_text): Multiply textht by number
	of text items.

	* pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
	occur.
	(do_sprintf): New function.
	(pic.gperf): Add sprintf token.
	(text, sprintf): New rules.

	* pic/pic.y: `rand()' with no arguments returns a random number
	in the range [0,1).

	* pic/pic.y: Allow a bare expression to be an attribute: change
	precedences to support this.  Change optional_ordinal rule to
	optional_ordinal_last to avoid reduce/reduce conflict.
	* pic/object.c (object_spec::object_spec): Initialize direction.

	* pic/pic.y: Implement ^ operator meaning exponentiation.

	* troff/node.h: Add default argument to mount_font.
	* troff/node.c (font_position): Read an optional third argument
	giving the external_name.
	(mount_font): Add optional argument giving the external_name.
	(mount_font_not_translate): Have additional argument giving
	external name.  Use this name to load the font.  Pass both names
	to font_info::font_info.
	(font_info::font_info): Have additional argument giving
	external_name.
	(class tfont): New member external_name.
	(font_info::get_tfont): Use external name to construct tfont_spec.

Fri Oct  5 04:03:13 1990  James Clark  (jjc at jclark)

	* eqn/lex.c (init_table): Add argument giving device.  Define
	name of device to be "1".
	(do_ifdef): Counts as true if the argument has been defined with
	`define'.
	* eqn/main.c (main): Call init_table with device argument. Make
	device local to main.
	* eqn/eqn.h: Change declaration of init_table. Remove declaration
	of device.

	* pic/lex.c (get_delimited): Allow text to be delimited by
	matching {}s.  Don't recognize ending delimiter within a string.

	* troff/input.c (get_delim_name): New function.
	(token::next): Implement \C.

	* lib/font.c (font::load): Grok ---.  Add an alias for each
	character based on its code.
	(font::get_code_width): Deleted.
	* lib/font.h (class font): Declare font::number_to_index().
	Remove declaration of font::get_code_width.
	* lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
	to indices of named characters.
	(font::number_to_index): New function.
	* troff/input.c (font::number_to_index): New function.
	(get_charinfo_by_number, charinfo::get_number,
	charinfo::set_number): New functions.
	(token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
	(token::process, token::description, token::get_char,
	token::add_to_node_list, token::operator==): Handle
	TOKEN_NUMBERED_CHAR.
	* troff/charinfo.h: Declare get_charinfo_by_number,
	charinfo::get_number, charinfo::set_number.  Add NUMBERED flag to
	charinfo class.
	(charinfo::numbered): New function.
	* troff/token.h: Add TOKEN_NUMBERED_CHAR.
	* troff/env.h (class environment): Remove declaration of ...
	* troff/env.c (environment::make_numbered_char_node): Deleted.
	* troff/node.c (make_numbered_node): Deleted.
	(class numbered_glyph_node): Remove.
	(troff_output_file::put_char_width, troff_output_file::put_char):
	Handle numbered chars.
	(troff_output_file::numbered_char): Removed.
	(tfont::get_code_width): Removed.
	(make_glyph_node): Don't search special fonts for numbered
	characters.
	* troff/node.h: Remove declaration of make_numbered_node.
	* driver/input.c (do_file): Handle N command.
	* driver/printer.h: Add declaration of ...
	* driver/printer.c (printer::set_numbered_char): New function.
	* dvi/tfmtodit.c (main): Generate unnamed entries.
	* ps/devps/afmtodit: Likewise.
	* xditview/xtotroff.c (MapFont): Likewise.
	* xditview/libXdvi/parse.c (ParseInput): Grok N command.

	* tbl/main.c (process_format): If multiple widths are specified
	for a column but all the widths are the same, don't give an error
	message.

	* tbl/table.c (table::do_row): If the current row is all lines and
	the stuff doesn't contains a line, mark the top of the row after
	printing stuff before the row.  If the current row is not all
	lines and the stuff doesn't contain a line, don't unnecessarily
	mark the top of the row before printing the stuff.
	
Mon Oct  1 11:42:00 1990  James Clark  (jjc at jclark)

	* troff/groff.h: Remove MAX_PATH.
	* troff/input.c (open_file): Dynamically allocate space for the
	path.
	(open_mac_file, process_macro_file): Corresponding changes.

Sun Sep 23 18:56:26 1990  James Clark  (jjc at jclark)

	* troff/node.h (class output_file): Make copy_file pure.  Add
	vspace method ifdef COLUMN. Add is_printing method.
	* troff/node.c: Add class printing_reg. Add class
	real_output_file. Derive other output_file classes from
	real_output_file; in these classes rename begin_page to
	really_begin_page, print_line to really_print_line, copy_file to
	really_copy_file, transparent_char to really_transparent_char.
	Move output_file::flush to real_output_file. Add printing member
	to class output_file.
	* troff/div.h: Remove printing member from top_level_diversion.
	Add vspace member function to class diversion ifdef COLUMN. Add
	some declarations ifdef COLUMN.
	* troff/div.c (top_level_diversion::copy_file,
	top_level_diversion::transparent_output,
	top_level_diversion::output): Don't test printing member before
	output.
	* troff/input.c: Handle initial variable_space_request ifdef
	COLUMN.
	* troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
	but comment it out.

Sat Sep 22 11:32:22 1990  James Clark  (jjc at jclark)

	* troff/div.c (diversion::need): Make any space forced.  If we
	sprung a trap, set truncated_space to minus the distance to the
	trap and set needed_space to the amount that was needed.
	(top_level_diversion::space): A forced space turns no_space_mode
	off.
	(class constant_vunits_reg): New class.
	(init_div_requests): Implement number registers .trunc and .ne
	using constant_vunits_reg.
	(class truncated_space_reg): Deleted.	

	* troff/div.h: Don't have a no_space_mode member in diversion.
	Instead have it in top_level_diversion.
	* troff/div.c (diversion::diversion): Don't initialize
	no_space_mode.
	(top_level_diversion::top_level_diversion): Initialize
	no_space_mode.
	(no_space, restore_spacing): Do nothing if curdiv != topdiv.
	(macro_diversion::output): Don't clear no_space_mode.

	* troff/input.c (diverted_space_node::reread): Don't call
	environment::do_break.  In fill mode, act like a blank line.
	(diverted_copy_file_node::reread): Don't call
	environment::do_break.

	* troff/div.c (blank_line): New function.
	* troff/div.h: Declare it.
	* troff/input.c (process_input_stack): Call it.

	* troff/div.c (truncated_space_reg::get_string): New function.
	(init_div_requests): Bind to .trunc.
	(space_request, top_level_diversion::space,
	top_level_diversion::output, macro_diversion::space,
	macro_diversion::output): Update truncated_space.
	(macro_diversion::output): Redo calculations when trap sprung.
	(macro_diversion::output, macro_diversion::space): No need for
	trap_flag.

	* troff/div.c (top_level_diversion::output): Set nl_reg_contents
	after truncating post line spacing.

Fri Sep 21 11:27:25 1990  James Clark  (jjc at jclark)

	* ps/devps/prologue (MF, SF): Make them work even if setfont is
	defined as a procedure rather than as an operator.

Thu Sep 20 12:55:05 1990  James Clark  (jjc at jclark)

	* troff/div.c (macro_diversion::space): Ignore no_space_mode.

Wed Sep 19 10:54:37 1990  James Clark  (jjc at jclark)

	* troff/div.c (top_level_diversion::output): Merge
	output_file::print_line and output_file::end_of_line member
	functions.
	* troff/div.h (class output_file):
	* troff/node.c (troff_output_file::print_line,
	troff_output_file::end_of_line, output_file::end_of_line,
	ascii_output_file::print_line, suppress_output_file::print_line):
	Corresponding changes.	

Tue Sep 18 11:31:47 1990  James Clark  (jjc at jclark)

	* troff/input.c (token::next): Don't give a warning for `\.'.

	* troff/env.c (environment::get_center_lines): New function.
	(init_env_requests): Bind number register .ce to it.
	* troff/env.h: Declare it.
	* tbl/table.c (table::init_output): Define reset macro to restore
	.ce.  If center option not given, store .ce in SAVED_CENTER_REG.
	Then do .ce 0.
	(table::print): If center option not given, then imply center
	option if SAVED_CENTER_REG > 0.

Mon Sep 17 09:19:19 1990  James Clark  (jjc at jclark)

	* ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
	Troff.ps from DOWNLOAD.
	
	* troff/Makefile: Change comment in DEFINES to avoid confusing
	System V make.

	* ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
	code.  Don't try to catch errors with stopped.
	(check_line_lengths): New function.
	* ps/devps/prologue (EXEC): Deleted.
	(EBEGIN, EEND): New procedures.

Sun Sep 16 14:51:15 1990  James Clark  (jjc at jclark)

	* troff/input.c: Include request.h before node.h.
	* troff/node.c: Likewise.
	* troff/env.c: Likewise.
	* troff/div.c: Likewise.
	* troff/node.h (class special_node): Store argument as a macro
	rather than a char *.
	* troff/node.c (special_node::special_node, special_node::copy):
	Grok this.
	(special_node::~special_node): Deleted.
	(special_node::tprint): Deleted.
	(special_node::tprint_start, special_node::tprint_end,
	special_node::tprint_char): New functions.
	(troff_output_file::special): Deleted.
	(troff_output_file::start_special, troff_output_file::end_special,
	troff_output_file::special_char): New functions.
	* troff/input.c (special_node::tprint): New function.
	(do_special): Use macro not char *.
	(do_transparent_macro): Deleted.
	(token::next): Don't call do_transparent_macro.

	* troff/input.c (token::next): Add 'Y' case.
	(do_transparent_macro): New function.
	* troff/node.c (troff_output_file::special): Handle newlines with
	argument using new continuation convention.
	* driver/input.c (get_string): Cope with continuation convention.
	(do_file): Don't call skip_line after calling get_string(1).
	* ps/ps.c (ps_printer::special, ps_printer::do_import,
	ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
	arg.
	* xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
	with +.

Sat Sep 15 19:00:10 1990  James Clark  (jjc at jclark)

	* troff/input.c (asciify): By default, illegal input characters
	should return empty string.

	* troff/input.c (copy_file): Handle first page transition like title.
	(token::next, process_input_stack): Grok COPY_FILE_REQUEST.

	* troff/input.c (token::next): Improve error message for EOF after
	escape character.
	(input_char_description): New function.
	(get_char_for_escape_name): Use input_char_description.
	(token::next): Warn about unrecognized escape sequences.
	(warning_table): Add WARN_ESCAPE.
	* troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
	accordingly.

	* troff/token.h: Remove declaration of process_input_stack.

	* troff/input.c: Remove declaration of init_hyphen_requests.
	* troff/request.h: Correct spelling in declaration of same.

	* troff/input.c (token::next): Check whether escape_char is 0.

Fri Sep 14 12:09:25 1990  James Clark  (jjc at jclark)

	* groff.c (main, usage, help): Implement -P and -L options.
	* groff.sh: Likewise.

	* troff/input.c (token::next): Use some gotos to avoid code
	duplication.

	* troff/input.c (get_long_name, get_name, read_long_ecsape_name):
	Avoid calling symbol::symbol if name empty.

Thu Sep 13 06:21:45 1990  James Clark  (jjc at jclark)

	* troff/input.c (init_input_requests): Make \n(.x return the major
	version number and \n(.y return the minor version number.
	* troff/Makefile: Construct file majorminor.c defining
	major_version and minor_version automatically from ../VERSION.

	* troff/node.c (class glyph_node): Make operator new and operator
	delete public.
	(class ligature_node): Similarily.

	* troff/input.c (operator==(const macro &, const macro &)): New
	function.
	(non_interpreted_node::same): Use this.
	(string_iterator::string_iterator): Make macro& argument const.

	* troff/input.c (input_iterator::get): New function. Don't make
	asciify_macro or class non_interpreted_node friends of class
	input_iterator.
	(non_interpreted_node::interpret): Use input_iterator::get.
	(asciify_macro): Likewise.

	* troff/input.c (~token_node, ~string_iterator, ~arg_list,
	~non_interpreted_node): Deleted.
	* troff/node.c: (~suppress_output_file, ~ascii_output_file):
	Deleted.

	* troff/symbol.h: Make all symbol member functions const.

	* lib/strtol.c: New file.
	* lib/Makefile: Add strtol.c.
	* Makefile: Define STRTOL as strtol.o to include strtol in
	libgroff.a.

Wed Sep 12 10:00:49 1990  James Clark  (jjc at jclark)

	* pic/troff.c (troff_output::simple_circle): Divide by scale.

Tue Sep 11 14:17:16 1990  James Clark  (jjc at jclark)

	* troff/input.c (do_special): Use input_level.

	* troff/token.h (TOKEN_BACKSPACE): New token.
	(token::backspace): New function.
	* troff/input.c (token::description, token::next, token::process):
	Grok TOKEN_BACKSPACE.
	(do_special): Turn TOKEN_BACKSPACE back into \b.

	* troff/token.h (token::leader): New function.
	* troff/input.c (do_special): Turn TOKEN_LEADER back into \001.

	* troff/input.c (do_special): Turn TOKEN_TAB back into \t.

	* troff/input.c (do_special): Use token::description in error
	message.

Mon Sep 10 11:06:27 1990  James Clark  (jjc at jclark)

	* troff/input.c (decode_args): Combine quoted and
	quote_input_level variables. Make it a for (;;) loop.

	* troff/input.c (get_char_for_escape_name): Check for \001 and \b.

	* troff/input.c (read_long_escape_name): The test for whether to
	expand buffer was off by 1.
	(read_string): Similarily.

Fri Sep  7 11:45:50 1990  James Clark  (jjc at jclark)

	* troff/input.c: Use `const int' rather than `static const int'.

	* troff/div.h (diversion::copy_file): Declare as pure virtual.
	(macro_diversion::copy_file): New function.
	* troff/node.h: New class diverted_copy_file_node.
	* troff/node.c: Implement it.
	* troff/input.c (copy_file): Use diversion::copy_file. Handle
	first page transition by pushing a diverted_copy_file_node.
	* troff/input.c (token::next, process_input_stack): Don't handle
	COPY_FILE_REQUEST.

Thu Sep  6 13:29:10 1990  James Clark  (jjc at jclark)

	* ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
	whether space widths need adjusting.

	* troff/charinfo.h: Generalize translated_to_space to
	special_translation so as to allow translation to \&.
	* troff/input.c (translate): Allow translation to \&.
	(charinfo::*): Corresponding changes.
	* troff/node.c (make_node, node::add_char): Corresponding changes.
	* troff/node.h (dummy_node::dummy_node): Allow optional first
	argument.

	* lib/lib.h: Make codes 0200 to 0237 illegal input characters.
	* troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
	TOKEN_REQUEST.
	* troff/input.c (token::next): Turn a TITLE_REQUEST into a
	TOKEN_REQUEST with an argument of TITLE_REQUEST.
	(token::process): Grok that.
	* troff/input.c (copy_file): Handle first page transition like
	title by pushing a COPY_FILE_REQUEST cookie.
	(token::next, process_input_stack): Grok that.
	* troff/node.h (output_file::copy_file): Add x and y arguments.
	Make it non-pure.
	* troff/div.c (top_level_diversion::copy_file): Supply them.
	* troff/node.c (troff_output_file::copy_file): Add x and y
	arguments; moveto specified position.  Invalidate font_position
	array after copying file.
	(output_file::copy_file): New function.
	(suppressed_output_file::copy_file, ascii_output::copy_file):
	Removed.
	* troff/input.c (transparent_file): New function.
	(init_input_requests): Bind to "trf".
	(token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
	(process_input_stack): Likewise.

	* troff/Makefile: Add ../lib/lib.h to GROFF_H.

	* troff/node.c (init_node_requests): New number registers .kern
	pointing to global_kern_mode, and .lg pointing to
	global_ligature_mode.

	* troff/node.c (ligature): Don't change it if we get a bad
	integer.

	* troff/input.c (do_define_string): Don't strip tabs.

	* troff/input.c (asciify_macro): Make the string_iterator auto.

	* troff/node.c (init_font_requests): Rename to...
	(init_node_requests):
	* troff/node.h: Change declaration.
	* troff/input.c (main): Change call.

	* troff/input.c (node::reread, diverted_space_node::reread): New
	methods.
	(process_input_stack): Call reread rather than
	get_diverted_space_node.
	* troff/node.c (node::get_diverted_space_node,
	diverted_space_node::get_diverted_space_node): Removed.
	* troff/node.h: Declare reread methods instead of
	get_diverted_space_node methods. Make `n' member private.
	* troff/input.c: (token::diverted_space): Removed.
	* troff/token.h: Removed declaration.
	

Tue Sep  4 00:48:04 1990  James Clark  (jjc at jclark)

	* eqn/script.c (script_box::compute_metrics): Don't let
	SUP_RAISE_FORMAT become negative.

	* tbl/table.c (table::do_row): Entries that don't end in the
	this row shouldn't make the row non-blank.
	
	* tbl/table.c (table::make_columns_equal): Only set the width of
	columns which are marked as equal.
	
	* tbl/main.c (process_data): Before issuing excess data error,
	if last character was a newline unget it; then get it again after
	the error.  Also include the contents of the entry in the message.

	* groff.c: New file.
	* Makefile: Build groff from groff.c.  Make it possible to use
	either groff.sh or groff.c as groff.
	* Makefile.bd: Similarily.

Mon Sep  3 09:39:49 1990  James Clark  (jjc at jclark)

	* groff.sh: Don't delay expansion of $@ in assignment to files.
	Remove occurrences of \".

Sun Sep  2 09:56:59 1990  James Clark  (jjc at jclark)

	* all Makefiles: Simplify and rearrange.

	* Makefile: Handle fmod like malloc.
	* lib/Makefile: Similarily.
	* lib/fmod.c: Remove #ifdef NEED_FMOD.

	* Makefile: Rename OPTIMISE to OPTIMIZE.

	* groff.sh: Remove assignment to PATH.
	* Makefile: Remove SHPATH variable.
	* Makefile.bd: Similarily.

	* groff.sh: Add -V option to print the pipeline instead of
	executing it.

Fri Aug 31 00:56:46 1990  James Clark  (jjc at jclark)

	* lib/font.c: Split off file searching into ...
	* lib/fontfile.c: New file.

	* lib/strerror.c (strerror): Use `Error %d' for unknown errors.

Thu Aug 30 13:13:55 1990  James Clark  (jjc at jclark)

	* tbl/table.c (table::do_hspan): Delete assertion that e != 0.
	Also change misleading comment.
	(table::do_vspan): Change similarily misleading comment.
	* tbl/main.c (process_data): A format row with an explicit `s'
	uses up a data line, even if all the other columns are `_' or `='.

	* troff/input.c (token::description): Fix description of
	TOKEN_DUMMY and TOKEN_EMPTY.

Wed Aug 29 04:12:08 1990  James Clark  (jjc at jclark)

	* groff.sh: Fix description of -Z in help message.

Tue Aug 28 07:28:33 1990  James Clark  (jjc at jclark)

	* pic/object.c (object_spec::make_object): Allow negative and zero
	line thicknesses.
	* pic/pic.y: Give linethick default value of -1.0.
	* pic/troff.c (troff_output::troff_output): Initialize
	last_line_thickness to BAD_THICKNESS.
	(troff_output::finish_picture): Set thickness to BAD_THICKNESS.
	(troff_output::line_thickness): Canonicalize negative thicknesses
	to RELATIVE_THICKNESS.
	* pic/tex.c (tex_output::set_pen_size): Silently map negative line
	thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
	to -1.0.
	(tex_output::start_picture): Set pen_size to -2.0.

	* ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
	0, then use 0 linewidth.
	(ps_printer::ps_printer): Initialize line_thickness to -1.

	* pic/troff.c (troff_output::simple_ellipse): Divide by scale.

	* ps/devps/symbolchars: Remove `or'.
	* ps/tmac.ps: Implement \(or with .char.

	* ps/devps/symbolchars: Move most characters into textmap.
	* ps/devps/textmap: Add names for troff bracket characters. Remove
	ul, ru, br, bv.

	* ps/devps/TSymbol.ps: Removed.
	* ps/devps/FontMakefile: Make S from Symbol not TSymbol.
	* ps/tmac.ps: Do with .char what TSymbol did.
	* ps/devps/download: Remove TSymbol.

	* ps/devps/T: Removed.
	* ps/devps/Troff.ps: Removed.
	* ps/devps/Troff.afm: Removed.
	* ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
	* ps/devps/download: Remove Troff.
	* ps/devps/FontMakefile: Remove T target.
	* ps/devps/DESC-A4: Remove T from font list.
	* ps/devps/DESC-letter: Likewise.

	* troff/input.c (macro_to_node): Rename to ...
	(charinfo_to_node): Don't pass mac argument.  Temporarily remove the
	character's definition while processing it.
	* troff/node.c (node::add_char, make_node): Change calls to
	macro_to_node accordingly.

	* troff/input.c (token::next): Translate \_ to \(ul.

	* tty/devascii/R.proto: Add `|'.
	* tty/devlatin1/R.proto: Likewise.

Mon Aug 27 11:25:41 1990  James Clark  (jjc at jclark)

	* man: Put the version number in all the man pages.

Sun Aug 26 11:40:05 1990  James Clark  (jjc at jclark)

	* Makefile.bd: New file.
	* README.bd: New file.

	* VERSION: New file.
	* lib/version.c: Removed.
	* lib/Makefile: Create version.c from ../VERSION. Remove version.c
	in clean target.

	* troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
	environment variable.

	* all Makefiles: Split install target into install.bin for
	binaries, and install.nobin for everything else.
	* Makefile: Add bindist target.

	* man/afmtodit.man: New file.
	* man/Makefile: Add afmtodit.n to MAN1PAGES.
	* ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
	in BINDIR.
	* ps/Makefile: Pass BINDIR to make install in devps.

	* ps/ps.c (ps_printer::set_char): Do nothing if the character is
	the space character.

	* ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.

Sat Aug 25 15:39:03 1990  James Clark  (jjc at jclark)

	* ps/ps.c: Redo font downloading.
	* ps/devps/download: New file.
	* ps/devps/Makefile: Add download to DEVICEFILES.
	* ps/devps/afmtodit: Remove -d option.
	* ps/devps/FontMakefile: Don't use -d option with afmtodit.
	* ps/devps/symbosl.ps: Add %%DocumentFonts comment.
	* ps/devps/zapfdr.ps: Likewise.
	* ps/devps/TSymbol.ps: Likewise.

Fri Aug 24 20:10:30 1990  James Clark  (jjc at jclark)

	* groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.

Thu Aug 23 10:03:47 1990  James Clark  (jjc at yquem)

	* ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
	then strip the first line if it starts with %.
	* Makefile: Add a comment about this.

	* man/tfmtodit.man: New file.
	* man/Makefile: Add tfmtodit.n to MAN1PAGES.
	* dvi/Makefile: Install tfmtodit in BINDIR.

	* dvi/tfmtodit.c (usage): Mention -v option.

Wed Aug 22 09:56:36 1990  James Clark  (jjc at yquem)

	* troff/node.c (troff_output_file::end_of_line): Call do_motion.
	* troff/node.c (troff_output_file::transparent_char): Don't call
	flush_tbuf.

	* eqn: Add check_tabs method to most box classes.
	* eqn/box.c (box::top_level): Call check_tabs.

	* eqn/script.c (script_box::output): Use \Z.
	* eqn/limit.c (limit_box::output): Use \Z.

	* eqn/box.c (box::top_level): Use itoa.

Tue Aug 21 09:29:28 1990  James Clark  (jjc at yquem)

	* dvi/tmac.dvi: Add font translations for CR, C, TT.
	* dvi/devdvi/Makefile: Don't make links to CW.

	* ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
	HX, HD.
	* xditview/tmac.X: Likewise.

	* troff/node.c: Add font translation feature.
	(get_font_translation): New function.
	(symbol_fontno): Translate the font name.
	(mount_font_no_translate): Rename to mount_font to this.
	(mount_font): New function.
	(font_family::make_definite): Call mount_font_no_translate instead
	of mount_font.
	(mount_style): Translate the font name.
	(font_translate): New function.
	(init_font_requests): Bind "ftr" to font_translate.

	* ps/devps/prologue (SN): New procedure that rounds a position to
	the nearest (pixel + (.25,.25)).
	(DL): Use SN to round endpoints.

	* lib/version.c: Changed version to 0.5.

Sat Aug 18 04:43:21 1990  James Clark  (jjc at yquem)

	* Makefile: Move definition of PAGE to the very beginning, so that
	people are less likely to miss it.

Fri Aug 17 02:15:11 1990  James Clark  (jjc at yquem)

	* man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.

	* troff/env.c (environment::choose_breakpoint): Make `can't find
	breakpoint' error a warning of type WARN_BREAK.  Change message to
	`can't break line'.
	* troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
	code 040000.
	* troff/input.c: Add WARN_BREAK to warning_table.  Include
	WARN_BREAK in DEFAULT_WARNING_MASK.

	* tty/tmac.tty: Add definition of \(+-.

	* groff.sh: Remove `--' option to set command.

	* dvi/devdvi/texsy.map: Remove duplicate md entry.

	* ps/devps/eqnchar: Better definition of cdot using md.
	* dvi/devdvi/eqnchar:  Likewise.
	* xditview/devX100/eqnchar:  Likewise.
	* xditview/devX75/eqnchar: Likewise.
	* eqn/lex.c: Add definition of cdot.

Thu Aug 16 09:33:57 1990  James Clark  (jjc at yquem)

	* troff/input.c (get_optional_char): New function.
	* troff/input.c (set_page_character): Use get_optional_char(),
	rather than has_arg() and tok.get_char(1).
	* troff/env.c (tab_character, leader_character, hyphen_char,
	field_characters): Likewise.
	(margin_character): Likewise.  Also always delete the
	margin_character_node.

	* troff/input.c (token::get_char): Use token::description.

	* troff/input.c (has_arg): Don't skip over tab and \}.
	* troff/number.c (start_number): Give a warning if the number
	starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).

Wed Aug 15 10:04:37 1990  James Clark  (jjc at yquem)

	* troff/input.c (empty_name_warning, non_empty_name_warning): New
	functions.
	(get_name, get_long_name): Use these.  Rename `warn' argument to
	`required'.

	* troff/node.c (get_fontno): Test that the symbol is not null.

	* troff/input.c (token::description): New function.
	* troff/number.c (parse_term): Use token::description in `numeric
	expression expected' message.
	* troff/groff.h: Add WARN_MISSING.
	* troff/number.c (start_number): New function.
	* troff/number.c (get_vunits, get_hunits, get_number, get_integer,
	get_incr_number): Use start_number().
	* troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
	default.
	* troff/input.c (get_name, get_long_name): Use WARN_MISSING.
	* troff/reg.c (alter_format): Use WARN_MISSING. Also use
	token::descripion.
	* troff/input.c (token::get_char): Use WARN_MISSING.
	* troff/input.c (token::delimiter): Use token::description.
	* troff/env.c (environment_switch): Back out Aug 3 change.
	* troff/input.c (has_arg): Skip over \}s and tabs but give a
	warning.
	* troff/token.h (token::tab): New function.
	* troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
	* troff/reg.c (alter_format): Likewise.
	* troff/node.c (bold_font): Use has_arg() rather than tok.skip().

Tue Aug 14 10:11:21 1990  James Clark  (jjc at yquem)

	* troff (most files): Redo warnings. Divide warnings into various
	categories; warning() has an additional first argument indicating
	the category it falls into.
	* troff/input.c (main): -w now takes an argument. New option -W.
	(enable_warning, disable_warning): New functions.

	* ps/devps/afmtodit: Add -a option to lie about the italic angle.
	* ps/devps/FontMakefile: Pretend TI has an angle of 7.

Mon Aug 13 10:11:16 1990  James Clark  (jjc at yquem)

	* ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
	* xditview/devX100/eqnchar: Likewise. Remove definition of dot.
	* xditview/devX75/eqnchar: Likewise.
	* dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.

	* eqn/other.c: When bar or over applies to a single character
	don't produce an overline_box or an underline_box. Instead produce
	an accent_box or an underaccent_box, with the accent a line
	whose width is accent_width.  New classes underaccent_box,
	overline_char_box and underline_char_box.
	* eqn/box.h: Move overline_box, underline_box, accent_box class
	declarations into eqn/other.c. Add declarations of
	make_underline_box, make_overline_box, make_accent_box.
	* eqn/eqn.y: Call make_overline_box, make_underline_box
	make_accent_box instead	of constructors.
	* eqn/pbox.h, eqn/box.c: Add accent_width parameter.

	* eqn/other.c: Add accent_box::~accent_box.
	* eqn/box.h: Declare it.

	* groff.sh: With -Tps, use eqn -D.

	* eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
	rather than \l.
	(underline_box::output): Similarily.
	(accent_box::output): Use \Z.

	* xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
	bit smaller.)

Sun Aug 12 09:41:15 1990  James Clark  (jjc at yquem)

	* troff/div.c (top_level_diversion::transparent_output(unsigned
	char)): Use asciify.
	* troff/input.c (asciify): Don't make it static.
	* troff/token.h (asciify): Declare it.
	
	* troff/input.c (get_name, get_long_name, token::get_char,
	token::delimiter): Add an extra default argument which says
	whether a warning should be printed.
	* troff: Pass a non-zero argument to one of these rather than
	printing a warning directly.

Sat Aug 11 09:02:21 1990  James Clark  (jjc at yquem)

	* troff: Consistently use symbol::is_null.

	* troff/dictionary.h: Move some inline functions into
	dictionary.c.

	* troff/request.h: Move inline functions into input.c.
	(request_or_macro::invoke): Make it pure.

	* troff/input.c, troff/reg.h: New class `constant_int_reg'.
	* troff/input.c (init_input_requests): Use class constant_int_reg.
	(class compatible_reg): Deleted.
	* troff/div.c (init_div_requests): Use class constant_int_reg.
	(class last_post_line_extra_space_reg): Deleted.

	* troff/env.c (tab_character): Don't change the tab character if
	we get an invalid argument.
	(hyphen_char): Similarily.

	* troff/reg.c (alter_format): Check that nm is not null.

	* Makefile, groff.sh: Make it possible to customize the commands
	used for printing PostScript and dvi files. Also make it possible
	to customize the path used by groff.sh.

	* eqn/eqn.y: Make `left' right associative.

Fri Aug 10 18:20:39 1990  James Clark  (jjc at yquem)

	* pic/pic.h: Added definition of M_SQRT2 for those systems that
	don't have it.

	* pic/pic.h: Removed definition of INT_MAX.

	* troff/node.c (italic_corrected_node::vertical_extent): Omit
	`return'.

	* troff/input.c (token::next):  Handle \R like \n.

Tue Aug  7 09:46:33 1990  James Clark  (jjc at yquem)

	* ps/tmac.pc (PSPIC): Simplify.

	* troff/env.c (tab_stops::to_string):
	* pic/pic.y (object_type_name):
	* pic/troff.c (simple_output::line):
	* pic/tex.c (tex_output::spline):
	* pic/object.c (object_spec::make_object):
	* tbl/main.c (process_data):  Add cases to switch statements to
	avoid cfront warnings. (Some of these are spurious, since the
	switch already has a default case.)

	* ps/tmac.ps (PSPIC): Reformatted.  Prefix all local names with
	`ps-'.  Don't test systat; instead check number of arguments to
	ps-bb.

Mon Aug  6 00:13:07 1990  James Clark  (jjc at yquem)

	* macros/tmac.e: Do not decrease the page offset by 0.5i.

	* ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
	Unlink the file as soon as we have opened it, so that we don't
	have to bother with signal handlers.
	(handler): Deleted.
	(fatal_error_exit): Deleted.
	(main): Don't call signal.

	* dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
	can be ignored.
	* dvi/devdvi/Makefile: Use the -k option with S and MI.

	* pic/pic.y:  If there is a label, or an nth construction before
	the first `.' in the argument to `with', ignore it and generate a
	warning.
	* pic/lex.c (lex_warning): New function.

	* tbl/table.c (table::init_output): In section keep and release
	macro, use 0 indent when diverting and the correct indent when
	rereading.

	* troff/input.c (interpolate_number_format): Do not interpolate
	anything if the number register is not defined.

	* tbl/main.c (process_data): Don't add entry when col >= ncolumns.

Sat Aug  4 08:12:05 1990  James Clark  (jjc at yquem)

	* ps/devps/prologue (PICTURE): Set components of graphics state to
	their default values.

	* ps/devps/text.enc: Add trademark
	* ps/devps/textmap: Add names for club, spade, heart, diamond,
	carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
	* ps/devps/symbolchars: Add names for summation and product.

	* dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
	suchthat. Add pp. Add upper-case letters.

	* xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
	diamond, carriagereturn, suchthat. Use Upsilon1 rather than
	Upsilon.

	* dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
	rA (right angle bracket) to ra.  Introduce names for double-headed
	arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
	* ps/devps/textmap: Likewise for ps device.
	* xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
	* tty/devascii/R.proto: Rename lA to la and rA to ra.
	* tty/devascii/R.proto: Likewise.
	* tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
	\(uA, \(dA.
	* eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.

	* xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.

	* eqn/lex.c: Added definitions of `approx', `grad' and `del' to
	def_table.

Fri Aug  3 09:59:27 1990  James Clark  (jjc at yquem)

	* troff/div.c (when_request): Use symbol::is_null rather than
	has_arg to determine whether we have an argument.
	(change_trap): Remove the trap if we get an invalid number. Give
	an error if we don't get at least the macro name.
	(diversion_trap): Remove trap if we get an invalid name or number.

	* troff/env.c (environment_switch): Pop if we get an invalid
	symbol or numeric expression.

	* troff/input.c (do_define_macro):  If EOF is encoutered while
	defining the macro, do tok.next() before returning.

	* troff/token.h (has_arg): Move definition from here, to ...
	* troff/input.c (has_arg): ... here

	* troff/env.c (space_size): Do nothing if we get an invalid argument.
	* troff/input.c (shift): Likewise.

	* pic/lex.c (get_token_after_dot):  Accept `.center' as a synonym
	for `.c'.

	* pic/troff.c (troff_output::start_picture):  Comment out calls to
	`..'.

	* eqn/main.c (do_file): Subtract 1 from current_lineno if
	interpret_lf_args succeeds.

	* eqn/main.c (do_file): Don't recognize delimiter if preceded by
	\\.  This avoids problems with \$N.

	* groff.sh: Pass -C to preprocessors.

	* lib/lf.c (interpret_lf_args):  Be more flexible.

	* tbl/main.c (main): Add -C option.
	(table_input::get): Do not recognize TE if followed by character
	other than a space or newline unless -C option given.
	(process_input_file): Likewise for lf, TS.
	(process_data): Likewise for lf in text blocks.

	* eqn/main.c (main): Add -C option.
	(do_file): Don't recognize EQ, EN or lf if followed by character
	other than space or newline unless -C option given.
	* eqn/lex.c (file_input::read_line): Similarily.
	* eqn/eqn.h: Declare compatible_flag.

	* etc/soelim.c (main): Add -C option.
	(interpret_lf_args): Use version in libgroff.
	(do_file):

	* pic/main.c (main): Add -C option, which sets compatible_flag.
	(top_input::get), (top_input::peek):  If -C option not given,
	do not recognize .PS/.PE/.PF/.lf if followed by a character
	other than space or newline.
	* pic/lex.c (file_input::read_line): Similarily.
	* pic/pic.h: Add declaration of compatible_flag.

Thu Aug  2 11:11:27 1990  James Clark  (jjc at yquem)

	* ps/tmac.ps (PSPIC): Avoid use of `echo -n'.

	* troff/node.c, troff/node.h:  Add `asciify' methods to classes
	derived from node.  New class space_char_hmotion_node.
	* troff/input.c (asciify_macro): New function.
	* troff/input.c (init_input_requests): New request `asciify' bound
	to asciify_macro.
	* macros/mm.diff: New file.
	* Makefile:  In install.mm target use `patch' to apply
	macros/mm.diff.

	* troff/input.c (macro::print_size): Just print the size in bytes.

	* troff/div.c (return_request): Correct the argument
	interpretation.

Wed Aug  1 12:38:36 1990  James Clark  (jjc at yquem)

	* troff/node.h (class composite_node): Add sz member.
	* troff/node.c (composite_node::size): Return sz.
	* troff/input.c (macro_to_node):  Use the initial size in the
	environment as the size of the composite_node.

	* troff/node.c (node::zero_width_tprint):  Provide a reasonable
	default.

Tue Jul 31 10:07:10 1990  James Clark  (jjc at yquem)

	* troff/div.c (change_trap): If we get a bad number expression,
	do nothing.

Mon Jul 30 10:30:49 1990  James Clark  (jjc at yquem)

	* lib/matherr.c (matherr): Define this only if math.h defines
	TLOSS.

Sun Jul 29 10:34:27 1990  James Clark  (jjc at yquem)

	* troff/div.c (macro_diversion::distance_to_next_trap): If there
	no diversion trap return vunits(INT_MAX - vresolution).

Sat Jul 28 14:28:14 1990  James Clark  (jjc at yquem)

	* troff/input.c (do_zero_width): New implementation that doesn't
	use a temporary environment. Use instead:
	(token::add_to_node_list): New function.
	* troff/env.c (environment::get_prev_char_height),
	(environment::get_prev_char_height),
	(environment::get_prev_char_skew): New functions.
	(environment::get_prev_char): New function.
	(environment::get_prev_char_width): Change to use get_prev_char.
	(init_env_request): Implement new registers .cht, .cdp, .csk.
	* eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
	\Z being processed in a separate environment.

Fri Jul 27 10:21:25 1990  James Clark  (jjc at yquem)

	* tbl/table.c: Removed TABLE_BOTTOM_REG.

	* tbl/table.c (table::init_output): In the section release macro,
	give a warning message if the section won't fit on one page.

	* tbl/table.c (table::do_top): Emit table keep only if table is
	boxed.
	(table::do_bottom): Likewise for table release.
	(table::table), (table::add_vertical_rule):  Remove reference to
	keep member.
	* tbl/table.h: Remove keep member.

	* tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
	SECTION_RELEASE_MACRO, if there's not enough space before the next
	trap to output the diversion, call T# ourselves, set
	SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
	SUPPRESS_BOTTOM_REG back to 0.  In T#, do nothing if
	SUPPRESS_BOTTOM_REG is non-zero.  In T#, always mark the current
	vertical position and return to it before turning traps on again.
	
Thu Jul 26 02:54:32 1990  James Clark  (jjc at yquem)

	* troff/node.c, troff/node.h: In classes derived from node,
	replace prev_char_width method by last_char_node method.
	* troff/env.c (environment::get_prev_char_width): Use
	node::last_char_node rather than node::get_prev_char_width.

	* Makefile: Added comment about -fno-inline on 68030-based
	Apollos.

	* troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
	tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
	expressions using sizeof to int.
	* dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.

	* macros/tmac.e (TS):  Don't move @f back past the current
	position.

Wed Jul 25 09:11:08 1990  James Clark  (jjc at yquem)

	* ps/ps.c (main): Buffer stderr.
	* dvi/dvi.c (main): Likewise.
	* tty/tty.c (main): Likewise.

	* ps/ps.c (ps_printer::do_import): Improve error handling.

	* troff/input.c (abort_request): Use asciify.

	* driver/printer.h (printer::draw), driver/printer.c (printer::draw),
	ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
	type of first argument int rather than char.  This works around a
	bug on the 68030 based Apollo using g++ 1.37.1.

	* tbl/table.h (class table): Add `keep' member.
	* tbl/table.c (table::table): Initialize `keep'.
	(table::add_vertical_rule): Set `keep' to 1.
	(table::do_top): Only emit table keep macro is `keep' is non-zero.
	(table::do_bottom): Likewise for table release macro.
	(table::do_row): Emit section keep macro even if the row is 0.

Tue Jul 24 08:35:07 1990  James Clark  (jjc at yquem)

	* macros/tmac.e (@C): Preserve the font family across the change
	in environments.

Mon Jul 23 10:15:23 1990  James Clark  (jjc at yquem)

	* lib/font.c: Initialize font::hor and font::vert to 1.
	(font::load_desc): Check the values of font::hor and font::vert.

	* lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
	be included in a C compilation.
	(iftoa): Use INT_DIGITS. Include lib.h.
	(itoa): Likewise.
	(as_string): Likewise.
	* tbl/table.c: Removed definition of INT_DIGITS.
	* eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
	* troff/input.c (input_input_requests): Likewise.
	* ps/ps.c (make_encoding_name): Likewise.
	(ps_printer::set_style): Likewise.
	(ps_output::put_number): Use 1 + INT_DIGITS + 1 instead	of 12.

	* tty/devascii/R.proto: Map fm onto '.
	* tty/devlatin1/R.proto: Likewise.

Sat Jul 21 12:45:07 1990  James Clark  (jjc at yquem)

	* tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
	argument to \w is at a different input level.

	* tbl/table.c (table::init_output): Define a new macro
	REPEATED_VPT_MACRO, like vpt but if in a diversion also
	transparently outputs itself.
	(table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
	vpt.
	(table::do_row): Likewise.

	* tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
	TRANSPARENT_STRING_NAME.

	* tbl/table.c (table::init_output): In the table release macro
	print an error message and don't produce any output if after
	issuing the need request the table still will not fit.  Also
	remove the diversion after bringing it back.

	* tbl/table.c (table::init_output): Define a new macro
	REPEATED_MARK_MACRO, like mk but if in a diversion also
	transparently outputs itself.
	(table::do_row): Mark row_top_reg using	REPEATED_MARK_MACRO. This
	is necessary because .TH might not call .T#.
	(table::do_top): Likewise TOP_REG.
	(table::define_bottom_macro): If TOP_REG is no longer valid, use
	#T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
	table header might contain just the two top rules.

Fri Jul 20 10:51:42 1990  James Clark  (jjc at yquem)

	* troff/div.c: Implement new request `ptr' to print all traps.

	* troff/env.c (init_env_requests): Implement `.tabs' reg with
	init_string_env_reg.
	* troff/env.c (class tab_reg): Deleted.

Thu Jul 19 12:07:16 1990  James Clark  (jjc at yquem)

	* troff/div.c: New number register .pn returns the number of the
	next page as set by the pn request.

	* macros/tmac.an: Redid headers and footers.  Number each manual
	entry starting from 1 unless \nC is > 0, like Sun.  Added an
	optional 5th argument to .TH which specifies the manual name and
	appears in the center of the header.  Understand the X, P and D
	registers like Sun.

Wed Jul 18 10:23:31 1990  James Clark  (jjc at yquem)

	* troff/env.c (init_env_requests): New number register `.lt' to
	return the title length.

	* troff/node.h (class transparent_dummy_node): New class.
	* troff/node.c (class transparent_dummy_node): Provide member
	functions. 
	* troff/env.c (interrupt): Add a transparent_dummy_node, rather
	than a dummy_node.

	* troff/input.c (token::next): New escape sequence \).
	* troff/input.c (get_copy): Recognize \) in copy mode.

	* troff/input.c (input_stack::clear): New function.
	* troff/input.c (exit_request): Use input_stack::clear.

	* troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
	* troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.

	* troff/env.c: Move set_page_character to input.c.  Move
	page_character to input.c also.
	* troff/env.c (title): Split off the reading of the parts of the
	title into read_title_parts.
	* troff/input.c (read_title_parts): New function.  Check the
	input_level when testing whether a token matches the delimiter.

	* troff/input.c (exit_request): New function.
	* troff/input.c (init_input_requests): Bind ex request to
	exit_request rather than exit_groff.

	* troff/input.c (exit_groff): Call tok.next() before
	process_input_stack().

Mon Jul 16 09:47:23 1990  James Clark  (jjc at yquem)

	* troff/env.c: ifdef widow control support on WIDOW_CONTROL.
	* troff/env.h: ditto.
	* troff/input.c: ditto.

	* troff/env.c (environment::is_empty): Test pending_lines.

	* troff/env.c (environment::have_pending_lines): Removed.

	* troff/input.c: Add request to flush pending lines from the
	environment.

	* troff/env.c, troff/env.h: Add automatic widow control feature.

	* troff/input.c (exit_groff):  Do process_input_stack() after
	do_break() but before setting exit_flag to 2.

	* troff/input.c: Remove FLUSH_PENDING_LINES and
	TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
	environment after END_TRAP token seen, but only if there aren't
	any more traps still unfinished.
	* troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.

Sun Jul 15 10:50:08 1990  James Clark  (jjc at yquem)

	* troff/env.c: Rename the `retain_size' member of class
	pending_output_line to `no_fill'.

	* troff/env.c (title): When the line is output, make the
	retain_size argument !fill.

	* troff/node.h: Add `hyphenated' member to struct breakpoint.
	* troff/node.c (space_node::get_breakpoints),
	(dbreak_node::get_breakpoints):  Fill this in.
	* troff/env.c:  Allow specification of maximum number of
	consecutive hyphenated lines.

	* troff/env.c (environment::is_empty): Add test for !current_tab.

Sat Jul 14 11:23:01 1990  James Clark  (jjc at yquem)

	* troff/env.c (environment::hyphenate_line): Don't completely give
	up if the word is not to be hyphenated; continue so that breaks
	can be made at break_char_node's.

	* lib/lib.h: Only define INT_MAX if it's not already defined;
	undef INT_MIN if it's already defined.

	* Makefile: Make it easy to define CFRONT_ANSI_BUG.

	* lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
	This works around a bug in AT&T C++ 2.0 used with an ANSI C
	compiler.
	
	* macros/tmac.an (an-header): Set no-space mode.

	* macros/tmac.an (TH): Start a new page if necessary.

	* Started using ChangeLog at version 0.4.

Local Variables:
version-control: never
coding: latin-1
End: