summaryrefslogtreecommitdiffstats
path: root/en_US/xml-tags.xml
blob: c4b8c37126dfd46d3f2b49b5034615d80553f138 (plain)
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
<!-- $Id: xml-tags.xml,v 1.2 2007/02/03 22:29:37 kwade Exp $ -->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [

<!-- *************** Bring in Fedora entities *************** -->
<!ENTITY % FEDORA-ENTITIES-EN SYSTEM "fdp-entities.ent">
%FEDORA-ENTITIES-EN;

]>


  <chapter id="ch-xml-tags">
    <title>DocBook XML Tags</title>

    <indexterm>
      <primary>XML</primary>
      <secondary>tags</secondary>
      <see>XML tags</see>
    </indexterm>

    <para>Please read this chapter carefully. This chapter describes the tags
      used by the Docs Project. Some of the rules described are specific to the
      project.
    </para>

    <para>If these tags are used appropriately, document searches will provide
      meaningful results. These tags help search engines identify the
      information relevant to the search request. Another benefit is that all
      &PROJECT; documents will have a similar look and feel (however, they will have
      some differences depending upon the output format).
    </para>

    <indexterm>
      <primary>XML</primary>
      <secondary>general tag information</secondary>
    </indexterm>
    
    <para>Most tags in XML must have an opening and closing tag.  A few
    tags, such as <sgmltag class="emptytag">xref</sgmltag>, have no
    content and close themselves.  Additionally,
      proper XML conventions say that there must be a unique identifier for
      sections, chapters, figures, tables, and so on, so that they may be
      correctly identified, and cross referenced if needed.</para>
    
    <para>Although XML is capable of handling many document types, the format
      discussed here is the article format.</para>
    
    <para>
      This chapter only discusses tags used for documentation for the &PROJECT;,
      not all available DocBook XML tags. For the complete list, refer to:
    </para>
<screen>
<computeroutput>
<ulink url="http://www.docbook.org/tdg/en/html/docbook.html">http://www.docbook.org/tdg/en/html/docbook.html</ulink>
</computeroutput>
</screen>

    <section id="sn-xml-tags-caveats">
      <title>Tags and Entities Caveats</title>

      <indexterm>
	<primary>xml tags</primary>
	<secondary>caveats</secondary>
      </indexterm>
    
      <para>
	It is very important that you remember the caveats in this section. Even
	though they are more strict than valid DocBook XML, these rules exist
	so that both the HTML and PDF outputs look proper.
      </para>

      <variablelist>
	<varlistentry>
	  <term>Do Not Use Trademark Entities</term>
	  <listitem>
	    <para>Do not use the trademark entities &amp;trade;, &amp;copy;, or
	    &amp;reg; because the do not produce HTML output that works for all
	    charsets. The HTML output produces by these entities are declared in
	    the DTD and cannot be changed via the stylesheet.</para>
	    <para>Instead, use the <command>trademark</command> tag and its
	    associates classes as follows:
	    </para>
	    <itemizedlist>
	      <listitem>
		<para>&lt;trademark&gt;trademark symbol after me&lt;/trademark&gt;
		</para>
	      </listitem>
	      <listitem>
		<para>&lt;trademark class="registered"&gt;registered trademark symbol after me&lt;/trademark&gt;
		</para>
	      </listitem>
	      <listitem>
		<para>&lt;trademark class="copyright"&gt;copyright symbol after me&lt;/trademark&gt;</para>
	      </listitem>
	    </itemizedlist>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term>Content inside <command>para</command> tags</term>
	  <listitem>
	    <para>Do not use <command>para</command> tags around anything other
	      than a simple paragraph. Doing so will create additional white space
	      within the text itself in the PDF version.
	    </para>
	    <para>Specifically, do not use <command>para</command> tags around
	      the following (or, to put this another way, do not embed the
	      following within <command>para</command> tags):
	    </para>
	    <itemizedlist>
	      <listitem>
		<para>&lt;screen&gt;</para>
	      </listitem>
	      <listitem>
		<para>&lt;itemizedlist&gt;</para>
	      </listitem>
	      <listitem>
		<para>&lt;orderedlist&gt;</para>
	      </listitem>
	      <listitem>
		<para>&lt;variablelist&gt;</para>
	      </listitem>
	      <listitem>
		<para>&lt;table&gt;</para>
	      </listitem>
	    </itemizedlist>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term>Content inside <command>para</command> tags within
	  <command>listitem</command> tags</term>
	  <listitem>
	    <para>Content inside <command>para</command> tags within
	    <command>listitem</command> tags <emphasis>must</emphasis> start
	    immediately after the beginning &lt;para&gt; tag to avoid extra
	    white space in the PDF version.
	    </para>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term>Content inside <command>screen</command> tags</term>
	  <listitem>
	    <para>The content inside <command>screen</command> tags
	    (&lt;screen&gt; and &lt;/screen&gt;)
	    <emphasis>must</emphasis> be flush left in the XML file;
	    otherwise, the extraneous whitespace will appear in the HTML
	    version.
	    </para>
	  </listitem>
	</varlistentry>
      </variablelist>

    </section>

      <section id="sn-xml-tags-application">
      <title><command>application</command></title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>application</secondary>
	</indexterm>

      <para>An application is the name of a GUI software program. A command is
	the name of an executable (text) program or a software command.</para>

    <para>The <command>&lt;application&gt;</command> and
      <command>&lt;/application&gt;</command> tags allow you to refer to an
      application or program. For example, the following XML:
    </para>
	  
<screen>
<computeroutput>
To view the Web in Linux, you can use
&lt;application&gt;Mozilla&lt;/application&gt; or
&lt;application&gt;lynx&lt;/application&gt; if you only want a text-based
browser.
</computeroutput>
</screen>

      <para>
	produces the following output:
      </para>

      <para>
	To view the Web in Linux, you can use <application>Mozilla</application> 
	or <application>lynx</application> if you only want a text-based browser.
      </para>

      </section>

      <section id="sn-xml-tags-chapter">
      <title><command>chapter</command></title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>chapter</secondary>
	</indexterm>

      <para>
	A DocBook book can be divided into chapters such as:
      </para>

<screen>
<computeroutput>
&lt;!--$Id: xml-tags.xml,v 1.2 2007/02/03 22:29:37 kwade Exp $ --&gt;

  &lt;chapter id="ch-sample"&gt;
    &lt;title&gt;Sample Chapter&lt;/title&gt;

    &lt;para&gt;This is a sample chapter, showing you the XML tags used to create a
    chapter, sections, and subsections.&lt;/para&gt;
    
  &lt;/chapter&gt;
</computeroutput>
</screen>

      <para>
	The chapter can also be further divided into sections
	(<command>section</command>, <command>section</command>,
	<command>sect3</command>, etc.). Refer to <xref
	linkend="sn-xml-tags-sections"></xref> for details.
      </para>

    </section>


      <section id="sn-xml-tags-citetitle">
      <title><command>citetitle</command></title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>citetitle</secondary>
	</indexterm>


      <para>
	The <command>&lt;citetitle&gt;</command> tag provides formatting for a
	specific references (title can be manually typed out or if already
	defined within your document set, given as an entity<footnote><para>An
	entity is a short hand way of referring to another manual or guide. It
	can be defined within the parent document or within a set of files that
	your DTD references for your specific documentation set.</para>
	</footnote>
	).</para>

    <para>
      For example:
    </para>
<screen>
<computeroutput>
&lt;citetitle&gt;IG;&lt;/citetitle&gt;.
</computeroutput>
</screen>
      <para>
	The output looks like <citetitle>&IG;</citetitle> because &amp;IG; is an
	entity.
      </para>

      </section>

      <section id="sn-xml-tags-command">
      <title><command>command</command></title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>command</secondary>
	</indexterm>

      <para>An application is the name of a GUI software program. A command is
	the name of an executable (text) program or a software command. Any
	program that is a command line or text-based only tool is marked with
	<command>command</command> tags. </para>


      <para>If you have text that is a command, use the
	<command>&lt;command&gt;</command> and
	<command>&lt;/command&gt;</command> tags such as:
      </para>
      

	  
<screen>
<computeroutput>
To change your keyboard after installation, become root 
and use the &lt;command&gt;redhat-config-keyboard&lt;/command&gt; command, 
or you can type &lt;command&gt;setup&lt;/command&gt; at the root prompt.
</computeroutput>
</screen>
      
      <para>
	The output:
      </para>
      <para>
	To change your keyboard after installation, become root and use
	the <command>redhat-config-keyboard</command> command, or you can type
	<command>setup</command> at the root prompt.
      </para>

      <para>Another example would be:</para>

<screen>
<computeroutput>
&lt;command&gt;MAILNOVIOLATIONS&lt;/command&gt; &mdash; If set
to &lt;command&gt;true&lt;/command&gt; this option tells Tripwire to
email a report at a regular interval regardless of whether or not
any violations have occured. The default value is
&lt;command&gt;true&lt;/command&gt;.
</computeroutput>
</screen>

      <para>
	with the output:
      </para>

      <para>
	<command>MAILNOVIOLATIONS</command> &mdash; If set to
	<command>true</command> this variable tells Tripwire to email a report
	at a regular interval regardless of whether or not any violations have
	occured. The default value is <command>true</command>.
      </para>

      <note>
	<title>Note</title> <para>In this example, the option value (true) is
	defined with a &lt;command&gt; tag set. Because a option is a
	configuration file option (command line options which would use the
	&lt;option&gt; tag set), and because there is no configuration file
	option tag available to use, we are extending the &lt;command&gt; tag
	set to define options in a configuration file.</para>
      </note>

      <para>
	Terms marked with <command>command</command> tags because there aren't
	exact tags for them:
      </para>
      <itemizedlist>
	<listitem>
	  <para>Options in configuration files such as Apache directives</para>
	</listitem>
	<listitem>
	  <para>daemon names</para>
	</listitem>
      </itemizedlist>

      </section>

      <section id="sn-xml-tags-compoutput">
      <title><command>computeroutput</command></title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>computeroutput</secondary>
	</indexterm>

      <para>
	To show computer output use the following tags:
      </para>
<screen>
<computeroutput>
&lt;computeroutput&gt;Do you want to delete this file? y n&lt;/computeroutput&gt;
</computeroutput>
</screen>

      <para>
	The output:
      </para>
      <para>
	<computeroutput>Do you really want to delete this file? y n</computeroutput>
      </para>
    </section>

    <section id="sn-xml-tags-emphasis">
      <title><command>emphasis</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>emphasis</secondary>
      </indexterm>
      
      <para>
	To emphasis content, use the <command>&lt;emphasis&gt;</command> and
	<command>&lt;/emphasis&gt;</command> tags. For example:
      </para>
<screen>
<computeroutput>
This installation &lt;emphasis&gt;will remove all&lt;/emphasis&gt; existing
Linux partitions on &lt;emphasis&gt;all&lt;/emphasis&gt; hard drives in your
system; non-Linux partitions will not be removed.
</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>
	This installation <emphasis>will remove all</emphasis> existing Linux
	partitions on <emphasis>all</emphasis> hard drives in your system;
	non-Linux partitions will not be removed.
      </para>
    </section>
    
    <section id="sn-xml-tags-example">
      <title><command>example</command></title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>example</secondary>
	</indexterm>

      <para>The <command>&lt;example&gt;</command> and
      <command>&lt;/example&gt;</command> tags are used to format text within a
      document and is great for adding emphasis to show examples of code,
      exercises, and more. </para>

      <para>The <command>&lt;example&gt;</command> tag set should be given an ID
      and title:</para>

<screen>
	&lt;example id="static-ip"&gt;
	  &lt;title&gt;Static IP Address using DHCP&lt;/title&gt;

&lt;screen width=60&gt;
&lt;computeroutput&gt;
host apex {
   option host-name "apex.example.com";
   hardware ethernet 00:A0:78:8E:9E:AA; 
   fixed-address 192.168.1.4;
}
&lt;computeroutput&gt;
&lt;/screen&gt;

	&lt;/example&gt;
</screen>

      <para>
	The output:
      </para>

	<example id="static-ip">
	  <title>Static IP Address using DHCP</title>

<screen>
<computeroutput>
host apex {
   option host-name "apex.example.com";
   hardware ethernet 00:A0:78:8E:9E:AA; 
   fixed-address 192.168.1.4;
}
</computeroutput>
</screen>
	</example>

    </section>

    
    <section id="sn-xml-tags-filename">
      <title><command>filename</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>filename</secondary>
      </indexterm>
      
      <para>
	The <command>&lt;filename&gt;</command> and
	<command>&lt;/filename&gt;</command> tags define a filename or path to a
	file. Since directories are just special files, they are marked with the
	<command>filename</command> tags as well. For example:
      </para>
<screen>
Edit the &lt;filename&gt;/home/smoore/sam.xml&lt;/filename&gt; file to make
changes or add comments.
</screen>
      <para>
	The output:
      </para>
      <para>
	Edit the <filename>/home/smoore/sam.xml</filename> file to make changes
	or add comments.
      </para>

      <para>
	They are also used to markup an RPM package name. For example:
      </para>
<screen>
To use the &lt;application&gt;Keyboard Configuration Tool&lt;/application&gt;, the
&lt;filename&gt;system-config-keyboard&lt;/filename&gt; RPM package must be installed.
</screen>
      <para>
	The output:
      </para>
      <para>
	To use the <application>Keyboard Configuration Tool</application>, the
	<command>redhat-config-keyboard</command> RPM package must be installed.
      </para>

      <note>
	<title>Note</title>
	<para>
	  Directory names must end with a forward slash
	  (<computeroutput>/</computeroutput>) to distinguish them from file
	  names.
	</para>
      </note>

    </section>

    <section id="sn-xml-tags-firstterm">
      <title><command>firstterm</command></title>

      <indexterm>
	<primary>XML tags</primary>
	<secondary>firstterm</secondary>
      </indexterm>

      <para>
	The <command>&lt;firstterm&gt;</command> and
	<command>&lt;/firstterm&gt;</command> tags helps to define a word that
	may be unfamiliar to the user, but that will be seen commonly throughout
	the text. For example:
      </para>
<screen>
<computeroutput>
Nearly every modern-day operating system uses &lt;firstterm&gt;disk
partitions&lt;/firstterm&gt;, and &FC; is no exception.
</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>
	Nearly every modern-day operating system uses <firstterm>disk
	  partitions</firstterm>, and &FC; is no exception.
      </para>

    </section>

    <section id="sn-xml-tags-footnote">
      <title><command>footnote</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>footnote</secondary>
      </indexterm>

      <para>
	If you need to make a footnote, use the following example:
      </para>
<screen>
<computeroutput>
For those of you who need to perform a server-class
&lt;footnote&gt;
&lt;para&gt;
A server-class installation sets up a typical server
environment. Note, no graphical environment is 
installed during a server-class installation.
&lt;/para&gt; 
&lt;/footnote&gt; installation, refer to the &lt;citetitle&gt;Installation Guide&lt;/citetitle&gt;.
</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>
	For those of you who need to perform a server-class <footnote> <para>A
	    server-class installation sets up a typical server environment. Please note, no
	    graphical environment is installed during a server-class installation.</para>
	</footnote> installation, refer to the
	<citetitle>Installation Guide</citetitle>.
      </para>

    </section>

    <section id="sn-xml-tags-figure">
      <title><command>figure</command></title>

      <indexterm>
	<primary>XML tags</primary>
	<secondary>figure</secondary>
      </indexterm>
      
      <important>
	<title>Important</title>
	<para>
	  Order matters! The EPS file <emphasis>must</emphasis> be declared
	  first.
	</para>
      </important>

      <para>
	An example figure declaration:
      </para>

<screen>
<computeroutput>
&lt;figure id="fig-ksconfig-basic"&gt;
   &lt;title&gt;Basic Configuration&lt;/title&gt;
       &lt;mediaobject&gt;
         &lt;imageobject&gt;
           &lt;imagedata fileref="./figs/ksconfig/ksconfig-basic.eps"
                       format="EPS"/&gt;
         &lt;/imageobject&gt;
         &lt;imageobject&gt;
           &lt;imagedata fileref="./figs/ksconfig/ksconfig-basic.png"
                      format="PNG"/&gt;
         &lt;/imageobject&gt;
         &lt;textobject&gt;
           &lt;phrase&gt;
              Some text description of this image
           &lt;/phrase&gt;
         &lt;/textobject&gt;
       &lt;/mediaobject&gt;
&lt;/figure&gt;
</computeroutput>
</screen>

      <para>
	The following describes what needs to be edited:
      </para>

<screen>
&lt;figure id="fig-ksconfig-basic"&gt; <emphasis>==> id="" would be edited</emphasis>

&lt;title&gt;Basic Configuration&lt;/title&gt; <emphasis>==> title would be edited</emphasis>

fileref="./figs/ksconfig/ksconfig-basics.eps"&gt; <emphasis>==> .eps location would be edited</emphasis>

fileref="./figs/ksconfig/ksconfig-basics.png"&gt; <emphasis>==> .png location would be edited</emphasis>
                  
&lt;phrase&gt;Some text description of this image&lt;/phrase&gt; <emphasis>==> "Some text..." would be edited</emphasis>
</screen>

      <para>
	For more information on taking screenshots, refer to <xref
	linkend="sn-screenshots"/>.
      </para>

    </section>

    <section id="sn-xml-tags-gui">
      <title>GUI Tags</title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>GUI tags</secondary>
      </indexterm>
      
      <section id="sn-xml-tags-guilabel">
	<title><command>guilabel</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>GUI tags</secondary>
	  <tertiary>guilabel</tertiary>
	</indexterm>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>guilabel</secondary>
	</indexterm>
	
	<para>
	  Use the <command>&lt;guilabel&gt;</command> and
	  <command>&lt;/guilabel&gt;</command> tags as a default for GUI
	  descriptions, like a screen name or screen title. For example:
	</para>
<screen>
<computeroutput>
The &lt;guilabel&gt;Authentication Configuration&lt;/guilabel&gt; screen 
shows you how to make your system more secure.
</computeroutput>
</screen>

	<para>
	  The output:
	</para>

	<para>
	  The <guilabel>Authentication Configuration</guilabel> screen shows you how to
	  make your system more secure.
	</para>
      </section>

      <section id="sn-xml-tags-guibutton">
	<title><command>guibutton</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>GUI tags</secondary>
	  <tertiary>guibutton</tertiary>
	</indexterm>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>guibutton</secondary>
	</indexterm>

	<para>
	  Use the <command>&lt;guibutton&gt;</command> and
	  <command>&lt;/guibutton&gt;</command> tags to denote a button on a screen or
	  menu. For example:
	</para>
<screen>
<computeroutput>
Check the &lt;guibutton&gt;Activate on boot&lt;/guibutton&gt; button 
to have the X Window System start automatically.
</computeroutput>
</screen>

	<para>
	  The output:
	</para>

	  <para>
	  Check the <guibutton>Activate on boot</guibutton> button to have the X
	  Window System start automatically.
	</para>
      </section>
      
      <section id="sn-xml-tags-guiicon">
	<title><command>guiicon</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>GUI tags</secondary>
	  <tertiary>guiicon</tertiary>
	</indexterm>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>guiicon</secondary>
	</indexterm>

	<para>
	  The <command>&lt;guiicon&gt;</command> and <command>&lt;/guiicon&gt;</command>
	  tags are used to denote a panel or desktop icon. For example:
	</para>
<screen>
<computeroutput>
Double-click the &lt;guiicon&gt;Start Here&lt;/guiicon&gt; icon on the desktop.
</computeroutput>
</screen>

	<para>
	  The output:
	</para>

	<para>
	  Double-click the <guiicon>Start Here</guiicon> icon on the desktop.
	</para>

	</section>

      <section id="sn-xml-tags-guimenu">
	<title><command>guimenu</command> and
	  <command>guimenuitem</command></title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>GUI tags</secondary>
	  <tertiary>guimenu</tertiary>
	</indexterm>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>guimenu</secondary>
	</indexterm>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>GUI tags</secondary>
	  <tertiary>guimenuitem</tertiary>
	</indexterm>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>guimenuitem</secondary>
	</indexterm>
	
	<para>
	  To note a menu (like in the installation program or within the control panel),
	  use the <command>&lt;guimenu&gt;</command> and
	  <command>&lt;/guimenu&gt;</command> tags. 
	</para>

	<para>
	  To note submenu items, use the <command>&lt;guimenuitem&gt;</command> and
	  <command>&lt;/guimenuitem&gt;</command> tags. (Please note that there should not
	  be any breaks between these commands, but for printing purposes breaks have been
	  inserted). For example:
	</para>
<screen>
<computeroutput>
Select 
&lt;guimenu&gt;Main Menu&lt;/guimenu&gt; =>
	    &lt;guimenuitem&gt;Programming&lt;/guimenuitem&gt; => &lt;guimenuitem&gt;Emacs&lt;/guimenuitem&gt; to start the 
&lt;application&gt;Emacs&lt;/application&gt; text editor.
</computeroutput>
</screen>

	<para>
	  The output:
	</para>

	<para>
	  From the control panel, click on <guimenu>Main Menu</guimenu> =>
	  <guimenuitem>Programming</guimenuitem> =>
	  <guimenuitem>Emacs</guimenuitem> to start the
	  <application>Emacs</application> text editor.
	</para>
      </section>
    </section>
    
    <section id="sn-xml-tags-keycap">
      <title><command>keycap</command></title>

      <indexterm>
	<primary>XML tags</primary>
	<secondary>keycap</secondary>
      </indexterm>

      <para>
	To denote a specific key, you will need to use the
	<command>&lt;keycap&gt;</command> and <command>&lt;/keycap&gt;</command>
	tags. Brackets are automatically added around the keycap, so do not add
	them in your XML code. For example:
      </para>
<screen>
<computeroutput>
To make your selection, press the &lt;keycap&gt;Enter&lt;/keycap&gt; key.
</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>
	To make your selection, press the <keycap>Enter</keycap> key.
      </para>
      
      <section id="sn-xml-tags-menuchoice">
	<title><command>menuchoice</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>menuchoice</secondary>
	</indexterm>
	
	<para>
	  Often using a mouse is tedious for common tasks. Therefore,
	  programmers often build in keyboard-shortcuts to simplify their
	  program. These should be described using the shortcut tag as a wrapper
	  for the keyboard tags. The shortcut tag must be wrapped inside the
	  menuchoice tag. For example:
	</para>

<screen>
<computeroutput>
Go to the menu bar and choose: 
 &lt;menuchoice&gt;
   &lt;shortcut&gt;
     &lt;keycombo&gt;&lt;keycap&gt;Ctrl&lt;/keycap&gt;&lt;keycap&gt;s&lt;/keycap&gt;&lt;/keycombo&gt;
   &lt;/shortcut&gt;
   &lt;guimenu&gt;&lt;accel&gt;F&lt;/accel&gt;ile&lt;/guimenu&gt;
   &lt;guimenuitem&gt;&lt;accel&gt;S&lt;/accel&gt;ave&lt;/guimenuitem&gt;
 &lt;/menuchoice&gt;.
</computeroutput>
</screen>


      <para>
	The output:
      </para>
	
	<para>
	  Go to the menu bar and choose: 
	  <menuchoice>
	    <shortcut>
	      <keycombo><keycap>Ctrl</keycap><keycap>s</keycap></keycombo>
	    </shortcut>
	    <guimenu><accel>F</accel>ile</guimenu>
	    <guimenuitem><accel>S</accel>ave</guimenuitem> 
	  </menuchoice>.
	</para>

      </section>

      <section id="sn-xml-tags-keycombo">
	<title><command>keycombo</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>keycombo</secondary>
	</indexterm>
	
	<para>
	  To illustrate a key combination, you need to use the
	  <command>&lt;keycombo&gt;</command> and
	  <command>&lt;/keycombo&gt;</command>,
	  <command>&lt;keycap&gt;</command> and
	  <command>&lt;/keycap&gt;</command> tags. For example:
	</para>
<screen>
<computeroutput>
To reboot your system, press &lt;keycombo&gt;
&lt;keycap&gt;Ctrl&lt;/keycap&gt;&lt;keycap&gt;Alt&lt;/keycap&gt;&lt;keycap&gt;Del&lt;/keycap&gt;
&lt;/keycombo&gt;.
</computeroutput>
</screen>

	<para>
	  The output:
	</para>
	
	<para>
	  To reboot your system, press
	  <keycombo><keycap>Ctrl</keycap><keycap>Alt</keycap><keycap>Del</keycap>
	  </keycombo>.
	</para>

	</section>

    </section>

    <section id="sn-xml-tags-lists">
      <title>Lists</title>
      
      <indexterm>
	<primary>lists</primary>
	<secondary>creating</secondary>
      </indexterm>

      <para>There are several types of lists you can create using XML. You
	can have a itemized (bulleted) list, a ordered (numbered) list, or a
	variable list (presents a term and then a separate paragraph).</para>
      
      <para>There is also a list format for tables and for for creating a
	list of glossary terms and their definitions.</para>
      
      <para>The sections below will discuss the proper uses for the various
	list and how to create them.</para>

      <section id="sn-xml-tags-itemizedlist">
	<title><command>itemizedlist</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary><command>itemizedlist</command></secondary>
	</indexterm>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>lists</secondary>
	  <tertiary>itemizedlist</tertiary>
	</indexterm>

	<indexterm>
	  <primary>lists</primary>
	  <secondary><command>itemizedlist</command></secondary>
	</indexterm>
	
	<para>An <command>ItemizedList</command> is best used to present
	  information that is important for the reader to know, but that does
	  not need to be in a specific order. It is shorter than a
	  <command>VariableList</command> and presents the information in a
	  very simple way.</para>

	<para>To create an <command>ItemizedList</command> (otherwise known as
	  bulleted list), use the following command sequence:</para>
	
	<note>
	  <title>Note</title> <para>Notice below that the text for the list
	    item is directly surrounded by the <command>para</command>
	    tags. If you do not do this, you will find extra whitespace in
	    your lists where the text does not line up correctly. This is most
	    noticeable when you have a series of list items that consist of
	    multiple lines of text. This whitespace is not as noticeable in
	    the HTML output as it is in the PDFs.</para>
	</note>
	  
<screen>
<computeroutput>
&lt;itemizedlist&gt; 
  &lt;listitem&gt;
    &lt;para&gt;Getting familiar with the installation program's user interface&lt;/para&gt;
  &lt;/listitem&gt;

  &lt;listitem&gt;
    &lt;para&gt;Starting the installation program&lt;/para&gt; 
  &lt;/listitem&gt;

  &lt;listitem&gt;
    &lt;para&gt;Selecting an installation method&lt;/para&gt;
  &lt;/listitem&gt;
&lt;/itemizedlist&gt;
</computeroutput>
</screen>

	<para>The output looks like:</para>
	
	<itemizedlist> 
	  <listitem> 
	    <para>Getting familiar with the installation program's user interface</para> 
	  </listitem> 
	  
	  <listitem> 
	    <para>Starting the installation program</para> 
	  </listitem> 
	  
	  <listitem> 
	    <para>Selecting an installation method</para> 
	  </listitem> 
	</itemizedlist> 
		  
      </section>

      <section id="sn-xml-tags-orderedlist">
	<title><command>OrderedList</command></title>
	  
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary><command>orderedlist</command></secondary>
	</indexterm>
	
	<indexterm>
	  <primary>lists</primary>
	  <secondary><command>orderedlist</command></secondary>
	</indexterm>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>lists</secondary>
	  <tertiary>orderedlist</tertiary>
	</indexterm>

	<para>An <command>orderedlist</command> is best used to present
	  information that is important for the reader to know in a specific
	  order. <command>orderedlist</command>s are a good way to convey
	  step-by-step senarios to the audience you are writing for.</para>

	<para>
	  To create an <command>orderedlist</command> (numbered list), use the
	  following XML code sequence:
	</para>

	<note>
	  <title>Note</title> <para>Notice below that the text for the list
	    item is directly surrounded by the <command>para</command>
	    tags. If you do not do this, you will find extra whitespace in
	    your lists where the text does not line up correctly. This is most
	    noticeable when you have a series of list items that consist of
	    multiple lines of text. This whitespace is not as noticeable in
	    the HTML output as it is in the PDFs.</para>
	</note>

<screen>
<computeroutput>
&lt;orderedlist&gt;
  &lt;listitem&gt;
    &lt;para&gt;Online &amp;mdash; http://www.redhat.com/support/errata; supplies errata
    you can read online, and you can download diskette images
    easily.&lt;/para&gt;
  &lt;/listitem&gt;
	  
  &lt;listitem&gt;
    &lt;para&gt;Email &amp;mdash; By sending an empty mail message to errata@redhat.com, 
    you will receive an email containing a text listing of the 
    complete errata  of the installation program and related software 
    (if errata exist at  that time).  Also included are URLs to each 
    updated package and diskette  image in the errata. Using these 
    URLs, you can download any necessary  diskette images. Please 
    note: use binary mode when transferring a diskette image.&lt;/para&gt; 
  &lt;/listitem&gt;
&lt;/orderedlist&gt;
</computeroutput>
</screen>

	<para>The  output looks like:</para>
	
	<orderedlist>
	  <listitem>
	    <para>Online &mdash; http://www.redhat.com/support/errata; supplies errata
	      you can read online, and you can download diskette images
	      easily.
	    </para>
	  </listitem>
	  
	  <listitem>
	    <para>
	      Email &mdash; By sending an empty mail message to
	      errata@redhat.com, you will receive an email containing a text
	      listing of the complete errata of the installation program and
	      related software (if errata exist at that time).  Also included
	      are URLs to each updated package and diskette image in the
	      errata. Using these URLs, you can download any necessary
	      diskette images. Please note: use binary mode when transferring
	      a diskette image.
	    </para>
	  </listitem>
	</orderedlist>
	
      </section>

      <section id="sn-xml-tags-varlist">
	<title><command>Variablelist</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary><command>variablelist</command></secondary>
	</indexterm>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>lists</secondary>
	  <tertiary>variablelist</tertiary>
	</indexterm>

	<indexterm>
	  <primary>lists</primary>
	  <secondary><command>variablelist</command></secondary>
	</indexterm>
	
	<para>A <command>variablelist</command> best represents a list of
	  terms and definitions or descriptions for those terms.</para>
	
	<para>To create a <command>variablelist</command>, use the following
	  command sequence:
	</para>
	
	<note>
	  <title>Note</title> <para>Notice below that the text for the list
	    item is directly surrounded by the <command>para</command> tags. If
	    you do not do this, you will find extra whitespace in your lists
	    where the text does not line up correctly. This is most noticeable
	    when you have a series of list items that consist of multiple lines
	    of text. This whitespace is not as noticeable in the HTML output as
	    it is in the PDFs.</para>
	</note>
	  
<screen>
<computeroutput>
&lt;variablelist&gt;
  &lt;varlistentry&gt; 
    &lt;term&gt; New Multi-CD Install &lt;/term&gt;
    &lt;listitem&gt; 
      &lt;para&gt;As the installation program continues to grow, Red Hat has developed 
      an installation program capable of installing from 
      multiple CD-ROMs.&lt;/para&gt;
    &lt;/listitem&gt;
  &lt;/varlistentry&gt;

 &lt;varlistentry&gt;
   &lt;term&gt;XFree 4.0 &lt;/term&gt;
   &lt;listitem&gt;
     &lt;para&gt;Configuration of your X Window System during the installation has 
     never been more thorough. From choosing your monitor and its correct 
     settings, to video card probing, to testing your desired X setup, 
     Xconfigurator will help you set  everything just right.&lt;/para&gt;
   &lt;/listitem&gt;
 &lt;/varlistentry&gt;
&lt;/variablelist&gt;
</computeroutput>
</screen>

	<para>The output looks like:</para>
	
	<variablelist> 
	  <varlistentry>
	    <term>New Multi-CD Install</term> <listitem> <para>As the
		installation program continues to grow, Red Hat has developed an
		installation program capable of installing from
		multiple CD-ROMs.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term> XFree 4.0</term> 
	    <listitem>
	      <para>Configuration of your X Window System during the
		installation has never been more thorough. From choosing your
		monitor and its correct settings, to video card probing, to
		testing your desired X setup, Xconfigurator will help you set
		everything just right.</para>
	    </listitem>
	  </varlistentry>	    
	</variablelist> 

	<warning>
	  <title>Warning</title>
	  <para>
	    Do <emphasis>not</emphasis> specify the
	    <computeroutput>frame</computeroutput> attribute to the table. Doing
	    so breaks PDF production.
	  </para>
	</warning>

      </section>
      
      <section id="sn-xml-tags-simplelist">
	<title>Creating a List Within a Table Using <command>Simplelist</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary><command>simplelist</command></secondary>
	</indexterm>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>lists</secondary>
	  <tertiary>simplelist</tertiary>
	</indexterm>

	<indexterm>
	  <primary>lists</primary>
	  <secondary><command>simplelist</command></secondary>
	</indexterm>
	
	<indexterm>
	  <primary>tables</primary>
	  <secondary>creating a list within a table</secondary>
	  <tertiary><command>simplelist</command></tertiary>
	</indexterm>
	
	<para>A <command>simplelist</command> is an unadorned list of
	  items. <command>simplelist</command>s can be inline or arranged in
	  columns.</para> 
	
	<para>We use <command>simplelist</command> to add separate paragraphs
	  of text within a table element. A regular list, such as
	  <command>itemizedlist</command>, cannot be embedded within a table.</para>

	<para>The XML commands for a table look like:</para>

<screen>
<computeroutput>
	  &lt;table id="tb-hwinfo-hostbus"&gt;
	    &lt;title&gt;Host Bus Adapter Features and Configuration Requirements&lt;/title&gt;
	    
	    &lt;tgroup cols="3"&gt;
	      &lt;colspec colnum="1" colname="HostBus" colwidth="33"/&gt;
	      &lt;colspec colnum="2" colname="Features" colwidth="34"/&gt;
	      &lt;colspec colnum="3" colname="Single" colwidth="33"/&gt;
	      
	      &lt;thead&gt;
		&lt;row&gt;
		  &lt;entry&gt;Host Bus Adapter&lt;/entry&gt;
		  &lt;entry&gt;Features&lt;/entry&gt;
		  &lt;entry&gt;Single-Initiator Configuration&lt;/entry&gt;
		&lt;/row&gt;
	      &lt;/thead&gt;
	      
	      &lt;tbody&gt;
		
		&lt;row&gt;
		  &lt;entry&gt;Adaptec 2940U2W&lt;/entry&gt;
		  
		  &lt;entry&gt;&lt;simplelist&gt; 
		      &lt;member&gt;Ultra2, wide, LVD.&lt;/member&gt;
		      &lt;member&gt;HD68 external connector.&lt;/member&gt;
		      &lt;member&gt;One channel, with two bus segments.&lt;/member&gt;
		      &lt;member&gt;Set the onboard termination by using the BIOS
			utility.&lt;/member&gt;
		      &lt;member&gt;Onboard termination is disabled when the power is
			off.&lt;/member&gt;
		    &lt;/simplelist&gt;&lt;/entry&gt;
		  
		  &lt;entry&gt;&lt;simplelist&gt;
		      &lt;member&gt;Set the onboard termination to automatic (the
			default).&lt;/member&gt;
		      &lt;member&gt;Use the internal SCSI connector for private
			(non-cluster) storage.&lt;/member&gt;
		    &lt;/simplelist&gt;&lt;/entry&gt;
		&lt;/row&gt;
		
		&lt;row&gt;
		  &lt;entry&gt;Qlogic QLA1080&lt;/entry&gt;
		  
		  &lt;entry&gt;&lt;simplelist&gt; 
		      &lt;member&gt;Ultra2, wide, LVD&lt;/member&gt;
		      &lt;member&gt;VHDCI external connector&lt;/member&gt;
		      &lt;member&gt;One channel&lt;/member&gt;
		      &lt;member&gt;Set the onboard termination by using the BIOS
			utility.&lt;/member&gt;
		      &lt;member&gt;Onboard termination is disabled when the power is off,
			unless jumpers are used to enforce termination.&lt;/member&gt;
		    &lt;/simplelist&gt;&lt;/entry&gt;
		  
		  
		  &lt;entry&gt;&lt;simplelist&gt; 
		      &lt;member&gt;Set the onboard termination to
			automatic (the default).&lt;/member&gt;
		      &lt;member&gt;Use the internal SCSI connector for private
			(non-cluster) storage.&lt;/member&gt;
		    &lt;/simplelist&gt;&lt;/entry&gt;
		&lt;/row&gt;
		
	      &lt;/tbody&gt;
	    &lt;/tgroup&gt;
	  &lt;/table&gt;
</computeroutput>
</screen>

	<para>The output looks like:</para>
	
	<table id="tb-hwinfo-hostbus">
	  <title>Host Bus Adapter Features and Configuration Requirements</title>
	  
	  <tgroup cols="3">
	    <colspec colnum="1" colname="HostBus" colwidth="33"/>
	    <colspec colnum="2" colname="Features" colwidth="34"/>
	    <colspec colnum="3" colname="Single" colwidth="33"/>
	    
	    <thead>
	      <row>
		<entry>Host Bus Adapter</entry>
		<entry>Features</entry>
		  <entry>Single-Initiator Configuration</entry>
	      </row>
	    </thead>
	      
	    <tbody>
	      
	      <row>
		<entry>Adaptec 2940U2W</entry>
		
		<entry><simplelist> 
		    <member>Ultra2, wide, LVD.</member>
		    <member>HD68 external connector.</member>
		    <member>One channel, with two bus segments.</member>
		    <member>Set the onboard termination by using the BIOS
		      utility.</member>
		    <member>Onboard termination is disabled when the power is
		      off.</member>
		  </simplelist></entry>
		
		<entry><simplelist>
		    <member>Set the onboard termination to automatic (the
		      default).</member>
		    <member>Use the internal SCSI connector for private
		      (non-cluster) storage.</member>
		  </simplelist></entry>
	      </row>
	      
	      <row>
		<entry>Qlogic QLA1080</entry>
		
		<entry><simplelist> 
		    <member>Ultra2, wide, LVD</member>
		    <member>VHDCI external connector</member>
		    <member>One channel</member>
		    <member>Set the onboard termination by using the BIOS
		      utility.</member>
		    <member>Onboard termination is disabled when the power is off,
		      unless jumpers are used to enforce termination.</member>
		  </simplelist></entry>
		
		
		<entry><simplelist> 
		    <member>Set the onboard termination to
		      automatic (the default).</member>
		    <member>Use the internal SCSI connector for private
		      (non-cluster) storage.</member>
		  </simplelist></entry>
	      </row>
	      
	    </tbody>
	  </tgroup>
	</table>

	<note>
	  <title>Note</title>
	  <para>Notice how the <command>SimpleList</command> tags are
	    used. The  &lt;entry&gt; and &lt;simplelist&gt; tags must be aligned
	    beside one another, otherwise you will receive a parsing error.</para>
	</note>

	<para>For each paragraph or list item to be added within a
	  <command>SimpleList</command>, the &lt;member&gt; tag set must be
	  added around that particular text item.</para>
      </section>
      
      <section id="sn-xml-tags-glossary">
	<title><command>glosslist</command></title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary><command>glosslist</command></secondary>
	</indexterm>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>lists</secondary>
	  <tertiary>glosslist</tertiary>
	</indexterm>

	<indexterm>
	  <primary>lists</primary>
	  <secondary><command>glosslist</command></secondary>
	</indexterm>
	
	<para>Use the <command>glosslist</command> command set to create a
	  list of glossary terms and their definitions.</para>
	
	
	<para>In XML, an example looks like the following:</para>
	
<screen>
<computeroutput>
	  &lt;glosslist&gt;
	    &lt;glossentry&gt;
	      &lt;glossterm&gt;applet&lt;/glossterm&gt;
	      &lt;glossdef&gt;
		&lt;para&gt;A small application, usually a utility or other
	        simple program.&lt;/para&gt;
	      &lt;/glossdef&gt;
	    &lt;/glossentry&gt;

	    &lt;glossentry&gt;
	      &lt;glossterm&gt;architecture&lt;/glossterm&gt;
	      &lt;glossdef&gt;
		&lt;para&gt;The design for organization and integration of 
                components within a computer or computer system.&lt;/para&gt;
	      &lt;/glossdef&gt;
	    &lt;/glossentry&gt;

	    &lt;glossentry&gt;
	      &lt;glossterm&gt;archive&lt;/glossterm&gt;
	      &lt;glossdef&gt;
		&lt;para&gt;To transfer files into storage for the purpose of 
	        saving space and/or organization.&lt;/para&gt;
	      &lt;/glossdef&gt;
	    &lt;/glossentry&gt;
	  &lt;/glosslist&gt;
</computeroutput>	  
</screen>

	<para>
	  The output looks like:
	</para>

	<glosslist>
	  <glossentry>
	    <glossterm>applet</glossterm>
	    <glossdef>
	      <para>A small application, usually a utility or other simple program.</para>
	    </glossdef>
	  </glossentry>
	  
	  <glossentry>
	    <glossterm>architecture</glossterm>
	    <glossdef>
	      <para>The design for organization and integration of components
		within a computer or computer system.</para>
	    </glossdef>
	  </glossentry>
	  
	  <glossentry>
	    <glossterm>archive</glossterm>
	    <glossdef>
	      <para>To transfer files into storage for the purpose of saving
		space and/or organization.</para>
	    </glossdef>
	  </glossentry>
	</glosslist>
	
      </section>
    </section>

   
    <section id="sn-xml-tags-option">
      <title><command>option</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>option</secondary>
      </indexterm>
      
      <para>If you have a command that offers an option or a flag, use the
	<command>&lt;option&gt;</command> and
	<command>&lt;/option&gt;</command> tags.
      </para>
      
      <note>
	<title>Note</title>
	<para>The &lt;option&gt; tag set is only meant to be used for command
	  line options, not options in configuration files.</para>
      </note>
      
      <para>In XML, specifying an option would look like the
	following:</para>

<screen>
<computeroutput>
For example, with the command &lt;command&gt;ls&lt;/command&gt; you can 
specify an option such as &lt;option&gt;-la&lt;/option&gt;.
</computeroutput>
</screen>

      <para>
	The output:
      </para>
	
      <para>For example, with the command <command>ls</command> you can
	specify an option such as <option>-la</option>.</para>
      
    </section>

    <section id="sn-xml-tags-indexing">
      <title>Index Entries</title>

	<indexterm>
	  <primary>indexing</primary>
	</indexterm>


	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>indexing</secondary>
	</indexterm>

      <para>The following command sequence shows you the code inserted into
	the body of the text to add an index entry to your document:
	</para>
	
<screen>
<computeroutput>
&lt;indexterm&gt; &lt;-- indicates a term to be placed in the index
&lt;primary&gt;foo&lt;/primary&gt; &lt;-- indicates that "foo" is the first term
&lt;secondary&gt;bar&lt;/secondary&gt; &lt;-- "bar" will be listed under "foo" 
&lt;/indexterm&gt; &lt;-- closes this index entry
</computeroutput>
</screen>

      <indexterm>
	<primary>foo</primary>
	<secondary>bar</secondary>
      </indexterm>
      
      
      <para>The <command>&lt;seealso&gt;</command> tag allows you to
	reference another index entry or refer to another manual. Make sure
	the <command>&lt;seealso&gt;</command> reference you are pointing to
	has its own entry. For example:
      </para>
      
      <indexterm>
	<primary>indexing</primary>
	<secondary>seealso tag</secondary>
      </indexterm>

<screen>
<computeroutput>
&lt;indexterm&gt; 
&lt;primary&gt;SWAK&lt;/primary&gt; 
&lt;seealso&gt;salutations&lt;/seealso&gt;
&lt;/indexterm&gt;


&lt;indexterm&gt; 
&lt;primary&gt;salutations&lt;/primary&gt; 
&lt;/indexterm&gt;
</computeroutput>
</screen>

      <indexterm>
	<primary>SWAK</primary>
	<seealso>Salutations</seealso>
      </indexterm>
      
      <indexterm>
	<primary>Salutations</primary>
      </indexterm>
      
      <para>
	The <command>&lt;see&gt;</command> tag allows you to reference to
	another index entry entirely. For example:
      </para>
	<indexterm>
	  <primary>indexing</primary>
	    <secondary>see tag</secondary>
	</indexterm>


<screen>
<computeroutput>
&lt;indexterm&gt; 
&lt;primary&gt;Guinness&lt;/primary&gt; 
&lt;see&gt;beer&lt;/see&gt; &lt;-- beer will be listed under 
the Guinness entry, but you must make sure beer also has its 
own entry to refer to.
&lt;/indexterm&gt;

&lt;indexterm&gt;
&lt;primary&gt;beer&lt;/primary&gt;
&lt;/indexterm&gt;
</computeroutput>
</screen>

      <indexterm>
	<primary>Guinness</primary>
	<see>Beer</see>
      </indexterm>
      
      <indexterm>
	<primary>Beer</primary>
      </indexterm>
      
      <para>To view the HTML output of the index entries shown here, refer
	to the <filename>generated-index.html</filename> file at the end of
	this document.</para>
      
      <para>How does the index get generated? If indexterms exist in the
	document and the beginning and ending index tags exist before the end
	tag for the book or article, an index is created because of the
	<command>generate.index</command> stylesheet parameter, which is set to
	true by default.
	</para>

    </section>

    <section id="sn-xml-tags-para">
      <title><command>para</command></title>
      
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>para</secondary>
      </indexterm>
      
      <para>For any paragraph, the <command>&lt;para&gt;</command> and
	<command>&lt;/para&gt;</command> tags must open and close that
	particular paragraph.
      </para>
      
      <para>Do not use para tags around anything other than a simple
	paragraph. Doing so will create additional white space within
	the text itself.</para> 
	      
      <para>Do not use <command>&lt;para&gt;</command> tags around the
	following (or, to put this another way, do not embed the
	following within <command>&lt;para&gt;</command> tags):</para>
	      
      <itemizedlist>
	<listitem>
	  <para><command>&lt;screen&gt;</command></para>
	</listitem>
	<listitem>
	  <para><command>&lt;itemizedlist&gt;</command></para>
	</listitem>
	<listitem>
	  <para><command>&lt;orderedlist&gt;</command></para>
	</listitem>
	<listitem>
	  <para><command>&lt;variablelist&gt;</command></para>
	</listitem>
	<listitem>
	  <para><command>&lt;table&gt;</command></para>
	</listitem>
      </itemizedlist>
      
    </section>

    <section id="sn-xml-tags-part">
      <title><command>part</command></title>

	<indexterm>
	  <primary>parts</primary>
	</indexterm>


	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>part</secondary>
	</indexterm>

      <para>
	In the parent file, you can separate the chapters into parts to divide
	them into logical groups. For example, in the parent file, the
	<command>part</command> tags surround the chapter entities:
      </para>
<screen>
<computeroutput>
&lt;part id="pt-foo"&gt;
  &lt;partintro&gt;
  &lt;para&gt;Some text for the part intro&lt;/para&gt;
     &amp;CHAPTER; 

     &amp;ANOTHER-CHAPTER;
&lt;/part&gt;
</computeroutput>
</screen>

      <para>
	If you create a part, include a part introduction describing the
	contents of the part. For example:
      </para>

<screen>
<computeroutput>
  &lt;part id="pt-setup"&gt;
    &lt;title&gt;Getting Setup&lt;/title&gt;
    &lt;partintro&gt;
      &lt;para&gt;This section contains information you will need when you first join
	the Docs group. You might need to refer to this part again for
	information such as installing &amp;FC;.&lt;/para&gt;
    &lt;/partintro&gt;
</computeroutput>
</screen>

      <para>
	In the HTML output, a separate HTML page is generated with the part
	number, title, introduction, and TOC. In the PDF output, the same
	information about the part is on a separate page.
      </para>

    </section>

    <section id="sn-xml-tags-prompt">
      <title><command>prompt</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>prompt</secondary>
      </indexterm>
      
      <para>
	To show a prompt, such as a root or DOS prompt, use the
	<command>&lt;prompt&gt;</command> and <command>&lt;/prompt&gt;</command>
	commands. For example:
      </para>
<screen>
<computeroutput>
At the &lt;prompt&gt;LILO:&lt;/prompt&gt; boot prompt, type linux to 
boot into your Linux partition.

At the &lt;prompt&gt;C:\>&lt;/prompt&gt; prompt, type ....
</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>
	At the <prompt>LILO:</prompt> boot prompt, type linux to boot into your
	Linux partition.
      </para>
      <para>
	At the <prompt>C:\></prompt> prompt, type ....
      </para>

      <note>
	<title>Note</title> 
	<para>
	  When showing example computer output (usually in
	  <command>screen</command> tags), do not include the prompt or command
	  (unless the command or prompt is the actually computer output you want
	  to show).</para>
      </note>
    </section>

    <section id="sn-xml-tags-replaceable">
      <title><command>replaceable</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>replaceable</secondary>
      </indexterm>
      
      <para>
	To create replaceable text, use the tags
	<command>&lt;replaceable&gt;</command> and
	<command>&lt;/replaceable&gt;</command> around the text you want to use as a
	variable.
      </para>
      <para>
	This example demonstrates how to use the <command>replaceable</command>
	tags when referencing the name of an RPM file:
      </para>
<screen>
foo-&lt;replaceable&gt;version-number&lt;/replaceable&gt;.&lt;replaceable&gt;arch&lt;/replaceable&gt;.rpm
</screen>

      <para>
	The output:
      </para>

<screen>
foo-<replaceable>version-number</replaceable>.<replaceable>arch</replaceable>.rpm
</screen>
    </section>

    <section id="sn-xml-tags-screen">
      <title><command>screen</command></title>
      <indexterm>
	<primary>XML tags</primary>
	<secondary>screen</secondary>
      </indexterm>
      
    <para>
      The <command>&lt;screen&gt;</command> command is used to format text
      within a document and is great for adding emphasis to show examples of
      code, computer output, and more. In HTML with the Fedora CSS file, this
      appears in box with a grey background. To use this command you only need
      the opening <command>&lt;screen&gt;</command> and closing
      <command>&lt;/screen&gt;</command> tags around the text you are
      emphasizing.
    </para>

    <important>
      <title>Important</title> 
      <para>
	When using the <command>&lt;screen&gt;</command> tag, set
	everything within that screen to flush left.  The contents of
	the <sgmltag class="starttag">screen</sgmltag> element are
	rendered exactly as is, including any indentation.  Using flush
	left prevents extra blank space in front of the text inside the
	gray background when the content is converted to HTML.
      </para>
    </important>

    <para>
      The <command>&lt;screen&gt;</command> tag set may contain other inline
      tags, such as <command>&lt;computeroutput&gt;</command>,
      <command>&lt;userinput&gt;</command>, or
      <command>&lt;replaceable&gt;</command>. Additional inline tags are not
      required by definition. The <command>&lt;screen&gt;</command> tags by
      themselves may provide sufficient context, especially for simple examples
      or file listings. Consider the context of the example, and use inline tags
      if they are helpful to the reader.
    </para>

    <para>
      If you use inline tags, remember that line breaks inside
      <command>&lt;screen&gt;</command> tags create line breaks in any rendered
      output. Place any inline tags <emphasis>on the same line</emphasis> as
      their content. Do not overuse tagging within a
      <command>&lt;screen&gt;</command> tag set.
    </para>

    <para>
      An example of <command>&lt;screen&gt;</command> is the following:
    </para>

<screen>
<computeroutput>&lt;screen&gt;
This is an example of a screen. You do not need &amp;lt;para&amp;gt; tags
within this command.
&lt;/screen&gt;</computeroutput>
</screen>
	  
    <para>
      The output:
    </para>

<screen>
This is an example of a screen.  You do not need &lt;para&gt; tags
within this command.
</screen>

    <section id="sn-xml-tags-screen-inline-tags">
      <title>Using Inline Tags with <command>screen</command></title>
      <para>
	If you choose to use inline tags inside a
	<command>&lt;screen&gt;</command> section, follow these guidelines for
	consistency. If the content in the screen is a listing of a
	configuration file or the output of a program, use the
	<command>&lt;computeroutput&gt;</command> tag set around the entire
	output. If the user should type the example on the command line or in
	a configuration file, use the <command>&lt;userinput&gt;</command> tag
	set. Separate input and output with a short sentence of narrative, as
	below:
      </para>

<screen>
	<command>&lt;para&gt;</command>
	  Type the following command:
	<command>&lt;/para&gt;</command>

<command>&lt;screen&gt;</command>
<command>&lt;userinput&gt;</command>command -sw file1<command>&lt;/userinput&gt;</command>
<command>&lt;/screen&gt;</command>

	<command>&lt;para&gt;</command>
	  You should see the following output:
	<command>&lt;/para&gt;</command>

<command>&lt;screen&gt;</command>
<command>&lt;computeroutput&gt;</command>Completed, time = 0.12 sec<command>&lt;/computeroutput&gt;</command>
<command>&lt;/screen&gt;</command>
</screen>

	<para>
	  The output looks like:
	</para>

	<para>
	  Type the following command:
	</para>

<screen>
<userinput>command -sw file1</userinput>
</screen>

	<para>
	  You should see the following output:
	</para>

<screen>
<computeroutput>Completed, time = 0.12 sec</computeroutput>
</screen>

	<note>
	  <title>Note</title>
	  <para>
	    When showing a command or series of commands inside
	    <command>screen</command> tags, do not show the prompt.
	  </para>
	</note>

	<para>
	  If the <command>&lt;screen&gt;</command> shows the reader how to
	  change only <emphasis>part</emphasis> of a line, mark the change with
	  an inline <command>&lt;userinput&gt;</command> tag set. You may use
	  the <command>&lt;userinput&gt;</command> tag set inside a larger area
	  that is already marked inline with
	  <command>&lt;computeroutput&gt;</command>. Do not include any extra
	  lines of context in this case, unless excluding them would confuse the
	  reader. The following example illustrates these guidelines:
	</para>

<screen>
	<command>&lt;para&gt;</command>
	  Edit the <command>&lt;filename&gt;</command>/etc/sysconfig/init<command>&lt;/filename&gt;</command> file as follows:
	<command>&lt;/para&gt;</command>

<command>&lt;screen&gt;</command>
GRAPHICAL=<command>&lt;userinput&gt;</command>yes<command>&lt;/userinput&gt;</command> 
<command>&lt;/screen&gt;</command>
</screen>

	<para>
  	The output looks like:
	</para>

	<para>
	  Edit the <filename>/etc/sysconfig/init</filename> file as follows:
	</para>

<screen>
GRAPHICAL=<userinput>yes</userinput>
</screen>

	<para>
	  For an explanation of how to use the <command>replaceable</command>
	  tags within a set of <command>screen</command> tags, refer to <xref
	  linkend="sn-xml-tags-replaceable"></xref>.
	</para>

      </section>
    </section>

      <section id="sn-xml-tags-sections">
	<title>Sections</title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>sections</secondary>
	</indexterm>

	<indexterm>
	  <primary>sections</primary>
	</indexterm>

    <para>Within an article (or chapter if it is a DocBook XML book like the
	<citetitle>&IG;</citetitle>), you can have sections and
	subsections. <command>&lt;section&gt;</command> is always the highest
	section and you cannot have two sections of the same level within one
	another (a section 2 can be created within a section 1, but section 1
	has to be closed before another section 1 can be created). The general
	layout follows:</para>
	  
<screen>
<computeroutput>
&lt;section id="sn-uniquename"&gt;
  &lt;title&gt;Insert Title Here&lt;/title&gt;
  &lt;para&gt;
    Body text goes here.
  &lt;/para&gt;


  &lt;section id="sn-uniquename"&gt;
    &lt;title&gt;Insert Title Here&lt;/title&gt;
    &lt;para&gt;
      Body text goes here.
    &lt;/para&gt;

    &lt;sect3 id="s3-uniquename"&gt;
      &lt;title&gt;Insert Title Here&lt;/title&gt;
      &lt;para&gt;
        Body text goes here.
      &lt;/para&gt;

    &lt;/sect3&gt;

  &lt;/section&gt;

&lt;/section&gt;
</computeroutput>
</screen>
    
      <para>
	If you only need one level of sections in a DocBook article, you can use
	the <command>section</command> tag. For example:
      </para>

<screen>
<computeroutput>
&lt;section id="sn-uniquename"&gt;
  &lt;title&gt;Insert Title Here&lt;/title&gt;
  &lt;para&gt;
    Body text goes here.
  &lt;/para&gt;
&lt;/section&gt;
&lt;section id="sn-anothername"&gt;
  &lt;title&gt;Insert Title Here&lt;/title&gt;
  &lt;para&gt;
    More body text goes here.
  &lt;/para&gt;
&lt;/section&gt;
</computeroutput>
</screen>
    </section>

    <section id="sn-xml-tags-table">
      <title><command>table</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>table</secondary>
      </indexterm>
      
      <para>
	The following is an example of creating a table. 
      </para>

<screen>
&lt;table id="tb-mockup-before-begin"&gt;
   <emphasis>This tells XML that you will be creating a table
             and the ID name is <command>"tb-mockup-before-begin."</command></emphasis>

&lt;title&gt;Available Features of GNOME and KDE&lt;/title&gt;

&lt;tgroup cols="3"&gt;
    <emphasis>This tells XML that you are creating a table
              with three columns.</emphasis>

&lt;colspec colnum="1" colname="Features" colwidth="3"/&gt;
    <emphasis><command>colspec</command> says that you are giving information
    about the column to XML</emphasis> <emphasis><command>colnum="1"</command>
    says that you are giving specifications for the first column.</emphasis>
    
    <emphasis><command>colname="Features"</command> says that the title for this
    column will be "Features."</emphasis>
    
    <emphasis><command>colwidth="3"</command> specifies the width of the
    column. This can be more tricky: such as two columns with 
    widths of 1 and 2,the 1 is one-half the width of the 2, in 
    respect to the page size. But, what if you need the 1 to be a 
    little more than half of the 2, using a larger number ratio, 
    such as 10 to 20 would accomplish this. You could then change the
    10 to an 11 or a 12 to make it a little more than half of the 
    second column of 20. In no value is given, a value of 1 is 
	  assumed.</emphasis>

&lt;colspec colnum="2" colname="GNOME" colwidth="2"/&gt;
&lt;colspec colnum="3" colname="KDE" colwidth="2"/&gt;

&lt;thead&gt;
    <emphasis>Contains one or more table row elements.</emphasis>

&lt;row&gt; 
   <emphasis>Contains one or more table cell (entry) elements.</emphasis>

&lt;entry&gt;Features&lt;/entry&gt;
   <emphasis>Table cell element, one of several in a row element, defining
   columns within the row.</emphasis>

&lt;entry&gt;GNOME&lt;/entry&gt; 
&lt;entry&gt;KDE&lt;/entry&gt;
&lt;/row&gt; 
&lt;/thead&gt; 

&lt;tbody&gt; 
   <emphasis>Contains one or more row elements, for the main text 
   of the table.</emphasis>

&lt;row&gt; 
&lt;entry&gt;highly configurable&lt;/entry&gt; 
&lt;entry&gt;yes&lt;/entry&gt; 
&lt;entry&gt;yes&lt;/entry&gt; 
&lt;/row&gt; 
&lt;row&gt; 
&lt;entry&gt;multiple window managers &lt;/entry&gt;
&lt;entry&gt;yes&lt;/entry&gt; 
&lt;entry&gt;yes&lt;/entry&gt; 
&lt;/row&gt; 
&lt;row&gt; 
&lt;entry&gt;Internet applications&lt;/entry&gt; 
&lt;entry&gt;yes &lt;/entry&gt; 
&lt;entry&gt;yes &lt;/entry&gt; 
&lt;/row&gt; 
&lt;/tbody&gt; 
&lt;/tgroup&gt; 
&lt;/table&gt; 
</screen>

      <table id="tb-mockup-before-begin"> 
	<title>Available Features of GNOME and KDE</title> 

	<tgroup cols="3"> 
	  <colspec colnum="1" colname="Features" colwidth="3"/> 
	  <colspec colnum="2" colname="GNOME" colwidth="2"/> 
	  <colspec colnum="3" colname="KDE" colwidth="2"/> 
	  
	  <thead> 
	    <row> 
	      <entry>Features </entry> 
	      <entry>GNOME</entry> 
	      <entry>KDE</entry> 
	    </row> 
	  </thead> 
	  
	  <tbody> 
	    <row> 
	      <entry>highly configurable</entry> 
	      <entry>yes</entry> 
	      <entry>yes</entry> 
	    </row> 
	    <row> 
	      <entry>multiple window managers </entry>
	      <entry>yes</entry> 
	      <entry>yes</entry> 
	    </row> 
	    <row> 
	      <entry>Internet applications</entry> 
	      <entry>yes </entry> 
	      <entry>yes </entry> 
	    </row> 
	  </tbody> 
	</tgroup> 
      </table> 
      
      <section id="sn-xml-tags-listintable">
	<title>Creating a List Within a Table</title>
	
	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>table</secondary>
	  <tertiary>list within a table</tertiary>
	</indexterm>


	<para>Creating a list within a table can be a difficult task. It
	  requires strict formatting and a set of commands that are not
	  available for command completion in
	  <application>Emacs</application>.</para>
	
	<para>The tags you will need to use are
	  <command>&lt;simplelist&gt;</command> and
	  <command>&lt;member&gt;</command>.</para>
	
	<para>The following example will show you the proper formatting for
	  creating a list within a table.</para>
	

<screen>
<computeroutput>
&lt;table id="tb-hardware-powerswitch"&gt;
  &lt;title&gt;Power Switch Hardware Table&lt;/title&gt;
    &lt;tgroup cols="4"&gt;
      &lt;colspec colnum="1" colname="Hardware" colwidth="2"/&gt;
      &lt;colspec colnum="2" colname="Quantity" colwidth="2"/&gt;
      &lt;colspec colnum="3" colname="Description" colwidth="6"/&gt; 
      &lt;colspec colnum="4" colname="Required" colwidth="2"/&gt;

       &lt;thead&gt;
	 &lt;row&gt;
           &lt;entry&gt;Hardware&lt;/entry&gt;
	   &lt;entry&gt;Quantity&lt;/entry&gt;
           &lt;entry&gt;Description&lt;/entry&gt;
	   &lt;entry&gt;Required&lt;/entry&gt;
	 &lt;/row&gt;
       &lt;/thead&gt;
	    
       &lt;tbody&gt;
	      
	&lt;row&gt;
          &lt;entry&gt;Serial power switches&lt;/entry&gt;

	  &lt;entry&gt;Two&lt;/entry&gt;

	  &lt;entry&gt;&lt;simplelist&gt; &lt;member&gt;Power switches enable each cluster system
	   to power-cycle the other cluster system. Note that clusters are
	   configured with either serial or network attached power switches and
	   not both.&lt;/member&gt;
		      
               &lt;member&gt;The following serial attached power switch has been
	       fully tested:&lt;/member&gt;

               &lt;member&gt;RPS-10 (model M/HD in the US, and model M/EC in
	       Europe) &lt;/member&gt;

               &lt;member&gt;Latent support is provided for the following serial
	       attached power switch.  This switch has not yet been fully
               tested:&lt;/member&gt;
		  
	       &lt;member&gt;APC Serial On/Off Switch (partAP9211), &lt;ulink
               url="http://www.apc.com/"&gt;http://www.apc.com/&lt;/ulink&gt;&lt;/member&gt;
               &lt;/simplelist&gt;&lt;/entry&gt;

           &lt;entry&gt;Strongly recommended for data integrity under all failure
	   conditions&lt;/entry&gt;

	 &lt;/row&gt;
     &lt;/tbody&gt;
  &lt;/tgroup&gt;
&lt;/table&gt;
</computeroutput>
</screen>

	<para>Notice how the <command>&lt;simplelist&gt;</command> tag must be
	  beside the <command>&lt;entry&gt;</command> tag? If you do not format
	  this properly, it will not parse cleanly.</para>
	
	<para>The above example will look like the following:</para>
	  
	<table id="tb-hardware-powerswitch">
	  <title>Power Switch Hardware Table</title>
	  <tgroup cols="4">
	    <colspec colnum="1" colname="Hardware" colwidth="2"/>
	    <colspec colnum="2" colname="Quantity" colwidth="2"/>
	    <colspec colnum="3" colname="Description" colwidth="6"/> 
	    <colspec colnum="4" colname="Required" colwidth="2"/>
	    
	    <thead>
	      <row>
		<entry>Hardware</entry>
		<entry>Quantity</entry>
		<entry>Description</entry>
		<entry>Required</entry>
	      </row>
	    </thead>
	    
	    <tbody>
	      
	      <row>
		<entry>Serial power switches</entry>
		
		<entry>Two</entry>
		  
		<entry><simplelist> <member>Power switches enable each cluster
		      system to power-cycle the other cluster system. Note
		      that clusters are configured with either serial or
		      network attached power switches and not both.</member>
		    
		    <member>The following serial attached power switch has been
		      fully tested:</member>
		    
		    <member>RPS-10 (model M/HD in the US, and model M/EC in
		      Europe) </member>
		    
		    <member>Latent support is provided for the following
		      serial attached power switch.  This switch has not yet
		      been fully tested:</member>
		    
		    <member>APC Serial On/Off Switch (partAP9211), <ulink
			url="http://www.apc.com/">http://www.apc.com/</ulink></member>
		  </simplelist></entry>
		
		<entry>Strongly recommended for data integrity under all failure
		  conditions</entry>
		
	      </row>
	    </tbody>
	  </tgroup>
	</table>
	
      </section>
      
    </section>

    <section id="sn-xml-tags-trademark">
      <title><command>trademark</command></title>

      <indexterm>
	<primary>XML tags</primary>
	<secondary><command>trademark</command></secondary>
      </indexterm>


      <para>Do not use the trademark entities &amp;trade;, &amp;copy;, or
	&amp;reg; because the do not produce HTML output that works for all
	charsets. The HTML output produces by these entities are declared in
	the DTD and cannot be changed via the stylesheet.</para>

      <para>Instead, use the <command>trademark</command> tag and its
	associates classes as follows:
      </para>

<screen>
<computeroutput>
&lt;trademark&gt;trademark symbol after me&lt;/trademark&gt;
&lt;trademark class="registered"&gt;registered trademark symbol after me&lt;/trademark&gt;
&lt;trademark class="copyright"&gt;copyright symbol after me&lt;/trademark&gt;
</computeroutput>
</screen>
      
    </section>
    
    <section id="sn-xml-tags-userinput">
      <title><command>userinput</command></title>

      <indexterm>
	<primary>XML tags</primary>
	<secondary><command>userinput</command></secondary>
      </indexterm>
      
      <para>
	To show what a user would type, use the <command>userinput</command>
	tag. For example:
      </para>
<screen>
<computeroutput>
At the prompt, type:

&lt;userinput&gt;dd if=boot.img of=/dev/fd0 bs=1440k&lt;/userinput&gt;
</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>
	At the prompt, type:
      </para>

      <para>
	<userinput>dd if=boot.img of=/dev/fd0 bs=1440k</userinput>
      </para>
    </section>


<!--      <section id="sn-xml-tags-mouse">
	<title><command>mousebutton</command></title>

	<indexterm>
	  <primary>XML tags</primary>
	  <secondary>mousebutton</secondary>
	</indexterm>
	<para>
Describe mouse actions with the mousebutton tag. Below is an example of its use.
</para>

<screen>
&lt;mousebutton&gt;Right click&lt;/mousebutton&gt; on the image and a new menu will appear.
</screen>

	<para>
<mousebutton>Right click</mousebutton> on the image and a new menu will appear.
 </para>

      </section> -->

    <section id="sn-xml-tag-sulink">
      <title><command>ulink</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>ulink</secondary>
      </indexterm>
      
      <para>
	To create a URL link within your text, use the following example:
      </para>
<screen>
<computeroutput>
Online &amp;mdash; &lt;ulink url="http://www.redhat.com/support/errata/"&gt;
http://www.redhat.com/support/errata/&lt;/ulink&gt;; supplies errata 
you can read online, and you can download diskette images easily.
</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>
	Online &mdash; <ulink url="http://www.redhat.com/support/errata/">
	  http://www.redhat.com/support/errata/</ulink>; supplies errata 
	you can read online, and you can download diskette images easily.
      </para>

      <note>
	<title>Note</title>
	<para>
	  If the URL does not end in a filename, it must end in a slash
	  (<computeroutput>/</computeroutput>) to be a properly formed URL. For
	  example, <ulink
	  url="http://www.redhat.com/">http://www.redhat.com/</ulink>.
	</para>
      </note>

    </section>
    
    <section id="sn-xml-tags-wordasword">
      <title><command>wordasword</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>wordasword</secondary>
      </indexterm>
      
      <para>The &lt;wordasword&gt; tag set is used to define a word meant
	specifically as a word and not representing anything else.</para>
      
      <para>A lot of technical documentation contains words that have overloaded
	meanings. Sometimes it is useful to be able to use a word without invoking
	its technical meaning. The &lt;wordasword&gt; element identifies a word or
	phrase that might otherwise be interpreted in some specific way, and
	asserts that it should be interpreted simply as a word.</para>
      
      <para>It is unlikely that the presentation of this element will be able to
	help readers understand the variation in meaning; good writing will have
	to achieve that goal. The real value of &lt;wordasword&gt; lies in the
	fact that full-text searching and indexing tools can use it to avoid
	false-positives.</para>
      
      <para>For example:</para>

<screen>	
<computeroutput>To use &lt;command&gt;grep&lt;/command&gt; to search for the word
&lt;wordasword&gt;linux&lt;/wordasword&gt;, use the command 
&lt;command&gt;grep linux&lt;/command&gt;.</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>To use <command>grep</command> to search for the word
	<wordasword>linux</wordasword>, use the command <command>grep
	  linux</command>.</para>
      
      <para>In the example, the word "linux" is just a word. It is not
	meant to convey anything about Linux as a subject, or to add relevance or
	meaning to the content. It can be replaced with any other word without
	losing any of the context.</para>
      
    </section>
    

    <section id="sn-xml-tags-xref">
      <title><command>xref</command></title>
      
      <indexterm>
	<primary>XML tags</primary>
	<secondary>xref</secondary>
      </indexterm>
      
      <para>
	To refer to other sections or chapters within a manual, use the
	<command>&lt;xref&gt;</command> tag.
      </para>

      <para>
	The output of this displays the title of the section or chapter you are
	pointing the user to. For example:
      </para>
<screen>
<computeroutput>
For more information about the parent file, refer to
&lt;xref linkend="ch-tutorial"&gt;&lt;/xref&gt; and &lt;xref linkend="sn-tutorial-parent"&gt;&lt;/xref&gt;
</computeroutput>
</screen>

      <para>
	The output:
      </para>

      <para>
	For more information about the parent file, refer to <xref linkend="ch-tutorial"></xref>
	and <xref linkend="sn-tutorial-parent"></xref>.
      </para>
    </section>

  </chapter>

<!--
Local variables:
mode: xml
fill-column: 72
End:
-->