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
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
|
Release Notes for the DocBook XSL Stylesheets
$Revision: 9401 $ $Date: 2012-06-04 21:47:26 +0000 (Mon, 04 Jun 2012) $
2012-06-04
This release-notes document is available in the following formats: HTML, PDF,
plain text; it provides a per-release list of enhancements and changes to the
stylesheets’ public APIs (user-configurable parameters) and excludes
descriptions of most bug fixes. For a complete list of all changes (including
all bug fixes) that have been made since the previous release, see the separate
NEWS (plain text) or NEWS.html files. Also available: An online hyperlinked
change history (warning: big file) of all changes made over the entire history
of the codebase.
As with all DocBook Project “dot one plus” releases, this release aspires to be
stable (in contrast to dot-zero releases, which are experimental).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Table of Contents
Release Notes: 1.77.1
Gentext
Common
FO
HTML
Epub
HTMLHelp
Eclipse
JavaHelp
Webhelp
Params
Highlighting
Profiling
Lib
Template
Extensions
XSL-Saxon
Release Notes: 1.77.1
FO
HTML
Roundtrip
Slides
Website
Webhelp
Release Notes: 1.76.1
FO
HTML
Params
Release Notes: 1.76.0
Gentext
Common
FO
HTML
Manpages
Epub
Eclipse
Params
XSL-Xalan
Release Notes: 1.75.2
Gentext
Common
FO
HTML
Manpages
Epub
Profiling
XSL-Saxon
XSL-Xalan
Release Notes: 1.75.1
FO
HTML
Epub
Params
Release Notes: 1.75.0
Gentext
Common
FO
HTML
Manpages
ePub
HTMLHelp
Params
Highlighting
XSL-Saxon
XSL-Xalan
Release Notes: 1.74.3
Release Notes: 1.74.2
Release Notes: 1.74.1
Gentext
FO
HTML
Manpages
ePub
Roundtrip
Params
Highlighting
Release Notes: 1.74.0
Gentext
Common
FO
HTML
Manpages
Epub
HTMLHelp
Eclipse
JavaHelp
Roundtrip
Slides
Website
Params
Profiling
Tools
Extensions
XSL-Saxon
XSL-Xalan
XSL-libxslt
Release Notes: 1.73.2
Release: 1.73.1
Gentext
FO
HTML
Manpages
HTMLHelp
Eclipse
JavaHelp
Roundtrip
Params
Release: 1.73.0
Gentext
Common
FO
HTML
Manpages
Eclipse
JavaHelp
Roundtrip
Params
Highlighting
Profiling
Lib
Tools
XSL-Saxon
XSL-Xalan
Release: 1.72.0
Common
FO
HTML
Manpages
Params
Template
Roundtrip
Release: 1.71.1
Common
FO
HTML
Highlighting
Manpages
Params
Profiling
Release: 1.71.0
Common
Extensions
FO
HTML
Highlighting
Manpages
Params
Tools
Release: 1.70.1
FO
HTML
HTMLHelp
Params
Release: 1.70.0
Common
Extensions
FO
HTML
Manpages
Params
Profiling
Tools
WordML
Release 1.69.1
Release 1.69.0
Common
FO
Help
HTML
man
Release 1.68.1
Release 1.68.0
Release 1.67.2
Release 1.67.1
Release 1.67.0
Release 1.66.1
Release 1.65.0
Release 1.64.1
Release 1.61.0
Release 1.60.1
Release 1.59.2
Release 1.59.1
Release 1.58.0
Release 1.57.0
Release 1.56.0
Older releases
About dot-zero releases
Release Notes: 1.77.1
The following list summarizes the major changes that have been made since the
1.76.1 release. It is followed by sections detailing changes to individual
files from the SVN checkin logs, edited to remove housekeeping changes and bug
fixes. See the NEWS.xml file for a complete unedited list of SVN changes.
• Gentext
webhelp
Many improvements to the generated text for webhelp output.
• Common
Support more media types
Expanded list of supported filename extensions for media to include
video and audio, mostly for HTML5 and EPUB3 outputs.
Topic element
Add basic support for new topic element, which is available in DocBook
5.1. Generally a topic element will be used with assembly and may be
transformed to some other hierarchical element during processing, but
it can also be formatted as a plain topic.
• FO
Add para.properties attribute-set
Add a para.properties attribute-set that applies only to para elements.
That allows still using normal.para.spacing attribute-set for many
block elements for uniform spacing, but allows separate formatting of
para elements.
List of titles in article
Add support for List of Tables, List of Figures, etc. for articles and
other component-level elements. Includes a new template for each in
autotoc.xsl, new attribute-sets in titlepage.xsl, and new entries in
the titlepage.templates.xml file tu support customization.
Customizing links in FO
Add template mode simple.xlink.properties to allow easy customization
of formatting of links generated from elements that use the xlink
attributes. This extends link formatting beyond that of xref, link, and
olink which use xref.properties attribute-set.
Table caption
The caption element in an HTML table is now handled like a title in a
CALS table, using the formal.object.title template with all its
features, including placement. Now caption template in mode="htmlTable"
does nothing, because caption handled by formal.object.title template.
Also adds support for table caption element in a CALS table, placing it
after the table.
Graphics attribute handling
Refactored the big process.image template to use individual templates
such as image.width for most attributes to allow easier customization
of individual properties.
Side regions
Add support for side page regions in addition to header and footer
regions. This feature lets you add running content to the side margins,
and by default the content is rotated 90 degrees. Adds new templates
named running.side.content, region.inner and region.outer; new template
modes region.inner.mode and region.outer.mode; new parameters named
region.inner.extent, region.outer.extent, body.margin.inner,
body.margin.outer, and side.region.precedence; and new attribute-sets
named inner.region.content.properties, outer.region.content.properties,
region.inner.properties, and region.outer.properties.
Callout formatting
Add new attribute-sets for calloutlist.
Topic element
Add basic support for formatting a topic element, which is available in
DocBook 5.1.
• HTML
HTML5
Add variables to the base HTML stylesheets that can be adjusted for the
HTML5 stylesheets.
Insert Javascript reference
Add support for html.script param to insert reference to a Javascript
file.
Namespace for titlepage mechanism.
Titlepage mechanism is now namespace aware to support XHTML.
Chunked filename prefix
New param named chunked.filename.prefix lets you add a filename prefix
to each chunked file. This replaces the buggy practice of adding such a
prefix to the base.dir param. Now the base.dir param will always have a
trailing slash added if it is not present, so you no longer have to
remember to add it to the param value.
Generate id attributes
The stylesheet param generate.id.attributes already existed but was
incompletely implemented. Now when it is set to 1, only id attributes
should be output, not <a name> named anchors.
Generate consistent id attributes
New generate.consistent.ids parameter which allows generating a more
stable id values based on XPath rather than the generate-id() function,
which may not produce consistent values between runs. Stable output ids
allow you to make stable links to generated content from the outside.
Topic element
Add basic support for formatting a topic element, which is available in
DocBook 5.1. Generally a topic element will be used with assembly and
may be transformed to some other hierarchical element during
processing, but it can also be formatted as a plain topic.
• Webhelp
Webhelp refactored
Webhelp templates refactored to better support customization.
Added documentation.
More and better documentation added.
Webhelp generated text
Many improvements to the generated text for webhelp output.
• XHTML5
New stylesheets to generate HTML5 output, in an XML serialization. These
templates are a customization layer on top of the XHTML stylesheet files.
• EPUB3
New stylesheets to generate EPUB3 output. These templates are a
customization layer on top of the xhtml5 stylesheet files.
• Assembly
New assembly.xsl stylesheet to convert a DocBook 5.1 assembly into a
standard DocBook 5 document. Also includes a topic-maker-chunk.xsl
stylesheet that can convert a DocBook 5 book or article document into an
assembly with a collection of modular files, including converting some
elements to topic files.
Gentext
The following changes have been made to the gentext code since the 1.76.1
release.
• stefanhinz: locale/de.xml
Translated German WebHelp strings
• David Cramer: locale/zh.xml; locale/en.xml; locale/fr.xml; locale/de.xml;
locale/ja.xml
Webhelp: Update non-en gentext strings
• Robert Stayton: locale/en.xml
Add topic to title-numbered context.
• Robert Stayton: locale/en.xml
Add basic topic element templates.
• Mauritz Jeanson: locale/el.xml
Updated gentext for quotation marks. Fixes bug #3512440.
• Jirka Kosek: locale/cs.xml
Adding missing context for webhelp
• David Cramer: locale/en.xml
Fixing syntax of webhelp gentext entries
• David Cramer: locale/en.xml
Moving webhelp gentext strings into a context
• tom_schr: locale/zh.xml; locale/en.xml; locale/cs.xml; locale/fr.xml;
locale/de.xml; local⋯
Moved language specific of WebHelp to gentext/locale/ as discussed with
Stefan following the "minimal intrusive approach". :)
In the long run, maybe moving the text into a context, not sure.
• Jirka Kosek: locale/ru.xml
Aligned capitalization of first letters with English original
Common
The following changes have been made to the common code since the 1.76.1
release.
• Robert Stayton: common.xsl
In "select.mediaobject.index" template, add selection of videoobject
and audioobject since now supported in HTML5.
• Robert Stayton: labels.xsl; titles.xsl; entities.ent; targets.xsl;
subtitles.xsl; gentext.⋯
Add basic support for new <topic> element.
• Robert Stayton: common.xsl
Fix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs.
• Robert Stayton: olink.xsl
Generate error message if olink data in targetset is in a namespace.
• Robert Stayton: common.xsl
Add support for generate.consistent.ids parameter.
• Robert Stayton: subtitles.xsl
Add verbose param to subtitle.markup templates to allow its
error message to be ignored.
Add that param to fop1.xsl application of subtitle.markup
to avoid unnecessary error message in document information.
• Robert Stayton: labels.xsl
Add empty templates for glossdiv, glosslist, and glossentry in
mode="label.markup".
FO
The following changes have been made to the fo code since the 1.76.1 release.
• Robert Stayton: graphics.xsl
qualify caption template to mediaobject/caption so not confused with table/caption.
• Robert Stayton: table.xsl
Add template to process table/caption element.
• Robert Stayton: titlepage.xsl; autotoc.xsl; component.xsl; xref.xsl;
titlepage.templates.x⋯
Add basic support for new <topic> element.
• Robert Stayton: graphics.xsl
Fix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs.
• Robert Stayton: titlepage.xsl
Add default style att-sets for component.list.of.titles, etc.
• Robert Stayton: autotoc.xsl; component.xsl; titlepage.templates.xml
Add make.component.tocs to support lists of tables, etc. for
article and other components. Added component.list.of.tables to
titlepage.templates.xml to format the title.
• Robert Stayton: param.xweb; param.ent
Add new para.properties attribute-set for paragraphs.
• Robert Stayton: inline.xsl
Add template mode 'simple.xlink.properties' to allow
easy customization of formatting of links generated
from elements other than xref, link, and olink using
the xlink attributes.
• Robert Stayton: param.xweb; param.ent
Add table.caption.properties to format table captions.
• Robert Stayton: table.xsl
Add support for caption in a CALS table.
• Robert Stayton: graphics.xsl; math.xsl
Refactored the 'process.image' template to create modular
templates for each attribute so they can be individually
customized. Also merged in support for embedded svg and
mml content so they can have image attributes too.
• Robert Stayton: param.xweb; param.ent
Check in new params for FO side regions in page masters.
• Robert Stayton: titlepage.xsl; titlepage.templates.xml
Add support for itermset in info elements, using titlepage mechanism
to ensure entries are placed inside page-sequence.
• Robert Stayton: pagesetup.xsl
Add support for side body margins and side static content regions.
Fixes bug 3389931.
• Robert Stayton: param.xweb; param.ent; task.xsl
Add attribute-set task.properties to task element to
support customization.
• Robert Stayton: lists.xsl; param.xweb; param.ent
Add new attribute-sets calloutlist.properties and callout.properties
to better support customization of calloutlists, fixing bug 3160341.
• Jirka Kosek: Makefile
Titlepage mechanism is now namespace aware to support XHTML. Please note that when generating titlepage template stylesheets you have to pass FO or XHTML namespace inside ns parameter. For HTML parameter should be empty.
• Robert Stayton: graphics.xsl
Allow selection by role for multiple imageobject elements
within an imageobjectco, which since Docbook 5 allows multiple imageobjects.
• Mauritz Jeanson: titlepage.xsl
Added template for collabname. Fixes bug #3414436.
• David Cramer: verbatim.xsl
Support the keep-together processing-instruction on programlisting, screen, synopsis, and literallayout. Tracker id #3396906.
• Robert Stayton: pagesetup.xsl
Pass the pageclass, sequence, and gentext-key to the template
named header.footer.widths to enable further customization
based on page master.
• Jirka Kosek: xref.xsl
hyphenation of URL content must be disabled for link, not only for ulink because od DB5
• Jirka Kosek: xref.xsl
URLs shouldn't be hyphenated as normal text
• Jirka Kosek: callout.xsl
Added support for alternative circled numbers
• Mauritz Jeanson: axf.xsl; fop1.xsl; xep.xsl
Added support for author/orgname in document metadata. Closes bug #3132862.
• Robert Stayton: component.xsl
Add template for article/colophon to avoid nested page-sequence.
HTML
The following changes have been made to the html code since the 1.76.1 release.
• Robert Stayton: xref.xsl
Add support for using info/title as well as title in target element.
• Robert Stayton: component.xsl
Enable support for html5 features, including using <section> instead of
<div> for certain elements, and setting heading level to <h1> for chapters.
These features are not changed in the base html stylesheet for backwards
compatibility.
• Robert Stayton: docbook.css.xml
Add style for footnote rule.
• Robert Stayton: biblio-iso690.xsl
Add support for subtitle inside info.
• Robert Stayton: docbook.xsl
Add call to new 'root.attributes' placeholder template to allow
adding attributes to the <html> output element.
• Robert Stayton: inline.xsl; titlepage.xsl; formal.xsl; division.xsl;
toc.xsl; sections.xsl⋯
Finish implementation of generate.id.attributes for all elements
using the template named id.attribute.
• Robert Stayton: autotoc.xsl; chunktoc.xsl; titlepage.xsl; chunk-code.xsl;
changebars.xsl; ⋯
Add basic support for new <topic> element.
• Robert Stayton: graphics.xsl
Fix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs.
• Robert Stayton: callout.xsl; verbatim.xsl
Restore programlisting to use <pre> instead of <div> and instead
wrap callout img elements in <span> to make valid HTML.
• Robert Stayton: graphics.xsl
Turn off img longdesc attribute because not supported by browsers.
• Robert Stayton: footnote.xsl
Move square brackets and <sup> inside <a> element for footnote
marks to fix display problems in some browsers.
• Robert Stayton: param.xweb; param.ent
Add new params html.script and html.script.type to support
Javascript references.
• Robert Stayton: chunk-common.xsl; chunktoc.xsl; titlepage.xsl; chunker.xsl;
chunk-code.xsl⋯
Add support for chunked.filename.prefix param.
Make sure base.dir value has a trailing slash in
the chunk.base.dir internal param used by the templates.
• Robert Stayton: formal.xsl; htmltbl.xsl
Now handles caption in html markup table like title,
so formal.object.title is used with all its features, including
formatting and placement.
Added htmlTable.with.caption template to handle the wrapper, and
left htmlTable template unchanged.
Now caption template in mode="htmlTable" does nothing, because
caption handled by formal.object.title template.
• Robert Stayton: html.xsl
Turn off generating the title attribute for block and hierarchical elements.
Should only be used for inline elements, usually using the alt element.
Also used for links to show the target title.
• Robert Stayton: lists.xsl
The spacing="compact" attribute on lists in HTML no longer outputs compact="compact"
(or just "compact" in the case of Saxon 6), since that attribute is
deprecated and improperly supported. Instead, the output uses a
multiple class attribute such as class="orderedlist compact".
Use CSS to style such lists without margin above.
• Robert Stayton: graphics.xsl
Allow selection by role for multiple imageobject elements
within an imageobjectco, which since Docbook 5 allows multiple imageobjects.
• Robert Stayton: pi.xsl
Improve doc descriptions of dbhtml filename and dir.
• Robert Stayton: autoidx.xsl
Add setindex to context param in mode="reference" to better
support setindex.
• Robert Stayton: autotoc.xsl
Support set as child of set in set.toc template.
• Robert Stayton: qandaset.xsl
Change question and title templates to replace hard-coded
class="local-name()" with mode="class.attribute" to support customization
of class values.
• Norman Walsh: chunktoc.xsl
Separate book appendixes from article appendixes (so that they can be customized independently)
• Mauritz Jeanson: graphics.xsl
Added condition to prevent "Failed to interpret image" messages (SVG is not supported
by the graphic size extension).
Epub
The following changes have been made to the epub code since the 1.76.1 release.
• Robert Stayton: docbook.xsl
Replace $base.dir with $chunk.base.dir to ensure trailing slash in place.
HTMLHelp
The following changes have been made to the htmlhelp code since the 1.76.1
release.
• Robert Stayton: htmlhelp-common.xsl
Change $base.dir to $chunk.base.dir to ensure trailing slash in place.
Eclipse
The following changes have been made to the eclipse code since the 1.76.1
release.
• Robert Stayton: eclipse.xsl; eclipse3.xsl
Use $chunk.base.dir instead of $base.dir to ensure trailing slash is in place.
JavaHelp
The following changes have been made to the javahelp code since the 1.76.1
release.
• Robert Stayton: javahelp.xsl
Change $base.dir to $chunk.base.dir to ensure trailing slash is present.
• Mauritz Jeanson: javahelp.xsl
Replaced empty header.navigation and footer.navigation templates with parameter suppress.navigation=1,
which simplifies customization. See bug #3310904.
Webhelp
The following changes have been made to the webhelp code since the 1.76.1
release.
• David Cramer: template/common/css/positioning.css
Webhelp: Adding print-only css rules
• David Cramer: template/common/main.js
Webhelp: Arun's fix for bug where heading was partially hidden by header in some situations.
• David Cramer: xsl/webhelp-common.xsl
Webhelp: turn off autolabeling by default
• David Cramer: xsl/webhelp.xsl
Webhelp: Import xhtml base stylesheets
• David Cramer: docsrc/readme.xml
Webhelp: Link to the DocBook reference docs from the webhelp readme
• David Cramer: xsl/webhelp-common.xsl
Webhelp: Use gentext value for noscript warning
• David Cramer: Makefile
Webhelp: Delete tempfile after DocBook xsl build
• David Cramer: xsl/webhelp.xsl
Webhelp: moving parameters into the standard location so they will be part of the parameter reference
• David Cramer: xsl/webhelp.xsl; xsl/webhelp-common.xsl
Webhelp: moving parameters into the standard location so they will be part of the parameter reference
• David Cramer: template/common/main.js
Webhelp: tweaking scrolldown offset for anchors
• David Cramer: docsrc/images; docsrc/images/sample.jpg; docsrc/readme.xml;
template/content⋯
Webhelp: updating docs. Ant version, install instructions, handling of images.
• David Cramer: xsl/webhelp.xsl
Patch from Arun Bharadwaj to display message if JavaScript is disabled
• David Cramer: template/content/search/nwSearchFnt.js
Patch from Arun Bharadwaj to strip quotes from search query strings
• Robert Stayton: xsl/webhelp.xsl
Add basic support for new <topic> element.
• Jirka Kosek: xsl/webhelp.xsl
Put back old extensibility point.
Guys, please don't remove existing extensibility points like named templates, it will break existing customizations.
• David Cramer: xsl/webhelp.xsl
Moving webhelp gentext strings into a context
• tom_schr: param.ent
Disabled branding and brandname entities for the time being
• tom_schr: param.xweb; param.ent
Prepared WebHelp reference documentation :)
Not clear about parameters brandname and branding: Should they renamed
to "webhelp.branding" and "webhelp.brandname"?
Currently, docsrc/reference.xml contains only a comment for the WebHelp
ref doc to be non-intrusive.
Idea is to enable it when it is ready
• tom_schr: xsl/webhelp.xsl
Moved language specific of WebHelp to gentext/locale/ as discussed with
Stefan following the "minimal intrusive approach". :)
In the long run, maybe moving the text into a context, not sure.
• David Cramer: template/common/css/positioning.css
Webhelp: Lower the minimum width of content pane
• kasunbg: xsl/webhelp.xsl; template/common/main.js
If an user moved to another page by clicking on a toc link, and then clicked on #searchDiv,
search should be performed if the cookie textToSearch is not empty.
• David Cramer: xsl/webhelp.xsl
Webhelp: Left align titles in nav header. Display for all but the topmost page
• David Cramer: template/content/search/stemmers/en_stemmer.js; docsrc/
xinclude-test.xml
Webhelp: Cleanup related to en_stemmer.js changes
• David Cramer: template/common/css/positioning.css
Webhelp: Don't put borders around qandaset list
• David Cramer: template/common/main.js
Webhelp: Avoid unnecessary scroll ups when anchor is clicked on
• David Cramer: build.properties
Webhelp: Show footer nav by default
• David Cramer: build.properties; build.xml
Webhelp: Support setting suppress.footer.navigation from build.properties
• David Cramer: build.properties; build.xml
Webhelp: Support admon.graphics param in build.properties
• David Cramer: docsrc/xinclude-test.xml; docsrc/readme.xml
Webhelp: Adding xinclude example to the demo/readme doc
• David Cramer: template/common/css/positioning.css
Webhelp: Remove border around table used to format callout list
• David Cramer: xsl/webhelp.xsl; template/common/images/admon/tip.png;
template/common/image⋯
Webhelp: Support admon graphics (still off by default)
• David Cramer: xsl/webhelp.xsl; template/common/css/positioning.css
Webhelp: Turn on navfooter and fix related css
• David Cramer: xsl/webhelp.xsl
Webhelp: Fix error about undeclared doc.title param
• David Cramer: docsrc/readme.xml
Webhelp: Adding some test search terms to the readme
• David Cramer: template/content/search/stemmers/en_stemmer.js
Handle exceptional cases listed in the Porter 2 stemming algo
• David Cramer: template/content/search/stemmers/en_stemmer.js
Webhelp: adding special case word 'say' to en js stemmer
• David Cramer: template/content/search/stemmers/en_stemmer.js
Webhelp: Refine stemming of terms that end in (only stem if there's a consonant before the -y)
• David Cramer: template/content/search/stemmers/en_stemmer.js; template/
content/search/nwSe⋯
Webhelp: fixed bug where words like key, day, and nucleus, were not found due to differences in the way the client stemmer and indexer stemmed words
• David Cramer: build.xml
Webhelp: Support xinclude and two-pass profiling in build.xml
• David Cramer: xsl/webhelp.xsl
Fix bad link to default topic.
• kasunbg: docsrc/readme.xml
Automatically limit the size of the search description to something 140 characters
• kasunbg: xsl/webhelp.xsl
removing outline in 'contents' and 'search' buttons that is visible when clicked. tabindex for SIDEBAR button.
• kasunbg: xsl/webhelp.xsl; build.xml
Webhelp ant script changes - HTML transformation support for WebHelp - Uses Tagsoup for parsing the bad html.
tagsoup-1.2.1.jar is added to trunk/xsl-webhelpindexer/lib/
• kasunbg: xsl/webhelp.xsl
proper support for saxon xhtml transformation.
• kasunbg: template/common/images/callouts/10.png; template/common/images/
callouts/11.png; t⋯
webhelp - adding callouts
• kasunbg: xsl/webhelp.xsl; template/common/main.js; template/common/css/
positioning.css
webhelp - animations for show/hide Sidebar
• kasunbg: build.properties
commenting about brand and brandname
• kasunbg: Makefile
parameterized MAKE for webhelp
• kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css;
build.properties; build.xml
webhelp xsl customization - logo
• kasunbg: template/content/search/nwSearchFnt.js
remove some JS warninings
• kasunbg: template/content/search/nwSearchFnt.js
Fix for missing "No results found for..." bug
• kasunbg: xsl/webhelp.xsl
commented about the importance of the order of css contents. Order is important between the in-html-file css and the linked css files. Some css declarations in jquery-ui-1.8.2.custom.css are over-ridden. If that's a concern, just remove the additional css contents inside these default jquery css files. I thought of keeping them intact for easier maintenance.
• Jirka Kosek: xsl/webhelp.xsl; template/common/css/positioning.css
Minor cleanup, added extensibility hook, some styling moved into CSS for easier customization
• David Cramer: template/content/search/nwSearchFnt.js
Removing onclick that came from Oxygen's dita stuff
• kasunbg: docsrc/readme.xml
webhelp - documenting about features
• kasunbg: template/common/css/positioning.css
webhelp search text box
• kasunbg: template/common/css/positioning.css
adding header background image
• kasunbg: xsl/webhelp.xsl; template/common/images/header-bg.png
new header background image
• kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css
fix left navigation
• kasunbg: template/common/css/positioning.css
some css
• kasunbg: build.xml
Adding html.extension property
• kasunbg: template/common/css/positioning.css; build.properties; build.xml
webhelp - Adding enable.stemming, toc.file build properties
• David Cramer: template/common/css/positioning.css
Make the webhelp banner slightly larger.
• David Cramer: template/common/main.js; template/common/css/positioning.css
Adjust colors and positioning of header and search/toc tabs
• David Cramer: xsl/webhelp.xsl
Only put doc title in header
• David Cramer: template/common/css/positioning.css; template/common/images/
main_bg_fade.png
Adjusting default color of the header
• kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css
adjustments to header title. Now output in Opera looks good.
• kasunbg: template/common/images/sidebar.png; template/content/search/
punctuation.props; te⋯
deleting svn:executable flag from webhelp files
• kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css; template/
common/images/sear⋯
Customized the left navagation headers; Contents and Search.
Adding custom css for the current redmond ui of jquery-ui. These override jquery-ui's default css customizations. These are supposed to take precedence.
• kasunbg: docsrc/readme.xml
typo fix
• kasunbg: template/common/images/next-arrow.png; xsl/webhelp.xsl; template/
common/main.js; ⋯
UI improvements.
Moved search highligher to search tab.
Added nice icons for navigation buttons etc.
Removed footer navigation
Corrected tree colorings
Overall, some css magic
• David Cramer: docsrc/readme.xml
Added listitem thinking SyncRO Soft for their contributions.
• kasunbg: build.xml
support for default classpath for Gentoo Linux
• kasunbg: docsrc/readme.xml
webhelp - some updates to the documentation about search
• kasunbg: template/common/css/positioning.css
Fix for issue 'Keep "search" & "contents" titles always visible in webhelp - ID: 3403438'
• David Cramer: template/common/images/starsSmall.png
Changed icons used to show search weightings from stars to boxes so they won't look like user ratings
• David Cramer: xsl/webhelp.xsl; template/common/main.js; template/common/
images/starsSmall.⋯
Merged Oxygen webhelp improvements (search weightings etc) into trunk: -r9031:9039
• kasunbg: docsrc/readme.xml
webhelp documentation - search indexing, faq
• kasunbg: docsrc/readme.xml
update webhelp documentation
• David Cramer: xsl/webhelp.xsl
Fixed bug where webhelp.default.topic was not being used if it was set
• David Cramer: xsl/webhelp.xsl; template/content/search/nwSearchFnt.js
Localize string in nwSearchFnt.js file
• David Cramer: xsl/webhelp.xsl
Added tabindex attributes to make tab order in UI more logical in webhelp.
• David Cramer: template/common/main.js
Fixed bug where anchors in pages landed beneath the banner.
• kasunbg: xsl/webhelp.xsl
Added more comments to the xsl/webhelp/xsl/webhelp.xsl file. Removed some clutter.
• David Cramer: template/common/main.js
Fixed problem reported in IE 8. See tracker id # 373747.
• David Cramer: xsl/webhelp.xsl
Addressed tracker #3247166 by removing hard-coded reference to ch01.html.
• kasunbg: build.xml
Changed the webhelp build.xml to reflect the changes to xsl-webhelpindexer.
Added classpaths for xercesImpl and xml-api jars to the indexer. Paths added for *nix environments, need to look at how the current system behaves in Windows. Discussion: http://lists.oasis-open.org/archives/docbook-apps/201011/msg00116.html
• kasunbg: template/common/images/loading.gif; template/common/jquery/
treeview/jquery.treevi⋯
webhelp: Removing some unnecessary JQuery JS files
• kasunbg: template/common/main.js
webhelp: Usability improvement - when click on a node in the TOC tree, the child nodes will auto populate now.
• kasunbg: xsl/webhelp.xsl
Added google translated localizations for Japanese, German, French, and Chinese. The translations might not be pretty accurate.
Better translations are appreciated.
• kasunbg: docsrc/readme.xml; template/content/images; template/content/
images/sample.jpg
Added documentation for how to add images to WebHelp
• Jirka Kosek: xsl/webhelp.xsl
Added more customization hooks
Search code output only when search tab is active
Added cs localization
• Jirka Kosek: xsl/webhelp.xsl
Added parameter webhelp.common.dir for specifying location of common files (JS+CSS)
Added hooks for adding additional user defined tabs
Params
The following changes have been made to the params code since the 1.76.1
release.
• David Cramer: webhelp.indexer.language.xml
Webhelp: Fixing list of supported languages
• David Cramer: webhelp.indexer.language.xml
Webhelp: Correct language code in docs for Chinese
• Mauritz Jeanson: admon.graphics.extension.xml
Added list of graphics formats.
• Mauritz Jeanson: passivetex.extensions.xml
Updated link.
• tom_schr: webhelp.indexer.language.xml; webhelp.default.topic.xml;
webhelp.tree.cookie.id.⋯
Prepared WebHelp reference documentation :)
Not clear about parameters brandname and branding: Should they renamed
to "webhelp.branding" and "webhelp.brandname"?
Currently, docsrc/reference.xml contains only a comment for the WebHelp
ref doc to be non-intrusive.
Idea is to enable it when it is ready
• Robert Stayton: glossary.collection.xml
Add info about relative paths.
• Robert Stayton: para.properties.xml
Special attribute-set for para only.
• Robert Stayton: table.caption.properties.xml
To format table captions.
• Robert Stayton: html.script.type.xml; html.script.xml
Add support for specifying javascript references like css references.
• Robert Stayton: body.margin.outer.xml; region.outer.extent.xml;
body.margin.inner.xml; reg⋯
Add support for side regions in FO output.
• Robert Stayton: chunked.filename.prefix.xml
New param chunked.filename.prefix to separate any such prefix from
the base.dir param, which helps fix bug 3087359.
• Robert Stayton: generate.consistent.ids.xml
New param to support replacing generate-id() with xsl:number
for more consistent id values.
• Robert Stayton: task.properties.xml
Allow task to be customized more easily.
• Robert Stayton: calloutlist.properties.xml; callout.properties.xml
Support better customization of callout lists.
• Jirka Kosek: callout.unicode.start.character.xml
Added support for alternative circled numbers
• David Cramer: example.properties.xml
Made example.properties use keep-together='auto' like table.properies to avoid problems where example/programlisting takes more than one page
• Mauritz Jeanson: graphicsize.extension.xml
Added info about supported image formats.
Highlighting
The following changes have been made to the highlighting code since the 1.76.1
release.
• Jirka Kosek: csharp-hl.xml
Added LINQ keywords
• Jirka Kosek: delphi-hl.xml
Additional keywords from Yuri Zhilin
Profiling
The following changes have been made to the profiling code since the 1.76.1
release.
• David Cramer: profile-mode.xsl
When profile.* params only consist of space characters, then ignore them.
Lib
The following changes have been made to the lib code since the 1.76.1 release.
• Robert Stayton: lib.xweb
Added two utility templates to make lib.xsl work
without reference to other modules since it is used
that way with profiling/xsl2profile.xsl.
• Robert Stayton: lib.xweb
Fix trim.common.uri.paths to first resolve any ../ in
the paths.
Template
The following changes have been made to the template code since the 1.76.1
release.
• Jirka Kosek: titlepage.xsl
Titlepage mechanism is now namespace aware to support XHTML. Please note that when generating titlepage template stylesheets you have to pass FO or XHTML namespace inside ns parameter. For HTML parameter should be empty.
Extensions
The following changes have been made to the extensions code since the 1.76.1
release.
• kasunbg: Makefile
webhelp - Adding enable.stemming, toc.file build properties
• David Cramer: Makefile
Attempt to convince Makefile that webhelpindexer is dirty
XSL-Saxon
The following changes have been made to the xsl-saxon code since the 1.76.1
release.
• Mauritz Jeanson: src/com/nwalsh/saxon/Verbatim.java; src/com/nwalsh/saxon/
FormatGraphicCal⋯
Added fixes to ensure that generated XHTML markup for callouts is in the proper namespace.
Release Notes: 1.77.1
The following is a list of changes that have been made since the 1.77.0
release.
FO
The following changes have been made to the fo code since the 1.77.0 release.
• Robert Stayton: docbook.xsl
Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
from the filename.
• Robert Stayton: block.xsl
In sidebar, turn off space before first para if there is no title.
• Robert Stayton: math.xsl
Restored templates for mml:* elements that were accidentally deleted.
HTML
The following changes have been made to the html code since the 1.77.0 release.
• Robert Stayton: docbook.xsl
Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
from the filename.
• Robert Stayton: sections.xsl
Use $div.element variable in place of div to support html5 section element.
output
• Robert Stayton: autoidx.xsl
Fix bug 3528673, missing "separator" param on template with
match="indexterm" mode="reference". That param is passed
for endofrange processing to output the range separator.
Roundtrip
The following changes have been made to the roundtrip code since the 1.77.0
release.
• Robert Stayton: dbk2ooo.xsl; dbk2pages.xsl; dbk2wordml.xsl; dbk2wp.xsl
Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
from the filename.
Slides
The following changes have been made to the slides code since the 1.77.0
release.
• Robert Stayton: html/slides-common.xsl
Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
from the filename.
Website
The following changes have been made to the website code since the 1.77.0
release.
• Robert Stayton: website-common.xsl
Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
from the filename.
Webhelp
The following changes have been made to the webhelp code since the 1.77.0
release.
• kasunbg: docsrc/readme.xml
updated webhelp documentation
• kasunbg: template/content/search/nwSearchFnt.js; xsl/webhelp-common.xsl
Removed the script htmlFileList.js since it's content is in htmlFileInfoList.js
• Robert Stayton: xsl/webhelp-common.xsl
In the <h1> output, replace call to 'get.doc.title' with
mode="title.markup" because get.doc.title returns only
the string value of the title, losing any markup such
as <trademark> or <superscript>.
• kasunbg: template/common/css/positioning.css; template/content/search/
nwSearchFnt.js
Remove unnecessary bits of code from webhelp
• David Cramer: docsrc/readme.xml
Webhelp: Minor edits to the readme
• David Cramer: xsl/webhelp.xsl; xsl/titlepage.templates.xsl; xsl/
titlepage.templates.xml
Webhelp: Suppress abstracts from titlepages. These are used to create the search result summary sentence and should not be shown
• David Cramer: build.xml
Webhelp: calculate path to profile.xsl from main build.xml file
Release Notes: 1.76.1
The following is a list of changes that have been made since the 1.76.0
release.
FO
The following changes have been made to the fo code since the 1.76.0 release.
• Robert Stayton: docbook.xsl; xref.xsl; fop1.xsl
Apply patch to support named destination in fop1.xsl, per Sourceforge
bug report #3029845.
HTML
The following changes have been made to the html code since the 1.76.0 release.
• Keith Fahlgren: highlight.xsl
Implementing handling for <b> and <i>: transform to <strong> and <em> for XHTML outputs and do not use in the highliting output (per Mauritz Jeanson)
Params
The following changes have been made to the params code since the 1.76.0
release.
• Robert Stayton: draft.mode.xml
Change default for draft.mode to 'no'.
Release Notes: 1.76.0
This release includes important bug fixes and adds the following significant
feature changes:
Webhelp
A new browser-based, cross-platform help format with full-text search and
other features typically found in help systems. See webhelp/docs/content/
ch01.html for more information and a demo.
Gentext
Many updates and additions to translation/locales thanks to Red Hat, the
Fedora Project, and other contributors.
Common
Faster localization support, as language files are loaded on demand.
FO
Support for SVG content in imagedata added.
HTML
Output improved when using 'make.clean.html' and a stock CSS file is now
provided.
EPUB
A number of improvements to NCX, cover and image selection, and XHTML 1.1
element choices
The following is a list of changes that have been made since the 1.75.2
release.
Gentext
The following changes have been made to the gentext code since the 1.75.2
release.
• rlandmann: locale/fa.xml
Update to Persian translation from the Fedora Project
• rlandmann: locale/nds.xml
Locale for Low German
• Mauritz Jeanson: locale/ka.xml; Makefile
Added support for Georgian based on patch #2917147.
• rlandmann: locale/nl.xml; locale/ja.xml
Updated translations from Red Hat and the Fedora Project
• rlandmann: locale/bs.xml; locale/ru.xml; locale/hr.xml
Updated locales from Red Hat and the Fedora Project
• rlandmann: locale/pt.xml; locale/cs.xml; locale/es.xml; locale/bg.xml;
locale/nl.xml; loca⋯
Updated translations from Red Hat and the Fedora Project
• rlandmann: locale/as.xml; locale/bn_IN.xml; locale/ast.xml; locale/ml.xml;
locale/te.xml; ⋯
New translations from Red Hat and the Fedora Project
• rlandmann: locale/pt.xml; locale/ca.xml; locale/da.xml; locale/sr.xml;
locale/ru.xml; loca⋯
Updated translations from Red Hat and the Fedora Project
Common
The following changes have been made to the common code since the 1.75.2
release.
• Mauritz Jeanson: common.xsl
Fixed bug in output-orderedlist-starting-number template (@startingnumber did not work for FO).
• Mauritz Jeanson: gentext.xsl
Added fix to catch ID also of descendants of listitem. Closes bug #2955077.
• Jirka Kosek: l10n.xsl
Stripped down, faster version of gentext.template is used when there is no localization customization.
• Mauritz Jeanson: stripns.xsl
Added fix that preserves link/@role (makes links in the reference documentation
with @role="tcg" work).
• Mauritz Jeanson: l10n.xsl
Fixed bugs related to manpages and L10n.
• Jirka Kosek: entities.ent; autoidx-kosek.xsl
Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms.
• Jirka Kosek: l10n.xsl; l10n.dtd; l10n.xml; autoidx-kosek.xsl
Refactored localization support. Language files are loaded on demand. Speedup is about 30%.
• Jirka Kosek: l10n.xsl
Added xsl:keys for improved performance of localization texts look up. Performance gain around 15%.
• Mauritz Jeanson: titles.xsl
Fixed bug #2912677 (error with xref in title).
• Robert Stayton: olink.xsl
Fix bug in xrefstyle "title" handling introduced with
the 'insert.targetdb.data' template.
• Robert Stayton: gentext.xsl
Fix bug in xref to equation without title to use context="xref-number" instead
of "xref-number-and-title".
• Robert Stayton: labels.xsl
Number all equations in one sequence, with or without title.
• Robert Stayton: entities.ent
Fix bug #2896909 where duplicate @sortas on indexterms caused
some indexterms to drop out of index.
• Robert Stayton: stripns.xsl
Expand the "Stripping namespace ..." message to advise users to
use the namespaced stylesheets.
• Robert Stayton: stripns.xsl
need a local version of $exsl.node.set.available variable because
this module imported many places.
• Mauritz Jeanson: olink.xsl
Added /node() to the select expression that is used to compute the title text
so that no <ttl> elements end up in the output. Closes bug #2830119.
FO
The following changes have been made to the fo code since the 1.75.2 release.
• Robert Stayton: table.xsl
Fix bug 2979166 able - Attribute @rowheader not working
• Mauritz Jeanson: inline.xsl
Improved glossterm auto-linking by using keys. The old code was inefficient when processing documents
with many inline glossterms.
• Robert Stayton: titlepage.xsl
Fix bug 2805530 author/orgname not appearing on title page.
• Mauritz Jeanson: graphics.xsl
Added support for SVG content in imagedata (inspired by patch #2909154).
• Mauritz Jeanson: table.xsl
Removed superfluous test used when computing column-width. Closes bug #3000898.
• Mauritz Jeanson: inline.xsl
Added missing <xsl:call-template name="anchor"/>. Closes bug #2998567.
• Mauritz Jeanson: lists.xsl
Added table-layout="fixed" on segmentedlist table (required by XSL spec when proportional-column-width() is used).
• Jirka Kosek: autoidx-kosek.xsl
Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms.
• Jirka Kosek: index.xsl
Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms.
• Robert Stayton: xref.xsl
Fix bug in olink template when an olink has an id.
Add warning message with id value when trying to link
to an element that has no generated text.
• Mauritz Jeanson: refentry.xsl
Fixed bug #2930968 (indexterm in refmeta not handled correctly).
• Robert Stayton: block.xsl
fix bug 2949567 title in revhistory breaks FO transform.
• Robert Stayton: glossary.xsl
Output id attributes on glossdiv blocks so they can be added to
xrefs or TOC.
• Jirka Kosek: xref.xsl
Enabled hyphenation of URLs when ulink content is the same as link target
• Robert Stayton: table.xsl
Apply patch to turn off row recursion if no @morerows attributes present.
This will enable very large tables without row spanning to
process without running into recursion limits.
• Robert Stayton: formal.xsl
Format equation without title using table layout with equation number
next to the equation.
• Robert Stayton: param.xweb; param.ent
Add equation.number.properties.
HTML
The following changes have been made to the html code since the 1.75.2 release.
• Mauritz Jeanson: block.xsl
Modified acknowledgements template to avoid invalid output (<p> in <p>).
• Mauritz Jeanson: titlepage.xsl
Added default sidebar attribute-sets.
• Robert Stayton: table.xsl
Fix bug 2979166 able - Attribute @rowheader not working
• Robert Stayton: footnote.xsl
Fix bug 3033191 footnotes in html tables.
• Mauritz Jeanson: inline.xsl
Improved glossterm auto-linking by using keys. The old code was inefficient when processing documents
with many inline glossterms.
• Robert Stayton: docbook.css.xml; verbatim.xsl
Fix bug 2844927 Validity error for callout bugs.
• Robert Stayton: formal.xsl
Convert formal.object.heading to respect make.clean.html param.
• Robert Stayton: titlepage.templates.xml; block.xsl
Fix bug 2840768 sidebar without title inserts empty b tag.
• Mauritz Jeanson: docbook.xsl
Moved the template that outputs <base> so that the base URI also applies to relative CSS paths that come later.
See patch #2896121.
• Jirka Kosek: autoidx-kosek.xsl
Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms.
• Robert Stayton: chunk-code.xsl
fix bug 2948363 generated filename for refentry not unique, when
used in a set.
• Robert Stayton: component.xsl
Fix missing "Chapter n" label when use chapter/info/title.
• Robert Stayton: table.xsl
Row recursion turned off if no @morerows attributes in the table.
This will prevent failure on long table (with no @morerows) due
to excessive depth of recursion.
• Robert Stayton: autotoc.xsl; docbook.css.xml
Support make.clean.html in autotoc.xsl.
• Robert Stayton: docbook.css.xml; block.xsl
Add support for make.clean.html setting in block elements.
• Robert Stayton: docbook.css.xml
Stock CSS styles for DocBook HTML output when 'make.clean.html' is non-zero.
• Robert Stayton: html.xsl
Add templates for generating CSS files and links to them.
• Robert Stayton: param.xweb
Fix bugs in new entity references.
• Robert Stayton: chunk-common.xsl
List of Equations now includes on equations with titles.
• Robert Stayton: table.xsl
If a colspec has a colname attribute, add it to the HTML col
element as a class attribute so it can be styled.
• Robert Stayton: formal.xsl
Fix bug 2825842 where table footnotes not appearing in HTML-coded table.
• Robert Stayton: chunktoc.xsl
Fix bug #2834826 where appendix inside part was not chunked as it should be.
• Mauritz Jeanson: chunktoc.xsl
Added missing namespace declarations. Closes bug #2890069.
• Mauritz Jeanson: footnote.xsl
Updated the template for footnote paras to use the 'paragraph' template. Closes bug #2803739.
• Keith Fahlgren: inline.xsl; lists.xsl
Remove <b> and <i> elements "discouraged in favor of style sheets" from
XHTML, XHTML 1.1 (and therefore EPUB) outputs by changing html2xhtml.xsl.
Fixes bug #2873153: No <b> and <i> tags in XHTML/EPUB
Added regression to EPUB specs:
• Mauritz Jeanson: inline.xsl
Fixed bug #2844916 (don't output @target if ulink.target is empty).
• Keith Fahlgren: autoidx.xsl
Fix a bug when using index.on.type: an 'index symbols' section was created
even if that typed index didn't include any symbols (they were in the other types).
Manpages
The following changes have been made to the manpages code since the 1.75.2
release.
• Mauritz Jeanson: other.xsl
Modified the write.stubs template so that the section directory name is not output twice. Should fix bug #2831602.
Also ensured that $lang is added to the .so path (when man.output.lang.in.name.enabled=1).
• Mauritz Jeanson: docbook.xsl; other.xsl
Fixed bug #2412738 (apostrophe escaping) by applying the submitted patch.
• Norman Walsh: block.xsl; endnotes.xsl
Fix bug where simpara in footnote didn't work. Patch by Jonathan Nieder, jrnieder@gmail.com
• dleidert: lists.xsl
Fix two indentation issues: In the first case there is no corresponding .RS
macro (Debian #519438, sf.net 2793873). In the second case an .RS instead of
the probably intended .sp leads to an indentation bug (Debian #527309,
sf.net #2642139).
Epub
The following changes have been made to the epub code since the 1.75.2 release.
• Keith Fahlgren: bin/spec/examples/AMasqueOfDays.epub; docbook.xsl; bin/spec
/epub_spec.rb
Resolve some actual regressions in date output spotted by more recent versions of epubcheck
• Keith Fahlgren: docbook.xsl
Updated mediaobject selection code that better uses roles (when available); based on contributons by Glenn McDonald
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl
Ensure that NCX documents are always outputted with a default namespace
to prevent problems with the kindlegen machinery
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/
partintro.xml; docbook.x⋯
Adding support for partintros with sect2s, 3s, etc
• Keith Fahlgren: docbook.xsl
Adding param to workaround horrific ADE bug with the inability to process <br>
• Keith Fahlgren: docbook.xsl
Add support for authorgroup/author in OPF metadata (via Michael Wiedmann)
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb
Remove <b> and <i> elements "discouraged in favor of style sheets" from
XHTML, XHTML 1.1 (and therefore EPUB) outputs by changing html2xhtml.xsl.
Fixes bug #2873153: No <b> and <i> tags in XHTML/EPUB
Added regression to EPUB specs:
• Keith Fahlgren: bin/lib/docbook.rb; bin/spec/files/DejaVuSerif-Italic.otf;
docbook.xsl; bi⋯
This resolves bug #2873142, Please add support for multiple embedded fonts
If you navigate to a checkout of DocBook-XSL and go to:
xsl/epub/bin/spec/files
You can now run the following command:
../../dbtoepub -f DejaVuSerif.otf -f DejaVuSerif-Italic.otf -c test.css
-s test_cust.xsl orm.book.001.xml
In dbtoepub, the following option can be used more than once:
-f, --font [OTF FILE] Embed OTF FILE in .epub.
The underlying stylesheet now accepts a comma-separated list of font file
names rather than just one as the RENAMED epub.embedded.fonts ('s' added).
The runnable EPUB spec now includes:
- should be valid .epub after including more than one embedded font
• Keith Fahlgren: docbook.xsl
Improve the selection of cover images when working in DocBook 4.x land (work in progress)
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl
Improve the quality of the OPF spine regression by ensuring that the spine
elements for deeply nested refentries are in order and adjacent to their
opening wrapper XHTML chunk.
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl; bin/spec/
files/orm.book.00⋯
Add more careful handling of refentries to ensure that they always appear in the opf:spine.
This was only a problem when refentries were pushed deep into the hierarchy (like inside
a sect2), but presented navigational problems for many reading systems (despite the
correct NCX references). This may *not* be the best solution, but attacking a better
chunking strategy for refentries was too big a nut to crack at this time.
Eclipse
The following changes have been made to the eclipse code since the 1.75.2
release.
• Mauritz Jeanson: eclipse3.xsl
Added a stylesheet module that generates plug-ins conforming to the standard (OSGi-based) Eclipse 3.x
architecture. The main difference to the older format is that metadata is stored in a separate
manifest file. The module imports and extends the existing eclipse.xsl module. Based on code
contributed in patch #2624668.
Params
The following changes have been made to the params code since the 1.75.2
release.
• Robert Stayton: draft.watermark.image.xml
Fix bug 2922488 draft.watermark.image pointing to web resource.
Now the value is images/draft.png, and may require customization
for local resolution.
• Mauritz Jeanson: equation.number.properties.xml
Corrected refpurpose.
• Norman Walsh: paper.type.xml
Added USlegal and USlegallandscape paper types.
• Jirka Kosek: highlight.xslthl.config.xml
Added note about specifying location as URL
• Robert Stayton: docbook.css.source.xml; generate.css.header.xml;
custom.css.source.xml; ma⋯
Params to support generated CSS files.
• Robert Stayton: equation.number.properties.xml
New attribute set for numbers appearing next to equations.
XSL-Xalan
The following changes have been made to the xsl-xalan code since the 1.75.2
release.
• dleidert: nbproject/genfiles.properties; nbproject/build-impl.xml
Rebuild netbeans build files after adding missing Netbeans configuration to allow easier packaging for Debian.
Release Notes: 1.75.2
The following is a list of changes that have been made since the 1.75.1
release.
Gentext
The following changes have been made to the gentext code since the 1.75.1
release.
• dleidert: locale/ja.xml
Improved Japanese translation for Note(s). Closes bug #2823965.
• dleidert: locale/pl.xml
Polish alphabet contains O with acute accent, not with grave accent. Closes bug #2823964.
• Robert Stayton: locale/ja.xml
Fix translation of "index", per bug report 2796064.
• Robert Stayton: locale/is.xml
New Icelandic locale file.
Common
The following changes have been made to the common code since the 1.75.1
release.
• Norman Walsh: stripns.xsl
Support more downconvert cases
• Robert Stayton: titles.xsl
Make sure title inside info is used if no other title.
FO
The following changes have been made to the fo code since the 1.75.1 release.
• Robert Stayton: pi.xsl
Turn off dbfo-need for fop1.extensions also, per bug #2816141.
HTML
The following changes have been made to the html code since the 1.75.1 release.
• Mauritz Jeanson: titlepage.xsl
Output "Copyright" heading in XHTML too.
• Mauritz Jeanson: titlepage.xsl
Added stylesheet.result.type test for copyright. Closes bug #2813289.
• Norman Walsh: htmltbl.xsl
Remove ambiguity wrt @span, @rowspan, and @colspan
Manpages
The following changes have been made to the manpages code since the 1.75.1
release.
• Mauritz Jeanson: endnotes.xsl
Added normalize-space() for ulink content. Closes bug #2793877.
• Mauritz Jeanson: docbook.xsl
Added stylesheet.result.type test for copyright. Closes bug #2813289.
Epub
The following changes have been made to the epub code since the 1.75.1 release.
• Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb
Corrected bugs caused by path and file assumptions were not met
• Keith Fahlgren: bin/lib/docbook.rb; docbook.xsl
Cleaning up hardcoded values into parameters and fixing Ruby library to pass them properly; all thanks to patch from Liza Daly
Profiling
The following changes have been made to the profiling code since the 1.75.1
release.
• Robert Stayton: profile.xsl
Fix bug 2815493 missing exsl.node.set.available parameter.
XSL-Saxon
The following changes have been made to the xsl-saxon code since the 1.75.1
release.
• Mauritz Jeanson: src/com/nwalsh/saxon/ColumnUpdateEmitter.java; src/com/
nwalsh/saxon/Colum⋯
Added fixes so that colgroups in the XHTML namespace are processed properly.
XSL-Xalan
The following changes have been made to the xsl-xalan code since the 1.75.1
release.
• Mauritz Jeanson: nbproject/project.xml
Added missing NetBeans configuration.
Release Notes: 1.75.1
This release includes bug fixes.
The following is a list of changes that have been made since the 1.75.0
release.
FO
The following changes have been made to the fo code since the 1.75.0 release.
• Keith Fahlgren: block.xsl
Switching to em dash for character before attribution in epigraph; resolves Bug #2793878
• Robert Stayton: lists.xsl
Fixed bug 2789947, id attribute missing on simplelist fo output.
HTML
The following changes have been made to the html code since the 1.75.0 release.
• Keith Fahlgren: block.xsl
Switching to em dash for character before attribution in epigraph; resolves Bug #2793878
• Robert Stayton: lists.xsl
Fixed bug 2789678: apply-templates line accidentally deleted.
Epub
The following changes have been made to the epub code since the 1.75.0 release.
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl
Added regression and fix to correct "bug" with namespace-prefixed container elements in META-INF/container.xml ; resolves Issue #2790017
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/
onegraphic.xinclude.xml;⋯
Another attempt at flexible named entity and XInclude processing
• Keith Fahlgren: bin/lib/docbook.rb
Tweaking solution to Bug #2750442 following regression reported by Michael Wiedmann.
Params
The following changes have been made to the params code since the 1.75.0
release.
• Mauritz Jeanson: highlight.source.xml
Updated documentation to reflect changes made in r8419.
Release Notes: 1.75.0
This release includes important bug fixes and adds the following significant
feature changes:
Gentext
Modifications to translations have been made.
Common
Added support for some format properties on tables using HTML table markup.
Added two new qanda.defaultlabel values so that numbered sections and
numbered questions can be distinguished. Satisfies Feature Request #
1539045.
Added code to handle acknowledgements in book and part. The element is
processed similarly to dedication. All acknowledgements will appear as
front matter, after any dedications.
FO
The inclusion of highlighting code has been simplified.
Add support for pgwide on informal objects.
Added a new parameter, bookmarks.collapse, that controls the initial state
of the bookmark tree. Closes FR #1792326.
Add support for more dbfo processing instructions.
Add new variablelist.term.properties to format terms, per request #
1968513.
Add support for @width on screen and programlisting, fixes bug #2012736.
Add support for writing-mode="rl-tb" (right-to-left) in FO outputs.
Add writing.mode param for FO output.
HTML
Convert all calls to class.attribute to calls to common.html.attributes to
support dir, lang, and title attributes in html output for all elements.
Fulfills feature request #1993833.
Inclusion of highlighting code was simplified. Only one import is now
necessary.
Add new param index.links.to.section.
Add support for the new index.links.to.section param which permits precise
links to indexterms in HTML output rather than to the section title.
ePub
Slightly more nuanced handling of imageobject alternatives and better
support in dbtoepub for XIncludes and ENTITYs to resolve Issue #2750442
reported by Raphael Hertzog.
Added a colon after an abstract/title when mapping into the dc:description
for OPF metadata in ePub output to help the flat text have more
pseudo-semantics (sugestions from Michael Wiedmann)
Added DocBook subjectset -> OPF dc:subject mapping and tests
Added DocBook date -> OPF dc:date mapping and tests
Added DocBook abstract -> OPF dc:description mapping and tests
Added --output option to dbtoepub based on user request
HTMLHelp
Add support for generating olink target database for htmlhelp files.
Params
Add default setting for @rules attribute on HTML markup tables.
Added a new parameter, bookmarks.collapse, that controls the initial state
of the bookmark tree. When the parameter has a non-zero value (the
default), only the top-level bookmarks are displayed initially. Otherwise,
the whole tree of bookmarks is displayed. This is implemented for FOP 0.9X.
Closes FR #1792326.
Add new variablelist.term.properties to format terms, per request #
1968513.
Add two new qanda.defaultlabel values so that numbered sections and
numbered questions can be distinguished. Satisfies Feature Request #
1539045.
Add param to control whether an index entry links to a section title or to
the precise location of the indexterm.
New attribute list for glossentry in glossary.
New parameter to support @width on programlisting and screen.
Add attribute-sets for formatting glossary terms and defs.
Highlighting
Inclusion of highlighting code was simplified. Only one import is now
necessary.
The following is a list of changes that have been made since the 1.74.3
release.
Gentext
The following changes have been made to the gentext code since the 1.74.3
release.
• Robert Stayton: locale/sv.xml; locale/ja.xml; locale/pl.xml
Check in translations of Legalnotice submitted on mailing list.
• Robert Stayton: locale/es.xml
Fix spelling errors in Acknowledgements entries.
• Robert Stayton: locale/es.xml
Check in translations for 4 elements submitted through docbook-apps
message of 14 April 2009.
• David Cramer: locale/zh.xml; locale/ca.xml; locale/ru.xml; locale/ga.xml;
locale/gl.xml; l⋯
Internationalized punctuation in glosssee and glossseealso
• Robert Stayton: Makefile
Check in fixes for DSSSL gentext targets from submitted patch #1689633.
• Robert Stayton: locale/uk.xml
Check in major update submitted with bug report #2008524.
• Robert Stayton: locale/zh_tw.xml
Check in fix to Note string submitted in bug #2441051.
• Robert Stayton: locale/ru.xml
Checkin typo fix submitted in bug #2453406.
Common
The following changes have been made to the common code since the 1.74.3
release.
• Robert Stayton: gentext.xsl
Fix extra generated space when xrefstyle includes 'nopage'.
• Robert Stayton: table.xsl
Add support for some format properties on tables using
HTML table markup. These include:
- frame attribute on table (or uses $default.table.frame parameter).
- rules attribute on table (or uses $default.table.rules parameter).
- align attribute on td and th
- valign attribute on td and th
- colspan on td and th
- rowspan on td and th
- bgcolor on td and th
• Robert Stayton: olink.xsl
Add placeholder template to massage olink hot text to make
customization easier, per Feature Request 1828608.
• Robert Stayton: targets.xsl
Add support for collecting olink targets from a glossary
generated from a glossary.collection.
• Robert Stayton: titles.xsl
Handle firstterm like glossterm in mode="title.markup".
• Robert Stayton: titles.xsl
Add match on info/title in title.markup templates where missing.
• Mauritz Jeanson: titles.xsl
Changed "ancestor::title" to "(ancestor::title and (@id or @xml:id))".
This enables proper formatting of inline elements in titles in TOCs,
as long as these inlines don't have id or xml:id attributes.
• Robert Stayton: labels.xsl
Add two new qanda.defaultlabel values so that numbered sections
and numbered questions can be distinguished. Satisfies
Feature Request #1539045.
• Robert Stayton: stripns.xsl; pi.xsl
Convert function-available(exsl:node-set) to use the new param
so Xalan bug is isolated.
• Mauritz Jeanson: titles.xsl
Added fixes for bugs #2112656 and #1759205:
1. Reverted mistaken commits r7485 and r7523.
2. Updated the template with match="link" and mode="no.anchor.mode" so that
@endterm is used if it exists and if the link has no content.
• Mauritz Jeanson: titles.xsl
Added code to handle acknowledgements in book and part. The element is processed
similarly to dedication. All acknowledgements will appear as front matter, after
any dedications.
• Robert Stayton: olink.xsl
Fix bug #2018717 use.local.olink.style uses wrong gentext context.
• Robert Stayton: olink.xsl
Fix bug #1787167 incorrect hot text for some olinks.
• Robert Stayton: common.xsl
Fix bug #1669654 Broken output if copyright <year> contains a range.
• Robert Stayton: labels.xsl
Fix bug in labelling figure inside appendix inside article inside book.
FO
The following changes have been made to the fo code since the 1.74.3 release.
• Jirka Kosek: highlight.xsl
Inclusion of highlighting code was simplified. Only one import is now necessary.
• Robert Stayton: fop1.xsl
Add the new fop extensions namespace declaration, in case FOP
extension functions are used.
• Robert Stayton: formal.xsl
Add support for pgwide on informal objects.
• Robert Stayton: docbook.xsl
Fixed spurious closing quote on line 134.
• Robert Stayton: docbook.xsl; autoidx-kosek.xsl; autoidx.xsl
Convert function-available for node-set() to use
new $exsl.node.set.available param in test.
• David Cramer: xref.xsl
Suppress extra space after xref when xrefstyle='select: label nopage' (#2740472)
• Mauritz Jeanson: pi.xsl
Fixed doc bug for row-height.
• David Cramer: glossary.xsl
Internationalized punctuation in glosssee and glossseealso
• Robert Stayton: param.xweb; param.ent; htmltbl.xsl; table.xsl
Add support for some format properties on tables using
HTML table markup. These include:
- frame attribute on table (or uses $default.table.frame parameter).
- rules attribute on table (or uses $default.table.rules parameter).
- align attribute on td and th
- valign attribute on td and th
- colspan on td and th
- rowspan on td and th
- bgcolor on td and th
• Robert Stayton: table.xsl
Add support bgcolor in td and th
elements in HTML table markup.
• Robert Stayton: htmltbl.xsl
Add support for colspan and rowspan and bgcolor in td and th
elements in HTML table markup.
• Robert Stayton: param.xweb
Fix working of page-master left and right margins.
• Mauritz Jeanson: param.xweb; param.ent; fop1.xsl
Added a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. When the parameter has a non-zero value (the default), only the top-level bookmarks are displayed initially. Otherwise, the whole tree of bookmarks is displayed. This is implemented for FOP 0.9X. Closes FR #1792326.
• Robert Stayton: table.xsl; pi.xsl
Add support for dbfo row-height processing instruction, like that in dbhtml.
• Robert Stayton: lists.xsl
Add support for dbfo keep-together processing instruction for
entire list instances.
• Robert Stayton: lists.xsl; block.xsl
Add support fo dbfo keep-together processing instruction to
more blocks like list items and paras.
• Robert Stayton: lists.xsl; param.xweb; param.ent
Add new variablelist.term.properties to format terms, per request # 1968513.
• Robert Stayton: inline.xsl
In simple.xlink, rearrange order of processing.
• Robert Stayton: xref.xsl
Handle firstterm like glossterm in mode="xref-to".
• Robert Stayton: glossary.xsl; xref.xsl; pi.xsl; footnote.xsl
Implement simple.xlink for glosssee and glossseealso so they can use
other types of linking besides otherterm.
• Robert Stayton: qandaset.xsl
Add two new qanda.defaultlabel values so that numbered sections and numbered questions can be distinguished. Satisfies Feature Request #1539045.
• Robert Stayton: titlepage.xsl
For the book title templates, I changed info/title to book/info/title
so other element's titles will not be affected.
• Robert Stayton: xref.xsl; verbatim.xsl
Use param exsl.node.set.available to test for function.
• Robert Stayton: param.xweb; param.ent; footnote.xsl
Start using new param exsl.node.set.available to work around Xalan bug.
• Robert Stayton: titlepage.templates.xml
Add comment on use of t:predicate for editor to prevent
extra processing of multiple editors. Fixes bug 2687842.
• Robert Stayton: xref.xsl; autoidx.xsl
An indexterm primary, secondary, or tertiary element with an id or xml:id
now outputs that ID, so that index entries can be cross referenced to.
• Mauritz Jeanson: synop.xsl
Added modeless template for ooclass|oointerface|ooexception.
Closes bug #1623468.
• Robert Stayton: xref.xsl
Add template with match on indexterm in mode="xref-to" to fix bug 2102592.
• Robert Stayton: xref.xsl
Now xref to qandaentry will use the label element in a question for
the link text if it has one.
• Robert Stayton: inline.xsl
Add id if specified from @id to output for quote and phrase so
they can be xref'ed to.
• Robert Stayton: xref.xsl
Add support for xref to phrase, simpara, anchor, and quote.
This assumes the author specifies something using xrefstyle since
the elements don't have ordinary link text.
• Robert Stayton: toc.xsl
Fix bug in new toc templates.
• Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; xref.xsl;
titlepage.templates⋯
Added code to handle acknowledgements in book and part. The element is processed
similarly to dedication. All acknowledgements will appear as front matter, after
any dedications.
• Robert Stayton: toc.xsl
Rewrite toc templates to support an empty toc or populated toc
in all permitted contexts. Same for lot elements.
This fixes bug #1595969 for FO outputs.
• Robert Stayton: index.xsl
Fix indents for seealsoie so they are consistent.
• Mauritz Jeanson: param.xweb
Removed duplicate (monospace.font.family).
• Robert Stayton: param.xweb; param.ent
Add glossentry.list.item.properties.
• Robert Stayton: param.xweb; param.ent
Add monospace.verbatim.font.width param to support @width on programlisting.
• Robert Stayton: verbatim.xsl
Put programlisting in fo:block-container with writing-mode="lr-tb"
when text direction is right to left because all program languages
are left-to-right.
• Robert Stayton: verbatim.xsl
Add support for @width on screen and programlisting, fixes bug #2012736.
• Robert Stayton: xref.xsl
Fix bug #1973585 xref to para with xrefstyle not handled correctly.
• Mauritz Jeanson: block.xsl
Added support for acknowledgements in article.
Support in book/part remains to be added.
• Robert Stayton: xref.xsl
Fix bug #1787167 incorrect hot text for some olinks.
• Robert Stayton: fo.xsl
Add writing-mode="tb-rl" as well since some XSL-FO processors support it.
• Robert Stayton: autotoc.xsl; lists.xsl; glossary.xsl; fo.xsl; table.xsl;
pagesetup.xsl
Add support for writing-mode="rl-tb" (right-to-left) in FO outputs.
Changed instances of margin-left to margin-{$direction.align.start}
and margin-right to margin-{$direction.align.end}. Those direction.align
params are computed from the writing mode value in each locale's
gentext key named 'writing-mode', introduced in 1.74.3 to add
right-to-left support to HTML outputs.
• Robert Stayton: param.xweb; param.ent
Add attribute-sets for formatting glossary terms and defs.
• Robert Stayton: param.xweb; param.ent
Add writing.mode param for FO output.
• Robert Stayton: autotoc.xsl
Fix bug 1546008: in qandaentry in a TOC, use its blockinfo/titleabbrev or blockinfo/title
instead of question, if available. For DocBook 5, use the info versions.
• Keith Fahlgren: verbatim.xsl
Add better pointer to README for XSLTHL
• Keith Fahlgren: verbatim.xsl
More tweaking the way that XSLTHL does or does not get called
• Keith Fahlgren: verbatim.xsl
Alternate attempt at sanely including/excluding XSLTHT code
HTML
The following changes have been made to the html code since the 1.74.3 release.
• Robert Stayton: lists.xsl
Removed redundant lang and title attributes on list element inside
div element for lists.
• Robert Stayton: inline.xsl; titlepage.xsl; division.xsl; toc.xsl;
sections.xsl; table.xsl;⋯
Convert all calls to class.attribute to calls to common.html.attributes
to support dir, lang, and title attributes in html output for all elements.
Fulfills feature request #1993833.
• Robert Stayton: chunk-common.xsl
Fix bug #2750253 wrong links in list of figures in chunk.html
when target html is in a subdirectory and dbhtml filename used.
• Jirka Kosek: highlight.xsl
Inclusion of highlighting code was simplified. Only one import is now necessary.
• Robert Stayton: chunk-common.xsl; chunktoc.xsl; docbook.xsl;
chunk-changebars.xsl; autoidx⋯
Convert function-available for node-set() to use
new $exsl.node.set.available param in test.
• Mauritz Jeanson: pi.xsl
Fixed doc bug for row-height.
• David Cramer: glossary.xsl
Internationalized punctuation in glosssee and glossseealso
• Robert Stayton: lists.xsl; html.xsl; block.xsl
More elements get common.html.attributes.
Added locale.html.attributes template which does the lang,
dir, and title attributes, but not the class attribute
(used on para, for example).
• Robert Stayton: lists.xsl
Replace more literal class atts with mode="class.attribute" to support
easier customization.
• Robert Stayton: glossary.xsl
Support olinking in glosssee and glossseealso.
• Robert Stayton: inline.xsl
In simple.xlink, rearrange order of processing.
• Robert Stayton: xref.xsl
Handle firstterm like glossterm in mode="xref-to".
• Robert Stayton: lists.xsl; html.xsl; block.xsl
Added template named common.html.attributes to output
class, title, lang, and dir for most elements.
Started adding it to some list and block elements.
• Robert Stayton: qandaset.xsl
Add two new qanda.defaultlabel values so that numbered sections
and numbered questions can be distinguished. Satisfies
Feature Request #1539045.
• Robert Stayton: param.xweb; chunk-code.xsl; param.ent; xref.xsl;
chunkfast.xsl; verbatim.x⋯
Use new param exsl.node.set.available to test, handles Xalan bug.
• Robert Stayton: autoidx.xsl
Use named anchors for primary, secondary, and tertiary ids so
duplicate entries with different ids can still have an id output.
• Robert Stayton: param.xweb; param.ent
Add new param index.links.to.section.
• Robert Stayton: xref.xsl; autoidx.xsl
Pass through an id on primary, secondary, or tertiary to
the index entry, so that one could link to an index entry.
You can't link to the id on an indexterm because that is
used to place the main anchor in the text flow.
• Robert Stayton: autoidx.xsl
Add support for the new index.links.to.section param which permits
precise links to indexterms in HTML output rather than to
the section title.
• Mauritz Jeanson: synop.xsl
Added modeless template for ooclass|oointerface|ooexception.
Closes bug #1623468.
• Robert Stayton: qandaset.xsl
Make sure a qandaset has an anchor, even when it has no title,
because it may be referenced in a TOC or xref.
Before, the anchor was output by the title, but there was no
anchor if there was no title.
• Robert Stayton: xref.xsl
Add a template for indexterm with mode="xref-to" to fix bug 2102592.
• Robert Stayton: xref.xsl
Now xref to qandaentry will use the label element in a question for
the link text if it has one.
• Robert Stayton: qandaset.xsl; html.xsl
Create separate templates for computing label of question and answer
in a qandaentry, so such can be used for the alt text of an xref
to a qandaentry.
• Robert Stayton: inline.xsl; xref.xsl
Now support xref to phrase, simpara, anchor, and quote,
most useful when an xrefstyle is used.
• Robert Stayton: toc.xsl
Rewrite toc templates to support an empty toc or populated toc
in all permitted contexts. Same for lot elements.
This fixes bug #1595969 for HTML outputs.
• Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; xref.xsl;
titlepage.templates⋯
Added code to handle acknowledgements in book and part. The element is processed
similarly to dedication. All acknowledgements will appear as front matter, after
any dedications.
• Robert Stayton: index.xsl
Rewrote primaryie, secondaryie and tertiaryie templates to handle
nesting of elements and seeie and seealsoie, as reported in
bug # 1168912.
• Robert Stayton: autotoc.xsl
Fix simplesect in toc problem.
• Robert Stayton: verbatim.xsl
Add support for @width per bug report #2012736.
• Robert Stayton: formal.xsl; htmltbl.xsl
Fix bug #1787140 HTML tables not handling attributes correctly.
• Robert Stayton: param.xweb
Move writing-mode param.
• Keith Fahlgren: refentry.xsl
Remove a nesting of <p> inside <p> for refclass (made XHTML* invalid, made HTML silly)
• Robert Stayton: table.xsl
Fix bug #1945872 to allow passthrough of colwidth values to
HTML table when no tablecolumns.extension is available and
when no instance of * appears in the table's colspecs.
• Mauritz Jeanson: block.xsl
Added support for acknowledgements in article.
Support in book/part remains to be added.
• Robert Stayton: chunk-common.xsl
Fix bug #1787167 incorrect hot text for some olinks.
• Robert Stayton: qandaset.xsl
Fix bug 1546008: in qandaentry in a TOC, use its blockinfo/titleabbrev or blockinfo/title
instead of question, if available. For DocBook 5, use the info versions.
• Robert Stayton: chunktoc.xsl
Add support for generating olink database when using chunktoc.xsl.
• Keith Fahlgren: verbatim.xsl
Add better pointer to README for XSLTHL
• Keith Fahlgren: verbatim.xsl
Another stab at fixing the stupid XSLTHT includes across processors (Saxon regression reported by Sorin Ristache)
• Keith Fahlgren: verbatim.xsl
More tweaking the way that XSLTHL does or does not get called
• Keith Fahlgren: verbatim.xsl
Alternate attempt at sanely including/excluding XSLTHT code
Manpages
The following changes have been made to the manpages code since the 1.74.3
release.
• Robert Stayton: table.xsl
Convert function-available test for node-set() function to
test of $exsl.node.set.available param.
• Mauritz Jeanson: lists.xsl
Added a template for bibliolist. Closes bug #1815916.
ePub
The following changes have been made to the epub code since the 1.74.3 release.
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/
onegraphic.xinclude.xml;⋯
Slightly more nuanced handling of imageobject alternatives and better support in dbtoepub for XIncludes and ENTITYs to resolve Issue #2750442 reported by Raphael Hertzog.
• Keith Fahlgren: docbook.xsl
Add a colon after an abstract/title when mapping into the dc:description for OPF metadata in ePub output to help the flat text have more pseudo-semantics (sugestions from Michael Wiedmann)
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl; bin/spec/
files/de.xml
Correctly set dc:language in OPF metadata when i18nizing. Closes Bug #2755150
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl
Corrected namespace declarations for literal XHTML elements to make them serialize "normally"
• Keith Fahlgren: docbook.xsl
Be a little bit more nuanced about dates
• Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files
/orm.book.001.x⋯
Add DocBook subjectset -> OPF dc:subject mapping and tests
• Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files
/orm.book.001.x⋯
Add DocBook date -> OPF dc:date mapping and tests
• Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files
/orm.book.001.x⋯
Add DocBook abstract -> OPF dc:description mapping and tests
• Robert Stayton: docbook.xsl
Check in patch submitted by user to add opf:file-as attribute
to dc:creator element.
• Keith Fahlgren: bin/dbtoepub
Adding --output option to dbtoepub based on user request
• Keith Fahlgren: docbook.xsl; bin/spec/epub_spec.rb
Cleaning and regularizing the generation of namespaced nodes for OPF, NCX, XHTML and other outputted filetypes (hat tip to bobstayton for pointing out the silly, incorrect code)
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/
refclass.xml
Remove a nesting of <p> inside <p> for refclass (made XHTML* invalid, made HTML silly)
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/
blockquotepre.xml
Added regression test and fix for XHTML validation problem with <a>s added inside <blockquote>; This potentially causes another problem (where something is referenced by has no anchor, but someone reporting that should cause the whole <a id='thing'/> thing to be reconsidered with modern browsers in mind.
HTMLHelp
The following changes have been made to the htmlhelp code since the 1.74.3
release.
• Robert Stayton: htmlhelp-common.xsl
Add support for generating olink target database for htmlhelp files.
Params
The following changes have been made to the params code since the 1.74.3
release.
• Robert Stayton: default.table.rules.xml
Add default setting for @rules attribute on HTML markup tables.
• Mauritz Jeanson: bookmarks.collapse.xml
Added a new parameter, bookmarks.collapse, that controls the initial state
of the bookmark tree. When the parameter has a non-zero value (the default),
only the top-level bookmarks are displayed initially. Otherwise, the whole
tree of bookmarks is displayed.
This is implemented for FOP 0.9X. Closes FR #1792326.
• Robert Stayton: variablelist.term.properties.xml
Add new variablelist.term.properties to format terms, per
request # 1968513.
• Robert Stayton: qanda.defaultlabel.xml
Add two new qanda.defaultlabel values so that numbered sections
and numbered questions can be distinguished. Satisfies
Feature Request #1539045.
• Robert Stayton: index.links.to.section.xml
Change default to 1 to match past behavior.
• Robert Stayton: exsl.node.set.available.xml
Isolate this text for Xalan bug regarding exsl:node-set available.
If it is ever fixed in Xalan, just fix it here.
• Robert Stayton: index.links.to.section.xml
Add param to control whether an index entry links to
a section title or to the precise location of the
indexterm.
• Robert Stayton: glossentry.list.item.properties.xml
New attribute list for glossentry in glossary.
• Robert Stayton: monospace.verbatim.font.width.xml
New parameter to support @width on programlisting and screen.
• Mauritz Jeanson: highlight.source.xml
Updated and reorganized the description.
• Robert Stayton: page.margin.outer.xml; page.margin.inner.xml
Add caveat about XEP bug when writing-mode is right-to-left.
• Robert Stayton: article.appendix.title.properties.xml; writing.mode.xml;
body.start.indent⋯
Change 'left' to 'start' and 'right' to 'end' to support right-to-left
writing mode.
• Robert Stayton: glossdef.block.properties.xml;
glossdef.list.properties.xml; glossterm.blo⋯
Add attribute-sets for formatting glossary terms and defs.
• Robert Stayton: glossterm.separation.xml
Clarify the description.
• Robert Stayton: make.year.ranges.xml
Now handles year element containing a comma or dash without error.
Highlighting
The following changes have been made to the highlighting code since the 1.74.3
release.
• Jirka Kosek: README
Inclusion of highlighting code was simplified. Only one import is now necessary.
• Keith Fahlgren: README
Adding XSLTHL readme
• Keith Fahlgren: common.xsl
Alternate attempt at sanely including/excluding XSLTHT code
XSL-Saxon
The following changes have been made to the xsl-saxon code since the 1.74.3
release.
• Mauritz Jeanson: src/com/nwalsh/saxon/Text.java
Added a fix that prevents output of extra blank line.
Hopefully this closes bug #894805.
XSL-Xalan
The following changes have been made to the xsl-xalan code since the 1.74.3
release.
• Mauritz Jeanson: src/com/nwalsh/xalan/Text.java
Added a fix that prevents output of extra blank line.
Hopefully this closes bug #894805.
Release Notes: 1.74.3
This release fixes some bugs in the 1.74.2 release.
See highlighting/README for XSLTHL usage instructions.
Release Notes: 1.74.2
This release fixes some bugs in the 1.74.1 release.
Release Notes: 1.74.1
This release includes important bug fixes and adds the following significant
feature changes:
Gentext
Kirghiz locale added and Chinese translations have been simplified.
Somme support for gentext and right-to-left languages has been added.
FO
Various bugs have been resolved.
Support for a new processing instruction: dbfo funcsynopsis-style has been
added.
Added new param email.mailto.enabled for FO output. Patch from Paolo
Borelli.
Support for documented metadata in fop1 mode has been added.
Highlighting
Support for the latest version of XSLTHL 2.0 and some new language syntaxes
have been added to a variety of outputs.
Manpages
Added man.output.better.ps.enabled param (zero default). It non-zero, no
such markup is embedded in generated man pages, and no enhancements are
included in the PostScript output generated from those man pages by the man
-Tps command.
HTML
Support for writing.mode to set text direction and alignment based on
document locale has been added.
Added a new top-level stylesheet module, chunk-changebars.xsl, to be used
for generating chunked output with highlighting based on change
(@revisionflag) markup. The module imports/includes the standard chunking
and changebars templates and contains additional logic for chunked output.
See FRs #1015180 and #1819915.
ePub
Covers now look better in Adobe Digital Editions thanks to a patch from
Paul Norton of Adobe
Cover handling now more generic (including limited DocBook 5.0 cover
support thanks to patch contributed by Liza Daly.
Cover markup now carries more reliably into files destined for .mobi and
the Kindle.
dc:identifiers are now generated from more types of numbering schemes.
Both SEO and semantic structure of chunked ePub output by ensuring that we
always send out one and only one h1 in each XHTML chunk.
Primitive support for embedding a single font added.
Support for embedding a CSS customizations added.
Roundtrip
Support for imagedata-metadata and table as images added.
Support for imagedata-metadata and legalnotice as images added.
Params
man.output.better.ps.enabled added for Manpages output
writing.mode.xml added to set text direction.
Added new param email.mailto.enabled for FO output. Patch from Paolo
Borelli. Closes #2086321.
highlight.source upgraded to support the latest version of XSLTHL 2.0.
The following is a list of changes that have been made since the 1.74.0
release.
Gentext
The following changes have been made to the gentext code since the 1.74.0
release.
• Michael(tm) Smith: locale/ky.xml; Makefile
new Kirghiz locale from Ilyas Bakirov
• Mauritz Jeanson: locale/en.xml
Added "Acknowledgements".
• Dongsheng Song: locale/zh_cn.xml
Simplified Chinese translation.
• Robert Stayton: locale/lv.xml; locale/ca.xml; locale/pt.xml; locale/tr.xml;
locale/af.xml;⋯
Add writing-mode gentext string to support right-to-left languages.
FO
The following changes have been made to the fo code since the 1.74.0 release.
• David Cramer: footnote.xsl
Added a check to confirm that a footnoteref's linkend points to a footnote. Stylesheets stop processing if not and provide a useful error message.
• Mauritz Jeanson: spaces.xsl
Convert spaces to fo:leader also in elements in the DB 5 namespace.
• Mauritz Jeanson: pi.xsl; synop.xsl
Added support for a new processing instruction: dbfo funcsynopsis-style.
Closes bug #1838213.
• Michael(tm) Smith: inline.xsl; param.xweb; param.ent
Added new param email.mailto.enabled for FO output.
Patch from Paolo Borelli. Closes #2086321.
• Mauritz Jeanson: docbook.xsl
Added support for document metadata for fop1 (patch #2067318).
• Jirka Kosek: param.ent; param.xweb; highlight.xsl
Upgraded to support the latest version of XSLTHL 2.0
-- nested markup in highlited code is now processed
-- it is no longer needed to specify path XSLTHL configuration file using Java property
-- support for new languages, including Perl, Python and Ruby was added
HTML
The following changes have been made to the html code since the 1.74.0 release.
• Robert Stayton: param.xweb; docbook.xsl; param.ent; html.xsl
Add support for writing.mode to set text direction and alignment based on document locale.
• Mauritz Jeanson: chunk-changebars.xsl
Added a new top-level stylesheet module, chunk-changebars.xsl, to be
used for generating chunked output with highlighting based on change
(@revisionflag) markup. The module imports/includes the standard chunking
and changebars templates and contains additional logic for chunked output.
See FRs #1015180 and #1819915.
Manpages
The following changes have been made to the manpages code since the 1.74.0
release.
• Michael(tm) Smith: docbook.xsl
Put the following at the top of generated roff for each page:
\" t
purpose is to explicitly tell AT&T troff that the page needs to be
pre-processed through tbl(1); groff can figure it out
automatically, but apparently AT&T troff needs to be explicitly told
ePub
The following changes have been made to the epub code since the 1.74.0 release.
• Keith Fahlgren: docbook.xsl
Patch from Paul Norton of Adobe to get covers to look better in Adobe Digital Editions
• Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/
v5cover.xml; bin/spec/sp⋯
Patch contributed by Liza Daly to make ePub cover handling more generic. Additionally
DocBook 5.0's <cover> now has some limited support:
- should reference a cover in the OPF guide for a DocBook 5.0 test document
• Keith Fahlgren: bin/spec/files/isbn.xml; bin/spec/files/issn.xml; bin/spec/
files/biblioid.⋯
Liza Daly reported that the dc:identifer-generation code was garbage (she was right).
Added new tests:
- should include at least one dc:identifier
- should include an ISBN as URN for dc:identifier if an ISBN was in the metadata
- should include an ISSN as URN for dc:identifier if an ISSN was in the metadata
- should include an biblioid as a dc:identifier if an biblioid was in the metadata
- should include a URN for a biblioid with @class attribute as a dc:identifier if an biblioid was in the metadata
• Keith Fahlgren: docbook.xsl; bin/spec/epub_spec.rb
Improve both SEO and semantic structure of chunked ePub output by ensuring that
we always send out one and only one h1 in each XHTML chunk.
DocBook::Epub
- should include one and only one <h1> in each HTML file in rendered ePub files
for <book>s
- should include one and only one <h1> in each HTML file in rendered ePub files
for <book>s even if they do not have section markup
• Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files
/orm.book.001.x⋯
Adding better support for covers in epub files destined for .mobi and the Kindle
• Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb; bin/spec/files/
DejaVuSerif.otf; docbook.⋯
Adding primitive support for embedding a single font
• Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb; bin/spec/files/
test_cust.xsl; bin/spec/e⋯
Adding support for user-specified customization layers in dbtoepub
• Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/
docbook.rb; bin/s⋯
Adding CSS support to .epub target & dbtoepub:
-c, --css [FILE] Use FILE for CSS on generated XHTML.
DocBook::Epub
...
- should include a CSS link in HTML files when a CSS file has been provided
- should include CSS file in .epub when a CSS file has been provided
- should include a CSS link in OPF file when a CSS file has been provided
Roundtrip
The following changes have been made to the roundtrip code since the 1.74.0
release.
• Steve Ball: blocks2dbk.xsl; template.xml; template.dot
added support for imagedata-metadata
added support for table as images
• Steve Ball: blocks2dbk.xsl; normalise2sections.xsl; sections2blocks.xsl
Improved support for personname inlines.
• Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xml
Added support for legalnotice.
• Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl
added support for orgname in author
• Steve Ball: specifications.xml; supported.xml; blocks2dbk.xsl;
wordml2normalise.xsl; dbk2w⋯
Updated specification.
to-DocBook: add cols attribute to tgroup
from-DocBook: fix for blockquote title
Params
The following changes have been made to the params since the 1.74.0 release.
• The change was to add man.output.better.ps.enabled parameter, with its
default value set to zero. If the value of the man.output.better.ps.enabled
parameter is non-zero, certain markup is embedded in each generated man
page such that PostScript output from the man -Tps command for that page
will include a number of enhancements designed to improve the quality of
that output. If man.output.better.ps.enabled is zero (the default), no such
markup is embedded in generated man pages, and no enhancements are included
in the PostScript output generated from those man pages by the man -Tps
command. WARNING: The enhancements provided by this parameter rely on
features that are specific to groff (GNU troff) and that are not part of
"classic" AT&T troff or any of its derivatives. Therefore, any man pages
you generate with this parameter enabled will be readable only on systems
on which the groff (GNU troff) program is installed, such as GNU/Linux
systems. The pages will not not be readable on systems on with the classic
troff (AT&T troff) command is installed. NOTE: The value of this parameter
only affects PostScript output generated from the man command. It has no
effect on output generated using the FO backend. TIP: You can generate
PostScript output for any man page by running the following command: man
FOO -Tps > FOO.ps You can then generate PDF output by running the following
command: ps2pdf FOO.ps
• Robert Stayton: writing.mode.xml
writing mode param used to set text direction.
• Michael(tm) Smith: email.mailto.enabled.xml
Added new param email.mailto.enabled for FO output.
Patch from Paolo Borelli. Closes #2086321.
• Jirka Kosek: highlight.source.xml; highlight.xslthl.config.xml
Upgraded to support the latest version of XSLTHL 2.0
-- nested markup in highlited code is now processed
-- it is no longer needed to specify path XSLTHL configuration file using Java property
-- support for new languages, including Perl, Python and Ruby was added
Highlighting
The following changes have been made to the highlighting code since the 1.74.0
release.
• Jirka Kosek: cpp-hl.xml; c-hl.xml; tcl-hl.xml; php-hl.xml; common.xsl;
perl-hl.xml; delphi⋯
Upgraded to support the latest version of XSLTHL 2.0
-- nested markup in highlited code is now processed
-- it is no longer needed to specify path XSLTHL configuration file using Java property
-- support for new languages, including Perl, Python and Ruby was added
Release Notes: 1.74.0
This release includes important bug fixes and adds the following significant
feature changes:
.epub target
Paul Norton (Adobe) and Keith Fahlgren(O'Reilly Media) have donated code
that generates .epub documents from DocBook input. An alpha-reference
implementation in Ruby has also been provided.
.epub is an open standard of the The International Digital Publishing Forum
(IDPF), a the trade and standards association for the digital publishing
industry.
Read more about this target in epub/README
XHTML 1.1 target
To support .epub output, a strict XHTML 1.1 target has been added. The
stylesheets for this output are generated and are quite similar to the
XHTML target.
Gentext updates
A number of locales have been updated.
Roundtrip improvements
Table, figure, template syncronization, and character style improvements
have been made for WordML & Pages. Support added for OpenOffice.org.
First implementation of a libxslt extension
A stylesheet extension for libxslt, written in Python, has been added. The
extension is a function for adjusting column widths in CALS tables. See
extensions/README.LIBXSLT for more information.
The following is a list of changes that have been made since the 1.73.2
release.
Gentext
The following changes have been made to the gentext code since the 1.73.2
release.
• Michael(tm) Smith: locale/id.xml
Checked in changes to Indonesion locale submitted by Euis Luhuanam a long time ago.
• Michael(tm) Smith: locale/lt.xml
Added changes to Lithuanian locate submitted a long time back by Nikolajus Krauklis.
• Michael(tm) Smith: locale/hu.xml
fixed error in lowercase.alpha definition in Hungarian locale
• Michael(tm) Smith: locale/nb.xml
Corrected language code for nb locale, and restored missing "startquote" key.
• Michael(tm) Smith: locale/ja.xml
Committed changes to ja locale file, from Akagi Kobayashi. Adds bracket quotes around many xref instances that did not have them
before.
• Michael(tm) Smith: Makefile
"no" locale is now "nb"
• Michael(tm) Smith: locale/nb.xml
Update Norwegian Bokmål translation. Thanks to Hans F. Nordhaug.
• Michael(tm) Smith: locale/no.xml; locale/nb.xml
per message from Hans F. Nordhaug, correct identifier for
Norwegian Bokmål is "nb" (not "no") and has been for quite some
time now...
• Michael(tm) Smith: locale/ja.xml
Converted ja.xml source file to use real unicode characters so
that the actual glyphs so up when you edit it in a text editor
(instead of the character references).
• Michael(tm) Smith: locale/ja.xml
Checked in changes to ja.xml locale file. Thanks to Akagi Kobayashi.
• Michael(tm) Smith: locale/it.xml
Changes from Federico Zenith
• Dongsheng Song: locale/zh_cn.xml
Added missing translations.
Common
The following changes have been made to the common code since the 1.73.2
release.
• Michael(tm) Smith: l10n.xsl
Added new template "l10.language.name" for retrieving the
English-language name of the lang setting of the current document.
Closes #1916837. Thanks to Simon Kennedy.
• Michael(tm) Smith: refentry.xsl
fixed syntax error
• Michael(tm) Smith: refentry.xsl
fixed a couple of typos
• Michael(tm) Smith: refentry.xsl
refined handling of cases where refentry "source" or "manual"
metadata is missing or when we use fallback content instead. We
now report a Warning if we use fallback content.
• Michael(tm) Smith: refentry.xsl
don't use refmiscinfo@class=date value as fallback for refentry
"source" or "manual" metadata fields
• Michael(tm) Smith: refentry.xsl
Made reporting of missing refentry metadata more quiet:
- we no longer report anything if usable-but-not-preferred
metadata is found; we just quietly use whatever we manage to
find
- we now only report missing "source" metadata if the refentry
is missing BOTH "source name" and "version" metadata; if it
has one but not the other, we use whichever one it has and
don't report anything as missing
The above changes were made because testing with some "real world"
source reveals that some authors are intentionally choosing to use
"non preferred" markup for some metadata, and also choosing to
omit "source name" or "version" metadata in there DocBook XML. So
it does no good to give them pedantic reminders about what they
already know...
Also, changed code to cause "fixme" text to be inserted in output
in particular cases:
- if we can't manage to find any "source" metadata at all, we
now put fixme text into the output
- if we can't manage to find any "manual" metadata a all, we
now put fixme text into the output
The "source" and "manual" metadata is necessary information, so
buy putting the fixme stuff in the output, we alert users to the
need problem of it being missing.
• Michael(tm) Smith: refentry.xsl
When generating manpages output, we no longer report anything if
the refentry source is missing date or pubdate content. In
practice, many users intentionally omit the date from the source
because they explicitly want it to be generated.
• Michael(tm) Smith: l10n.xml
further change needed for switch from no locale to nb.
• Michael(tm) Smith: common.xsl
Added support for orgname in authorgroup. Thanks to Camille
Bégnis.
• Michael(tm) Smith: Makefile
"no" locale is now "nb"
• Mauritz Jeanson: stripns.xsl
Removed the template matching "ng:link|db:link" (in order to make @xlink:show
work with <link> elements). As far as I can tell, this template is no longer needed.
• Mauritz Jeanson: entities.ent
Moved declaration of comment.block.parents entity to common/entities.ent.
• Mauritz Jeanson: titles.xsl
Added an update the fix made in revision 7528 (handling of xref/link in no.anchor.mode mode).
Having xref in title is not a problem as long as the target is not an ancestor element.
Closes bug #1838136.
Note that an xref that is in a title and whose target is an ancestor element is still not
rendered in the TOC. This could be considered a bug, but on the other hand I cannot really
see the point in having such an xref in a document.
• Mauritz Jeanson: titles.xsl
Added a "not(ancestor::title)" test to work around "too many nested
apply-templates" problems when processing xrefs or links in no.anchor.mode mode.
Hopefully, this closes bug #1811721.
• Mauritz Jeanson: titles.xsl
Removed old template matching "link" in no.anchor.mode mode.
• Mauritz Jeanson: titles.xsl
Process <link> in no.anchor.mode mode with the same template as <xref>.
Closes bug #1759205 (Empty link in no.anchor.mode mode).
• Mauritz Jeanson: titles.xsl
In no.anchor.mode mode, do not output anchors for elements that are descendants
of <title>. Previously, having inline elements with @id/@xml:id in <title>s
resulted in anchors both in the TOC and in the main flow. Closes bug #1797492.
FO
The following changes have been made to the fo code since the 1.73.2 release.
• Mauritz Jeanson: pi.xsl
Updated documentation for keep-together.
• Mauritz Jeanson: task.xsl
Enabled use of the keep-together PI on task elements.
• Robert Stayton: index.xsl
FOP1 requires fo:wrapper for inline index entries, not fo:inline.
• Robert Stayton: index.xsl
Fixed non-working inline.or.block template for indexterm wrappers.
Add fop1 to list of processors using inline.or.block.
• Mauritz Jeanson: table.xsl
Fixed bug #1891965 (colsep in entytbl not working).
• Mauritz Jeanson: titlepage.xsl
Added support for title in revhistory. Closes bug #1842847.
• Mauritz Jeanson: pi.xsl
Small doc cleanup (dbfo float-type).
• Mauritz Jeanson: titlepage.xsl
Insert commas between multiple copyright holders.
• Mauritz Jeanson: autotoc.xsl; division.xsl
Added modifications to support nested set elements. See bug #1853172.
• David Cramer: glossary.xsl
Added normalize-space to xsl:sorts to avoid missorting of glossterms due to stray leading spaces.
• David Cramer: glossary.xsl
Fixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry
• Mauritz Jeanson: inline.xsl
Added a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid,
and the "hot text" is the biblioid itself enclosed in brackets.
• Mauritz Jeanson: inline.xsl
Moved declaration of comment.block.parents entity to common/entities.ent.
• Mauritz Jeanson: docbook.xsl
Updated message about unmatched element.
• Mauritz Jeanson: param.xweb
Added link to profiling chapter of TCG.
• Mauritz Jeanson: refentry.xsl
Fixed typo (refsynopsysdiv -> refsynopsisdiv).
• David Cramer: fop.xsl; fop1.xsl; ptc.xsl; xep.xsl
Added test to check generate.index param when generating pdf bookmarks
• Mauritz Jeanson: graphics.xsl
Added support for MathML in imagedata.
• Michael(tm) Smith: math.xsl
Removed unnecessary extra test condition in test express that
checks for passivetex.
• Michael(tm) Smith: math.xsl
Don't use fo:instream-foreign-object if we are processing with
passivetex. Closes #1806899. Thanks to Justus Piater.
• Mauritz Jeanson: component.xsl
Added code to output a TOC for an appendix in an article when
generate.toc='article/appendix toc'. Closes bug #1669658.
• Dongsheng Song: biblio-iso690.xsl
Change encoding from "windows-1250" to "UTF-8".
• Mauritz Jeanson: pi.xsl
Updated documentation for dbfo_label-width.
• Mauritz Jeanson: lists.xsl
Added support for the dbfo_label-width PI in calloutlists.
• Robert Stayton: biblio.xsl
Support finding glossary database entries inside bibliodivs.
• Robert Stayton: formal.xsl
Complete support for <?dbfo pgwide="1"?> for informal
elements too.
• Mauritz Jeanson: table.xsl
In the table.block template, added a check for the dbfo_keep-together PI, so that
a table may break (depending on the PI value) at a page break. This was needed
since the outer fo:block that surrounds fo:table has keep-together.within-column="always"
by default, which prevents the table from breaking. Closes bug #1740964 (Titled
table does not respect dbfo PI).
• Mauritz Jeanson: pi.xsl
Added a few missing @role="tcg".
• Mauritz Jeanson: inline.xsl
Use normalize-space() in glossterm comparisons (as in html/inline.xsl).
• Mauritz Jeanson: autoidx.xsl
Removed the [&scope;] predicate from the target variable in the template with name="reference".
This filter was the cause of missing index backlinks when @zone and @type were used on indexterms,
with index.on.type=1. Closes bug #1680836.
• Michael(tm) Smith: inline.xsl; xref.xsl; footnote.xsl
Added capability in FO output for displaying URLs for all
hyperlinks (elements marked up with xlink:href attributes) in the
same way as URLs for ulinks are already handled (which is to say,
either inline or as numbered footnotes).
Background on this change:
DocBook 5 allows "ubiquitous" linking, which means you can make
any element a hyperlink just by adding an xlink:href attribute to
it, with the value set to an external URL. That's in contrast to
DocBook 4, which only allows you to use specific elements (e.g.,
the link and ulink elements) to mark up hyperlinks.
The existing FO stylesheets have a mechanism for handling display
of URLs for hyperlinks that are marked up with ulink, but they did
not handle display of URLs for elements that were marked up with
xlink:href attributes. This change adds handling for those other
elements, enabling the URLs they link to be displayed either
inline or as numbered footnotes (depending on what values the user
has the ulink.show and ulink.footnotes params set to).
Note that this change only adds URL display support for elements
that call the simple.xlink template -- which currently is most
(but not all) inline elements.
This change also moves the URL display handling out of the ulink
template and into a new "hyperlink.url.display" named template;
the ulink template and the simple.xlink named template now both
call the hyperlink.url.display template.
Warning: In the stylesheet code that determines what footnote
number to assign to each footnote or external hyperlink, there is
an XPath expression for determining whether a particular
xlink:href instance is an external hyperlink; that expression is
necessarily a bit complicated and further testing may reveal that
it doesn't handle all cases as expected -- so some refinements to
it may need to be done later.
Closes #1785519. Thanks to Ken Morse for reporting and
troubleshooting the problem.
HTML
The following changes have been made to the html code since the 1.73.2 release.
• Keith Fahlgren: inline.xsl; synop.xsl
Work to make HTML and XHTML targets more valid
• Keith Fahlgren: table.xsl
Add better handling for tables that have footnotes in the titles
• Keith Fahlgren: biblio.xsl
Add anchors to bibliodivs
• Keith Fahlgren: formal.xsl; Makefile; htmltbl.xsl
Initial checkin/merge of epub target from work provided by Paul Norton of Adobe
and Keith Fahlgren of O'Reilly.
This change includes new code for generating the XHTML 1.1 target sanely.
• Mauritz Jeanson: biblio.xsl
Added code for creating URLs from biblioids with @class="doi" (representing Digital
Object Identifiers). See FR #1934434 and http://doi.org.
To do: 1) Add support for FO output. 2) Figure out how @class="doi" should be handled
for bibliorelation, bibliosource and citebiblioid.
• Norman Walsh: formal.xsl
Don't use xsl:copy because it forces the resulting element to be in the same namespace as the source element; in the XHTML stylesheets, that's wrong. But the HTML-to-XHTML converter does the right thing with literal result elements, so use one of them.
• Michael(tm) Smith: Makefile
Added checks and hacks to various makefiles to enable building
under Cygwin. This stuff is ugly and maybe not worth the mess and
trouble, but does seem to work as expected and not break anything
else.
• Michael(tm) Smith: docbook.xsl
added "exslt" namespace binding to html/docbook.xsl file (in
addition to existing "exsl" binding. reason is because lack of it
seems to cause processing problems when using the profiled
version of the stylsheet
• Norman Walsh: chunk-common.xsl
Rename link
• Mauritz Jeanson: table.xsl
Added a fix to make rowsep apply to the last row of thead in entrytbl.
• Michael(tm) Smith: synop.xsl
Simplified and streamlined handling of output for ANSI-style
funcprototype output, to correct a problem that was causing type
data to be lost in the output parameter definitions. For example,
for an instance like this:
<paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
... the brackets (indicating an array type) were being dropped.
• Michael(tm) Smith: synop.xsl
Changed HTML handling of K&R-style paramdef output. The parameter
definitions are no longer output in a table (though the prototype
still is). The reason for the change is that the
kr-tabular-funcsynopsis-mode template was causing type data to be
lost in the output parameter definitions. For example, for an
instance like this:
<paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
... the brackets (indicating an array type) were being dropped.
The easiest way to deal with the problem is to not try to chop up
the parameter definitions and display them in table format, but to
instead just output them as-is. May not look quite as pretty, but
at least we can be sure no information is being lost...
• Michael(tm) Smith: pi.xsl
updated wording of doc for funcsynopsis-style PI
• Michael(tm) Smith: param.xweb; param.ent; synop.xsl
Removed the funcsynopsis.tabular.threshold param. It's no longer
being used in the code and hasn't been since mid 2006.
• Mauritz Jeanson: graphics.xsl
Added support for the img.src.path parameter for SVG graphics. Closes bug #1888169.
• Mauritz Jeanson: chunk-common.xsl
Added missing space.
• Norman Walsh: component.xsl
Fix bug where component titles inside info elements were not handled properly
• Michael(tm) Smith: pi.xsl
Moved dbhtml_stop-chunking embedded doc into alphabetical order,
fixed text of TCG section it see-also'ed.
• David Cramer: pi.xsl
Added support for <?dbhtml stop-chunking?> processing instruction
• David Cramer: chunk-common.xsl; pi.xsl
Added support for <?dbhtml stop-chunking?> processing instruction
• David Cramer: glossary.xsl
Fixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry. Also added normalize-space to avoid missorting due to stray leading spaces.
• Mauritz Jeanson: inline.xsl
Added a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid,
and the "hot text" is the biblioid itself enclosed in brackets.
• Mauritz Jeanson: inline.xsl
Added support for @xlink:show in the simple.xlink template. The "new" and "replace"
values are supported (corresponding to values of "_blank" and "_top" for the
ulink.target parameter). I have assumed that @xlink:show should override ulink.target
for external URI links. This closes bugs #1762023 and #1727498.
• Mauritz Jeanson: inline.xsl
Moved declaration of comment.block.parents entity to common/entities.ent.
• Mauritz Jeanson: param.xweb
Added link to profiling chapter of TCG.
• Dongsheng Song: biblio-iso690.xsl
Change encoding from "windows-1250" to "UTF-8".
• Robert Stayton: biblio.xsl
Add support in biblio collection to entries in bibliodivs.
• Mauritz Jeanson: pi.xsl
Added missing @role="tcg".
• Mauritz Jeanson: chunk-common.xsl; titlepage.xsl
Refactored legalnotice/revhistory chunking, so that the use.id.as.filename
parameter as well as the dbhtml_filename PI are taken into account. A new named
template in titlepage.xsl is used to compute the filename.
• Mauritz Jeanson: chunk-common.xsl; titlepage.xsl
An update to the fix for bug #1790495 (r7433):
The "ln-" prefix is output only when the legalnotice doesn't have an
@id/@xml:id, in which case the stylesheets generate an ID value,
resulting in a filename like "ln-7e0fwgj.html". This is useful because
without the prefix, you wouldn't know that the file contained a legalnotice.
The same logic is also applied to revhistory, using an "rh-" prefix.
• Mauritz Jeanson: autoidx.xsl
Removed the [&scope;] predicate from the target variable in the template with name="reference".
This filter was the cause of missing index backlinks when @zone and @type were used on indexterms,
with index.on.type=1. Closes bug #1680836.
• Mauritz Jeanson: titlepage.xsl
Added 'ln-' prefix to the name of the legalnotice chunk, in order to match the
<link href"..."> that is output by make.legalnotice.head.links (chunk-common.xsl).
Modified the href attribute on the legalnotice link.
Closes bug #1790495.
Manpages
The following changes have been made to the manpages code since the 1.73.2
release.
• Michael(tm) Smith: other.xsl
slightly adjusted spacing around admonition markers
• Michael(tm) Smith: refentry.xsl; utility.xsl
make sure refsect3 titles are preceded by a line of space, and
make the indenting of their child content less severe
• Michael(tm) Smith: block.xsl
only indent verbatim environments in TTY output, not in non-TTY/PS
• Michael(tm) Smith: block.xsl
made another adjustment to correct vertical alignment of admonition marker
• Michael(tm) Smith: block.xsl; other.xsl
Adjusted/corrected alignment of adominition marker in PS/non-TTY output.
• Michael(tm) Smith: endnotes.xsl
For PS/non-TTY output, display footnote/endnote numbers in
superscript.
• Michael(tm) Smith: table.xsl; synop.xsl; utility.xsl
Changed handling of hanging indents for cmdsynopsis, funcsynopsis,
and synopfragment such that they now look correct in non-TTY/PS
output. We now use the groff \w escape to hang by the actual width
-- in the current font -- of the command, funcdef, or
synopfragment references number (as opposed to hanging by the
number of characters). This rendering in TTY output remains the
same, since the width in monospaced TTY output is the same as the
number of characters.
Also, created new synopsis-block-start and synopsis-block-end
templates to use for cmdsynopsis and funcsynopsis instead of the
corresponding verbatim-* templates.
Along with those changes, also corrected a problem that caused the
content of synopfragment to be dropped, and made a
vertical-spacing change to adjust spacing around table titles and
among sibling synopfragment instances.
• Michael(tm) Smith: other.xsl
use common l10.language.name template to retrieve English-language name
• Michael(tm) Smith: synop.xsl; inline.xsl
added comment in code explaining why we don't put filename output
in italic (despite the fact that man guidelines say we should)
• Michael(tm) Smith: inline.xsl
put filename output in monospace instead of italic
• Michael(tm) Smith: synop.xsl
put cmdsynopsis in monospace
• Michael(tm) Smith: inline.xsl
removed template match for literal. template matches for monospace
inlines are all imported from the HTML stylesheet
• Michael(tm) Smith: block.xsl
don't indent verbatim environments that are descendants of
refsynopsisdiv, not put backgrounds behind them
• Michael(tm) Smith: inline.xsl
set output of the literal element in monospace. this causes all
inline monospace instances in the git man pages to be set in
monospace (since DocBook XML source for git docs is generated with
asciidoc and asciidoc consistently outputs only <literal> for
inline monospace (not <command> or <code> or anything else).
Of course this only affects non-TTY output...
• Michael(tm) Smith: utility.xsl
Added inline.monoseq named template.
• Michael(tm) Smith: utility.xsl
don't bother using a custom register to store the previous
font-family value when setting blocks of text in code font; just
use \F[] .fam with no arg to switch back
• Michael(tm) Smith: endnotes.xsl
put links in blue in PS output (note that this matches how groff
renders content marked up with the .URL macro)
• Michael(tm) Smith: endnotes.xsl; param.xweb; param.ent
removed man.links.are.underlined and added man.font.links. Also,
changed the default font formatting for links to bold.
• Michael(tm) Smith: endnotes.xsl; param.xweb; param.ent
Added new param man.base.url.for.relative.links .. specifies a
base URL for relative links (for ulink, @xlink:href, imagedata,
audiodata, videodata) shown in the generated NOTES section of
man-page output. The value of man.base.url.for.relative.links is
prepended to any relative URI that is a value of ulink url,
xlink:href, or fileref attribute.
If you use relative URIs in link sources in your DocBook refentry
source, and you leave man.base.url.for.relative.links unset, the
relative links will appear "as is" in the NOTES section of any
man-page output generated from your source. That's probably not
what you want, because such relative links are only usable in the
context of HTML output. So, to make the links meaningful and
usable in the context of man-page output, set a value for
man.base.url.for.relative.links that points
to the online version of HTML output generated from your DocBook
refentry source. For example:
<xsl:param name="man.base.url.for.relative.links"
>http://www.kernel.org/pub/software/scm/git/docs/</xsl:param>
• Michael(tm) Smith: info.xsl
If a source refentry contains a Documentation or DOCUMENTATION
section, don't report it as having missing AUTHOR information.
Also, if missing a contrib/personblurb for a person or org, report
pointers to http://docbook.sf.net/el/personblurb and to
http://docbook.sf.net/el/contrib
• Michael(tm) Smith: info.xsl
If we encounter an author|editor|othercredit instance that lacks a
personblurb or contrib, report it to the user (because that means
we have no information about that author|editor|othercredit to
display in the generated AUTHOR|AUTHORS section...)
• Michael(tm) Smith: info.xsl; docbook.xsl; other.xsl
if we can't find any usable author data, emit a warning and insert
a fixme in the output
• Michael(tm) Smith: info.xsl
fixed bug in indenting of output for contrib instances in AUTHORS
section. Thanks to Daniel Leidert and the fglrx docs for exposing
the bug.
• Michael(tm) Smith: block.xsl
for a para or simpara that is the first child of a callout,
suppress the .sp or .PP that would normally be output (because in
those cases, the output goes into a table cell, and the .sp or .PP
markup causes a spurious linebreak before it when displayed
• Michael(tm) Smith: lists.xsl
Added support for rendering co callouts and calloutlist instances.
So you can now use simple callouts -- marking up programlisting
and such with co instances -- and have the callouts displayed in
man-page output. ("simple callouts" means using co@id and
callout@arearefs pointing to co@id instances; in man/roff output,
we can't/don't support markup that uses areaset and area)
• Michael(tm) Smith: block.xsl
only put a line of space after a verbatim if it's followed by a
text node or a paragraph
• Michael(tm) Smith: utility.xsl
put verbatim environments in slightly smaller font in non-TTY
output
• Michael(tm) Smith: lists.xsl
minor whitespace-only reformatting of lists.xsl source
• Michael(tm) Smith: lists.xsl
Made refinements/fixes to output of orderedlist and itemizedlist
-- in part, to get mysql man pages to display correctly. This
change causes a "\c" continuation marker to be added between
listitem markers and contents (to ensure that the content remains
on the same line as the marker when displayed)
• Michael(tm) Smith: block.xsl
put a line of vertical space after all verbatim output that has
sibling content following it (not just if that sibling content is
a text node)
• Michael(tm) Smith: block.xsl
refined spacing around titles for admonitions
• Michael(tm) Smith: block.xsl; other.xsl
Deal with case of verbatim environments that have a linebreak
after the opening tag. Assumption is that users generally don't
want that linebreak to appear in output, so we do some groff
hackery to mess with vertical spacing and close the space.
• Michael(tm) Smith: inline.xsl
indexterm instances now produce groff comments like this:
.\" primary: secondary: tertiary
remark instances, if non-empty, now produce groff comments
• Michael(tm) Smith: charmap.groff.xsl; other.xsl
convert no-break space character to groff "\ \&" (instead of just
"\ "). the reason is that if a space occurs at the end of a line,
our processing causes it to be eaten. a real-world case of this is
the mysql(1) man page. appending the "\&" prevents that
• Michael(tm) Smith: block.xsl
output "sp" before simpara output, not after it (outputting it
after results in undesirable whitespace in particular cases; for
example, in the hg/mercurial docs
• Michael(tm) Smith: table.xsl; synop.xsl; utility.xsl
renamed from title-preamble to pinch.together and replaced "sp -1"
between synopsis fragments with call to pinch.together instead
• Michael(tm) Smith: table.xsl
use title-preamble template for table titles (instead of "sp -1"
hack), and "sp 1" after all tables (instead of just "sp"
• Michael(tm) Smith: utility.xsl
created title-preamble template for suppressing line spacing after
headings
• Michael(tm) Smith: info.xsl
further refinement of indenting in AUTHORS section
• Michael(tm) Smith: block.xsl; other.xsl
refined handling of admonitions
• Michael(tm) Smith: lists.xsl
Use RS/RE in another place where we had IP ""
• Michael(tm) Smith: info.xsl
Replace (ab)use of IP with "sp -1" in AUTHORS section with RS/RE
instead.
• Michael(tm) Smith: table.xsl; synop.xsl; info.xsl
changed all instances of ".sp -1n" to ".sp -1"
• Michael(tm) Smith: other.xsl
add extra line before SH heads only in non-TTY output
• Michael(tm) Smith: block.xsl
Reworked output for admonitions (caution, important, note, tip,
warning). In TTY output, admonitions now get indented. In non-TTY
output, a colored marker (yellow) is displayed next to them.
• Michael(tm) Smith: other.xsl
Added BM/EM macros for putting a colored marker in margin next to
a block of text.
• Michael(tm) Smith: utility.xsl
created make.bold.title template by moving title-bolding part out
from nested-section-title template. This allows the bolding to
also be used by the template for formatting admonitions
• Michael(tm) Smith: info.xsl
put .br before copyright contents to prevent them from getting run in
• Michael(tm) Smith: refentry.xsl; other.xsl; utility.xsl
made point size of output for Refsect2 and Refsect3 heads bigger
• Michael(tm) Smith: other.xsl
put slightly more space between SH head and underline in non-TTY
output
• Michael(tm) Smith: param.xweb; param.ent; other.xsl
Added the man.charmap.subset.profile.english parameter and refined
the handling of charmap subsets to differentiate between English
and non-English source.
This way charmap subsets are now handled is this:
If the value of the man.charmap.use.subset parameter is non-zero,
and your DocBook source is not written in English (that is, if its
lang or xml:lang attribute has a value other than en), then the
character-map subset specified by the man.charmap.subset.profile
parameter is used instead of the full roff character map.
Otherwise, if the lang or xml:lang attribute on the root element
in your DocBook source or on the first refentry element in your
source has the value en or if it has no lang or xml:lang
attribute, then the character-map subset specified by the
man.charmap.subset.profile.english parameter is used instead of
man.charmap.subset.profile.
The difference between the two subsets is that
man.charmap.subset.profile provides mappings for characters in
Western European languages that are not part of the Roman
(English) alphabet (ASCII character set).
• Michael(tm) Smith: other.xsl
Various updates, mainly related to uppercasing SH titles:
- added a "Language: " metadata line to the top comment area of
output man pages, to indicate the language the page is in
- added a "toupper" macro of doing locale-aware uppercasing of
SH titles and cross-references to SH titles; the mechanism
relies on the uppercase.alpha and lowercase.alpha DocBook
gentext keys to do locale-aware uppercasing based on the
language the page is written in
- added a "string.shuffle" template, which provides a library
function for "shuffling" two strings together into a single
string; it takes the first character for the first string, the
first character from second string, etc. The only current use
for it is to generate the argument for the groff tr request
that does string uppercasing.
- added make.tr.uppercase.arg and make.tr.normalcase.arg named
templates for use in generating groff code for uppercasing and
"normal"-casing SH titles
- made the BB/BE "background drawing" macros have effect only in
non-TTY output
- output a few comments in the top part of source
• Michael(tm) Smith: utility.xsl
removed some leftover kruft
• Michael(tm) Smith: refentry.xsl
To create the name(s) for each man page, we now replace any spaces
in the refname(s) with underscores. This ensures that tools like
lexgrog(1) will be able to parse the name (lexgrog won't parse
names that contain spaces).
• Michael(tm) Smith: docbook.xsl
Put a comment into source of man page to indicate where the main
content starts. (We now have a few of macro definitions at the
start of the source, so putting this comment in helps those that
might be viewing the source.)
• Michael(tm) Smith: refentry.xsl
refined mechanism for generating SH titles
• Michael(tm) Smith: charmap.groff.xsl
Added zcaron, Zcaron, scaron, and Scaron to the groff character map.
This means that generated Finnish man pages will no longer contain
any raw accented characters -- they'll instead by marked up with
groff escapes.
• Michael(tm) Smith: other.xsl; utility.xsl
corrected a regression I introduced about a year ago that caused
dots to be output just as "\." -- instead needs to be "\&." (which
is what it will be now, after this change)
• Michael(tm) Smith: refentry.xsl
Changed backend handling for generating titles for SH sections and
for cross-references to those sections. This should have no effect
on TTY output (behavior should remain the same hopefully) but
results in titles in normal case (instead of uppercase) in PS
output.
• Michael(tm) Smith: info.xsl
use make.subheading template to make subheadings for AUTHORS and
COPYRIGHT sections (instead of harcoding roff markup)
• Michael(tm) Smith: block.xsl
put code font around programlisting etc.
• Michael(tm) Smith: synop.xsl; docbook.xsl
embed custom macro definitions in man pages, plus wrap synopsis in
code font
• Michael(tm) Smith: endnotes.xsl
use the make.subheading template to generated SH subheading for
endnotes section.
• Michael(tm) Smith: lists.xsl
Added some templates for generating if-then-else conditional
markup in groff, so let's use those instead of hard-coding it in
multiple places...
• Michael(tm) Smith: other.xsl; utility.xsl
Initial checkin of some changes related to making PS/PDF output
from "man -l -Tps" look better. The current changes:
- render synopsis and verbatim sections in a monospace/code font
- put a light-grey background behind all programlisting, screen,
and literallayout instances
- prevent SH heads in PS output from being rendered in uppercase
(as they are in console output)
- also display xrefs to SH heads in PS output in normal case
(instead of uppercase)
- draw a line under SH heads in PS output
The changes made to the code to support the above features were:
- added some embedded/custom macros: one for conditionally
upper-casing SH x-refs, one for redefining the SH macro
itself, with some conditional handling for PS output, and
finally a macro for putting a background/screen (filled box)
around a block of text (e.g., a program listing) in PS output
- added utility templates for wrapping blocks of text in code
font; also templates for inline code font
• Robert Stayton: refentry.xsl
refpurpose nodes now get apply-templates instead of just normalize-space().
• Michael(tm) Smith: lists.xsl
Fixed alignment of first lined of text for each listitem in
orderedlist output for TTY. Existing code seemed to have been
causing an extra undesirable space to appear.
• Michael(tm) Smith: lists.xsl
Wrapped some roff conditionals around roff markup for orderedlist
and itemizedlist output, so that the lists look acceptable in PS
output as well as TTY.
• Michael(tm) Smith: pi.xsl; synop.xsl; param.xweb; param.ent
Added the man.funcsynopsis.style parameter. Has the same effect in
manpages output as the funcsynopsis.style parameter has in HTML
output -- except that its default value is 'ansi' instead of 'kr'.
• Michael(tm) Smith: synop.xsl
Reworked handling of K&R funcprototype output. It no longer relies
on the HTML kr-tabular templates, but instead just does direct
transformation to roff. For K&R output, it displays the paramdef
output in an indented list following the prototype.
• Michael(tm) Smith: synop.xsl
Properly integrated handling for K&R output into manpages
stylesheet. The choice between K&R output and ANSI output is
currently controlled through use of the (HTML) funcsynopsis.style
parameter. Note that because the mechanism does currently rely on
funcsynopsis.style, the default in manpages output is now K&R
(because that's the default of that param). But I suppose I ought
to create a man.funcsynopsis.style and make the default for that
ANSI (to preserve the existing default behavior).
• Michael(tm) Smith: docbook.xsl
added manpages/pi.xsl file
• Michael(tm) Smith: .cvsignore; pi.xsl
Added "dbman funcsynopsis-style" PI and incorporated it into the
doc build.
• Michael(tm) Smith: refentry.xsl
Fixed regression that caused an unescaped dash to be output
between refname and refpurpose content. Closes bug #1894244.
Thanks to Daniel Leidert.
• Michael(tm) Smith: other.xsl
Fixed problem with dots being escaped in filenames of generated
man files. Closes #1827195. Thanks to Daniel Leidert.
• Michael(tm) Smith: inline.xsl
Added support for processing structfield (was appearing in roff
output surrounded by HTML <em> tags; fixed so that it gets roff
ital markup). Closes bug #1858329. Thanks to Sam Varshavchik.
Epub
The following changes have been made to the epub code since the 1.73.2 release.
• Keith Fahlgren: bin/spec/README; bin/spec/epub_realbook_spec.rb
'Realbook' spec now passes
• Keith Fahlgren: bin/dbtoepub; README; bin/spec/README; bin/lib/docbook.rb;
bin/spec/epub_r⋯
Very primitive Windows support for dbtoepub reference implementation; README for running tests and for the .epub target in general; shorter realbook test document (still fails for now)
• Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/
docbook.rb; bin/s⋯
Changes to OPF spine to not duplicate idrefs for documents with parts not at the root; regression specs for same
• Keith Fahlgren: docbook.xsl
Fixing linking to cover @id, distinct from other needs of cover-image-id (again, thanks to Martin Goerner)
• Keith Fahlgren: docbook.xsl
Updating the title of the toc element in the guide to be more explicit (thanks to Martin Goerner)
• Keith Fahlgren: bin/spec/examples/amasque_exploded/content.opf; bin/spec/
examples/amasque_⋯
Initial checkin/merge of epub target from work provided by Paul Norton of Adobe
and Keith Fahlgren of O'Reilly.
• Keith Fahlgren: docbook.xsl
== General epub test support
$ spec -O ~/.spec.opts spec/epub_spec.rb
DocBook::Epub
- should be able to be created
- should fail on a nonexistent file
- should be able to render to a file
- should create a file after rendering
- should have the correct mimetype after rendering
- should be valid .epub after rendering an article
- should be valid .epub after rendering an article without sections
- should be valid .epub after rendering a book
- should be valid .epub after rendering a book even if it has one graphic
- should be valid .epub after rendering a book even if it has many graphics
- should be valid .epub after rendering a book even if it has many duplicated graphics
- should report an empty file as invalid
- should confirm that a valid .epub file is valid
- should not include PDFs in rendered epub files as valid image inclusions
- should include a TOC link in rendered epub files for <book>s
Finished in 20.608395 seconds
15 examples, 0 failures
== Verbose epub test coverage against _all_ of the testdocs
Fails on only (errors truncated):
1)
'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/calloutlist.003.xml [30]' FAILED
'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/cmdsynopsis.001.xml [35]' FAILED
....
Finished in 629.89194 seconds
224 examples, 15 failures
224 examples, 15 failures yields 6% failure rate
HTMLHelp
The following changes have been made to the htmlhelp code since the 1.73.2
release.
• Mauritz Jeanson: htmlhelp-common.xsl
Added <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to
the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
This makes chunk.quietly=1 suppress chunk filename messages also for help
support files (which seems to be what one would expect). See bug #1648360.
Eclipse
The following changes have been made to the eclipse code since the 1.73.2
release.
• David Cramer: eclipse.xsl
Use sortas attributes (if they exist) when sorting indexterms
• David Cramer: eclipse.xsl
Added support for indexterm/see in eclipse index.xml
• Mauritz Jeanson: eclipse.xsl
Added <xsl:with-param name="quiet" select="$chunk.quietly"/>
to helpidx template.
• David Cramer: eclipse.xsl
Generate index.xml file and add related goo to plugin.xml file. Does not yet support see and seealso.
• Mauritz Jeanson: eclipse.xsl
Added <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to
the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
This makes chunk.quietly=1 suppress chunk filename messages also for help
support files (which seems to be what one would expect). See bug #1648360.
JavaHelp
The following changes have been made to the javahelp code since the 1.73.2
release.
• Mauritz Jeanson: javahelp.xsl
Added <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to
the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
This makes chunk.quietly=1 suppress chunk filename messages also for help
support files (which seems to be what one would expect). See bug #1648360.
Roundtrip
The following changes have been made to the roundtrip code since the 1.73.2
release.
• Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl
fix table/cell borders for wordml, fix formal figure, add emphasis-strong
• Mauritz Jeanson: supported.xml
Changed @cols to 5.
• Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xml
added pubdate, fixed metadata handling in biblioentry
• Steve Ball: supported.xml
Added support for edition.
• Steve Ball: docbook-pages.xsl; wordml-blocks.xsl; docbook.xsl; wordml.xsl;
pages-normalise⋯
Removed stylesheets for old, deprecated conversion method.
• Steve Ball: specifications.xml; dbk2ooo.xsl; blocks2dbk.xsl; dbk2pages.xsl;
blocks2dbk.dtd⋯
Added support for Open Office, added edition element, improved list and table support in Word and Pages
• Steve Ball: normalise-common.xsl; blocks2dbk.xsl; dbk2pages.xsl;
template-pages.xml; templ⋯
Fixed bug in WordML table handling, improved table handling for Pages 08, synchronised WordML and Pages templates.
• Steve Ball: normalise-common.xsl; blocks2dbk.xsl; wordml2normalise.xsl;
dbk2wp.xsl
fix caption, attributes
• Steve Ball: specifications.xml; blocks2dbk.xsl; wordml2normalise.xsl;
blocks2dbk.dtd; temp⋯
Fixes to table and list handling
• Steve Ball: blocks2dbk.xsl
added support for explicit emphasis character styles
• Steve Ball: wordml2normalise.xsl
added support for customisation in image handling
• Steve Ball: blocks2dbk.xsl
Added inlinemediaobject support for metadata.
• Steve Ball: normalise-common.xsl; blocks2dbk.xsl; template.xml;
dbk2wordml.xsl; dbk2wp.xsl
Added support file. Added style locking. Conversion bug fixes.
Slides
The following changes have been made to the slides code since the 1.73.2
release.
• Michael(tm) Smith: fo/Makefile; html/Makefile
Added checks and hacks to various makefiles to enable building
under Cygwin. This stuff is ugly and maybe not worth the mess and
trouble, but does seem to work as expected and not break anything
else.
• Jirka Kosek: html/plain.xsl
Added support for showing foil number
Website
The following changes have been made to the website code since the 1.73.2
release.
• Michael(tm) Smith: extensions/saxon64/.classes/.gitignore; extensions/
xalan2/.classes/com/⋯
renamed a bunch more .cvsignore files to .gitignore (to facilitate use of git-svn)
Params
The following changes have been made to the params code since the 1.73.2
release.
• Keith Fahlgren: epub.autolabel.xml
New parameter for epub, epub.autolabel
• Mauritz Jeanson: table.frame.border.color.xml; table.cell.padding.xml;
table.cell.border.t⋯
Added missing refpurposes and descriptions.
• Keith Fahlgren: ade.extensions.xml
Extensions to support Adobe Digital Editions extensions in .epub output.
• Mauritz Jeanson: fop.extensions.xml; fop1.extensions.xml
Clarified that fop1.extensions is for FOP 0.90 and later. Version 1 is not here yet...
• Michael(tm) Smith: man.links.are.underlined.xml;
man.endnotes.list.enabled.xml; man.font.l⋯
removed man.links.are.underlined and added man.font.links. Also,
changed the default font formatting for links to bold.
• Michael(tm) Smith: man.base.url.for.relative.links.xml
Added new param man.base.url.for.relative.links .. specifies a
base URL for relative links (for ulink, @xlink:href, imagedata,
audiodata, videodata) shown in the generated NOTES section of
man-page output. The value of man.base.url.for.relative.links is
prepended to any relative URI that is a value of ulink url,
xlink:href, or fileref attribute.
If you use relative URIs in link sources in your DocBook refentry
source, and you leave man.base.url.for.relative.links unset, the
relative links will appear "as is" in the NOTES section of any
man-page output generated from your source. That's probably not
what you want, because such relative links are only usable in the
context of HTML output. So, to make the links meaningful and
usable in the context of man-page output, set a value for
man.base.url.for.relative.links that points
to the online version of HTML output generated from your DocBook
refentry source. For example:
<xsl:param name="man.base.url.for.relative.links"
>http://www.kernel.org/pub/software/scm/git/docs/</xsl:param>
• Michael(tm) Smith: man.string.subst.map.xml
squeeze .sp\n.sp into a single .sp (to prevent a extra, spurious
line of whitespace from being inserted after programlisting etc.
in certain cases)
• Michael(tm) Smith: refentry.manual.fallback.profile.xml;
refentry.source.fallback.profile.⋯
don't use refmiscinfo@class=date value as fallback for refentry
"source" or "manual" metadata fields
• Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml;
man.charmap.su⋯
made some further doc tweaks related to the
man.charmap.subset.profile.english param
• Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml;
man.charmap.su⋯
Added the man.charmap.subset.profile.english parameter and refined
the handling of charmap subsets to differentiate between English
and non-English source.
This way charmap subsets are now handled is this:
If the value of the man.charmap.use.subset parameter is non-zero,
and your DocBook source is not written in English (that is, if its
lang or xml:lang attribute has a value other than en), then the
character-map subset specified by the man.charmap.subset.profile
parameter is used instead of the full roff character map.
Otherwise, if the lang or xml:lang attribute on the root element
in your DocBook source or on the first refentry element in your
source has the value en or if it has no lang or xml:lang
attribute, then the character-map subset specified by the
man.charmap.subset.profile.english parameter is used instead of
man.charmap.subset.profile.
The difference between the two subsets is that
man.charmap.subset.profile provides mappings for characters in
Western European languages that are not part of the Roman
(English) alphabet (ASCII character set).
• Michael(tm) Smith: man.charmap.subset.profile.xml
Added to default charmap used by manpages:
- the "letters" part of the 'C1 Controls And Latin-1 Supplement
(Latin-1 Supplement)' Unicode block
- Latin Extended-A block (but not all of the characters from
that block have mappings in groff, so some of them are still
passed through as-is)
The effects of this change are that in man pages generated for
most Western European languages and for Finnish, all characters
not part of the Roman alphabet are (e.g., "accented" characters)
are converted to groff escapes.
Previously, by default we passed through those characters as is
(and users needed to use the full charmap if they wanted to have
those characters converted).
As a result of this change, man pages generated for Western
European languages will be viewable in some environments in which
they are not viewable if the "raw" non-Roman characters are in them.
• Mauritz Jeanson: generate.legalnotice.link.xml;
generate.revhistory.link.xml
Added information on how the filename is computed.
• Mauritz Jeanson: default.table.width.xml
Clarified PI usage.
• Michael(tm) Smith: man.funcsynopsis.style.xml
Added the man.funcsynopsis.style parameter. Has the same effect in
manpages output as the funcsynopsis.style parameter has in HTML
output -- except that its default value is 'ansi' instead of 'kr'.
• Michael(tm) Smith: funcsynopsis.tabular.threshold.xml
Removed the funcsynopsis.tabular.threshold param. It's no longer
being used in the code and hasn't been since mid 2006.
• Mauritz Jeanson: table.properties.xml
Set keep-together.within-column to "auto". This seems to be the most sensible
default value for tables.
• Mauritz Jeanson: informal.object.properties.xml;
admon.graphics.extension.xml; informalequ⋯
Several small documentation fixes.
• Mauritz Jeanson: manifest.in.base.dir.xml
Wording fixes.
• Mauritz Jeanson: header.content.properties.xml;
footer.content.properties.xml
Added refpurpose.
• Mauritz Jeanson: ulink.footnotes.xml; ulink.show.xml
Updated for DocBook 5.
• Mauritz Jeanson: index.method.xml; glossterm.auto.link.xml
Spelling and wording fixes.
• Mauritz Jeanson: callout.graphics.extension.xml
Clarifed available graphics formats and extensions.
• Mauritz Jeanson: footnote.sep.leader.properties.xml
Corrected refpurpose.
• Jirka Kosek: footnote.properties.xml
Added more properties which make it possible to render correctly footnotes placed inside verbatim elements.
• Mauritz Jeanson: img.src.path.xml
img.src.path works with inlinegraphic too.
• Mauritz Jeanson: saxon.character.representation.xml
Added TCG link.
• Mauritz Jeanson: img.src.path.xml
Updated description of img.src.path. Bug #1785224 revealed that
there was a risk of misunderstanding how it works.
Profiling
The following changes have been made to the profiling code since the 1.73.2
release.
• Jirka Kosek: xsl2profile.xsl
Added new rules to profile all content generated by HTML Help (including alias files)
• Robert Stayton: profile-mode.xsl
use mode="profile" instead of xsl:copy-of for attributes so
they can be more easily customized.
Tools
The following changes have been made to the tools code since the 1.73.2
release.
• Michael(tm) Smith: make/Makefile.DocBook
various changes and additions to support making with asciidoc as
an input format
• Michael(tm) Smith: make/Makefile.DocBook
make dblatex the default PDF maker for the example makefile
• Michael(tm) Smith: xsl/build/html2roff.xsl
Reworked handling of K&R funcprototype output. It no longer relies
on the HTML kr-tabular templates, but instead just does direct
transformation to roff. For K&R output, it displays the paramdef
output in an indented list following the prototype.
• Mauritz Jeanson: xsl/build/make-xsl-params.xsl
Made attribute-sets members of the param list. This enables links to attribute-sets in the
reference documentation.
• Michael(tm) Smith: xsl/build/html2roff.xsl
use .BI handling in K&R funsynopsis output for manpages, just as
we do already of ANSI output
• Michael(tm) Smith: xsl/build/html2roff.xsl
Implemented initial support for handling tabular K&R output of
funcprototype in manpages output. Accomplished by adding more
templates to the intermediate HTML-to-roff stylesheet that the
build uses to create the manpages/html-synop.xsl stylesheet.
• Michael(tm) Smith: xsl/build/doc-link-docbook.xsl
Made the xsl/tools/xsl/build/doc-link-docbook.xsl stylesheet
import profile-docbook.xsl, so that we can do profiling of release
notes. Corrected some problems in the target for the release-notes
HTML build.
Extensions
The following changes have been made to the extensions code since the 1.73.2
release.
• Keith Fahlgren: Makefile
Use DOCBOOK_SVN variable everywhere, please; build with PDF_MAKER
• Michael(tm) Smith: Makefile
moved extensions build targets from master xsl/Makefile to
xsl/extensions/Makefile
• Michael(tm) Smith: .cvsignore
re-adding empty extensions subdir
XSL-Saxon
The following changes have been made to the xsl-saxon code since the 1.73.2
release.
• Michael(tm) Smith: VERSION
bring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with
recent change to snapshot build infrastructure
• Michael(tm) Smith: nbproject/build-impl.xml; nbproject/project.properties
Changed hard-coded file references in "clean" target to variable
references. Closes #1792043. Thanks to Daniel Leidert.
• Michael(tm) Smith: VERSION; Makefile
Did post-release wrap-up of xsl-saxon and xsl-xalan dirs
• Michael(tm) Smith: nbproject/build-impl.xml; VERSION; Makefile; test
More tweaks to get release-ready
XSL-Xalan
The following changes have been made to the xsl-xalan code since the 1.73.2
release.
• Michael(tm) Smith: VERSION
bring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with
recent change to snapshot build infrastructure
• Michael(tm) Smith: nbproject/build-impl.xml
Changed hard-coded file references in "clean" target to variable
references. Closes #1792043. Thanks to Daniel Leidert.
• Michael(tm) Smith: Makefile; VERSION
Did post-release wrap-up of xsl-saxon and xsl-xalan dirs
• Michael(tm) Smith: Makefile; nbproject/build-impl.xml; VERSION
More tweaks to get release-ready
XSL-libxslt
The following changes have been made to the xsl-libxslt code since the 1.73.2
release.
• Mauritz Jeanson: python/xslt.py
Print the result to stdout if no outfile has been given.
Some unnecessary semicolons removed.
• Mauritz Jeanson: python/xslt.py
Added a function that quotes parameter values (to ensure that they are interpreted as strings).
Replaced deprecated functions from the string module with string methods.
• Michael(tm) Smith: python/README; python/README.LIBXSLT
renamed xsl-libxslt/python/README to xsl-libxslt/python/README.LIBXSLT
• Mauritz Jeanson: python/README
Tweaked the text a little.
Release Notes: 1.73.2
This is solely a minor bug-fix update to the 1.73.1 release. It fixes a
packaging error in the 1.73.1 package, as well as a bug in footnote handling in
FO output.
Release: 1.73.1
This is mostly a bug-fix update to the 1.73.0 release.
Gentext
The following changes have been made to the gentext code since the 1.73.0
release.
• Mauritz Jeanson: locale/de.xml
Applied patch #1766009.
• Michael(tm) Smith: locale/lv.xml
Added localization for ProductionSet.
FO
The following changes have been made to the fo code since the 1.73.0 release.
• Mauritz Jeanson: table.xsl
Modified the tgroup template so that, for tables with multiple tgroups,
a width attribute is output on all corresponding fo:tables. Previously,
there was a test prohibiting this (and a comment saying that outputting more
than one width attribute will cause an error). But this seems to be no longer
relevant; it is not a problem with FOP 0.93 or XEP 4.10. Closes bug #1760559.
• Mauritz Jeanson: graphics.xsl
Replaced useless <a> elements with warning messages (textinsert extension).
• Mauritz Jeanson: admon.xsl
Enabled generation of ids (on fo:wrapper) for indexterms in admonition titles, so that page
references in the index can be created. Closes bug #1775086.
HTML
The following changes have been made to the html code since the 1.73.0 release.
• Mauritz Jeanson: titlepage.xsl
Added <xsl:call-template name="process.footnotes"/> to abstract template
so that footnotes in info/abstract are processed. Closes bug #1760907.
• Michael(tm) Smith: pi.xsl; synop.xsl
Changed handling of HTML output for the cmdsynopsis and
funcsynopsis elements, such that a@id instances are generated for
them if they are descendants of any element containing a dbcmdlist
or dbfunclist PI. Also, update the embedded reference docs for the
dbcmdlist and dbfunclist PIs to make it clear that they can be
used within any element for which cmdsynopsis or funcsynopsis are
valid children.
• Michael(tm) Smith: formal.xsl
Reverted the part of revision 6952 that caused a@id anchors to be
generated for output of informal objects. Thanks to Sam Steingold
for reporting.
• Robert Stayton: glossary.xsl
Account for a glossary with no glossdiv or glossentry children.
• Mauritz Jeanson: titlepage.xsl
Modified legalnotice template so that the base.name parameter is calculated
in the same way as for revhistory chunks. Using <xsl:apply-templates
mode="chunk-filename" select="."/> did not work for single-page output since
the template with that mode is in chunk-code.xsl.
• Mauritz Jeanson: graphics.xsl
Updated support for SVG (must be a child of imagedata in DB 5).
Added support for MathML in imagedata.
• Mauritz Jeanson: pi.xsl
Added documentation for the dbhh PI (used for context-sensitive HTML Help).
(The two templates matching 'dbhh' are still in htmlhelp-common.xsl).
Manpages
The following changes have been made to the manpages code since the 1.73.0
release.
• Michael(tm) Smith: endnotes.xsl
In manpages output, generate warnings about notesources with
non-para children only if the notesource is a footnote or
annotation. Thanks to Sam Steingold for reporting problems with
the existing handling.
HTMLHelp
The following changes have been made to the htmlhelp code since the 1.73.0
release.
• Michael(tm) Smith: htmlhelp-common.xsl
Added single-pass namespace-stripping support to the htmlhelp,
eclipse, and javahelp stylesheets.
Eclipse
The following changes have been made to the eclipse code since the 1.73.0
release.
• Michael(tm) Smith: eclipse.xsl
Added single-pass namespace-stripping support to the htmlhelp,
eclipse, and javahelp stylesheets.
JavaHelp
The following changes have been made to the javahelp code since the 1.73.0
release.
• Michael(tm) Smith: javahelp.xsl
Added single-pass namespace-stripping support to the htmlhelp,
eclipse, and javahelp stylesheets.
Roundtrip
The following changes have been made to the roundtrip code since the 1.73.0
release.
• Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; pages2normalise.xsl
Modularised blocks2dbk to allow customisation,
Added support for tables to pages2normalise
Params
The following changes have been made to the params code since the 1.73.0
release.
• Robert Stayton: procedure.properties.xml
procedure was inheriting keep-together from formal.object.properties, but
a procedure does not need to be kept together by default.
• Dave Pawson: title.font.family.xml;
component.label.includes.part.label.xml; table.frame.b⋯
Regular formatting re-org.
Release: 1.73.0
This release includes important bug fixes and adds the following significant
feature changes:
New localizations and localization updates
We added two new localizations: Latvian and Esperanto, and made updates to
the Czech, Chinese Simplified, Mongolian, Serbian, Italian, and Ukrainian
localizations.
ISO690 citation style for bibliography output.
Set the bibliography.style parameter to iso690 to use ISO690 style.
New documentation for processing instructions (PI)
The reference documentation that ships with the release now includes
documentation on all PIs that you can use to control output from the
stylesheets.
New profiling parameters for audience and wordsize
You can now do profiling based on the values of the audience and wordsize
attributes.
Changes to man-page output
The manpages stylesheet now supports single-pass profiling and single-pass
DocBook 5 namespace stripping (just as the HTML and FO stylesheets also
do). Also, added handling for mediaobject & inlinemediaobject. (Each
imagedata, audiodata, or videodata element within a mediaobject or inline
mediaobject is now treated as a "notesource" and so handled in much the
same way as links and annotation/alt/footnote are in manpages output.) And
added the man.authors.section.enabled and man.copyright.section.enabled
parameters to enable control over whether output includes auto-generated
AUTHORS and COPYRIGHT sections.
Highlighting support for C
The highlighting mechanism for generating syntax-highlighted code snippets
in output now supports C code listings (along with Java, PHP, XSLT, and
others).
Experimental docbook-xsl-update script
We added an experimental docbook-xsl-update script, the purpose of which is
to facilitate easy sync-up to the latest docbook-xsl snapshot (by means of
rsync).
Gentext
The following changes have been made to the gentext code since the 1.72.0
release.
• Michael(tm) Smith: locale/lv.xml; Makefile
Added Latvian localization file, from Girts Ziemelis.
• Dongsheng Song: locale/zh_cn.xml
Brought up to date with en.xml in terms of items. A few strings marked for translation.
• Jirka Kosek: locale/cs.xml
Added missing translations
• Robert Stayton: locale/eo.xml
New locale for Esperanto.
• Robert Stayton: locale/mn.xml
Update from Ganbold Tsagaankhuu.
• Jirka Kosek: locale/en.xml; locale/cs.xml
Rules for normalizing glossary entries before they are sorted can be now different for each language.
• Michael(tm) Smith: locale/sr_Latn.xml; locale/sr.xml
Committed changes from Miloš Komarčević to Serbian files.
• Robert Stayton: locale/ja.xml
Fix chapter in context xref-number-and-title
• Robert Stayton: locale/it.xml
Improved version from contributor.
• Mauritz Jeanson: locale/uk.xml
Applied patch 1592083.
Common
The following changes have been made to the common code since the 1.72.0
release.
• Michael(tm) Smith: labels.xsl
Changed handling of reference auto-labeling such that reference
(when it appears at the component level) is now affected by the
label.from.part param, just as preface, chapter, and appendix.
• Michael(tm) Smith: common.xsl
Added support to the HTML stylesheets for proper processing of
orgname as a child of author.
• Michael(tm) Smith: refentry.xsl
Refined logging output of refentry metadata-gathering template;
for some cases of "missing" elements (refmiscinfo stuff, etc.),
the log messages now include URL to corresponding page in the
Definitive Guide (TDG).
• Robert Stayton: titles.xsl
Add refsection/info/title support.
• Michael(tm) Smith: titles.xsl
Added support for correct handling of xref to elements that
contain info/title descendants but no title children.
This should be further refined so that it handles any *info
elements. And there are probably some other places where similar
handling for *info/title should be added.
• Mauritz Jeanson: pi.xsl
Modified <xsl:when> in datetime.format template to work
around Xalan bug.
FO
The following changes have been made to the fo code since the 1.72.0 release.
• Robert Stayton: component.xsl
Add parameters to the page.sequence utility template.
• Mauritz Jeanson: xref.xsl
Added template for xref to area/areaset.
Part of fix for bug #1675513 (xref to area broken).
• Michael(tm) Smith: inline.xsl
Added template match for person element to fo stylesheet.
• Robert Stayton: lists.xsl
Added support for spacing="compact" in variablelist, per bug report #1722540.
• Robert Stayton: table.xsl
table pgwide="1" should also use pgwide.properties attribute-set.
• Mauritz Jeanson: inline.xsl
Make citations numbered if bibliography.numbered != 0.
• Robert Stayton: param.xweb; param.ent
Add new profiling parameters for audience and wordsize.
• Robert Stayton: param.xweb; param.ent
Added callout.icon.size parameter.
• Robert Stayton: inline.xsl; xref.xsl
Add support for xlink as olink.
• Robert Stayton: autotoc.xsl; param.xweb; param.ent
Add support for qanda.in.toc to fo TOC.
• Robert Stayton: component.xsl
Improved the page.sequence utility template for use with book.
• Robert Stayton: division.xsl
Refactored the big book template into smaller pieces.
Used the "page.sequence" utility template in
component.xsl to shorten the toc piece.
Added placeholder templates for front.cover and back.cover.
• Robert Stayton: param.xweb; param.ent; sections.xsl
Add section.container.element parameter to enable
pgwide spans inside sections.
• Robert Stayton: param.xweb; param.ent; component.xsl
Add component.titlepage.properties attribute-set to
support span="all" and other properties.
• Robert Stayton: htmltbl.xsl; table.xsl
Apply table.row.properties template to html tr rows too.
Add keep-with-next to table.row.properties when row is in thead.
• Robert Stayton: table.xsl
Add support for default.table.frame parameter.
Fix bug 1575446 rowsep last check for @morerows.
• Robert Stayton: refentry.xsl
Add support for info/title in refsections.
• David Cramer: qandaset.xsl
Make fo questions and answers behave the same way as html
• Jirka Kosek: lists.xsl
Added missing attribute set for procedure
• Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent;
biblio-iso690.xsl
Added support for formatting biblioentries according to ISO690 citation style.
New bibliography style can be turned on by setting parameter bibliography.style to "iso690"
The code was provided by Jana Dvorakova
• Robert Stayton: param.xweb; param.ent; pagesetup.xsl
Add header.table.properties and footer.table.properties attribute-sets.
• Robert Stayton: inline.xsl
Add fop1.extensions for menuchoice arrow handling exception.
HTML
The following changes have been made to the html code since the 1.72.0 release.
• Mauritz Jeanson: param.xweb; param.ent
Moved declaration and documentation of javahelp.encoding from javahelp.xsl to the
regular "parameter machinery".
• Michael(tm) Smith: admon.xsl
Changed handling of titles for note, warning, caution, important,
tip admonitions: We now output and HTML h3 head only if
admon.textlabel is non-zero or if the admonition actually contains
a title; otherwise, we don't output an h3 head at all.
(Previously, we were outputting an empty h3 if the admon.textlabel
was zero and if the admonition had no title.)
• Mauritz Jeanson: xref.xsl
Added template for xref to area/areaset.
Part of fix for bug #1675513 (xref to area broken).
• Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; sections.xsl
Added fixes to avoid duplicate ids when generate.id.attributes = 1.
This (hopefully) closes bug #1671052.
• Michael(tm) Smith: formal.xsl; pi.xsl
Made the dbfunclist PI work as intended. Also added doc for
dbfunclist and dbcmdlist PIs.
• Michael(tm) Smith: pi.xsl; synop.xsl
Made the dbcmdlist work the way it appears to have been intended
to work. Restored dbhtml-dir template back to pi.xsl.
• Michael(tm) Smith: titlepage.xsl; param.xweb; param.ent
Added new param abstract.notitle.enabled.
If non-zero, in output of the abstract element on titlepages,
display of the abstract title is suppressed.
Because sometimes you really don't want or need that title
there...
• Michael(tm) Smith: chunk-code.xsl; graphics.xsl
When we are chunking long descriptions for mediaobject instances
into separate HTML output files, and use.id.as.filename is
non-zero, if a mediaobject has an ID, use that ID as the basename
for the long-description file (otherwise, we generate an ID for it
and use that ID as the basename for the file).
The parallels the recent change made to cause IDs for legalnotice
instances to be used as basenames for legalnotice chunks.
Also, made some minor refinements to the recent changes for
legalnotice chunk handling.
• Michael(tm) Smith: titlepage.xsl
Added support to the HTML stylesheets for proper processing of
orgname as a child of author.
• Michael(tm) Smith: chunk-code.xsl
When $generate.legalnotice.link is non-zero and
$use.id.as.filename is also non-zero, if a legalnotice has an ID,
then instead of assigning the "ln-<generatedID>" basename to the
output file for that legalnotice, just use its real ID as the
basename for the file -- as we do when chunking other elements
that have IDs.
• David Cramer: xref.xsl
Handle alt text on xrefs to steps when the step doesn't have a title.
• David Cramer: lists.xsl
Added <p> element around term in variablelist when formatted as table to avoid misalignment of term and listitem in xhtml (non-quirks mode) output
• David Cramer: qandaset.xsl
Added <p> element around question and answer labels to avoid misalignment of label and listitem in xhtml (non-quirks mode) output
• David Cramer: lists.xsl
Added <p> element around callouts to avoid misalignment of callout and listitem in xhtml (non-quirks mode) output
• Mauritz Jeanson: inline.xsl
Make citations numbered if bibliography.numbered != 0.
• Robert Stayton: param.xweb; param.ent
Add support for new profiling attributes audience and wordsize.
• Robert Stayton: inline.xsl; xref.xsl
Add support for xlink olinks.
• Jirka Kosek: glossary.xsl
Rules for normalizing glossary entries before they are sorted can be now different for each language.
• Robert Stayton: chunk-common.xsl; chunk-code.xsl; manifest.xsl; chunk.xsl
Refactored the chunking modules to move all named templates to
chunk-common.xsl and all match templates to chunk-code.xsl, in
order to enable better chunk customization.
See the comments in chunk.xsl for more details.
• Robert Stayton: lists.xsl
Add anchor for xml:id for listitem in varlistentry.
• Robert Stayton: refentry.xsl
Add support for info/title in refsections for db5.
• Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent;
biblio-iso690.xsl
Added support for formatting biblioentries according to ISO690 citation style.
New bibliography style can be turned on by setting parameter bibliography.style to "iso690"
The code was provided by Jana Dvorakova
• Robert Stayton: inline.xsl; xref.xsl
Add call to class.attribute to <a> output elements so they can
have a class value too.
• Mauritz Jeanson: glossary.xsl
Fixed bug #1644881:
* Added curly braces around all $language attribute values.
* Moved declaration of language variable to top level of stylesheet.
Tested with Xalan, Saxon, and xsltproc.
Manpages
The following changes have been made to the manpages code since the 1.72.0
release.
• Michael(tm) Smith: param.xweb; docbook.xsl; param.ent
Added the man.authors.section.enabled and
man.copyright.section.enabled parameters. Set those to zero when
you want to suppress display of the auto-generated AUTHORS and
COPYRIGHT sections. Closes request #1467806. Thanks to Daniel
Leidert.
• Michael(tm) Smith: docbook.xsl
Took the test that the manpages stylesheet does to see if there
are any Refentry chilren in current doc, and made it
namespace-agnostic. Reason for that is because the test otherwise
won't work when it is copied over into the generated
profile-docbook.xsl stylesheet.
• Michael(tm) Smith: Makefile
Added a manpages/profile-docbook.xsl file to enable single-pass
profiling for manpages output.
• Michael(tm) Smith: info.xsl
Output copyright and legalnotice in man-page output in whatever
place they are in in document order. Closes #1690539. Thanks to
Daniel Leidert for reporting.
• Michael(tm) Smith: docbook.xsl
Restored support for single-pass namespace stripping to manpages
stylesheet.
• Michael(tm) Smith: synop.xsl; block.xsl; info.xsl; inline.xsl; lists.xsl;
endnotes.xsl; ut⋯
Changed handling of bold and italic/underline output in manpages
output. Should be transparent to users, but...
This touches handling of all bold and italic/underline output. The
exact change is that the mode="bold" and mode="italic" utility
templates were changed to named templates. (I think maybe I've
changed it back and forth from mode to named before, so this is
maybe re-reverting it yet again).
Anyway, the reason for the change is that the templates are
sometimes call on dynamically node-sets, and using modes to format
those doesn't allow passing info about the current/real context
node from the source (not the node-set created by the stylesheet)
to that formatting stage.
The named templates allow the context to be passed in as a
parameter, so that the bold/ital formatting template can use
context-aware condition checking.
This was basically necessary in order to suppress bold formatting
in titles, which otherwise gets screwed up because of the numbnut
way that roff handles nested bold/ital.
Closes #1674534). Much thanks to Daniel Leidert, whose in his
docbook-xsl bug-finding kung-fu has achieved Grand Master status.
• Michael(tm) Smith: block.xsl
Fixed handling of example instances by adding the example element
to the same template we use for processing figure. Closes
#1674538. Thanks to Daniel Leidert.
• Michael(tm) Smith: utility.xsl
Don't include lang in manpages filename/pathname if lang=en (that
is, only generate lang-qualified file-/pathnames for non-English).
• Michael(tm) Smith: endnotes.xsl
In manpages output, emit warnings for notesources (footnote, etc.)
that have something other than para as a child.
The numbered-with-hanging-indent formatting that's used for
rendering endnotes in the NOTES section of man pages places some
limits/assumptions on how the DocBook source is marked up; namely,
for notesources (footnote, annotation, etc.) that can contain
block-level children, if the they have a block-level child such as
a table or itemizedlist or orderedlist that is the first child of
a footnote, we have no way of rendering/indenting its content
properly in the endnotes list.
Thus, the manpages stylesheet not emits a warning message for that
case, and suggests the "fix" (which is to wrap the table or
itemizedlist or whatever in a para that has some preferatory text.
• Michael(tm) Smith: utility.xsl
Added support to mixed-block template for handling tables in
mixed-blocks (e.g., as child of para) correctly.
• Michael(tm) Smith: table.xsl; synop.xsl; block.xsl; info.xsl; lists.xsl;
refentry.xsl; end⋯
Reverted necessary escaping of backslash, dot, and dash
out of the well-intentioned (but it now appears,
misguided) "marker" mechanism (introduced in the 1.72.0
release) -- which made use of alternative "marker"
characters as internal representations of those
characters, and then replaced them just prior to
serialization -- and back into what's basically the
system that was used prior to the 1.69.0 release; that
is, into a part of stylesheet code that gets executed
at the beginning of processing -- before any other roff
markup up is. This change obviates the need for the
marker system. It also requires a lot less RAM during
processing (for large files, the marker mechanism
ending up requiring gigabytes of memory).
Closes bug #1661177. Thanks to Scott Smedley for
providing a test case (the fvwm man page) that exposed
the problem with the marker mechanism.
Also moved the mechanism for converting non-breaking
spaces back into the same area of the stylesheet code.
• Michael(tm) Smith: lists.xsl
Fixed problem with incorrect formatting of nested variablelist.
Closes bug #1650931. Thanks to Daniel "Eagle Eye" Leidert.
• Michael(tm) Smith: lists.xsl
Make sure that all listitems in itemizedlist and orderedlist are
preceded by a blank line. This fixes a regression that occurred
when instances of the TP macro that were use in a previous
versions of the list-handling code were switched to RS/RE (because
TP doesn't support nesting). TP automatically generates a blank
line, but RS doesn't. So I added a .sp before each .RS
• Michael(tm) Smith: block.xsl; inline.xsl; param.xweb; docbook.xsl;
links.xsl; param.ent
Made a number of changes related to elements with
out-of-line content:
- Added handling for mediaobject & inlinemediaobject.
Each imagedata, audiodata, or videodata element
within a mediaobject or inline mediaobject is now
treated as a "notesource" and so handled in much the
same way as links and annotation/alt/footnotes.
That means a numbered marker is generated inline to
mark the place in the main flow where the imagedata,
audiodata, or videodata element occurs, and a
corresponding numbered endnote for it is generated in
the endnotes list at the end of the man page; the
endnote contains the URL from the fileref attribute
of the imagedata, audiodata, or videodata element.
For mediobject and inlinemediaobject instances that
have a textobject child, the textobject is displayed
within the main text flow.
- Renamed several man.link.* params to man.endnotes.*,
to reflect that fact that the endnotes list now
contains more than just links. Also did similar
renaming for a number of stylesheet-internal vars.
- Added support for xlink:href (along with existing
support for the legacy ulink element).
- Cleaned up and streamlined the endnotes-handling
code. It's still messy and klunky and the basic
mechanism it uses is very inefficent for documents
that contain a lot of notesources, but at least it's
a bit better than it was.
Eclipse
The following changes have been made to the eclipse code since the 1.72.0
release.
• Mauritz Jeanson: Makefile
Fixed bug #1715093: Makefile for creating profiled version of eclipse.xsl added.
• David Cramer: eclipse.xsl
Added normalize-space around to avoid leading whitespace from appearing in the output if there's extra leading whitespace (e.g. <title> Foo</title>) in the source
JavaHelp
The following changes have been made to the javahelp code since the 1.72.0
release.
• Mauritz Jeanson: javahelp.xsl
Implemented FR #1230233 (sorted index in javahelp).
• Mauritz Jeanson: javahelp.xsl
Added normalize-space() around titles and index entries to work around whitespace problems.
Added support for glossary and bibliography in toc and map files.
Roundtrip
The following changes have been made to the roundtrip code since the 1.72.0
release.
• Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl; normalise2sections.xsl;
sections2blocks.⋯
new stylesheets for better word processor support and easier maintenance
• Steve Ball: template-pages.xml; dbk2wp.xsl; sections-spec.xml
fixed bugs
Params
The following changes have been made to the params code since the 1.72.0
release.
• Mauritz Jeanson: htmlhelp.button.back.xml; htmlhelp.button.forward.xml;
htmlhelp.button.zo⋯
Modified refpurpose text.
• Mauritz Jeanson: htmlhelp.map.file.xml; htmlhelp.force.map.and.alias.xml;
htmlhelp.alias.f⋯
Fixed typos, made some small changes.
• Mauritz Jeanson: javahelp.encoding.xml
Moved declaration and documentation of javahelp.encoding from javahelp.xsl to the
regular "parameter machinery".
• Mauritz Jeanson: generate.id.attributes.xml
Added refpurpose text.
• Mauritz Jeanson: annotation.js.xml; annotation.graphic.open.xml;
annotation.graphic.close.⋯
Added better refpurpose texts.
• Michael(tm) Smith: chunker.output.cdata-section-elements.xml;
chunker.output.standalone.xm⋯
Fixed some broken formatting in source files for chunker.* params,
as pointed out by Dave Pawson.
• Michael(tm) Smith: label.from.part.xml
Changed handling of reference auto-labeling such that reference
(when it appears at the component level) is now affected by the
label.from.part param, just as preface, chapter, and appendix.
• Mauritz Jeanson: callout.graphics.extension.xml
Clarified that 'extension' refers to file names.
• Michael(tm) Smith: abstract.notitle.enabled.xml
Added new param abstract.notitle.enabled.
If non-zero, in output of the abstract element on titlepages,
display of the abstract title is suppressed.
Because sometimes you really don't want or need that title
there...
• Michael(tm) Smith: man.string.subst.map.xml
Updated manpages string-substitute map to reflect fact that
because of another recent change to suppress bold markup in .SH
output, we no longer need to add a workaround for the accidental
uppercasing of roff escapes that occurred previously.
• Jirka Kosek: margin.note.float.type.xml; title.font.family.xml;
table.frame.border.color.x⋯
Improved parameter metadata
• Robert Stayton: profile.wordsize.xml; profile.audience.xml
Add support for profiling on new attributes audience and wordsize.
• Robert Stayton: callout.graphics.number.limit.xml;
callout.graphics.extension.xml
Added SVG graphics for fo output.
• Robert Stayton: callout.icon.size.xml
Set size of callout graphics.
• Jirka Kosek: default.units.xml; chunker.output.method.xml;
toc.list.type.xml; output.inden⋯
Updated parameter metadata to the new format.
• Jirka Kosek: man.output.quietly.xml; title.font.family.xml;
footnote.sep.leader.properties⋯
Added type annotations into parameter definition files.
• Robert Stayton: section.container.element.xml
Support spans in sections for certain processors.
• Robert Stayton: component.titlepage.properties.xml
Empty attribute set for top level component titlepage block.
Allows setting a span on title info.
• Jirka Kosek: bibliography.style.xml
Added link to WiKi page with description of special markup needed for ISO690 biblioentries
• Robert Stayton: make.year.ranges.xml
Clarify that multiple year elements are required.
• Robert Stayton: id.warnings.xml
Turn off id.warnings by default.
• Jirka Kosek: bibliography.style.xml
Added support for formatting biblioentries according to ISO690 citation style.
New bibliography style can be turned on by setting parameter bibliography.style to "iso690"
The code was provided by Jana Dvorakova
• Robert Stayton: header.table.properties.xml; footer.table.properties.xml
Support adding table properties to header and footer tables.
Highlighting
The following changes have been made to the highlighting code since the 1.72.0
release.
• Jirka Kosek: c-hl.xml; xslthl-config.xml
Added support for C language. Provided by Bruno Guegan.
Profiling
The following changes have been made to the profiling code since the 1.72.0
release.
• Robert Stayton: profile-mode.xsl
Add support for new profiling attributes audience and wordsize.
Lib
The following changes have been made to the lib code since the 1.72.0 release.
• Michael(tm) Smith: lib.xweb
Changed name of prepend-pad template to pad-string and twheeked so
it can do both right/left padding.
Tools
The following changes have been made to the tools code since the 1.72.0
release.
• Michael(tm) Smith: bin; bin/docbook-xsl-update
Did some cleanup to the install.sh source and added a
docbook-xsl-update script to the docbook-xsl distro, the purpose
of which is to facilitate easy sync-up to the latest docbook-xsl
snapshot (by means of rsync).
XSL-Saxon
The following changes have been made to the xsl-saxon code since the 1.72.0
release.
• Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/
com/nwalsh/xalan/⋯
Added modifications so that the new callout.icon.size parameter is taken into account. This
parameter is used for FO output (where SVG now is the default graphics format for callouts).
• Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/
src/com/nwalsh/x⋯
Added code for generating id attributes on callouts in HTML and FO output.
These patches enable cross-references to callouts placed by area coordinates.
It works for graphic, unicode and text callouts.
Part of fix for bug #1675513 (xref to area broken).
• Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/
com/nwalsh/xalan⋯
Copied over Website XSL Java extensions.
XSL-Xalan
The following changes have been made to the xsl-xalan code since the 1.72.0
release.
• Michael(tm) Smith: Makefile; xalan2
Turned off xalan2.jar build. This removes DocBook XSL
Java extensions support for versions of Xalan prior to
Xalan 2.7. If you are currently using the extensions
with an earlier version of Xalan, you need to upgrade
to Xalan 2.7.
• Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/
com/nwalsh/xalan/⋯
Added modifications so that the new callout.icon.size parameter is taken into account. This
parameter is used for FO output (where SVG now is the default graphics format for callouts).
• Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/
src/com/nwalsh/x⋯
Added code for generating id attributes on callouts in HTML and FO output.
These patches enable cross-references to callouts placed by area coordinates.
It works for graphic, unicode and text callouts.
Part of fix for bug #1675513 (xref to area broken).
• Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/
com/nwalsh/xalan⋯
Copied over Website XSL Java extensions.
Release: 1.72.0
This release includes important bug fixes and adds the following significant
feature changes:
Automatic sorting of glossary entries
The HTML and FO stylesheets now support automatic sorting of glossary
entries. To enable glossary sorting, set the value of the glossary.sort
parameter to 1 (by default, it’s value is 0). When you enable glossary
sorting, glossentry elements within a glossary, glossdiv, or glosslist are
sorted on the glossterm, using the current language setting. If you don’t
enable glossary sorting, then the order of glossentry elements is left “as
is” — that is, they are not sorted but are instead just displayed in
document order.
WordML renamed to Roundtrip, OpenOffice support added
Stylesheets for “roundtrip” conversion between documents in OpenOffice
format (ODF) and DocBook XML have been added to the set of stylesheets that
formerly had the collective title WordML, and that set of stylesheets has
been renamed to Roundtrip to better reflect the actual scope and purpose of
its contents.
So the DocBook XSL Stylesheets now support roundtrip conversion (with
certain limitations) of WordML, OpenOffice, and Apple Pages documents to
and from DocBook XML.
Including QandASet questions in TOCs
The HTML stylesheet now provides support for including QandASet questions
in the document TOC. To enable display of questions in the document TOC,
set the value of the qanda.in.toc to 1 (by default, it’s 0). When you
enable qanda.in.toc, then the generated table of contents for a document
will include qandaset titles, qandadiv titles, and question elements. The
default value of zero excludes them from the TOC.
Note
The qanda.in.toc parameter does not affect any tables of contents that may
be generated within a qandaset or qandadiv (only in the document TOC).
Language identifier in man-page filenames and pathnames
Added new parameter man.output.lang.in.name.enabled, which controls whether
a language identifier is included in man-page filenames and pathnames. It
works like this:
If the value of man.output.lang.in.name.enabled is non-zero, man-page files
are output with a language identifier included in their filenames or
pathnames as follows:
□ if man.output.subdirs.enabled is non-zero, each file is output to,
e.g., a /$lang/man8/foo.8 pathname
□ if man.output.subdirs.enabled is zero, each file is output with a
foo.$lang.8 filename
index.page.number.properties property set
For FO output, use the index.page.number.properties to control formatting
of page numbers in index output — to (for example) to display page numbers
in index output in a different color (to indicate that they are links).
Crop marks in output from Antenna House XSL Formatter
Support has been added for generating crop marks in print/PDF output
generated using Antenna House XSL Formatter
More string-substitution hooks in manpages output
The man.string.subst.map.local.pre and man.string.subst.map.local.post
parameters have been added to enable easier control over custom string
substitutions.
Moved verbatim properties to attribute-set
The hardcoded properties used in verbatim elements (literallayout,
programlisting, screen) were moved to the verbatim.properties attribute-set
so they can be more easily customized.
enhanced simple.xlink template
Now the simple.xlink template in inline.xsl works with cross reference
elements xref and link as well. Also, more elements call simple.xlink,
which enables DB5 xlink functionality.
DocBook 5 compatibility
Stylesheets now consistently support DocBook 5 attributes (such as xml:id).
Also, DocBook 5 info elements are now checked along with other *info
elements, and the use of name() function was replaced by local-name() so it
also matches on DocBook 5 elements. These changes enable reusing the
stylesheets with DocBook 5 documents with minimal fixup.
HTML class attributes now handled in class.attribute mode
The HTML class attributes were formerly hardcoded to the element name. Now
the class attribute is generated by applying templates in class.attribute
mode so class attribute names can be customized. The default is still the
element name.
arabic-indic numbering enabled in autolabels
Numbering of chapter, sections, and pages can now use arabic-indic
numbering when number format is set to 'arabicindic' or to ١.
The following is a detailed list of changes (not including bug fixes) that have
been made since the 1.71.1 release.
Common
The following changes have been made to the common code since the 1.71.1
release.
• Add support for arabicindic numbering to autolabel.format template.
• Finish support for @xml:id everywhere @id is used.
• replace name() with local-name() in most cases.
• Add support for info.
• Add utility template tabstyle to return the tabstyle from
any table element.
FO
The following changes have been made to the fo code since the 1.71.1 release.
• Add support for sorting glossary entries
• Add table.row.properties template to customize table rows.
• Moved all properties to attribute-sets so can be customized more easily.
• Add index.page.number.properties attribute-set to format page numbers.
• xref now supports xlink:href, using simple.xlink template.
• Rewrote simple.xlink, and call it with all charseq templates.
• Add simple.xlink processing to term and member elements.
• Add support for crop marks in Antenna House.
HTML
The following changes have been made to the html code since the 1.71.1 release.
• Add support for sorting glossary entries
• Add support for qanda.in.toc to add qandaentry questions to document TOC.
• add simple.xlink support to variablelist term and simplelist member.
• *.propagates.style now handled in class.attribute mode.
• add class parameter to class.attribute mode to set default class.
• Convert all class attributes to use the class.attribute mode
so class names can be customized more easily.
• Add class.attribute mode to generate class attributes.
• Added simple.xlink to most remaining inlines.
Changed class attributes to applying class.attributes mode.
• Changed xref template to use simple.xlink tempalte.
• Improve generate.html.title to work with link targets too.
• Improved simple.xlink to support link and xref.
• Use new link.title.attribute now.
• Rewrote simple.xlink to handle linkend also.
Better computation of title attribute on link too.
• Handle Xalan quirk as special case.
• Add support for info.
• Fixed imagemaps so they work properly going from calspair coords
to HTML area coords.
Manpages
The following changes have been made to the manpages code since the 1.71.1
release.
• Added doc for man.output.lang.in.name.enabled parameter. This
checkin completes support for writing file/pathnames for man-pages
with $lang include in the names. Closes #1585967. knightly
accolades to Daniel Leidert for providing the feature request.
• Added new param man.output.lang.in.name.enabled, which
controls whether $LANG value is included in manpages
filenames and pathnames. It works like this:
If the value of man.output.lang.in.name.enabled is non-zero,
man-page files are output with the $lang value included in
their filenames or pathnames as follows;
- if man.output.subdirs.enabled is non-zero, each file is
output to, e.g., a /$lang/man8/foo.8 pathname
- if man.output.subdirs.enabled is zero, each file is output
with a foo.$lang.8 filename
• Use "\e" instead of "\\" for backslash output, because the
groff docs say that's the correct thing to do; also because
testing (thanks, Paul Dubois) shows that "\\" doesn't always
work as expected; for example, "\\" within a table seems to
mess things up.
• Added the man.string.subst.map.local.pre and
man.string.subst.map.local.post parameters. Those parameters
enable local additions and changes to string-substitution mappings
without the need to change the value of man.string.subst.map
parameter (which is for standard system mappings). Closes
#1456738. Thanks to Sam Steingold for constructing a true
stylesheet torture test (the clisp docs) that exposed the need for
these params.
• Added the Markup element to the list of elements that get output
in bold. Thanks to Eric S. Raymond.
• Replaced all dots in roff requests with U+2302 ("house"
character), and added escaping in output for all instances of dot
that are not in roff requests. This fixes the problem case where a
string beginning with a dot (for example, the string ".bashrc")
might occur at the beginning of a line in output, in which case
would mistakenly get interpreted as a roff request. Thanks to Eric
S. Raymond for pushing to fix this.
• Made change to ensure that list content nested in
itemizedlist and orderedlist instances is properly indented. This
is a switch from using .TP to format those lists to using .RS/.RE
to format them instead (because .TP does not allow nesting). Closes bug #
1602616.
Thanks to Daniel Leidert.
Params
The following changes have been made to the params code since the 1.71.1
release.
• Added doc for man.output.lang.in.name.enabled parameter. This
checkin completes support for writing file/pathnames for man-pages
with $lang include in the names. Closes #1585967. knightly
accolades to Daniel Leidert for providing the feature request.
• Added new param man.output.lang.in.name.enabled, which
controls whether $LANG value is included in manpages
filenames and pathnames. It works like this:
If the value of man.output.lang.in.name.enabled is non-zero,
man-page files are output with the $lang value included in
their filenames or pathnames as follows;
- if man.output.subdirs.enabled is non-zero, each file is
output to, e.g., a /$lang/man8/foo.8 pathname
- if man.output.subdirs.enabled is zero, each file is output
with a foo.$lang.8 filename
• Added the man.string.subst.map.local.pre and
man.string.subst.map.local.post parameters. Those parameters
enable local additions and changes to string-substitution mappings
without the need to change the value of man.string.subst.map
parameter (which is for standard system mappings). Closes
#1456738. Thanks to Sam Steingold for constructing a true
stylesheet torture test (the clisp docs) that exposed the need for
these params.
• Add index.page.number.properties by default.
• Added index.page.number.properties
to allow customizations of page numbers in indexes.
• Move show-destination="replace" property from template to attribute-set
so it can be customized.
• Add support for sorting glossary entries
• Add option to include qanda in tables of contents.
• Moved all properties to attribute-sets so can be customized more easily.
Template
The following changes have been made to the template code since the 1.71.1
release.
• Added workaround for Xalan bug: use for-each and copy instead of copy-of (#
1604770).
Roundtrip
The following changes have been made to the roundtrip code since the 1.71.1
release.
• rename to roundtrip, add OpenOffice support
Release: 1.71.1
This is a minor update to the 1.71.0 release. Along with a number of bug fixes,
it includes two feature changes:
• Added support for profiling based on xml:lang and status attributes.
• Added initial support in manpages output for footnote, annotation, and alt
instances. Basically, they all now get handled the same way ulink instances
are. They are treated as a class as "note sources": A numbered marker is
generated at the place in the main text flow where they occur, then their
contents are displayed in an endnotes section at the end of the man page.
Common
The following changes have been made to the common code since the 1.71.1
release.
• For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.
• Add support for Xalan generating a root xml:base like saxon.
FO
The following changes have been made to the fo code since the 1.71.1 release.
• For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.
• Add support for Xalan to add root node xml:base for db5 docs.
• Added support for profiling based on xml:lang and status attributes.
HTML
The following changes have been made to the html code since the 1.71.1 release.
• For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.
• Add support for Xalan to add root node xml:base for db5 docs.
• Added support for profiling based on xml:lang and status attributes.
• Made changes in namespace declarations to prevent xmllint's
canonicalizer from treating them as relative namespace URIs.
- Changed xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService"
to xmlns:k="http://www.isogen.com/functions/
com.isogen.saxoni18n.Saxoni18nService";
Saxon accepts either form
(see http://www.saxonica.com/documentation/extensibility/
functions.html);
to Saxon, "the part of the URI before the final '/' is immaterial".
- Changed, e.g. xmlns:xverb="com.nwalsh.xalan.Verbatim" to
xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim"; Xalan accepts
either form
(see http://xml.apache.org/xalan-j/extensions.html#
java-namespace-declare);
just as Saxon does, it will "simply use the string to the
right of the rightmost forward slash as the Java class name".
- Changed xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect"
to xmlns:redirect="http://xml.apache.org/xalan/redirect", and
adjusted associated code to make the current Xalan redirect spec.
(see http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/
Redirect.html)
• Added the html.append and chunk.append parameters. By default, the
value of both is empty; but the internal DocBook XSL stylesheets
build sets their value to "<xsl:text>
</xsl:text>", in order
to ensure that all files in the docbook-xsl-doc package end in a
newline character. (Because diff and some other tools may emit
error messages and/or not behave as expected when processing
files that are not newline-terminated.)
Highlighting
The following changes have been made to the highlighting code since the 1.71.1
release.
• Added license information
Manpages
The following changes have been made to the manpages code since the 1.71.1
release.
• Added initial support in manpages output for footnote, annotation,
and alt instances. Basically, they all now get handled the same
way ulink instances are. They are treated as a class as "note
sources": A numbered marker is generated at the place in the main
text flow where they occur, then their contents are displayed in
an endnotes section at the end of the man page (currently titled
REFERENCES, for English output, but will be changed to NOTES).
This support is not yet complete. It works for most "normal"
cases, but probably mishandles a good number of cases. More
testing will be needed to expose the problems. It may well also
introduce some bugs and regressions in other areas, including
basic paragraph handling, handling of "mixed block" content,
handling of other indented content, and handling of authorblurb
and personblurb in the AUTHORS section.
Params
The following changes have been made to the params code since the 1.71.1
release.
• Added support for profiling based on xml:lang and status attributes.
• Added the html.append and chunk.append parameters. By default, the
value of both is empty; but the internal DocBook XSL stylesheets
build sets their value to "<xsl:text>
</xsl:text>", in order
to ensure that all files in the docbook-xsl-doc package end in a
newline character. (Because diff and some other tools may emit
error messages and/or not behave as expected when processing
files that are not newline-terminated.)
Profiling
The following changes have been made to the profiling code since the 1.71.1
release.
• Added support for profiling based on xml:lang and status attributes.
Release: 1.71.0
This is mainly a bug fix release, but it also includes two significant feature
changes:
Highlighting support added
The stylesheets now include support for source-code highlighting in output
of programlisting instances (controlled through the highlight.source
parameter). The Java-based implementation requires Saxon and makes use of
Michal Molhanec’s XSLTHL. More details are available at Jirka Kosek’s
website:
http://xmlguru.cz/2006/07/docbook-syntax-highlighting
The support is currently limited to highlighting of XML, Java, PHP, Delphi,
Modula-2 sources, and INI files.
Changes to autoindexing
The templates that handle alternative indexing methods were reworked to
avoid errors produced by certain processors not being able to tolerate the
presence of unused functions. With this release, none of the code for the
'kimber' or 'kosek' methods is included in the default stylesheets. In
order to use one of those methods, your customization layer must import one
of the optional stylesheet modules:
□ html/autoidx-kosek.xsl
□ html/autoidx-kimber.xsl
□ fo/autoidx-kosek.xsl
□ fo/autoidx-kimber.xsl
See the index.method parameter reference page for more information.
Two other changes to note:
□ The default indexing method now can handle accented characters in
latin-based alphabets, not just English. This means accented latin
letters will group and sort with their unaccented counterpart.
□ The default value for the index.method parameter was changed from
'english' to 'basic' because now the default method can handle
latin-based alphabets, not just English.
The following is a list of changes that have been made since the 1.70.1
release.
Common
The following changes have been made to the common code since the 1.70.1
release.
• Added reference.autolabel parameter for controlling labels on
reference output.
• Support rows that are *completely* overlapped by the preceding row
• New modules for supporting indexing extensions.
• Support startinglinenumber on orderedlist
Extensions
The following changes have been made to the extensions code since the 1.70.1
release.
• Completely reworked extensions build system; now uses NetBeans and ant
FO
The following changes have been made to the fo code since the 1.70.1 release.
• xsl:sort lang attribute now uses two-char substring of lang attribute.
• Support titlecase "Java", "Perl", and "IDL" as values for the
language attribute on classsynopsis, etc. (instead of just
lowercase "java", "perl", and "idl"). Also support "c++" and "C++"
(instead of just "cpp").
Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks
to "Brian A. Vanderburg II".
• Added support for the reference.autolabel param in (X)HTML and FO
output.
• Support rows that are *completely* overlapped by the preceding row
• Rearranged templates for the 3 indexing methods
and changed method named 'english' to 'basic'.
• New modules for supporting indexing extensions.
• Turn off blank-body for fop1.extensions too since fop 0.92
does not support it either.
• Add Xalan variant to test for exslt:node-set function.
Xalan can use function named node-set(), but doesn't
recognize it using function-available().
• Added support to FO stylesheets for handling instances of Org
where it occurs outside of *info content. In HTML stylesheets,
moved handling of Org out of info.xsl and into inline.xsl. In both
FO and HTML stylesheets, added support for correctly processing
Affiliation and Jobtitle.
• Don't output punctuation between Refname and Refpurpose if
Refpurpose is empty. Also corrected handling of Refsect2/title
instances, and removed some debugging stuff that was generated in
manpages output to mark the ends of sections.
• Added new email.delimiters.enabled param. If non-zero (the
default), delimiters are generated around e-mail addresses (output
of the email element). If zero, the delimiters are suppressed.
• Initial support of syntax highlighting of programlistings.
• Chapter after preface should restart numbering of pages.
HTML
The following changes have been made to the html code since the 1.70.1 release.
• xsl:sort lang attribute now uses two-char substring of lang attribute.
• Support titlecase "Java", "Perl", and "IDL" as values for the
language attribute on classsynopsis, etc. (instead of just
lowercase "java", "perl", and "idl"). Also support "c++" and "C++"
(instead of just "cpp").
Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks
to "Brian A. Vanderburg II".
• Added support for the reference.autolabel param in (X)HTML and FO
output.
• Support rows that are *completely* overlapped by the preceding row
• Rearranged templates for the 3 indexing methods
and changed method named 'english' to 'basic'.
• New modules for supporting indexing extensions.
• Added several new HTML parameters for controlling appearance of
content on HTML title pages:
contrib.inline.enabled:
If non-zero (the default), output of the contrib element is
displayed as inline content rather than as block content.
othercredit.like.author.enabled:
If non-zero, output of the othercredit element on titlepages is
displayed in the same style as author and editor output. If zero
(the default), othercredit output is displayed using a style
different than that of author and editor.
blurb.on.titlepage.enabled:
If non-zero, output from authorblurb and personblurb elements is
displayed on title pages. If zero (the default), output from
those elements is suppressed on title pages (unless you are
using a titlepage customization that causes them to be included).
editedby.enabled
If non-zero (the default), a localized Edited by heading is
displayed above editor names in output of the editor element.
• Add Xalan variant to test for exslt:node-set function.
Xalan can use function named node-set(), but doesn't
recognize it using function-available().
• Added support to FO stylesheets for handling instances of Org
where it occurs outside of *info content. In HTML stylesheets,
moved handling of Org out of info.xsl and into inline.xsl. In both
FO and HTML stylesheets, added support for correctly processing
Affiliation and Jobtitle.
• Don't output punctuation between Refname and Refpurpose if
Refpurpose is empty. Also corrected handling of Refsect2/title
instances, and removed some debugging stuff that was generated in
manpages output to mark the ends of sections.
• Added new email.delimiters.enabled param. If non-zero (the
default), delimiters are generated around e-mail addresses (output
of the email element). If zero, the delimiters are suppressed.
• Added qanda.nested.in.toc param. Default value is zero. If
non-zero, instances of "nested" Qandaentry (ones that are children
of Answer elements) are displayed in the TOC. Closes patch 1509018
(from Daniel Leidert). Currently on affects HTML output (no patch
for FO output provided).
• Improved handling of relative locations generated files
• Initial support of syntax highlighting of programlistings.
• Support org
• Support person
• Support $keep.relative.image.uris also when chunking
Highlighting
The following changes have been made to the highlighting code since the 1.70.1
release.
• Initial support of syntax highlighting of programlistings.
Manpages
The following changes have been made to the manpages code since the 1.70.1
release.
• Suppress footnote markers and output warning that footnotes are
not yet supported.
• Handle instances of address/otheraddr/ulink in author et al in the
same way as email instances; that is, display them on the same
linke as the author, editor, etc., name.
• Don't number or link-list any Ulink instance whose string value is
identical to the value of its url attribute. Just display it inline.
• Don't output punctuation between Refname and Refpurpose if
Refpurpose is empty. Also corrected handling of Refsect2/title
instances, and removed some debugging stuff that was generated in
manpages output to mark the ends of sections.
• Added new email.delimiters.enabled param. If non-zero (the
default), delimiters are generated around e-mail addresses (output
of the email element). If zero, the delimiters are suppressed.
• In manpages output, if the last/nearest *info element for
particular Refentry has multiple Copyright and/or Legalnotice
children, process them all (not just the first ones). Closes bug
1524576. Thanks to Sam Steingold for the report and to Daniel
Leidert for providing a patch.
Params
The following changes have been made to the params code since the 1.70.1
release.
• Added reference.autolabel parameter for controlling labels on
reference output.
• Added namespace declarations to document elements for all param files.
• Updated index.method doc to describe revised setup for importing index
extensions.
• Added several new HTML parameters for controlling appearance of
content on HTML title pages:
contrib.inline.enabled:
If non-zero (the default), output of the contrib element is
displayed as inline content rather than as block content.
othercredit.like.author.enabled:
If non-zero, output of the othercredit element on titlepages is
displayed in the same style as author and editor output. If zero
(the default), othercredit output is displayed using a style
different than that of author and editor.
blurb.on.titlepage.enabled:
If non-zero, output from authorblurb and personblurb elements is
displayed on title pages. If zero (the default), output from
those elements is suppressed on title pages (unless you are
using a titlepage customization that causes them to be included).
editedby.enabled
If non-zero (the default), a localized Edited by heading is
displayed above editor names in output of the editor element.
• Added new email.delimiters.enabled param. If non-zero (the
default), delimiters are generated around e-mail addresses (output
of the email element). If zero, the delimiters are suppressed.
• Added qanda.nested.in.toc param. Default value is zero. If
non-zero, instances of "nested" Qandaentry (ones that are children
of Answer elements) are displayed in the TOC. Closes patch 1509018
(from Daniel Leidert). Currently on affects HTML output (no patch
for FO output provided).
• Initial support of syntax highlighting of programlistings.
Tools
The following changes have been made to the tools code since the 1.70.1
release.
• Racheted down font sizes of headings in example makefile FO output.
• Added param and attribute set to example makefile, for getting
wrapping in verbatims in FO output.
• Renamed Makefile.paramDoc to Makefile.docParam.
• Added Makefile.paramDoc file, for creating versions of param.xsl
files with doc embedded.
• Added variable to example makefile for controlling whether HTML or
XHTML is generated.
Release: 1.70.1
This is a stable release of the 1.70 stylesheets. It includes only a few small
changes from 1.70.0.
The following is a list of changes that have been made since the 1.70.0
release.
FO
The following changes have been made to the fo code since the 1.70.0 release.
• Added three new attribute sets (revhistory.title.properties,
revhistory.table.properties and revhistory.table.cell.properties) for
controlling appearance of revhistory in FO output.
Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/
titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params
/revhistory.table.properties.xml,1.1; params/
revhistory.title.properties.xml,1.1 - Jirka Kosek
• Support DBv5 revisions with full author name (not only authorinitials)
Modified: fo/block.xsl,1.33; fo/titlepage.xsl,1.40 - Jirka Kosek
HTML
The following changes have been made to the html code since the 1.70.0 release.
• Support DBv5 revisions with full author name (not only authorinitials)
Modified: html/block.xsl,1.23; html/titlepage.xsl,1.34 - Jirka Kosek
HTMLHelp
The following changes have been made to the htmlhelp code since the 1.70.0
release.
• htmlhelp.generate.index is now param, not variable. This means that you can
override its setting from outside. This is useful when you generate
indexterms on the fly (see http://www.xml.com/pub/a/2004/07/14/dbndx.html?
page=3).
Modified: htmlhelp/htmlhelp-common.xsl,1.38 - Jirka Kosek
• Support chunk.tocs.and.lots in HTML Help
Modified: htmlhelp/htmlhelp-common.xsl,1.37 - Jirka Kosek
Params
The following changes have been made to the params code since the 1.70.0
release.
• Added three new attribute sets (revhistory.title.properties,
revhistory.table.properties and revhistory.table.cell.properties) for
controlling appearance of revhistory in FO output.
Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/
titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params
/revhistory.table.properties.xml,1.1; params/
revhistory.title.properties.xml,1.1 - Jirka Kosek
Release: 1.70.0
As with all DocBook Project dot-zero releases, this is an experimental release.
It will be followed shortly by a stable release.
This release adds a number of new features, including:
• support for selecting alternative index-collation methods (in particular,
support for using a collation library developed by Eliot Kimber)
• improved handling of DocBook 5 document instances (through a
namespace-stripping mechanism)
• full support for CALS and HTML tables in manpages output
• a mechanism for preserving relative URIs in documents that make use of
XInclude
• support for the "new" .90 version of FOP
• enhanced capabilities for controlling formatting of lists in HTML and FO
output
• autogeneration of AUTHOR and COPYRIGHT sections in manpages output
• support for generating crop marks in FO/PDF output
• support for qandaset as a root element in FO output
• support for floatstyle and orient on all table types
• support for floatstyle in figure, and example
• pgwide.properties attribute-set supports extending figure, example and
table into the left indent area instead of spanning multiple columns.
The following is a detailed list of enhancements and API changes that have been
made since the 1.69.1 release.
Common
The following changes have been made to the common code since the 1.69.1
release.
• Add the xsl:key for the kimber indexing method.
Modified: common/autoidx-ng.xsl,1.2 - Robert Stayton
• Add support for qandaset.
Modified: common/labels.xsl,1.37; common/subtitles.xsl,1.7; common/
titles.xsl,1.35 - Robert Stayton
• Support dbhtml/dbfo start PI for orderedlist numbering in both HTML and FO
Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman Walsh
• Added CVS header.
Modified: common/stripns.xsl,1.12 - Robert Stayton
• Changed content model of text element to ANY rather than #PCDATA because
they could contain markup.
Modified: common/targetdatabase.dtd,1.7 - Robert Stayton
• Added refentry.meta.get.quietly param.
If zero (the default), notes and warnings about "missing" markup are
generated during gathering of refentry metadata. If non-zero, the metadata
is gathered "quietly" -- that is, the notes and warnings are suppressed.
NOTE: If you are processing a large amount of refentry content, you may be
able to speed up processing significantly by setting a non-zero value for
refentry.meta.get.quietly.
Modified: common/refentry.xsl,1.17; manpages/param.ent,1.15; manpages/
param.xweb,1.17; params/refentry.meta.get.quietly.xml,1.1 - Michael(tm)
Smith
• After namespace stripping, the source document is the temporary tree
created by the stripping process and it has the wrong base URI for relative
references. Earlier versions of this code used to try to fix that by
patching the elements with relative @fileref attributes. That was
inadequate because it calculated an absolute base URI without considering
that there might be xml:base attributes already in effect. It seems obvious
now that the right thing to do is simply to put the xml:base on the root of
the document. And that seems to work.
Modified: common/stripns.xsl,1.7 - Norman Walsh
• Added support for "software" and "sectdesc" class values on refmiscinfo;
"software" is treated identically to "source", and "setdesc" is treated
identically to "manual".
Modified: common/refentry.xsl,1.10; params/
man.th.extra2.max.length.xml,1.3; params/
refentry.source.name.profile.xml,1.4 - Michael(tm) Smith
• Added support for DocBook 5 namespace-stripping in manpages stylesheet.
Closes request #1210692.
Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - Michael(tm)
Smith
• Added <xsl:template match="/"> to make stripns.xsl usable as a standalone
stylesheet for stripping out DocBook 5/NG to DocBook 4. Note that DocBook
XSLT drivers that include this stylesheet all override the match="/"
template.
Modified: common/stripns.xsl,1.4 - Michael(tm) Smith
• Number figures, examples, and tables from book if there is no prefix (i.e.
if chapter.autolabel is set to 0). This avoids having the list of figures
where the figures mysteriously restart their numeration periodically when
chapter.autolabel is set to 0.
Modified: common/labels.xsl,1.36 - David Cramer
• Add task template in title.markup mode.
Modified: common/titles.xsl,1.34 - Robert Stayton
• Add children (with ids) of formal objects to target data.
Modified: common/targets.xsl,1.10 - Robert Stayton
• Added support for case when personname doesn't contain specific name markup
(as allowed in DocBook 5.0)
Modified: common/common.xsl,1.54 - Jirka Kosek
Extensions
The following changes have been made to the extensions code since the 1.69.1
release.
• Support Xalan 2.7
Modified: extensions/xalan27/.cvsignore,1.1; extensions/xalan27/
build.xml,1.1; extensions/xalan27/nbproject/.cvsignore,1.1; extensions/
xalan27/nbproject/build-impl.xml,1.1; extensions/xalan27/nbproject/
genfiles.properties,1.1; extensions/xalan27/nbproject/
project.properties,1.1; extensions/xalan27/nbproject/project.xml,1.1;
extensions/xalan27/src/com/nwalsh/xalan/CVS.java,1.1; extensions/xalan27/
src/com/nwalsh/xalan/Callout.java,1.1; extensions/xalan27/src/com/nwalsh/
xalan/FormatCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/
FormatDingbatCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/
FormatGraphicCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/
FormatTextCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/
FormatUnicodeCallout.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/
Func.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/
ImageIntrinsics.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/
Params.java,1.1; extensions/xalan27/src/com/nwalsh/xalan/Table.java,1.1;
extensions/xalan27/src/com/nwalsh/xalan/Text.java,1.1; extensions/xalan27/
src/com/nwalsh/xalan/Verbatim.java,1.1 - Norman Walsh
• Handle the case where the imageFn is actually a URI. This still needs work.
Modified: extensions/saxon643/com/nwalsh/saxon/ImageIntrinsics.java,1.4 -
Norman Walsh
FO
The following changes have been made to the fo code since the 1.69.1 release.
• Adapted to the new indexing code. Now works just like a wrapper that calls
kosek indexing method, originally implemented here.
Modified: fo/autoidx-ng.xsl,1.5 - Jirka Kosek
• Added parameters for header/footer table minimum height.
Modified: fo/pagesetup.xsl,1.60; fo/param.ent,1.100; fo/param.xweb,1.113 -
Robert Stayton
• Add the index.method parameter.
Modified: fo/param.ent,1.99; fo/param.xweb,1.112 - Robert Stayton
• Integrate support for three indexing methods: - the original English-only
method. - Jirka Kosek's method using EXSLT extensions. - Eliot Kimber's
method using Saxon extensions. Use the 'index.method' parameter to select.
Modified: fo/autoidx.xsl,1.38 - Robert Stayton
• Add support for TOC for qandaset in fo output.
Modified: fo/autotoc.xsl,1.30; fo/qandaset.xsl,1.20 - Robert Stayton
• Added parameter ulink.hyphenate.chars. Added parameter insert.link
.page.number.
Modified: fo/param.ent,1.98; fo/param.xweb,1.111 - Robert Stayton
• Implemented feature request #942524 to add insert.link.page.number to allow
link element cross references to have a page number.
Modified: fo/xref.xsl,1.67 - Robert Stayton
• Add support for ulink.hyphenate.chars so more characters can be break
points in urls.
Modified: fo/xref.xsl,1.66 - Robert Stayton
• Implemented patch #1075144 to make the url text in a ulink in FO output an
active link as well.
Modified: fo/xref.xsl,1.65 - Robert Stayton
• table footnotes now have their own table.footnote.properties attribute set.
Modified: fo/footnote.xsl,1.23 - Robert Stayton
• Add qandaset to root.elements.
Modified: fo/docbook.xsl,1.41 - Robert Stayton
• Added mode="page.sequence" to make it easier to put content into a page
sequence. First used for qandaset.
Modified: fo/component.xsl,1.37 - Robert Stayton
• Implemented feature request #1434408 to support formatting of biblioentry.
Modified: fo/biblio.xsl,1.35 - Robert Stayton
• Added biblioentry.properties.
Modified: fo/param.ent,1.97; fo/param.xweb,1.110 - Robert Stayton
• Support PTC/Arbortext bookmarks
Modified: fo/docbook.xsl,1.40; fo/ptc.xsl,1.1 - Norman Walsh
• Added table.footnote.properties to permit table footnotes to format
differently from regular footnotes.
Modified: fo/param.ent,1.96; fo/param.xweb,1.109 - Robert Stayton
• Refactored table templates to unify their processing and support all
options in all types. Now table and informaltable, in both Cals and Html
markup, use the same templates where possible, and all support pgwide,
rotation, and floats. There is also a placeholder table.container template
to support wrapping a table in a layout table, so the XEP table title
"continued" extension can be more easily implemented.
Modified: fo/formal.xsl,1.52; fo/htmltbl.xsl,1.9; fo/table.xsl,1.48 -
Robert Stayton
• Added new attribute set toc.line.properties for controlling appearance of
lines in ToC/LoT
Modified: fo/autotoc.xsl,1.29; fo/param.ent,1.95; fo/param.xweb,1.108 -
Jirka Kosek
• Added support for float to example and equation. Added support for pgwide
to figure, example, and equation (the latter two via a dbfo pgwide="1"
processing instruction).
Modified: fo/formal.xsl,1.51 - Robert Stayton
• Add pgwide.properties attribute-set.
Modified: fo/param.ent,1.94; fo/param.xweb,1.107 - Robert Stayton
• Added refclass.suppress param.
If the value of refclass.suppress is non-zero, then display refclass
contents is suppressed in output. Affects HTML and FO output only.
Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; html
/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) Smith
• Improved support for task subelements
Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - Jirka Kosek
• Adjusted spacing around K&R-formatted Funcdef and Paramdef output such that
it can more easily be discerned where one ends and the other begins. Closes
#1213264.
Modified: fo/synop.xsl,1.18 - Michael(tm) Smith
• Made handling of paramdef/parameter in FO output consistent with that in
HTML and manpages output. Closes #1213259.
Modified: fo/synop.xsl,1.17 - Michael(tm) Smith
• Made handling of Refnamediv consistent with formatting in HTML and manpages
output; specifically, changed so that Refname (comma-separated list of
multiple instances found) is used (instead of Refentrytitle as previously),
then em-dash, then the Refpurpose. Closes #1212562.
Modified: fo/refentry.xsl,1.30 - Michael(tm) Smith
• Added output of Releaseinfo to recto titlepage ("copyright" page) for Book
in FO output. This makes it consistent with HTML output. Closes #1327034.
Thanks to Paul DuBois for reporting.
Modified: fo/titlepage.templates.xml,1.28 - Michael(tm) Smith
• Added condition for setting block-progression-dimension.minimum on
table-row, instead of height, when fop1.extensions is non-zero. For an
explanation of the reason for the change, see: http://wiki.apache.org/
xmlgraphics-fop/Troubleshooting/CommonLogMessages
Modified: fo/pagesetup.xsl,1.59 - Michael(tm) Smith
• Added new refclass.suppress param for suppressing display of Refclass in
HTML and FO output. Did not add it to manpages because manpages stylesheet
is currently just silently ignoring Refclass anyway. Closes request #
1461065. Thanks to Davor Ocelic (docelic) for reporting.
Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - Michael(tm) Smith
• Add support for keep-together PI to informal objects.
Modified: fo/formal.xsl,1.50 - Robert Stayton
• Add support for fop1.extensions.
Modified: fo/formal.xsl,1.49; fo/graphics.xsl,1.44; fo/table.xsl,1.47 -
Robert Stayton
• Add support for fop1 bookmarks.
Modified: fo/docbook.xsl,1.39 - Robert Stayton
• Add fop1.extentions parameter to add support for fop development version.
Modified: fo/param.ent,1.92; fo/param.xweb,1.105 - Robert Stayton
• Start supporting fop development version, which will become fop version 1.
Modified: fo/fop1.xsl,1.1 - Robert Stayton
• Add template for task in mode="xref-to".
Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert Stayton
• table footnotes now also get footnote.properties attribute-set.
Modified: fo/footnote.xsl,1.22 - Robert Stayton
• Added index.separator named template to compute the separator punctuation
based on locale.
Modified: fo/autoidx.xsl,1.36 - Robert Stayton
• Added support for link, olink, and xref within OO Classsynopsis and
children. (Because DocBook NG/5 allows it).
Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) Smith
• Support date as an inline
Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman Walsh
• Added new parameter keep.relative.image.uris
Modified: fo/param.ent,1.91; fo/param.xweb,1.104; html/param.ent,1.87; html
/param.xweb,1.96; params/keep.relative.image.uris.xml,1.1 - Norman Walsh
• Map Unicode space characters U+2000-U+200A to fo:leaders.
Modified: fo/docbook.xsl,1.38; fo/passivetex.xsl,1.4; fo/spaces.xsl,1.1 -
Jirka Kosek
• Output a real em dash for em-dash dingbat (instead of two hypens).
Modified: fo/fo.xsl,1.7 - Michael(tm) Smith
• Support default label width parameters for itemized and ordered lists
Modified: fo/lists.xsl,1.64; fo/param.ent,1.90; fo/param.xweb,1.103; params
/itemizedlist.label.width.xml,1.1; params/orderedlist.label.width.xml,1.1 -
Norman Walsh
• Generate localized title for Refsynopsisdiv if no appropriate Title
descendant found in source. Closes #1212398. This change makes behavior for
the Synopsis title consistent with the behavior of HTML and manpages
output.
Also, added xsl:use-attribute-sets="normal.para.spacing" to block generated
for Cmdsynopsis output. Previously, that block had no spacing at all
specified, which resulted it being crammed up to closely to the Synopsis
head.
Modified: fo/refentry.xsl,1.28; fo/synop.xsl,1.13 - Michael(tm) Smith
• Added parameters to support localization of index item punctuation.
Modified: fo/autoidx.xsl,1.35 - Robert Stayton
• Added index.number.separator, index.range.separator, and
index.term.separator parameters to support localization of punctuation in
index entries.
Modified: fo/param.ent,1.89; fo/param.xweb,1.102 - Robert Stayton
• Added "Cross References" section in HTML doc (for consistency with the FO
doc). Also, moved the existing FO "Cross References" section to follow the
"Linking" section.
Modified: fo/param.xweb,1.101; html/param.xweb,1.95 - Michael(tm) Smith
• Added ID attribues to all Reference elements (e.g., id="tables" for the doc
for section on Table params). So pages for all subsections of ref docs now
have stable filenames instead of arbitrary generated filenames.
Modified: fo/param.xweb,1.100; html/param.xweb,1.94 - Michael(tm) Smith
• Added two new parameters for handling of multi-term varlistentry elements:
variablelist.term.break.after: When the variablelist.term.break.after is
non-zero, it will generate a line break after each term multi-term
varlistentry.
variablelist.term.separator: When a varlistentry contains multiple term
elements, the string specified in the value of the
variablelist.term.separator parameter is placed after each term except the
last. The default is ", " (a comma followed by a space). To suppress
rendering of the separator, set the value of variablelist.term.separator to
the empty string ("").
These parameters are primarily intended to be useful if you have multi-term
varlistentries that have long terms.
Closes #1306676. Thanks to Sam Steingold for providing an example "lots of
long terms" doc that demonstrated the value of having these options.
Also, added normalize-space() call to processing of each term.
This change affects all output formats (HTML, PDF, manpages). The default
behavior should pretty much remain the same as before, but it is possible
(as always) that the change may introduce some new bugginess.
Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; fo/param.xweb,1.99; html/
lists.xsl,1.48; html/param.ent,1.86; html/param.xweb,1.93; manpages/
lists.xsl,1.22; manpages/param.ent,1.14; manpages/param.xweb,1.16; params/
variablelist.term.break.after.xml,1.1; params/
variablelist.term.separator.xml,1.1 - Michael(tm) Smith
• Add sidebar titlepage placeholder attset for styles.
Modified: fo/titlepage.xsl,1.37 - Robert Stayton
• Add titlepage for sidebar.
Modified: fo/titlepage.templates.xml,1.27 - Robert Stayton
• Implemented RFE #1292615.
Added bunch of new parameters (attribute sets) that affect list
presentation: list.block.properties, itemizedlist.properties, orderedlist
.properties, itemizedlist.label.properties and orderedlist.label
.properties. Default behaviour of stylesheets has not been changed but
further customizations will be much more easier.
Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; fo/param.xweb,1.98; params/
itemizedlist.label.properties.xml,1.1; params/
itemizedlist.properties.xml,1.1; params/list.block.properties.xml,1.1;
params/orderedlist.label.properties.xml,1.1; params/
orderedlist.properties.xml,1.1 - Jirka Kosek
• Implemented RFE #1242092.
You can enable crop marks in your document by setting crop.marks=1 and
xep.extensions=1. Appearance of crop marks can be controlled by parameters
crop.mark.bleed (6pt), crop.mark.offset (24pt) and crop.mark.width (0.5pt).
Also there is new named template called user-xep-pis. You can overwrite it
in order to produce some PIs that can control XEP as described in http://
www.renderx.com/reference.html#Output_Formats
Modified: fo/docbook.xsl,1.36; fo/param.ent,1.86; fo/param.xweb,1.97; fo/
xep.xsl,1.23; params/crop.mark.bleed.xml,1.1; params/
crop.mark.offset.xml,1.1; params/crop.mark.width.xml,1.1; params/
crop.marks.xml,1.1 - Jirka Kosek
HTML
The following changes have been made to the html code since the 1.69.1 release.
• implemented index.method parameter and three methods.
Modified: html/autoidx.xsl,1.28 - Robert Stayton
• added index.method parameter to support 3 indexing methods.
Modified: html/param.ent,1.94; html/param.xweb,1.103 - Robert Stayton
• Implemented feature request #1072510 as a processing instruction to permit
including external HTML content into HTML output.
Modified: html/pi.xsl,1.9 - Robert Stayton
• Added new parameter chunk.tocs.and.lots.has.title which controls presence
of title in a separate chunk with ToC/LoT. Disabling title can be very
useful if you are generating frameset output (well, yes those frames, but
some customers really want them ;-).
Modified: html/chunk-code.xsl,1.15; html/param.ent,1.93; html/
param.xweb,1.102; params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka
Kosek
• Support dbhtml/dbfo start PI for orderedlist numbering in both HTML and FO
Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman Walsh
• Allow ToC without title also for set and book.
Modified: html/autotoc.xsl,1.37; html/division.xsl,1.12 - Jirka Kosek
• Implemented floats uniformly for figure, example, equation and
informalfigure, informalexample, and informalequation.
Modified: html/formal.xsl,1.22 - Robert Stayton
• Added the autotoc.label.in.hyperlink param.
If the value of autotoc.label.in.hyperlink is non-zero, labels are included
in hyperlinked titles in the TOC. If it is instead zero, labels are still
displayed prior to the hyperlinked titles, but are not hyperlinked along
with the titles.
Closes patch #1065868. Thanks to anatoly techtonik for the patch.
Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; html/
param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - Michael(tm)
Smith
• Added two new params: html.head.legalnotice.link.types and html.head.
legalnotice.link.multiple.
If the value of the generate.legalnotice.link is non-zero, then the
stylesheet generates (in the head section of the HTML source) either a
single HTML link element or, if the value of the html.head.legalnotice.link
.multiple is non-zero, one link element for each link type specified. Each
link has the following attributes:
- a rel attribute whose value is derived from the value of html.head.
legalnotice.link.types
- an href attribute whose value is set to the URL of the file containing
the legalnotice
- a title attribute whose value is set to the title of the corresponding
legalnotice (or a title programatically determined by the stylesheet)
For example:
<link rel="copyright" href="ln-id2524073.html" title="Legal Notice">
Closes #1476450. Thanks to Sam Steingold.
Modified: html/chunk-common.xsl,1.45; html/param.ent,1.91; html/
param.xweb,1.100; params/generate.legalnotice.link.xml,1.4; params/
html.head.legalnotice.link.multiple.xml,1.1; params/
html.head.legalnotice.link.types.xml,1.1 - Michael(tm) Smith
• Added refclass.suppress param.
If the value of refclass.suppress is non-zero, then display refclass
contents is suppressed in output. Affects HTML and FO output only.
Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; html
/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) Smith
• Improved support for task subelements
Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - Jirka Kosek
• Added new refclass.suppress param for suppressing display of Refclass in
HTML and FO output. Did not add it to manpages because manpages stylesheet
is currently just silently ignoring Refclass anyway. Closes request #
1461065. Thanks to Davor Ocelic (docelic) for reporting.
Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - Michael(tm) Smith
• Process alt text with normalize-space(). Replace tab indents with spaces.
Modified: html/graphics.xsl,1.57 - Robert Stayton
• Content of citation element is automatically linked to the bibliographic
entry with the corresponding abbrev.
Modified: html/biblio.xsl,1.26; html/inline.xsl,1.47; html/xref.xsl,1.58 -
Jirka Kosek
• Add template for task in mode="xref-to".
Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert Stayton
• Suppress ID warnings if the .warnings parameter is 0
Modified: html/html.xsl,1.17 - Norman Walsh
• Add support for floatstyle to figure.
Modified: html/formal.xsl,1.21 - Robert Stayton
• Handling of xref to area/areaset need support in extensions code also. I
currently have no time to touch extensions code, so code is here to be
enabled when extension is fixed also.
Modified: html/xref.xsl,1.56 - Jirka Kosek
• Added 3 parameters for overriding gentext for index punctuation.
Modified: html/param.ent,1.89; html/param.xweb,1.98 - Robert Stayton
• Added parameters to support localization of index item punctuation. Added
index.separator named template to compute the separator punctuation based
on locale.
Modified: html/autoidx.xsl,1.27 - Robert Stayton
• Added a <div class="{$class}-contents"> wrapper around output of contents
of all formal objects. Also, added an optional <br class="{class}-break"/>
linebreak after all formal objects.
WARNING: Because this change places an additional DIV between the DIV
wrapper for the equation and the equation contents, it may break some
existing CSS stylesheets that have been created with the assumption that
there would never be an intervening DIV there.
The following is an example of what Equation output looks like as a result
of the changes described above.
<div class="equation"> <a name="three" id="three"></a>
<p class="title"><b>(1.3)</b></p>
<div class="equation-contents"> <span class="mathphrase">1+1=3</span> </
div> </div><br class="equation-break">
Rationale: These changes allow CSS control of the placement of the
formal-object title relative to the formal-object contents. For example,
using the CSS "float" property enables the title and contents to be
rendered on the same line. Example stylesheet:
.equation { margin-top: 20px; margin-bottom: 20px; } .equation-contents {
float: left; }
.equation .title { margin-top: 0; float: right; margin-right: 200px; }
.equation .title b { font-weight: normal; }
.equation-break { clear: both; }
Note that the purpose of the ".equation-break" class is to provide a way to
clear off the floats.
If you want to instead have the equation title rendered to the left of the
equation contents, you can do something like this:
.equation { margin-top: 20px; width: 300px; margin-bottom: 20px; }
.equation-contents { float: right; }
.equation .title { margin-top: 0; float: left; margin-right: 200px; }
.equation .title b { font-weight: normal; }
.equation-break { clear: both; }
Modified: html/formal.xsl,1.20 - Michael(tm) Smith
• Added a chunker.output.quiet top-level parameter so that the chunker can be
made quiet by default
Modified: html/chunker.xsl,1.26 - Norman Walsh
• Added support for link, olink, and xref within OO Classsynopsis and
children. (Because DocBook NG/5 allows it).
Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) Smith
• New parameter: id.warnings. If non-zero, warnings are generated for titled
objects that don't have titles. True by default; I wonder if this will be
too aggressive?
Modified: html/biblio.xsl,1.25; html/component.xsl,1.27; html/
division.xsl,1.11; html/formal.xsl,1.19; html/glossary.xsl,1.20; html/
html.xsl,1.13; html/index.xsl,1.16; html/param.ent,1.88; html/
param.xweb,1.97; html/refentry.xsl,1.22; html/sections.xsl,1.30; params/
id.warnings.xml,1.1 - Norman Walsh
• If the keep.relative.image.uris parameter is true, don't use the absolute
URI (as calculated from xml:base) in the img src attribute, us the value
the author specified. Note that we still have to calculate the absolute
filename for use in the image intrinsics extension.
Modified: html/graphics.xsl,1.56 - Norman Walsh
• Support date as an inline
Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman Walsh
• Added new parameter keep.relative.image.uris
Modified: fo/param.ent,1.91; fo/param.xweb,1.104; html/param.ent,1.87; html
/param.xweb,1.96; params/keep.relative.image.uris.xml,1.1 - Norman Walsh
• Added two new parameters for handling of multi-term varlistentry elements:
variablelist.term.break.after: When the variablelist.term.break.after is
non-zero, it will generate a line break after each term multi-term
varlistentry.
variablelist.term.separator: When a varlistentry contains multiple term
elements, the string specified in the value of the
variablelist.term.separator parameter is placed after each term except the
last. The default is ", " (a comma followed by a space). To suppress
rendering of the separator, set the value of variablelist.term.separator to
the empty string ("").
These parameters are primarily intended to be useful if you have multi-term
varlistentries that have long terms.
Closes #1306676. Thanks to Sam Steingold for providing an example "lots of
long terms" doc that demonstrated the value of having these options.
Also, added normalize-space() call to processing of each term.
This change affects all output formats (HTML, PDF, manpages). The default
behavior should pretty much remain the same as before, but it is possible
(as always) that the change may introduce some new bugginess.
Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; fo/param.xweb,1.99; html/
lists.xsl,1.48; html/param.ent,1.86; html/param.xweb,1.93; manpages/
lists.xsl,1.22; manpages/param.ent,1.14; manpages/param.xweb,1.16; params/
variablelist.term.break.after.xml,1.1; params/
variablelist.term.separator.xml,1.1 - Michael(tm) Smith
• Added "wrapper-name" param to inline.charseq named template, enabling it to
output inlines other than just "span". Acronym and Abbrev templates now use
inline.charseq to output HTML "acronym" and "abbr" elements (instead of
"span"). Closes #1305468. Thanks to Sam Steingold for suggesting the
change.
Modified: html/inline.xsl,1.45 - Michael(tm) Smith
Manpages
The following changes have been made to the manpages code since the 1.69.1
release.
• Added the following params:
- man.indent.width (string-valued) - man.indent.refsect (boolean) -
man.indent.blurbs (boolean) - man.indent.lists (boolean) -
man.indent.verbatims (boolean)
Note that in earlier snapshots, man.indent.width was named
man.indentation.default.value and the boolean params had names like
man.indentation.*.adjust. Also the man.indent.blurbs param was called
man.indentation.authors.adjust (or something).
The behavior now is: If the value of a particular man.indent.* boolean
param is non-zero, the corresponding contents (refsect*, list items,
authorblurb/personblurb, vervatims) are displayed with a left margin
indented by a width equal to the value of man.indent.width.
Modified: params/man.indent.blurbs.xml,1.1; manpages/docbook.xsl,1.74;
manpages/info.xsl,1.20; manpages/lists.xsl,1.30; manpages/other.xsl,1.20;
manpages/param.ent,1.22; manpages/param.xweb,1.24; manpages/
refentry.xsl,1.14; params/man.indent.lists.xml,1.1; params/
man.indent.refsect.xml,1.1; params/man.indent.verbatims.xml,1.1; params/
man.indent.width.xml,1.1 - Michael(tm) Smith
• Added man.table.footnotes.divider param.
In each table that contains footenotes, the string specified by the man.
table.footnotes.divider parameter is output before the list of footnotes
for the table.
Modified: manpages/docbook.xsl,1.73; manpages/links.xsl,1.6; manpages/
param.ent,1.21; manpages/param.xweb,1.23; params/
man.table.footnotes.divider.xml,1.1 - Michael(tm) Smith
• Added the man.output.in.separate.dir, man.output.base.dir, and
man.output.subdirs.enabled parameters.
The man.output.base.dir parameter specifies the base directory into which
man-page files are output. The man.output.subdirs.enabled parameter
controls whether the files are output in subdirectories within the base
directory.
The values of the man.output.base.dir and man.output.subdirs.enabled
parameters are used only if the value of man.output.in.separate.dir
parameter is non-zero. If the value of man.output.in.separate.dir is zero,
man-page files are not output in a separate directory.
Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; manpages/
param.xweb,1.22; params/man.output.base.dir.xml,1.1; params/
man.output.in.separate.dir.xml,1.1; params/
man.output.subdirs.enabled.xml,1.1 - Michael(tm) Smith
• Added man.font.table.headings and man.font.table.title params, for
controlling font in table headings and titles.
Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; manpages/
param.xweb,1.21; params/man.font.table.headings.xml,1.1; params/
man.font.table.title.xml,1.1 - Michael(tm) Smith
• Added man.font.funcsynopsisinfo and man.font.funcprototype params, for
specifying the roff font (for example, BI, B, I) for funcsynopsisinfo and
funcprototype output.
Modified: manpages/block.xsl,1.19; manpages/docbook.xsl,1.69; manpages/
param.ent,1.18; manpages/param.xweb,1.20; manpages/synop.xsl,1.29; manpages
/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; params/
man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) Smith
• Added man.segtitle.suppress param.
If the value of man.segtitle.suppress is non-zero, then display of segtitle
contents is suppressed in output.
Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; manpages/
param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - Michael(tm) Smith
• Added man.output.manifest.enabled and man.output.manifest.filename params.
If man.output.manifest.enabled is non-zero, a list of filenames for man
pages generated by the stylesheet transformation is written to the file
named by man.output.manifest.filename
Modified: manpages/docbook.xsl,1.67; manpages/other.xsl,1.19; manpages/
param.ent,1.16; manpages/param.xweb,1.18; params/
man.output.manifest.enabled.xml,1.1; params/
man.output.manifest.filename.xml,1.1; tools/make/Makefile.DocBook,1.4 -
Michael(tm) Smith
• Added refentry.meta.get.quietly param.
If zero (the default), notes and warnings about "missing" markup are
generated during gathering of refentry metadata. If non-zero, the metadata
is gathered "quietly" -- that is, the notes and warnings are suppressed.
NOTE: If you are processing a large amount of refentry content, you may be
able to speed up processing significantly by setting a non-zero value for
refentry.meta.get.quietly.
Modified: common/refentry.xsl,1.17; manpages/param.ent,1.15; manpages/
param.xweb,1.17; params/refentry.meta.get.quietly.xml,1.1 - Michael(tm)
Smith
• Changed names of all boolean indentation params to man.indent.* Also
discarded individual man.indent.*.value params and switched to just using a
common man.indent.width param (3n by default).
Modified: manpages/docbook.xsl,1.66; manpages/info.xsl,1.19; manpages/
lists.xsl,1.29; manpages/other.xsl,1.18; manpages/refentry.xsl,1.13 -
Michael(tm) Smith
• Added boolean man.output.in.separate.dir param, to control whether or not
man files are output in separate directory.
Modified: manpages/docbook.xsl,1.65; manpages/utility.xsl,1.14 - Michael
(tm) Smith
• Added options for controlling indentation of verbatim output. Controlled
through the man.indentation.verbatims.adjust and
man.indentation.verbatims.value params. Closes #1242997
Modified: manpages/block.xsl,1.15; manpages/docbook.xsl,1.64 - Michael(tm)
Smith
• Added options for controlling indentation in lists and in *blurb output in
the AUTHORS section. Controlled through the man.indentation.lists.adjust,
man.indentation.lists.value, man.indentation.authors.adjust, and
man.indentation.authors.value parameters. Default is 3 characters (instead
of the roff default of 8 characters). Closes #1449369.
Also, removed the indent that was being set on informalexample outuput. I
will instead add an option for indenting verbatims, which I think is what
the informalexample indent was intended for originally.
Modified: manpages/block.xsl,1.14; manpages/docbook.xsl,1.63; manpages/
info.xsl,1.18; manpages/lists.xsl,1.28 - Michael(tm) Smith
• Changed line-spacing call before synopfragment to use ".sp -1n" ("n" units
specified) instead of plain ".sp -1"
Modified: manpages/synop.xsl,1.28 - Michael(tm) Smith
• Added support for writing man files into a specific output directory and
into appropriate subdirectories within that output directory. Controlled
through the man.base.dir parameter (similar to the base.dir support in the
HTML stylesheet) and the man.subdirs.enabled parameter, which automatically
determines the name of an appropriate subdir (for example, man/man7, man/
man1, etc.) based on the section number/manvolnum of the source Refentry.
Closes #1255036 and #1170317. Thanks to Denis Bradford for the original
feature request, and to Costin Stroie for submitting a patch that was very
helpful in implementing the support.
Modified: manpages/docbook.xsl,1.62; manpages/utility.xsl,1.13 - Michael
(tm) Smith
• Refined XPath statements and notification messages for refentry metadata
handling.
Modified: common/common.xsl,1.59; common/refentry.xsl,1.14; manpages/
docbook.xsl,1.61; manpages/other.xsl,1.17 - Michael(tm) Smith
• Added support for copyright and legalnotice. The manpages stylesheets now
output a COPYRIGHT section, after the AUTHORS section, if a copyright or
legalnotice is found in the source. The section contains the copyright
contents followed by the legalnotice contents. Closes #1450209.
Modified: manpages/docbook.xsl,1.59; manpages/info.xsl,1.17 - Michael(tm)
Smith
• Drastically reworked all of the XPath expressions used in refentry metadata
gathering -- completely removed $parentinfo and turned $info into a set of
nodes that includes the *info contents of the Refentry plus the *info
contents all all of its ancestor elements. The basic XPath expression now
used throughout is (using the example of checking for a date):
(($info[//date])[last()]/date)[1].
That selects the "last" *info/date date in document order -- that is, the
one eitther on the Refentry itself or on the closest ancestor to the
Refentry.
It's likely this change may break some things; may need to pick up some
pieces later.
Also, changed the default value for the man.th.extra2.max.length from 40 to
30.
Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; params/
man.th.extra2.max.length.xml,1.2; params/refentry.date.profile.xml,1.2;
params/refentry.manual.profile.xml,1.2; params/
refentry.source.name.profile.xml,1.2; params/
refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; manpages/
other.xsl,1.15 - Michael(tm) Smith
• Added support for DocBook 5 namespace-stripping in manpages stylesheet.
Closes request #1210692.
Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - Michael(tm)
Smith
• Fixed handling of table footnotes. With this checkin, the table support in
the manpages stylesheet is now basically feature complete. So this change
closes request #619532, "No support for tables" -- the oldest currently
open manpages feature request, submitted by Ben Secrest (blsecres) on
2002-10-07. Congratulations to me [patting myself on the back].
Modified: manpages/block.xsl,1.11; manpages/docbook.xsl,1.55; manpages/
table.xsl,1.15 - Michael(tm) Smith
• Added handling for table titles. Also fixed handling of nested tables; nest
tables are now "extracted" and displayed just after their parent tables.
Modified: manpages/docbook.xsl,1.54; manpages/table.xsl,1.14 - Michael(tm)
Smith
• Added option for turning off bold formatting in Funcsynopsis. Boldface
formatting in function synopsis is mandated in the man(7) man page and is
used almost universally in existing man pages. Despite that, it really does
look like crap to have an entire Funcsynopsis output in bold, so I added
params for turning off the bold formatting and/or replacing it with a
different roff special font (e.g., "RI" for alternating roman/italic
instead of the default "BI" for alternating bold/italic). The new params
are "man.funcprototype.font" and "man.funcsynopsisinfo.font". To be
documented later.
Closes #1452247. Thanks to Joe Orton for the feature request.
Modified: params/man.string.subst.map.xml,1.16; manpages/block.xsl,1.10;
manpages/docbook.xsl,1.51; manpages/inline.xsl,1.16; manpages/
synop.xsl,1.27 - Michael(tm) Smith
• Use AUTHORS instead of AUTHOR if we have multiple people to attribute.
Also, fixed checking such that we generate author section even if we don't
have an author (as long as there is at least one other person/entity we can
put in the section). Also adjusted assembly of content for Author metainfo
field such that we now not only use author, but try to find a "best match"
if we can't find an author name to put there.
Closes #1233592. Thanks to Sam Steingold for the request.
Modified: manpages/info.xsl,1.12 - Michael(tm) Smith
• Changes for request #1243027, "Impove handling of AUTHOR section." This
adds support for Collab, Corpauthor, Corpcredt, Orgname, Publishername, and
Publisher. Also adds support for output of Affiliation and its children,
and support for using gentext strings for auto-attributing roles (Author,
Editor, Publisher, Translator, etc.). Also did a lot of code cleanup and
modularization of all the AUTHOR handling code. And fixed a bug that was
causing Author info to not be picked up correctly for metainfo comment we
embed in man-page source.
Modified: manpages/info.xsl,1.11 - Michael(tm) Smith
• Support bold output for "emphasis remap='B'". (because Eric Raymond's
doclifter(1) tool converts groff source marked up with ".B" request or "\
fB" escapes to DocBook "emphasis remap='B'".)
Modified: manpages/inline.xsl,1.14 - Michael(tm) Smith
• Added support for Segmentedlist. Details: Output is tabular, with no option
for "list" type output. Output for Segtitle elements can be supressed by
setting man.segtitle.suppress. If Segtitle content is output, it is
rendered in italic type (not bold because not all terminals support bold
and so italic ensures the stand out on those terminals). Extra space (.sp
line) at end of table code ensures that it gets handled correctly in the
case where its source is the child of a Para. Closes feature-request #
1400097. Thanks to Daniel Leidert for the patch and push, and to Alastair
Rankine for filing the original feature request.
Modified: manpages/lists.xsl,1.23; manpages/utility.xsl,1.10 - Michael(tm)
Smith
• Improved handling or Author/Editor/Othercredit.
Reworked content of (non-visible) comment added at top of each page
(metadata stuff).
Added support for generating a manifest file (useful for cleaning up after
builds, etc.)
Modified: manpages/docbook.xsl,1.46; manpages/info.xsl,1.9; manpages/
other.xsl,1.12; manpages/utility.xsl,1.6 - Michael(tm) Smith
• Added two new parameters for handling of multi-term varlistentry elements:
variablelist.term.break.after: When the variablelist.term.break.after is
non-zero, it will generate a line break after each term multi-term
varlistentry.
variablelist.term.separator: When a varlistentry contains multiple term
elements, the string specified in the value of the
variablelist.term.separator parameter is placed after each term except the
last. The default is ", " (a comma followed by a space). To suppress
rendering of the separator, set the value of variablelist.term.separator to
the empty string ("").
These parameters are primarily intended to be useful if you have multi-term
varlistentries that have long terms.
Closes #1306676. Thanks to Sam Steingold for providing an example "lots of
long terms" doc that demonstrated the value of having these options.
Also, added normalize-space() call to processing of each term.
This change affects all output formats (HTML, PDF, manpages). The default
behavior should pretty much remain the same as before, but it is possible
(as always) that the change may introduce some new bugginess.
Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; fo/param.xweb,1.99; html/
lists.xsl,1.48; html/param.ent,1.86; html/param.xweb,1.93; manpages/
lists.xsl,1.22; manpages/param.ent,1.14; manpages/param.xweb,1.16; params/
variablelist.term.break.after.xml,1.1; params/
variablelist.term.separator.xml,1.1 - Michael(tm) Smith
Params
The following changes have been made to the params code since the 1.69.1
release.
• New parameters to set header/footer table minimum height.
Modified: params/footer.table.height.xml,1.1; params/
header.table.height.xml,1.1 - Robert Stayton
• Support multiple indexing methods for different languages.
Modified: params/index.method.xml,1.1 - Robert Stayton
• Remove qandaset and qandadiv from generate.toc for fo output because
formerly it wasn't working, but now it is and the default behavior should
stay the same.
Modified: params/generate.toc.xml,1.8 - Robert Stayton
• add support for page number references to link element too.
Modified: params/insert.link.page.number.xml,1.1 - Robert Stayton
• Add support for more characters to hyphen on when ulink.hyphenate is turned
on.
Modified: params/ulink.hyphenate.chars.xml,1.1; params/
ulink.hyphenate.xml,1.3 - Robert Stayton
• New attribute-set to format biblioentry and bibliomixed.
Modified: params/biblioentry.properties.xml,1.1 - Robert Stayton
• Added new parameter chunk.tocs.and.lots.has.title which controls presence
of title in a separate chunk with ToC/LoT. Disabling title can be very
useful if you are generating frameset output (well, yes those frames, but
some customers really want them ;-).
Modified: html/chunk-code.xsl,1.15; html/param.ent,1.93; html/
param.xweb,1.102; params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka
Kosek
• Added new attribute set toc.line.properties for controlling appearance of
lines in ToC/LoT
Modified: params/toc.line.properties.xml,1.1 - Jirka Kosek
• Allow table footnotes to have different properties from regular footnotes.
Modified: params/table.footnote.properties.xml,1.1 - Robert Stayton
• Set properties for pgwide="1" objects.
Modified: params/pgwide.properties.xml,1.1 - Robert Stayton
• Added the autotoc.label.in.hyperlink param.
If the value of autotoc.label.in.hyperlink is non-zero, labels are included
in hyperlinked titles in the TOC. If it is instead zero, labels are still
displayed prior to the hyperlinked titles, but are not hyperlinked along
with the titles.
Closes patch #1065868. Thanks to anatoly techtonik for the patch.
Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; html/
param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - Michael(tm)
Smith
• Added two new params: html.head.legalnotice.link.types and html.head.
legalnotice.link.multiple.
If the value of the generate.legalnotice.link is non-zero, then the
stylesheet generates (in the head section of the HTML source) either a
single HTML link element or, if the value of the html.head.legalnotice.link
.multiple is non-zero, one link element for each link type specified. Each
link has the following attributes:
- a rel attribute whose value is derived from the value of html.head.
legalnotice.link.types
- an href attribute whose value is set to the URL of the file containing
the legalnotice
- a title attribute whose value is set to the title of the corresponding
legalnotice (or a title programatically determined by the stylesheet)
For example:
<link rel="copyright" href="ln-id2524073.html" title="Legal Notice">
Closes #1476450. Thanks to Sam Steingold.
Modified: html/chunk-common.xsl,1.45; html/param.ent,1.91; html/
param.xweb,1.100; params/generate.legalnotice.link.xml,1.4; params/
html.head.legalnotice.link.multiple.xml,1.1; params/
html.head.legalnotice.link.types.xml,1.1 - Michael(tm) Smith
• Added the following params:
- man.indent.width (string-valued) - man.indent.refsect (boolean) -
man.indent.blurbs (boolean) - man.indent.lists (boolean) -
man.indent.verbatims (boolean)
Note that in earlier snapshots, man.indent.width was named
man.indentation.default.value and the boolean params had names like
man.indentation.*.adjust. Also the man.indent.blurbs param was called
man.indentation.authors.adjust (or something).
The behavior now is: If the value of a particular man.indent.* boolean
param is non-zero, the corresponding contents (refsect*, list items,
authorblurb/personblurb, vervatims) are displayed with a left margin
indented by a width equal to the value of man.indent.width.
Modified: params/man.indent.blurbs.xml,1.1; manpages/docbook.xsl,1.74;
manpages/info.xsl,1.20; manpages/lists.xsl,1.30; manpages/other.xsl,1.20;
manpages/param.ent,1.22; manpages/param.xweb,1.24; manpages/
refentry.xsl,1.14; params/man.indent.lists.xml,1.1; params/
man.indent.refsect.xml,1.1; params/man.indent.verbatims.xml,1.1; params/
man.indent.width.xml,1.1 - Michael(tm) Smith
• Added man.table.footnotes.divider param.
In each table that contains footenotes, the string specified by the man.
table.footnotes.divider parameter is output before the list of footnotes
for the table.
Modified: manpages/docbook.xsl,1.73; manpages/links.xsl,1.6; manpages/
param.ent,1.21; manpages/param.xweb,1.23; params/
man.table.footnotes.divider.xml,1.1 - Michael(tm) Smith
• Added the man.output.in.separate.dir, man.output.base.dir, and
man.output.subdirs.enabled parameters.
The man.output.base.dir parameter specifies the base directory into which
man-page files are output. The man.output.subdirs.enabled parameter
controls whether the files are output in subdirectories within the base
directory.
The values of the man.output.base.dir and man.output.subdirs.enabled
parameters are used only if the value of man.output.in.separate.dir
parameter is non-zero. If the value of man.output.in.separate.dir is zero,
man-page files are not output in a separate directory.
Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; manpages/
param.xweb,1.22; params/man.output.base.dir.xml,1.1; params/
man.output.in.separate.dir.xml,1.1; params/
man.output.subdirs.enabled.xml,1.1 - Michael(tm) Smith
• Added man.font.table.headings and man.font.table.title params, for
controlling font in table headings and titles.
Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; manpages/
param.xweb,1.21; params/man.font.table.headings.xml,1.1; params/
man.font.table.title.xml,1.1 - Michael(tm) Smith
• Added man.font.funcsynopsisinfo and man.font.funcprototype params, for
specifying the roff font (for example, BI, B, I) for funcsynopsisinfo and
funcprototype output.
Modified: manpages/block.xsl,1.19; manpages/docbook.xsl,1.69; manpages/
param.ent,1.18; manpages/param.xweb,1.20; manpages/synop.xsl,1.29; manpages
/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; params/
man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) Smith
• Changed to select="0" in refclass.suppress (instead of ..>0</..)
Modified: params/refclass.suppress.xml,1.3 - Michael(tm) Smith
• Added man.segtitle.suppress param.
If the value of man.segtitle.suppress is non-zero, then display of segtitle
contents is suppressed in output.
Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; manpages/
param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - Michael(tm) Smith
• Added man.output.manifest.enabled and man.output.manifest.filename params.
If man.output.manifest.enabled is non-zero, a list of filenames for man
pages generated by the stylesheet transformation is written to the file
named by man.output.manifest.filename
Modified: manpages/docbook.xsl,1.67; manpages/other.xsl,1.19; manpages/
param.ent,1.16; manpages/param.xweb,1.18; params/
man.output.manifest.enabled.xml,1.1; params/
man.output.manifest.filename.xml,1.1; tools/make/Makefile.DocBook,1.4 -
Michael(tm) Smith
• Added refclass.suppress param.
If the value of refclass.suppress is non-zero, then display refclass
contents is suppressed in output. Affects HTML and FO output only.
Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; html
/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) Smith
• Added refentry.meta.get.quietly param.
If zero (the default), notes and warnings about "missing" markup are
generated during gathering of refentry metadata. If non-zero, the metadata
is gathered "quietly" -- that is, the notes and warnings are suppressed.
NOTE: If you are processing a large amount of refentry content, you may be
able to speed up processing significantly by setting a non-zero value for
refentry.meta.get.quietly.
Modified: common/refentry.xsl,1.17; manpages/param.ent,1.15; manpages/
param.xweb,1.17; params/refentry.meta.get.quietly.xml,1.1 - Michael(tm)
Smith
• Added support for "software" and "sectdesc" class values on refmiscinfo;
"software" is treated identically to "source", and "setdesc" is treated
identically to "manual".
Modified: common/refentry.xsl,1.10; params/
man.th.extra2.max.length.xml,1.3; params/
refentry.source.name.profile.xml,1.4 - Michael(tm) Smith
• Drastically reworked all of the XPath expressions used in refentry metadata
gathering -- completely removed $parentinfo and turned $info into a set of
nodes that includes the *info contents of the Refentry plus the *info
contents all all of its ancestor elements. The basic XPath expression now
used throughout is (using the example of checking for a date):
(($info[//date])[last()]/date)[1].
That selects the "last" *info/date date in document order -- that is, the
one eitther on the Refentry itself or on the closest ancestor to the
Refentry.
It's likely this change may break some things; may need to pick up some
pieces later.
Also, changed the default value for the man.th.extra2.max.length from 40 to
30.
Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; params/
man.th.extra2.max.length.xml,1.2; params/refentry.date.profile.xml,1.2;
params/refentry.manual.profile.xml,1.2; params/
refentry.source.name.profile.xml,1.2; params/
refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; manpages/
other.xsl,1.15 - Michael(tm) Smith
• Added option for turning off bold formatting in Funcsynopsis. Boldface
formatting in function synopsis is mandated in the man(7) man page and is
used almost universally in existing man pages. Despite that, it really does
look like crap to have an entire Funcsynopsis output in bold, so I added
params for turning off the bold formatting and/or replacing it with a
different roff special font (e.g., "RI" for alternating roman/italic
instead of the default "BI" for alternating bold/italic). The new params
are "man.funcprototype.font" and "man.funcsynopsisinfo.font". To be
documented later.
Closes #1452247. Thanks to Joe Orton for the feature request.
Modified: params/man.string.subst.map.xml,1.16; manpages/block.xsl,1.10;
manpages/docbook.xsl,1.51; manpages/inline.xsl,1.16; manpages/
synop.xsl,1.27 - Michael(tm) Smith
• fop.extensions now only for FOP version 0.20.5 and earlier.
Modified: params/fop.extensions.xml,1.4 - Robert Stayton
• Support for fop1 different from fop 0.20.5 and earlier.
Modified: params/fop1.extensions.xml,1.1 - Robert Stayton
• Reset default value to empty string so template uses gentext first, then
the parameter value if not empty.
Modified: params/index.number.separator.xml,1.2; params/
index.range.separator.xml,1.2; params/index.term.separator.xml,1.2 - Robert
Stayton
• New parameter: id.warnings. If non-zero, warnings are generated for titled
objects that don't have titles. True by default; I wonder if this will be
too aggressive?
Modified: html/biblio.xsl,1.25; html/component.xsl,1.27; html/
division.xsl,1.11; html/formal.xsl,1.19; html/glossary.xsl,1.20; html/
html.xsl,1.13; html/index.xsl,1.16; html/param.ent,1.88; html/
param.xweb,1.97; html/refentry.xsl,1.22; html/sections.xsl,1.30; params/
id.warnings.xml,1.1 - Norman Walsh
• Added new parameter keep.relative.image.uris
Modified: fo/param.ent,1.91; fo/param.xweb,1.104; html/param.ent,1.87; html
/param.xweb,1.96; params/keep.relative.image.uris.xml,1.1 - Norman Walsh
• Support default label width parameters for itemized and ordered lists
Modified: fo/lists.xsl,1.64; fo/param.ent,1.90; fo/param.xweb,1.103; params
/itemizedlist.label.width.xml,1.1; params/orderedlist.label.width.xml,1.1 -
Norman Walsh
• Added parameters to localize punctuation in indexes.
Modified: params/index.number.separator.xml,1.1; params/
index.range.separator.xml,1.1; params/index.term.separator.xml,1.1 - Robert
Stayton
• Added two new parameters for handling of multi-term varlistentry elements:
variablelist.term.break.after: When the variablelist.term.break.after is
non-zero, it will generate a line break after each term multi-term
varlistentry.
variablelist.term.separator: When a varlistentry contains multiple term
elements, the string specified in the value of the
variablelist.term.separator parameter is placed after each term except the
last. The default is ", " (a comma followed by a space). To suppress
rendering of the separator, set the value of variablelist.term.separator to
the empty string ("").
These parameters are primarily intended to be useful if you have multi-term
varlistentries that have long terms.
Closes #1306676. Thanks to Sam Steingold for providing an example "lots of
long terms" doc that demonstrated the value of having these options.
Also, added normalize-space() call to processing of each term.
This change affects all output formats (HTML, PDF, manpages). The default
behavior should pretty much remain the same as before, but it is possible
(as always) that the change may introduce some new bugginess.
Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; fo/param.xweb,1.99; html/
lists.xsl,1.48; html/param.ent,1.86; html/param.xweb,1.93; manpages/
lists.xsl,1.22; manpages/param.ent,1.14; manpages/param.xweb,1.16; params/
variablelist.term.break.after.xml,1.1; params/
variablelist.term.separator.xml,1.1 - Michael(tm) Smith
• Convert 'no' to string in default value.
Modified: params/olink.doctitle.xml,1.4 - Robert Stayton
• Implemented RFE #1292615.
Added bunch of new parameters (attribute sets) that affect list
presentation: list.block.properties, itemizedlist.properties, orderedlist
.properties, itemizedlist.label.properties and orderedlist.label
.properties. Default behaviour of stylesheets has not been changed but
further customizations will be much more easier.
Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; fo/param.xweb,1.98; params/
itemizedlist.label.properties.xml,1.1; params/
itemizedlist.properties.xml,1.1; params/list.block.properties.xml,1.1;
params/orderedlist.label.properties.xml,1.1; params/
orderedlist.properties.xml,1.1 - Jirka Kosek
• Implemented RFE #1242092.
You can enable crop marks in your document by setting crop.marks=1 and
xep.extensions=1. Appearance of crop marks can be controlled by parameters
crop.mark.bleed (6pt), crop.mark.offset (24pt) and crop.mark.width (0.5pt).
Also there is new named template called user-xep-pis. You can overwrite it
in order to produce some PIs that can control XEP as described in http://
www.renderx.com/reference.html#Output_Formats
Modified: fo/docbook.xsl,1.36; fo/param.ent,1.86; fo/param.xweb,1.97; fo/
xep.xsl,1.23; params/crop.mark.bleed.xml,1.1; params/
crop.mark.offset.xml,1.1; params/crop.mark.width.xml,1.1; params/
crop.marks.xml,1.1 - Jirka Kosek
• Changed short descriptions in doc for *autolabel* params to match new
autolabel behavior.
Modified: params/appendix.autolabel.xml,1.5; params/
chapter.autolabel.xml,1.4; params/part.autolabel.xml,1.5; params/
preface.autolabel.xml,1.4 - Michael(tm) Smith
Profiling
The following changes have been made to the profiling code since the 1.69.1
release.
• Profiling now works together with namespace stripping (V5 documents).
Namespace striping should work with all stylesheets named profile-, even if
they are not supporting namespace stripping in a non-profiling variant.
Modified: profiling/profile-mode.xsl,1.4; profiling/xsl2profile.xsl,1.7 -
Jirka Kosek
• Moved profiling stage out of templates. This make possible to reuse
profiled content by several templates and still maintaing node indentity
(needed for example for HTML Help where content is processed multiple
times).
I don't know why this was not on the top level before. Maybe some XSLT
processors choked on it. I hope this will be OK now.
Modified: profiling/xsl2profile.xsl,1.5 - Jirka Kosek
Tools
The following changes have been made to the tools code since the 1.69.1
release.
• Moved Makefile.DocBook from contrib module to xsl module.
Modified: tools/make/Makefile.DocBook,1.1 - Michael(tm) Smith
WordML
The following changes have been made to the wordml code since the 1.69.1
release.
• added contrib element, better handling of default paragraph style
Modified: wordml/pages-normalise.xsl,1.6; wordml/supported.xml,1.2; wordml/
wordml-final.xsl,1.14 - Steve Ball
• added bridgehead
Modified: wordml/docbook-pages.xsl,1.6; wordml/docbook.xsl,1.17; wordml/
pages-normalise.xsl,1.5; wordml/template-pages.xml,1.7; wordml/
template.dot,1.4; wordml/template.xml,1.14; wordml/wordml-final.xsl,1.13 -
Steve Ball
• added blocks stylesheet to support bibliographies, glossaries and qandasets
Modified: wordml/Makefile,1.4; wordml/README,1.3; wordml/
blocks-spec.xml,1.1; wordml/docbook-pages.xsl,1.5; wordml/docbook.xsl,1.16;
wordml/pages-normalise.xsl,1.4; wordml/sections-spec.xml,1.3; wordml/
specifications.xml,1.13; wordml/template-pages.xml,1.6; wordml/
template.dot,1.3; wordml/template.xml,1.13; wordml/wordml-blocks.xsl,1.1;
wordml/wordml-final.xsl,1.12; wordml/wordml-sections.xsl,1.3 - Steve Ball
• added mediaobject caption
Modified: wordml/docbook-pages.xsl,1.4; wordml/docbook.xsl,1.15; wordml/
specifications.xml,1.12; wordml/template-pages.xml,1.5; wordml/
template.dot,1.2; wordml/template.xml,1.12; wordml/wordml-final.xsl,1.11 -
Steve Ball
• added callouts
Modified: wordml/docbook-pages.xsl,1.3; wordml/docbook.xsl,1.14; wordml/
pages-normalise.xsl,1.3; wordml/specifications.xml,1.11; wordml/
template-pages.xml,1.4; wordml/wordml-final.xsl,1.10 - Steve Ball
• added Word template file
Modified: wordml/template.dot,1.1 - Steve Ball
• added abstract, fixed itemizedlist, ulink
Modified: wordml/specifications.xml,1.10; wordml/wordml-final.xsl,1.9 -
Steve Ball
• fixed Makefile added many features to Pages support added revhistory,
inlines, highlights, abstract
Modified: wordml/Makefile,1.2; wordml/docbook-pages.xsl,1.2; wordml/
pages-normalise.xsl,1.2; wordml/sections-spec.xml,1.2; wordml/
specifications.xml,1.9; wordml/template-pages.xml,1.3; wordml/
template.xml,1.11; wordml/wordml-final.xsl,1.8; wordml/
wordml-sections.xsl,1.2 - Steve Ball
• fixed handling linebreaks when generating WordML added Apple Pages support
Modified: wordml/docbook.xsl,1.13; wordml/template-pages.xml,1.2 - Steve
Ball
Release 1.69.1
This release is a minor bug-fix update to the 1.69.0 release. Along with bug
fixes, it includes one configuration-parameter change: The default value of the
annotation.support parameter is now 0 (off). The reason for that change is that
there have been reports that annotation handling is causing a significant
performance degradation in processing of large documents with xsltproc.
Release 1.69.0
The release includes major feature changes, particularly in the manpages
stylesheets, as well as a large number of bug fixes.
As with all DocBook Project “dot zero” releases, this is an experimental
release .
Common
• This release adds localizations for the following languages: Albanian,
Amharic, Azerbaijani, Hindi, Irish (Gaelic), Gujarati, Kannada, Mongolian,
Oriya, Punjabi, Tagalog, Tamil, and Welsh.
• Added support for specifying number format for auto labels for chapter,
appendix, part, and preface. Contolled with the appendix.autolabel,
chapter.autolabel, part.autolabel, and preface.autolabel parameters.
• Added basic support for biblioref cross referencing.
• Added support for align on caption in mediaobject.
• Added support for processing documents that use the DocBook V5 namespace.
• Added support for termdef and mathphrase.
• EXPERIMENTAL: Incorporated the Slides and Website stylesheets into the
DocBook XSL stylesheets package. So, for example, Website documents can now
be processed using the following URI for the driver Website tabular.xsl
file:
http://docbook.sourceforge.net/release/xsl/current/website/tabular.xsl
• A procedure without a title is now treated as an “informal” procedure
(meaning that it is not added to any generated “list of procedures” and has
no affect on numbering of generated labels for other procedures).
• docname is no longer added to olink when pointing to a root element.
• Added support for generation of choice separator in inline simplelist. This
enables auto-generation of an appropriate localized “choice separator” (for
example, “and” or “or”) before the final item in an inline simplelist.
To indicate that you want a choice separator generated for a particular
list, you need to put a processing instruction (PI) of the form <?
dbchoice choice="foo"?> as a child of the list. For example:
<para>Choose from
ONE and ONLY ONE of the following:
<simplelist type="inline">
<?dbchoice choice="or" ?>
<member>A</member>
<member>B</member>
<member>C</member>.</simplelist></para>
Output (for English):
Choose from ONE and only ONE of the following choices: A, B, or C.
As a temporary workaround for the fact that most of the DocBook non-English
locale files don't have a localization for the word “or”, you can put in a
literal string to be used; example for French: <?dbchoice choice="ou">.
That is, use “ou” instead of “or”.
FO
• Added content-type property to external-graphic element, based on imagedata
format attribute.
• Added support for generating <rx:meta-field creator="$VERSION"/> field for
XEP output. This makes the DocBook XSL stylesheet version information
available through the Document Properties menu in Acrobat Reader and other
PDF viewers.
• Trademark symbol handling made consistent with handling of same in HTML
stylesheets. Prior to this change, if you processed a document that
contained no value for the class attribute on the trademark element, the
HTML stylesheets would default to rendering a superscript TM symbol after
the trademark contents, but the FO stylesheets would render nothing.
• Added support for generating XEP bookmarks for refentry.
• Added support for HTML markup table border attribute, applied to each table
cell.
• The table.width template can now sum column specs if none use % or *.
• Added fox:destination extension inside fox:outline to support linking to
internal destinations.
• Added support for customizing abstract with property sets. Controlled with
the abstract.properties and abstract.title.properties parameters.
• Add footnotes in table title to table footnote set, and add support for
table footnotes to HTML table markup.
• Added support for title in glosslist.
• Added support for itemizedlist symbol none.
• Implemented the new graphical.admonition.properties and
nongraphical.admonition.properties attribute sets.
• Added id to formalpara and some other blocks that were missing it.
• Changed the anchor template to output fo:inline instead of fo:wrapper.
• Added support for toc.max.depth parameter.
Help
• Eclipse Help: Added support for generating olink database.
HTML
• Added a first cut at support in HTML output for DocBook 5 style annotation
s. Controlled using the annotation.support parameter, and implemented using
JavaScript and CSS styling. For more details, see the documentation for the
annotation.js, annotation.css, annotation.graphic.open, and
annotation.graphic.close parameters.
• Generate client-side image map for imageobjectco with areas using calspair
units
• Added support for <?img.src.path?> PI.
• Added support for passing img.src.path to DocBook Java XSLT image
extensions when appropriate. Controlled using the
graphicsize.use.img.src.path parameter.
• Added support for (not valid for DocBook 4) xlink:href on area and (not
valid for DocBook 4) alt in area.
• Added new parameter default.table.frame to control table framing if there
is no frame attribute on a table.
• Added initial, experimental support for generating content for the HTML
title attribute from content of the alt element. This change adds support
for the following inline elements only (none of them are block elements):
abbrev, accel, acronym, action, application, authorinitials, beginpage,
citation, citerefentry, citetitle, city, classname, code, command,
computeroutput, constant, country, database, email, envar, errorcode,
errorname, errortext, errortype, exceptionname, fax, filename, firstname,
firstterm, foreignphrase, function, glossterm, guibutton, guiicon, guilabel
, guimenu, guimenuitem, guisubmenu, hardware, honorific, interface,
interfacename, keycap, keycode, keysym, lineage, lineannotation, literal,
markup, medialabel, methodname, mousebutton, option, optional, otheraddr,
othername, package, parameter, personname, phone, pob, postcode,
productname, productnumber, prompt, property, quote, refentrytitle, remark,
replaceable, returnvalue, tag, shortcut, state, street, structfield,
structname, subscript, superscript, surname, symbol, systemitem, tag,
termdef, token, trademark, type, uri, userinput, varname, and wordasword
• Added support for chunking revhistory into separate file (similar to the
support for doing same with legalnotice). Patch from Thomas Schraitle.
Controlled through new generate.revhistory.link parameter.
• l10n.xsl: Made language codes RFC compliant. Added a new boolean config
parameter, l10n.lang.value.rfc.compliant. If it is non-zero (the default),
any underscore in a language code will be converted to a hyphen in HTML
output. If it is zero, the language code will be left as-is.
man
This release closes out 44 manpages stylesheet bug reports and feature
requests. It adds more than 35 new configuration parameters for controlling
aspects of man-page output -- including hyphenation and justification, handling
of links, conversion of Unicode characters, and contents of man-page headers
and footers.
• New options for globally disabling/enabling hyphenation and justification:
man.justify and man.hyphenate.
Note that the default for the both of those is zero (off), because
justified text looks good only when it is also hyphenated; to quote the
“Hyphenation” node from the groff info page:
Since the odds are not great for finding a set of words, for every
output line, which fit nicely on a line without inserting excessive
amounts of space between words, `gtroff' hyphenates words so that it
can justify lines without inserting too much space between words.
The problem is that groff can end up hyphenating a lot of things that you
don't want hyphenated (variable names and command names, for example).
Keeping both justification and hyphenation disabled ensures that hyphens
won't get inserted where you don't want to them, and you don't end up with
lines containing excessive amounts of space between words. These default
settings run counter to how most existing man pages are formatted. But
there are some notable exceptions, such as the perl man pages.
• Added parameters for controlling hyphenation of computer inlines,
filenames, and URLs. By default, even when hyphenation is enabled
(globally), hyphenation is now suppressed for "computer inlines"
(currently, just classname, constant, envar, errorcode, option, replaceable
, userinput, type, and varname, and for filenames, and for URLs from link.
It can be (re)enabled using the man.hyphenate.computer.inlines,
man.hyphenate.filenames, and man.hyphenate.urls parameters.
• Implemented a new system for replacing Unicode characters. There are two
parts to the new system: a “string substitution map” for doing “essential”
replacements, and a “character map” that can optionally be disabled and
enabled.
The new system fixes all open bugs that had to do with literal Unicode
numbered entities such as “ and ” showing up in output, and
greatly expands the ability of the stylesheets to generate “good” roff
equivalents for Unicode symbols and special characters.
Here are some details...
The previous manpages mechanism for replacing Unicode symbols and special
characters with roff equivalents (the replace-entities template) was not
scalable and not complete. The mechanism handled a somewhat arbitrary
selection of less than 20 or so Unicode characters. But there are
potentially more than 800 Unicode special characters that have some groff
equivalent they can be mapped to. And there are about 34 symbols in the
Latin-1 (ISO-8859-1) block alone. Users might reasonably expect that if
they include any of those Latin-1 characters in their DocBook source
documents, they will get correctly converted to known roff equivalents in
output.
In addition to those common symbols, certain users may have a need to use
symbols from other Unicode blocks. Say, somebody who is documenting an
application related to math might need to use a bunch of symbols from the
“Mathematical Operators” Unicode block (there are about 65 characters in
that block that have reasonable roff equivalents). Or somebody else might
really like Dingbats -- such as the checkmark character -- and so might use
a bunch of things from the “Dingbat” block (141 characters in that that
have roff equivalents or that can at least be “degraded” somewhat
gracefully into roff).
So, the old replace-entities mechanism was replaced with a completely
different mechanism that is based on use of two “maps”: a “substitution
map” and a “character map” (the latter in a format compliant with the XSLT
2.0 spec and therefore completely “forward compatible” with XSLT 2.0).
The substitution map is controlled through the man.string.subst.map
parameter, and is used to replace things like the backslash character
(which needs special handling to prevent it from being interpreted as a
roff escape). The substitution map cannot be disabled, because disabling it
will cause the output to be broken. However, you can add to it and change
it if needed.
The “character map” mechanism, on the other hand, can be completely
disabled. It is enabled by default, and, by default, does replacement of
all Latin-1 symbols, along with most special spaces, dashes, and quotes
(about 75 characters by default). Also, you can optionally enable a “full”
character map that provides support for converting all 800 or so of the
characters that have some reasonable groff equivalent.
The character-map mechanism is controlled through the following parameters:
man.charmap.enabled
turns character-map support on/off
man.charmap.use.subset
specifies that a subset of the character map is used instead of the
full map
man.charmap.subset.profile
specifies profile of character-map subset
man.charmap.uri
specifies an alternate character map to use instead of the “standard”
character map provided in the distribution
• Implemented out-of-line handling of display of URLs for links (currently,
only for ulink). This gives you three choices for handling of links:
1. Number and list links. Each link is numbered inline, with a number in
square brackets preceding the link contents, and a numbered list of all
links is added to the end of the document.
2. Only list links. Links are not numbered, but an (unnumbered) list of
links is added to the end of the document.
3. Suppress links. Don't number links and don't add any list of links to
the end of the document.
You can also choose whether links should be underlined. The default is “the
works” -- list, number, and underline links. You can use the
man.links.list.enabled, man.links.are.numbered, and
man.links.are.underlined parameters to change the defaults. The default
heading for the link list is REFERENCES. You can be change that using the
man.links.list.heading parameter.
• Changed default output encoding to UTF-8. This does not mean that man pages
are output in raw UTF-8, because the character map is applied before final
output, causing all UTF-8 characters covered in the map to be converted to
roff equivalents.
• Added support for processing refsect3 and formalpara and nested refsection
elements, down to any arbitrary level of nesting.
• Output of the NAME and SYNOPSIS and AUTHOR headings and the headings for
admonitions (note, caution, etc.) are no longer hard-coded for English.
Instead, headings are generated for those in the correct locale (just as
the FO and HTML stylesheets do).
• Re-worked mechanism for assembling page headers/footers (the contents of
the .TH macro “title line”).
Here are some details...
All man pages contain a .TH roff macro whose contents are used for
rendering the “title line” displayed in the header and footer of each page.
Here are a couple of examples of real-world man pages that have useful page
headers/footers:
gtk-options(7) GTK+ User's Manual gtk-options(7) <-- header
GTK+ 1.2 2003-10-20 gtk-options(7) <-- footer
svgalib(7) Svgalib User Manual svgalib(7) <-- header
Svgalib 1.4.1 16 December 1999 svgalib(7) <-- footer
And here are the terms with which the groff_man(7) man page refers to the
various parts of the header/footer:
title(section) extra3 title(section) <- header
extra2 extra1 title(section) <- footer
Or, using the names with which the man(7) man page refers to those same
fields:
title(section) manual title(section) <- page header
source date title(section) <- page footer
The easiest way to control the contents of those fields is to mark up your
refentry content like the following (note that this is a “minimal”
example).
<refentry>
<info>
<date>2003-10-20</date> 1
</info>
<refmeta>
<refentrytitle>gtk-options</refentrytitle> 2
<manvolnum>7</manvolnum> 3
<refmiscinfo class="source-name">GTK+</refmiscinfo> 4
<refmiscinfo class="version">1.2</refmiscinfo> 5
<refmiscinfo class="manual">GTK+ User's Manual</refmiscinfo> 6
</refmeta>
<refnamediv>
<refname>gtk-options</refname>
<refpurpose>Standard Command Line Options for GTK+ Programs</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para>This manual page describes the command line options, which
are common to all GTK+ based applications.</para>
</refsect1>
</refentry>
1 Sets the “date” part of the header/footer.
2 Sets the “title” part.
3 Sets the “section” part.
4 Sets the “source name” part.
5 Sets the “version” part.
6 Sets the “manual” part.
Below are explanations of the steps the stylesheets take to attempt to
assemble and display “good” headers and footer. [In the descriptions, note
that *info is the refentry “info” child (whatever its name), and parentinfo
is the “info” child of its parent (again, whatever its name).]
extra1 field (date)
Content of the “extra1” field is what shows up in the center footer
position of each page. The man(7) man page describes it as “the date of
the last revision”.
To provide this content, if the refentry.date.profile.enabled is
non-zero, the stylesheets check the value of refentry.date.profile.
Otherwise, by default, they check for a date or pubdate not only in the
*info contents, but also in the parentinfo contents.
If a date cannot be found, the stylesheets now automatically generate a
localized “long format” date, ensuring that this field always has
content in output.
However, if for some reason you want to suppress this field, you can do
so by setting a non-zero value for man.th.extra1.suppress.
extra2 field (source)
On Linux systems and on systems with a modern groff, the content of the
“extra2” field are what shows up in the left footer position of each
page.
The man(7) man page describes this as “the source of the command”, and
provides the following examples:
☆ For binaries, use somwething like: GNU, NET-2, SLS Distribution,
MCC Distribution.
☆ For system calls, use the version of the kernel that you are
currently looking at: Linux 0.99.11.
☆ For library calls, use the source of the function: GNU, BSD 4.3,
Linux DLL 4.4.1.
In practice, there are many pages that simply have a version number in
the “source” field. So, it looks like what we have is a two-part field,
Name Version, where:
Name
product name (e.g., BSD) or org. name (e.g., GNU)
Version
version name
Each part is optional. If the Name is a product name, then the Version
is probably the version of the product. Or there may be no Name, in
which case, if there is a Version, it is probably the version of the
item itself, not the product it is part of. Or, if the Name is an
organization name, then there probably will be no Version.
To provide this content, if the refentry.source.name.profile.enabled
and refentry.version.profile.enabled parameter are non-zero, the
stylesheets check the value of refentry.source.name.profile
refentry.version.profile.
Otherwise, by default, they check the following places, in the
following order:
1. *info/productnumber
2. *info/productnumber
3. refmeta/refmiscinfo[@class = 'version']
4. parentinfo/productnumber
5. *info/productname
6. parentinfo/productname
7. refmeta/refmiscinfo
8. [nothing found, so leave it empty]
extra3 field
On Linux systems and on systems with a modern groff, the content of the
“extra3” field are what shows up in the center header position of each
page. Some man pages have “extra2” content, some don't. If a particular
man page has it, it is most often “context” data about some larger
system the documented item belongs to (for example, the name or
description of a group of related applications). The stylesheets now
check the following places, in the following order, to look for content
to add to the “extra3” field.
1. parentinfo/title
2. parent's title
3. refmeta/refmiscinfo
4. [nothing found, so leave it empty]
• Reworked *info gathering. For each refentry found, the stylesheets now
cache its *info content, then check for any valid parent of it that might
have metainfo content and cache that, if found; they then then do all
further matches against those node-sets (rather than re-selecting the
original *info nodes each time they are needed).
• New option for breaking strings after forward slashes. This enables long
URLs and pathnames to be broken across lines. Controlled through
man.break.after.slash parameter.
• Output for servicemark and trademark are now (SM) and (TM). There is a
groff "\(tm" escape, but output from that is not acceptable.
• New option for controlling the length of the title part of the .TH title
line. Controlled through the man.th.title.max.length parameter.
• New option for specifying output encoding of each man page; controlled with
man.output.encoding (similar to the HTML chunker.output.encoding
parameter).
• New option for suppressing filename messages when generating output;
controlled with man.output.quietly (similar to the HTML chunk.quietly
parameter).
• The text of cross-references to first-level refentry (refsect1, top-level
refsection, refnamediv, and refsynopsisdiv) are now capitalized.
• Cross-references to refnamediv now use the localized NAME title instead of
using the first refname child. This makes the output inconsistent with HTML
and FO output, but for man-page output, it seems to make better sense to
have the NAME. (It may actually make better sense to do it that way in HTML
and FO output as well...)
• Added support for processing funcparams.
• Removed the space that was being output between funcdef and paramdef;
example: was: float rand (void); now: float rand(void)
• Turned off bold formatting for the type element when it occurs within a
funcdef or paramdef
• Corrected rendering of simplelist. Any <simplelist type="inline" instance
is now rendered as a comma-separated list (also with an optional localized
“and” or “or” before the last item -- see description elsewhere in these
release notes). Any simplelist instance whose type is not inline is
rendered as a one-column vertical list (ignoring the values of the type and
columns attributes if present)
• Comment added at top of roff source for each page now includes DocBook XSL
stylesheets version number (as in the HTML stylesheets)
• Made change to prevent “sticky” fonts changes. Now, when the manpages
stylesheets encounter node sets that need to be boldfaced or italicized,
they put the \fBfoo\fR and \fIbar\fR groff bold/italic instructions
separately around each node in the set.
• synop.xsl: Boldface everything in funcsynopsis output except parameters
(which are in ital). The man(7) man page says:
For functions, the arguments are always specified using italics, even
in the SYNOPSIS section, where the rest of the function is specified in
bold.
A look through the contents of the man/man2 directory shows that most (all)
existing pages do follow this “everything in funcsynopsis bold” rule. That
means the type content and any punctuation (parens, semicolons, varargs)
also must be bolded.
• Removed code for adding backslashes before periods/dots in roff source,
because backslashes in front of periods/dots in roff source are needed only
in the very rare case where a period is the very first character in a line,
without any space in front of it. A better way to deal with that rare case
is for you to add a zero-width space in front of the offending dot(s) in
your source
• Removed special handling of the quote element. That was hard-coded to cause
anything marked up with the quote element to be output preceded by two
backticks and followed by two apostrophes -- that is, that old-school
kludge for generating “curly” quotes in Emacs and in X-Windows fonts. While
Emacs still seems to support that, I don't think X-Windows has for a long
time now. And, anyway, it looks (and has always looked) like crap when
viewed on a normal tty/console. In addition, it breaks localiztion of quote
. By default, quote content is output with localized quotation marks,
which, depending on the locale, may or may not be left and right double
quotation marks.
• Changed mappings for left and right single quotation marks. Those had
previously been incorrectly mapped to the backtick (`) and apostrophe
(&39;) characters (for kludgy reasons -- see above). They are now correctly
mapped to the \(oq and \(cq roff escapes. If you want the old (broken)
behavior, you need to manually change the mappings for those in the value
of the man.string.subst.map parameter.
• Removed xref.xsl file. Now, of the various cross-reference elements, only
the ulink element is handled differently; the rest are handled exactly as
the HTML stylesheets handle them, except that no hypertext links are
generated. (Because there is no equivalent hypertext mechanism is man
pages.)
• New option for making “subheading dividers” in generated roff source. The
dividers are not visible in the rendered man page; they are just there to
make the source readable. Controlled using man.subheading.divider.
• Fixed many places where too much space was being added between lines.
Release 1.68.1
The release adds localization support for Farsi (thanks to Sina Heshmati) and
improved support for the XLink-based DocBook NG db:link element. Other than
that, it is a minor bug-fix update to the 1.68.0 release. The main thing it
fixes is a build error that caused the XSLT Java extensions to be jarred up
with the wrong package structure. Thanks to Jens Stavnstrup for quickly
reporting the problem, and to Mauritz Jeanson for investigating and finding the
cause.
Release 1.68.0
This release includes some features changes, particularly for FO/PDF output,
and a number of bug fixes.
FO
• Moved footnote properties to attribute-sets.
• Added support for side floats, margin notes, and custom floats.
• Added new parameters body.start.indent and body.end.indent to the
set.flow.properties template.
• Added support for xml:id
• Added support for refdescriptor.
• Added support for multiple refnamedivs.
• Added index.entry.properties attribute-set to support customization of
index entries.
• Added set.flow.properties template call to each fo:flow to support
customizations entry point.
• Add support for @floatstyle in figure
• Moved hardcoded properties for index division titles to the
index.div.title.properties attribute-set.
• Added support for table-layout="auto" for XEP.
• Added index.div.title.properties attribute-set.
• $verbose parameter is now passed to most elements.
• Added refentry to toc in part, as it is permitted by the DocBook schema/
DTD.
• Added backmatter elements and article to toc in part, since they are
permitted by the DocBook schema/DTD.
• Added mode="toc" for simplesect, since it is now permitted in the toc if
simplesect.in.toc is set.
• Moved hard-coded properties to nongraphical.admonintion.properties and
graphical.admonition.properties attribute sets.
• Added support for sidebar-width and float-type processing instructions in
sidebar.
• For tables with HTML markup elements, added support for dbfo bgcolor PI,
the attribute-sets named table.properties, informaltable.properties,
table.table.properties, and table.cell.padding. Also added support for the
templates named table.cell.properties and table.cell.block.properties so
that tabstyles can be implemented. Also added support for tables containing
only tr instead of tbody with tr.
• Added new paramater hyphenate.verbatim.characters which can specify
characters after which a line break can occur in verbatim environments.
This parameter can be used to extend the initial set of characters which
contain only space and non-breakable space.
• Added itemizedlist.label.markup to enable selection of different bullet
symbol. Also added several potential bullet characters, commented out by
default.
• Enabled all id's in XEP output for external olinking.
HTML
• Added support for refdescriptor.
• Added support for multiple refnamedivs.
• Added support for xml:id
• refsynopsisdiv as a section for counting section levels
Images
• Added new SVG admonition graphics and navigation images.
Release 1.67.2
This release fixes a table bug introduced in the 1.67.1 release.
Release 1.67.1
This release includes a number of bug fixes.
The following lists provide details about API and feature changes.
FO
• Tables: Inherited cell properties are now passed to the
table.cell.properties template so they can be overridden by a
customization.
• Tables: Added support for bgcolor PI on table row element.
• TOCs: Added new parameter simplesect.in.toc; default value of 0 causes
simplesect to be omitted from TOCs; to cause simplesect to be included in
TOCs, you must set the value of simplesect.in.toc to 1.Comment from Norm:
Simplesect elements aren't supposed to appear in the ToC at all... The
use case for simplesect is when, for example, every chapter in a book
ends with "Exercises" or "For More Information" sections and you don't
want those to appear in the ToC.
• Sections: Reverted change that caused a variable reference to be used in a
template match and rewrote code to preserve intended semantics.
• Lists: Added workaround to prevent "* 0.60 + 1em" garbage in list output
from PassiveTeX
• Moved the literal attributes from component.title to the
component.title.properties attribute-set so they can be customized.
• Lists: Added glossdef's first para to special handling in
fo:list-item-body.
HTML
• TOCs: Added new parameter simplesect.in.toc; for details, see the list of
FO changes for this release.
• Indexing: Added new parameter index.prefer.titleabbrev; when set to 1,
index references will use titleabbrev instead of title when available.
HTML Help
• Added support for generating windows-1252-encoded output using Saxon; for
more details, see the list of XSL Java extensions changes for this release.
man pages
• Replaced named/numeric character-entity references for non-breaking space
with groff equivalent (backslash-tilde).
XSL Java extensions
• Saxon extensions: Added the Windows1252 class. It extends Saxon 6.5.x with
the windows-1252 character set, which is particularly useful when
generating HTML Help for Western European Languages (code from Pontus
Haglund and contributed to the DocBook community by Sectra AB, Sweden).
To use:
1. Make sure that the Saxon 6.5.x jar file and the jar file for the
DocBook XSL Java extensions are in your CLASSPATH
2. Create a DocBook XSL customization layer -- a file named
mystylesheet.xsl or whatever -- that, at a minimum, contains the
following:
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/>
<xsl:output method="html" encoding="WINDOWS-1252" indent="no"/>
<xsl:param name="htmlhelp.encoding" select="'WINDOWS-1252'"></xsl:param>
<xsl:param name="chunker.output.encoding" select="'WINDOWS-1252'"></xsl:param>
<xsl:param name="saxon.character.representation" select="'native'"></xsl:param>
</xsl:stylesheet>
Invoke Saxon with the encoding.windows-1252 Java system property set to
com.nwalsh.saxon.Windows1252; for example
java \
-Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \
com.icl.saxon.StyleSheet \
mydoc.xml mystylesheet.xsl
Or, for a more complete "real world" case showing other options you'll
typically want to use:
java \
-Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
-Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl \
com.icl.saxon.StyleSheet \
-x org.apache.xml.resolver.tools.ResolvingXMLReader \
-y org.apache.xml.resolver.tools.ResolvingXMLReader \
-r org.apache.xml.resolver.tools.CatalogResolver \
mydoc.xml mystylesheet.xsl
In both cases, the "mystylesheet.xsl" file should be a DocBook
customization layer containing the parameters show in step 2.
• Saxon extensions: Removed Saxon 8 extensions from release package
Release 1.67.0
• A number of important bug fixes.
• Added Saxon8 extensions
• Enabled dbfo table-width on entrytbl in FO output
• Added support for role=strong on emphasis in FO output
• Added new FO parameter hyphenate.verbatim that can be used to turn on
"intelligent" wrapping of verbatim environments.
• Replaced all <tt></tt> output with <code></code>
• Changed admon.graphic.width template to a mode so that different
admonitions can have different graphical widths.
• Deprecated the HTML shade.verbatim parameter (use CSS instead)
• Wrapped ToC refentrytitle/refname and refpurpose in span with class values.
This makes it possible to style them using a CSS stylesheet.
• Use strong/em instead of b/i in HTML output
• Added support for converting Emphasis to groff italic and Emphasis role=
'bold' to bold. Controlled by emphasis.propagates.style param, but not
documented yet using litprog system. Will do that next (planning to add
some other parameter-controllable options for hyphenation and handling of
line spacing).
• callout.graphics.number.limit.xml param: Changed the default from 10 to 15.
• verbatim.properties: Added hyphenate=false
• Saxon and Xalan Text.java extensions: Added support for URIResolver() on
insertfile href's
• Added generated RELEASE-NOTES.txt file.
• Added INSTALL file (executable file for generating catalog.xml)
• Removed obsolete tools directory from package
Release 1.66.1
• A number of important bug fixes.
• Now xml:base attributes that are generated by an XInclude processor are
resolved for image files.
• Rewrote olink templates to support several new features.
□ Extended full olink support to FO output.
□ Add support for xrefstyle attribute in olinks.
□ New parameters to support new olink features: insert.olink.page.number,
insert.olink.pdf.frag, olink.debug, olink.lang.fallback.sequence,
olink.properties, prefer.internal.olink. See the reference page for
each parameter for more information.
• Added index.on.type parameter for new type attribute introduced in DocBook
4.3 for indexterms and index. This allows you to create multiple indices
containing different categories of entries. For users of 4.2 and earlier,
you can use the new parameter index.on.role instead.
• Added new section.autolabel.max.depth parameter to turn off section
numbering below a certain depth. This permits you to number major section
levels and leave minor section levels unnumbered.
• Added footnote.sep.leader.properties attribute set to format the line
separating footnotes in printed output.
• Added parameter img.src.path as a prefix to HTML img src attributes. The
prefix is added to whatever path is already generated by the stylesheet for
each image file.
• Added new attribute-sets informalequation.properties,
informalexample.properties, informalfigure.properties, and
informaltable.properties, so each such element type can be formatted
individually if needed.
• Add component.label.includes.part.label parameter to add any part number to
chapter, appendix and other component labels when the label.from.part
parameter is nonzero. This permits you to distinguish multiple chapters
with the same chapter number in cross references and the TOC.
• Added chunk.separate.lots parameter for HTML output. This parameter lets
you generate separate chunk files for each LOT (list of tables, list of
figures, etc.).
• Added several table features:
□ Added table.table.properties attribute set to add properties to the
fo:table element.
□ Added placeholder templates named table.cell.properties and
table.cell.block.properties to enable adding properties to any
fo:table-cell or the cell's fo:block, respectively. These templates are
a start for implementing table styles.
• Added new attribute set component.title.properties for easy modifications
of component's title formatting in FO output.
• Added Saxon support for an encoding attribute on the textdata element.
Added new parameter textdata.default.encoding which specifies encoding when
encoding attribute on textdata is missing.
• Template label.this.section now controls whole section label, not only
sub-label which corresponds to particular label. Former behaviour was IMHO
bug as it was not usable.
• Formatting in titleabbrev for TOC and headers is preserved when there are
no hotlink elements in the title. Formerly the title showed only the text
of the title, no font changes or other markup.
• Added intial.page.number template to set the initial-page-number property
for page sequences in print output. Customizing this template lets you
change when page numbering restarts. This is similar to the
format.page.number template that lets you change how the page number
formatting changes in the output.
• Added force.page.count template to set the force-page-count property for
page sequences in print output. This is similar to the format.page.number
template.
• Sort language for localized index sorting in autoidx-ng.xsl is now taken
from document lang, not from system environment.
• Numbering and formatting of normal and ulink footnotes (if turned on) has
been unified. Now ulink footnotes are mixed in with any other footnotes.
• Added support for renderas attribute in section and sect1 et al. This
permits you to render a given section title as if it were a different
level.
• Added support for label attribute in footnote to manually supply the
footnote mark.
• Added support for DocBook 4.3 corpcredit element.
• Added support for a dbfo keep-together PI for formal objects (table,
figure, example, equation, programlisting). That permits a formal object to
be kept together if it is not already, or to be broken if it is very long
and the default keep-together is not appropriate.
• For graphics files, made file extension matching case insensitive, and
updated the list of graphics extensions.
• Allow calloutlist to have block content before the first callout
• Added dbfo-need processing instruction to provide soft page breaks.
• Added implementation of existing but unused default.image.width parameter
for graphics.
• Support DocBook NG tag inline element.
• It appears that XEP now supports Unicode characters in bookmarks. There is
no further need to strip accents from characters.
• Make segmentedlist HTML markup more semantic and available to CSS styles.
• Added user.preroot placeholder template to permit xsl-stylesheet and other
PIs and comments to be output before the HTML root element.
• Non-chunked legalnotice now gets an <a name="id"> element in HTML output so
it can be referenced with xref or link.
• In chunked HTML output, changed link rel="home" to rel="start", and link
rel="previous" to rel="prev", per W3C HTML 4.01 spec.
• Added several patches to htmlhelp from W. Borgert
• Added Bosnian locale file as common/bs.xml.
Release 1.65.0
• A number of important bug fixes.
• Added a workaround to allow these stylesheets to process DocBook NG
documents. (It’s a hack that pre-processes the document to strip off the
namespace and then uses exsl:node-set to process the result.)
• Added alternative indexing mechanism which has better internationalization
support. New indexing method allows grouping of accented letters like e, é,
ë into the same group under letter "e". It can also treat special letters
(e.g. "ch") as one character and place them in the correct position (e.g.
between "h" and "i" in Czech language).
In order to use this mechanism you must create customization layer which
imports some base stylesheet (like fo/docbook.xsl, html/chunk.xsl) and then
includes appropriate stylesheet with new indexing code (fo/autoidx-ng.xsl
or html/autoidx-ng.xsl). For example:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
<xsl:include href="http://docbook.sourceforge.net/release/xsl/current/fo/autoidx-ng.xsl"/>
</xsl:stylesheet>
New method is known to work with Saxon and it should also work with
xsltproc 1.1.1 and later. Currently supported languages are English, Czech,
German, French, Spanish and Danish.
Release 1.64.1
General bug fixes and improvements. Sorry about the failure to produce an
updated release notes file for 1.62.0—1.63.2
• In the course of fixing bug #849787, wrapping Unicode callouts with an
appropriate font change in the Xalan extensions, I discovered that the
Xalan APIs have changed a bit. So xalan2.jar will work with older Xalan 2
implementations, xalan25.jar works with Xalan 2.5.
Release 1.61.0
Lots of bug fixes and improvements.
• Initial support for timestamp PI. From now you can use <?dbtimestamp format
="Y-m-d H:M:S"?> to get current datetime in your document. Added
localization support for datetime PI
• Added level 6 to test for section depth in section.level template so that
section.title.level6.properties will be used for sections that are 6 deep
or deeper. This should also cause a h6 to be created in html output.
• Don't use SVG graphics if use.svg=0
• Now uses number-and-title-template for sections only if section.autolabel
is not zero.
• Added missing 'english-language-name' attribute to the l10n element, and
the missing 'style' attribute to the template element so the current
gentext documents will validate.
• Corrected several references to parameter qanda.defaultlabel that were
missing the "$".
• Now accepts admon.textlabel parameter to turn off Note, Warning, etc.
label.
• FeatReq #684561: support more XEP metadata
• Added hyphenation support. Added support for coref. Added beginpage
support. (does nothing; see TDG).
• Added support for hyphenation-character, hyphenation-push-character-count,
and hyphenation-remain-character-count
• Added root.properties, ebnf.assignment, and ebnf.statement.terminator
• Support bgcolor PI in table cells; make sure rowsep and colsep don't have
any effect on the last row or column
• Handle othercredit on titlepage a little better
• Applied fix from Jeff Beal that fixed the bug that put secondary page
numbers on primary entries. Same with tertiary page numbers on secondary
entries.
• Added definition of missing variable collection.
• Make footnote formatting 'normal' even when it occurs in a context that has
special formatting
• Added warning when glossary.collection is not blank, but it cannot open the
specified file.
• Pick up the frame attribute on table and informaltable.
• indexdiv/title in non-autogenerated indexes are now picked up.
• Removed (unused) component.title.properties
• Move IDs from page-sequences down to titlepage blocks
• Use proportional-column-width(1) on more tables.
Use proportional-column-width() for header/footer tables; suppress
relative-align when when using FOP
• Check for glossterm.auto.link when linking firstterms; don't output gl.
prefix on glossterm links
• Generate Part ToCs
• Support glossary, bibliography, and index in component ToCs.
• Refactored chunking code so that customization of chunk algorithm and chunk
elements is more practical
• Support textobject/phrase on inlinemediaobject.
• Support 'start' PI on ordered lists
• Fixed test of $toc PI to turn on qandaset TOC.
• Added process.chunk.footnotes to sect2 through 5 to fix bug of missing
footnotes when chunk level greater than 1.
• Added paramater toc.max.depth which controls maximal depth of ToC as
requested by PHP-DOC group.
• Exempted titleabbrev from preamble processing in lists, and fixed
variablelist preamble code to use the same syntax as the other lists.
• Added support for elements between variablelist and first varlistentry
since DocBook 4.2 supports that now.
Release 1.60.1
Lots of bug fixes.
• The format of the titlepage.templates.xml files and the stylesheet that
transforms them have been significantly changed. All of the attributes used
to control the templates are now namespace qualified. So what used to be:
<t:titlepage element="article" wrapper="fo:block">
is now:
<t:titlepage t:element="article" t:wrapper="fo:block">
Attributes from other namespaces (including those that are unqualified) are
now copied directly through. In practice, this means that the names that
used to be “fo:” qualified:
<title named-template="component.title"
param:node="ancestor-or-self::article[1]"
fo:text-align="center"
fo:keep-with-next="always"
fo:font-size="&hsize5;"
fo:font-weight="bold"
fo:font-family="{$title.font.family}"/>
are now unqualified:
<title t:named-template="component.title"
param:node="ancestor-or-self::article[1]"
text-align="center"
keep-with-next="always"
font-size="&hsize5;"
font-weight="bold"
font-family="{$title.font.family}"/>
The t:titlepage and t:titlepage-content elements both generate wrappers
now. And unqualified attributes on those elements are passed through. This
means that you can now make the title font apply to ane entire titlepage
and make the entire “recto” titlepage centered by specifying the font and
alignment on the those elements:
<t:titlepage t:element="article" t:wrapper="fo:block"
font-family="{$title.font.family}">
<t:titlepage-content t:side="recto"
text-align="center">
• Support use of titleabbrev in running headers and footers.
• Added (experimental) xref.with.number.and.title parameter to enable number/
title cross references even when the default would be just the number.
• Generate part ToCs if they're requested.
• Use proportional-column-width() in header/footer tables.
• Handle alignment correctly when screenshot wraps a graphic in a figure.
• Format chapter and appendix cross references consistently.
• Attempt to support tables with multiple tgroups in FO.
• Output fo:table-columns in simplelist tables.
• Use titlepage.templates.xml for indexdiv and glossdiv formatting.
• Improve support for new bibliography elements.
• Added footnote.number.format, table.footnote.number.format,
footnote.number.symbols, and table.footnote.number.symbols for better
control of footnote markers.
• Added glossentry.show.acronyms.
• Suppress the draft-mode page masters when draft-mode is “no”.
• Make blank pages verso not recto. D'Oh!
• Improved formatting of ulink footnotes.
• Fixed bugs in graphic width/height calculations.
• Added class attributes to inline elements.
• Don't add “.html” to the filenames identified with the “dbhtml” PI.
• Don't force a ToC when sections contain refentrys.
• Make section title sizes a function of the body.master.size.
Release 1.59.2
The 1.59.2 fixes an FO bug in the page masters that causes FOP to fail.
• Removed the region-name from the region-body of blank pages. There's no
reason to give the body of blank pages a unique name and doing so causes a
mismatch that FOP detects.
• Output IDs for the first paragraphs in listitems.
• Fixed some small bugs in the handling of page numbers in double-sided mode.
• Attempt to prevent duplicated IDs from being produced when endterm on xref
points to something with nested structure.
• Fix aligment problems in equations.
• Output the type attribute on unordered lists (UL) in HTML only if the
css.decoration parameter is true.
• Calculate the font size in formal.title.properties so that it's 1.2 times
the base font size, not a fixed "12pt".
Release 1.59.1
The 1.59.1 fixes a few bugs.
• Added Bulgarian localization.
• Indexing improvements; localize book indexes to books but allow setindex to
index an entire set.
• The default value for rowsep and colsep is now "1" as per CALS.
• Added support for titleabbrev (use them for cross references).
• Improvements to mediaobject for selecting print vs. online images.
• Added seperate property sets for figures, examples, equations, tabless, and
procedures.
• Make lineannotations italic.
• Support xrefstyle attribute.
• Make endterm on xref higher priority than xreflabel target.
• Glossary formatting improvements.
Release 1.58.0
The 1.58.0 adds some initial support for extensions in xsltproc, adds a few
features, and fixes bugs.
• This release contains the first attempt at extension support for xsltproc.
The only extension available to date is the one that adjusts table column
widths. Run extensions/xsltproc/python/xslt.py.
• Fixed bugs in calculation of adjusted column widths to correct for rounding
errors.
• Support nested refsection elements correctly.
• Reworked gentext.template to take context into consideration. The name of
elements in localization files is now an xpath-like context list, not just
a simple name.
• Made some improvements to bibliography formatting.
• Improved graphical formatting of admonitions.
• Added support for entrytbl.
• Support spanning index terms.
• Support bibliosource.
Release 1.57.0
• The 1.57.0 release wasn't documented here. Oops.
Release 1.56.0
The 1.56.0 release fixes bugs.
• Reworked chunking. This will break all existing customizations layers that
change the chunking algorithm. If you're customizing chunking, look at the
new “content” parameter that's passed to process-chunk-element and friends.
• Support continued and inherited numeration in orderedlist formatting for
FOs.
• Added Thai localization.
• Tweaked stylesheet documentation stylesheets to link to TDG and the
parameter references.
• Allow title on tables of contents ("Table of Contents") to be optional.
Added new keyword to generate.toc. Support tables of contents on sections.
• Made separate parameters for table borders and table cell borders:
table.frame.border.color, table.frame.border.style,
table.frame.border.thickness, table.cell.border.color,
table.cell.border.style, and table.cell.border.thickness.
• Suppress formatting of “endofrange” indexterms. This is only half-right.
They should generate a range, but I haven't figured out how to do that yet.
• Support revdescription. (Bug #582192)
• Added default.float.class and fixed figure floats. (Bug #497603)
• Fixed formatting of sbr in FOs.
• Added context to the “missing template” error message.
• Process arg correctly in a group. (Bug #605150)
• Removed 'keep-with-next' from formal.title.properties attribute set now
that the stylesheets support the option of putting such titles below the
object. Now the $placement value determines if 'keep-with-next' or
'keep-with-previous' is used in the title block.
• Wrap “url()” around external-destinations when appropriate.
• Fixed typo in compact list spacing. (Bug #615464)
• Removed spurious hash in anchor name. (Bug #617717)
• Address is now displayed verbatim on title pages. (Bug #618600)
• The bridgehead.in.toc parameter is now properly supported.
• Improved effectiveness of HTML cleanup by increasing the number of places
where it is used. Improve use of HTML cleanup in XHTML stylesheets.
• Support table of contents for appendix in article. (Bug #596599)
• Don't duplicate footnotes in bibliographys and glossarys. (Bug #583282)
• Added default.image.width. (Bug #516859)
• Totally reworked funcsynopsis code; it now supports a 'tabular'
presentation style for 'wide' prototypes; see
funcsynopsis.tabular.threshold. (HTML only right now, I think, FO support,
uh, real soon now.)
• Reworked support for difference marking; toned down the colors a bit and
added a “system.head.content” template so that the diff CSS wasn't
overriding “user.head.content”. (Bug #610660)
• Added call to the “*.head.content” elements when writing out long
description chunks.
• Make sure legalnotice link is correct even when chunking to a different
base.dir.
• Use CSS to set viewport characteristics if css.decoration is non-zero, use
div instead of p for making graphic a block element; make figure titles the
default alt text for images in a figure.
• Added space-after to list.block.spacing.
• Reworked section.level template to give “correct” answer instead of being
off by one.
• When processing tables, use the tabstyle attribute as the division class.
• Fixed bug in html2xhtml.xsl that was causing the XHTML chunker to output
HTML instead of XHTML.
Older releases
To view the release notes for older releases, see http://cvs.sourceforge.net/
viewcvs.py/docbook/xsl/RELEASE-NOTES.xml. Be aware that there were no release
notes for releases prior to the 1.50.0 release.
About dot-zero releases
DocBook Project “dot zero” releases should be considered experimental and are
always followed by stable “dot one plus” releases, usually within two or three
weeks. Please help to ensure the stability of “dot one plus” releases by
carefully testing each “dot zero” release and reporting back about any problems
you find.
It is not recommended that you use a “dot zero” release in a production system.
Instead, you should wait for the “dot one” or greater versions.
|