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
|
Version 1.17.2 released
=======================
2001-07-07 Werner LEMBERG <wl@gnu.org>
* src/utils/indxbib/indxbib.cc (main): Change type of `name_max'
to size_t.
2001-07-06 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/doc.tmac (Rv): Make `Rv' really not parseable.
Fix synopsis.
* tmac/groff_mdoc.man: Fix synopsis.
2001-07-05 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list):
Restore `doc-Pa-font'.
2001-07-04 Werner LEMBERG <wl@gnu.org>
* src/utils/indxbib/dirnamemax.c: Moved to ...
* src/libs/libgroff/maxfilename.cc: Here.
s/dir_name_max/file_name_max/.
Add copyright.
* src/include/lib.h: Add file_name_max.
* src/utils/indxbib/indxbib.cc: Updated.
* src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub:
Updated.
* src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define
as empty.
(xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp().
* src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE,
REGION_TEMPLATE): New macros.
(createAllPages, makeTempFiles): Use them.
Include `nonposix.h'.
(html_system): New function.
(createAllPages, createImage): Use it.
Use EXE_EXT.
* tmac/www.tmac: Fix typos.
2001-07-03 Werner LEMBERG <wl@gnu.org>
* tmac/www.tmac: Disable hyphenation in normal text only if output
device is html.
(URL, FTP, MAILTO): Disable hyphenation of actual URL with `\%'.
* tmac/groff_mwww.man, NEWS: Updated.
2001-07-03 Gaius Mulley <gaius@glam.ac.uk>
* tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical
image location.
2001-07-02 Ruslan Ermilov <ru@FreeBSD.org>
* tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack,
doc-display-ps-stack): Implement font and font size stack for
displays.
2001-07-02 Werner LEMBERG <wl@gnu.org>
* REVISION: Increased to 2.
* src/roff/troff/input.cc (read_size): Fix special case `\s[0]'.
* src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the
beginning of a line.
* src/groff/grog/grog.sh: Ditto.
2001-06-29 Peter Marquardt <wwwutz@molgen.mpg.de>
* src/preproc/eqn/neqn.sh: Put `export' keyword in a new line to
make it portable.
2001-06-27 Werner LEMBERG <wl@gnu.org>
Fix problems with preprocessor string for `man' program.
* *.man: Don't use `s' in preprocessor string -- it doesn't exist.
Updated/added copyright.
Moved Emacs's local variable to identify nroff mode to the end of
the file; add local variable if missing.
2001-06-26 Andras Salamon <andras@cs.wits.ac.za>
* aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with
AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
* configure: Regenerated.
2001-06-25 Andras Salamon <andras@cs.wits.ac.za>
* aclocal.m4 (GROFF_PAGE): Fix page detection code.
* configure: Regenerated.
2001-06-24 Werner LEMBERG <wl@gnu.org>
* doc/homepage.ms: Don't include arkup.tmac (which no longer exists)
but www.tmac.
* doc/pic.ms: Fix typos.
Version 1.17.1 released
=======================
2001-06-21 Golubev I. N. <gin@mo.msk.ru>
* aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.
* configure: Updated.
2001-06-20 Gaius Mulley <gaius@glam.ac.uk>
* src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect
image names.
* src/roff/troff/dic.cc (blank_line): Add html tag.
2001-06-19 Gaius Mulley <gaius@glam.ac.uk>
* src/roff/troff/input.cc (do_suppress): Fix typo.
2001-06-18 Gaius Mulley <gaius@glam.ac.uk>
Added two new options (-D and -I) to specify image names and a
subdirectory to place the images in.
Change syntax from \\Ox to \\O[x].
* src/devices/grohtml/post-html.cc (main): Add options.
(usage): Updated.
* src/preproc/html/pre-html.cc: Include `stdarg.h'.
Use `NULL' instead of `0' for null string pointers.
(MAX_RETRIES): New macro.
(lengthOfintToStr, intToStr, make_message): New functions.
(makeFileName): Make function static.
Implement -D and -I options.
(checkImageDir): New function.
(write_end_image, write_start_image): Use new syntax of \O.
(createAllPages, removeAllPages): Implement -D and -I options. Use
make_message().
(createImage): Use make_message().
(addps4html): Add guard for malloc().
(usage, scanArguments): Updated.
(makeTempFiles): Use mkstemp().
(removeTempFiles): Use unlink().
(findPrefix): Add guard for malloc().
(main): Updated.
* src/roff/troff/input.cc (get_delim_file_name): New function to
parse \O.
(do_suppress): Updated to parse new syntax.
* src/devices/grohtml/grohtml.man: Updated.
* tmac/www.tmac: Updated to new syntax.
* NEWS: Updated.
2001-06-15 Werner LEMBERG <wl@gnu.org>
* src/roff/grog/Makefile.sub: Remove NAMEPREFIX.
* src/devices/grohtml/grohtml.man: Minor improvements.
2001-06-14 Werner LEMBERG <wl@gnu.org>
* src/preproc/html/Makefile.sub: Remove NAMEPREFIX.
2001-06-11 Werner LEMBERG <wl@gnu.org>
* man/roff.man, mann/groff.man: Use '\" instead of .\" in the first
line to specify preprocessor options -- mandb 2.3.1 only recognizes
the former.
* src/preproc/grn/grn.man: Add proper '\" string.
2001-06-11 OKAZAKI Tetsurou <okazaki@be.to>
* test-groff: Don't use PATH but GROFF_BIN_PATH.
2001-06-08 Werner LEMBERG <wl@gnu.org>
Updated to autoconf 2.50.
* configure.in: Renamed to...
* configure.ac: This.
* aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
(GROFF_OS390): Updated.
* configure: Regenerated.
2001-05-18 Werner LEMBERG <wl@gnu.org>
* src/roff/troff/env.c, src/roff/troff/env.h,
src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change
from 2000-12-21.
2001-05-17 Jeffrey Friedl <jfriedl@yahoo-inc.com>
* src/roff/troff/input.cc (read_size): Fix special case `\s0'.
2001-05-16 Werner LEMBERG <wl@gnu.org>
* src/roff/troff/input.cc (read_size): Emit warning if value becomes
less than or equal zero; set it to 1 then.
* src/roff/troff/node.h (node::node): Initialize `last'.
2001-05-08 Werner LEMBERG <wl@gnu.org>
* tmac/an-old.tmac: Make predefined strings work in compatibility
mode.
Add troff version guard.
* tmac/doc.tmac: Simplify version guard.
2001-05-07 Werner LEMBERG <wl@gnu.org>
The .ns and .rs requests are now honoured not only in the top-level
but in all diversions (similar to UNIX troff).
This change is based on a patch from Tadziu Hoffmann
<hoffmann@usm.uni-muenchen.de>.
* src/roff/troff/div.h (diversion): Add `no_space_mode' member.
(top_level_diversion): Remove `no_space_mode' member.
* src/roff/troff/div.cc (diversion::diversion,
top_level_diversion::top_level_diversion): Updated.
(macro_diversion::output): Reset `no_space_mode'.
(no_space, restore_spacing): Use `curdiv' unconditionally.
(space_request, blank_line): Check `curdiv->no_space_mode'.
(no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
`curdiv' unconditionally.
* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
Updated.
2001-05-06 Werner LEMBERG <wl@gnu.org>
Added two new requests `de1' and `am1' which are similar to `de' and
`am' with the difference that compatibility mode is saved on entry,
switched off during macro execution, and restored on exit.
* src/roff/troff/input.h: Added two new special characters
(COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
* src/roff/troff/input.cc (input_iterator): Added two member
functions `save_compatible_flag' and `get_compatible_flag'.
(input_stack): Ditto.
(string_iterator): Ditto. Also add private member
`saved_compatible_flag'.
(token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
(calling_mode): New enumeration.
(do_define_macro): Use it. Insert COMPATIBLE_SAVE and
COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
(define_macro, define_indirect_macro, append_macro, ignore): Use
`calling_mode'.
(define_nocomp_macro, append_nocomp_macro): New functions.
(init_input_requests): Updated.
(do_request): Rename local variable `saved_compatible_flag' to
`old_compatible_flag'.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
* tmac/an-old.tmac: Use `de1' instead of `de' request for all
public and trap-invoked macros. As a consequence, the man macros
work in compatibility mode also.
2001-05-06 Solar Designer <solar@openwall.com>
* Makefile.in: Use $(mandir).
2001-05-06 Alexios Zavras <zvr@pobox.com>
* src/utils/afmtodit/afmtodit.pl: Fix serious typo.
2001-05-05 Werner LEMBERG <wl@gnu.org>
Added `.ns' number register: Returns 1 in no-space mode (if in
top-level diversion), 0 otherwise.
* src/roff/troff/div.cc (no_space_mode_reg): New class.
(init_div_requests): Updated.
* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
Document it.
2001-05-04 Werner LEMBERG <wl@gnu.org>
* src/roff/nroff/nroff.man: Improved documentation (especially
locales).
2001-05-02 Werner LEMBERG <wl@gnu.org>
Added `brp' request: This is \p as a request.
* src/roff/troff/env.cc (environment::do_break): Add parameter
`spread'.
(do_break_request): New function (was `break_request').
(break_request): Calls `do_break_request'.
(break_spread_request): New; calls `do_break_request'.
(init_env_requests): Updated.
* src/roff/troff/env.h: Updated.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
* REVISION: Increased to 1.
* win32-diffs: Updated.
2001-05-01 Werner LEMBERG <wl@gnu.org>
* tmac/an-old.tmac: Fix minor compatibility mode issue.
* tmac/troffrc-end: Make it really work in compatibility mode.
2001-04-27 Werner LEMBERG <wl@gnu.org>
* src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h and
stdlib.h.
2001-04-22 Werner LEMBERG <wl@gnu.org>
* src/libs/libgroff/getopt.c, src/include/getopt.h: Updating to
latest versions from glibc CVS archive.
* MORE.STUFF: Updated, using a patch from Kees Zeelenberg
<c.zeelenberg@hccnet.nl>.
2001-04-21 Werner LEMBERG <wl@gnu.org>
* configure.in: Move check for mkstemp() to...
* aclocal.m4 (GROFF_MKSTEMP): This new function.
* configure: Regenerated.
* src/include/groff-getopt.h: Don't use variable names in
declarations.
* src/devices/grohtml/html-chars.h: Removed. It isn't used.
* src/devices/grohtml/Makefile.sub,
src/devices/grohtml/post-html.cc: Updated.
2001-04-21 Albert Chin-A-Young <china@thewrittenword.com>
* configure.in: Add special check for mkstemp().
* src/libs/libgroff/tmpfile.cc: Use it.
* src/utils/indxbib/indxbib.cc: Ditto.
* src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
* src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
`const'.
2001-04-20 Bruce Lilly <blilly@erols.com>
`Version_string' as C++ object was not visible to linker from C
object files.
Add `const' to `Version_string'.
* src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc
(main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc
(main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc
(main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc
(scanArguments), src/preproc/refer/refer.cc (main),
src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc
(main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grohtml/post-html.cc (main),
src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc
(main), src/utils/hpftodit/hpftodit.cc (main),
src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc
(main), src/utils/lkbib/lkbib.cc (main),
src/utils/addftinfo/addftinfo.cc (main): Implement it.
* src/roff/groff/pipeline.c: Add _UWIN.
* src/include/nonposix.h: Ditto.
2001-04-20 Werner LEMBERG <wl@gnu.org>
* src/include/lib.h: Use HAVE_STRERROR.
* src/roff/groff/pipeline.c: Ditto.
* src/preproc/html/pre-html.cc: Remove declaration of `strerror'.
* src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'.
* src/utils/pfbtops/pfbtops.c: Add copyright notice.
* win32-diffs: Updated.
* src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
2001-04-19 Werner LEMBERG <wl@gnu.org>
* src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'
instead of hardwired `"troff"'.
(char_buffer::read_file): Remove unused variables.
(char_buffer::write_file_troff): Ditto.
(char_buffer::write_file_html): Ditto.
(generateImages): Ditto.
(abs): Removed.
* src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem.
* src/include/lib.h: Don't include `groff-getopt.h' for UWIN.
* src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning.
* src/libs/libbib/index.cc (index_search_item_iterator::get_tag,
index_search_item::search1): Ditto.
* src/roff/troff/node.h (width_list): Reorder members.
* src/roff/troff/input.cc (do_define_macro): Fix compiler warning.
(lookup_warning): Ditto.
(prepend_string): Commented out.
* src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning.
* src/roff/troff/reg.cc (number_value_to_ascii): Ditto.
* src/preproc/tbl/main.cc (process_format): Ditto.
* src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix
compiler warnings.
* src/preproc/pic/pic.cc: Updated.
* src/preproc/eqn/lex.cc (init_table): Fix compiler warnings.
* src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto.
* src/preproc/refer/command.cc (execute_command): Ditto.
* src/preproc/refer/ref.cc (sortify_title, find_month): Ditto.
* src/preproc/refer/token.cc (lookup_token): Ditto.
* src/preproc/soelim/soelim.cc: Ditto.
* src/preproc/html/pushbackbuffer.cc (ERROR): Ditto.
(isHexDigit): Commented out.
(pushBackBuffer::isString): Remove unused variable.
* src/devices/grops/ps.cc (ps_printer::special): Fix compiler
warning.
* src/devices/grops/psrm.cc (resource_manager::lookup_font,
resource_manager::read_resource_arg, read_one_of, parse_extensions):
Ditto.
* src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto.
* src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command,
lookup_paper_size): Ditto.
* src/devices/grohtml/post-html.cc (is_subsection): Commented out.
(text_glob, element_list): Reorder members.
* src/devices/grohtml/html-text.cc (html_text::do_pre): Remove
compiler warning.
* src/devices/grohtml/html-text.h (html_text::emit_space): Change
return value to `void'.
* src/devices/grohtml/output.cc (word_list::word_list): Fix order
of initializers.
* src/devices/grohtml/html.h (simple_output::check_newline,
simple_output::space_or_newline, simple_output::enable_newlines):
Add return value.
* src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove
compiler warnings.
* src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto.
* src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets,
output_ligatures, output_charset, read_map): Ditto.
* src/utils/lookbib/lookbib.cc (main): Ditto.
* src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto.
(do_file): Fix typo (`=' -> `==').
* src/utils/lkbib/lkbib.cc (main): Remove compiler warning.
* src/utils/addftinfo/addftinfo.cc (main): Ditto.
2001-04-18 Ruslan Ermilov <ru@FreeBSD.org>
* src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
Fix usage of GROFF_BIN_PATH.
* src/roff/nroff/nroff.man: Updated.
2001-04-18 Werner LEMBERG <wl@gnu.org>
* NEWS: Fixing typos.
Updated.
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/libs/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/libs/libgroff/tmpfile.cc (remove_tmp_files),
src/libs/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 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
initialization 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/grohtml/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/libs/libgroff/macropath.cc: Add `config_macro_path', change
`macro_path'.
* src/include/macropath.h: Add `config_macrp_path'.
* src/libs/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/libs/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-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.
Copyright 2000-2001 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Local Variables:
coding: latin-1
fill-column: 72
mode: change-log
version-control: never
End:
vim:set autoindent textwidth=72:
|