source: rtems-source-builder/source-builder/sb/asciidoc/doc/book-multi.txt @ 0464153

4.104.114.95
Last change on this file since 0464153 was 0464153, checked in by Chris Johns <chrisj@…>, on 03/03/13 at 04:58:11

Change asciidoc to the 8.6.4 release package because Windows was broken.

  • Property mode set to 100644
File size: 4.5 KB
Line 
1Multi-Part Book Title Goes Here
2===============================
3Author's Name
4v1.0, 2003-12
5:doctype: book
6
7
8[dedication]
9Example Dedication
10==================
11The optional dedication goes here.
12
13This document is an AsciiDoc multi-part book skeleton containing
14briefly annotated element placeholders plus a couple of example index
15entries and footnotes. Books are normally used to generate DocBook
16markup and the preface, appendix, bibliography, glossary and index
17section titles are significant ('specialsections').
18
19NOTE: Multi-part books differ from all other AsciiDoc document formats
20in that top level sections (dedication, preface, book parts,
21appendices, bibliography, glossary, index) must be level zero headings
22(not level one).
23
24
25[preface]
26Example Preface
27================
28The optional book preface goes here at section level zero.
29
30Preface Sub-section
31~~~~~~~~~~~~~~~~~~~
32NOTE: Preface and appendix subsections start out of sequence at level
332 (level 1 is skipped). This only applies to multi-part book
34documents.
35
36
37
38The First Part of the Book
39==========================
40
41[partintro]
42.Optional part introduction title
43--
44Optional part introduction goes here.
45--
46
47The First Chapter
48-----------------
49Chapters can be grouped by preceeding them with a level 0 Book Part
50title.
51
52Book chapters are at level 1 and can contain sub-sections nested up to
53three deep.
54footnote:[An example footnote.]
55indexterm:[Example index entry]
56
57It's also worth noting that a book part can have it's own preface,
58bibliography, glossary and index. Chapters can have their own
59bibliography, glossary and index.
60
61And now for something completely different: ((monkeys)), lions and
62tigers (Bengal and Siberian) using the alternative syntax index
63entries.
64(((Big cats,Lions)))
65(((Big cats,Tigers,Bengal Tiger)))
66(((Big cats,Tigers,Siberian Tiger)))
67Note that multi-entry terms generate separate index entries.
68
69Here are a couple of image examples: an image:images/smallnew.png[]
70example inline image followed by an example block image:
71
72.Tiger block image
73image::images/tiger.png[Tiger image]
74
75Followed by an example table:
76
77.An example table
78[width="60%",options="header"]
79|==============================================
80| Option          | Description
81| -a 'USER GROUP' | Add 'USER' to 'GROUP'.
82| -R 'GROUP'      | Disables access to 'GROUP'.
83|==============================================
84
85.An example example
86===============================================
87Lorum ipum...
88===============================================
89
90[[X1]]
91Sub-section with Anchor
92~~~~~~~~~~~~~~~~~~~~~~~
93Sub-section at level 2.
94
95Chapter Sub-section
96^^^^^^^^^^^^^^^^^^^
97Sub-section at level 3.
98
99Chapter Sub-section
100+++++++++++++++++++
101Sub-section at level 4.
102
103This is the maximum sub-section depth supported by the distributed
104AsciiDoc configuration.
105footnote:[A second example footnote.]
106
107
108The Second Chapter
109------------------
110An example link to anchor at start of the <<X1,first sub-section>>.
111indexterm:[Second example index entry]
112
113An example link to a bibliography entry <<taoup>>.
114
115
116
117The Second Part of the Book
118===========================
119
120The First Chapter of the Second Part
121------------------------------------
122Chapters grouped into book parts are at level 1 and can contain
123sub-sections.
124
125
126
127:numbered!:
128
129[appendix]
130Example Appendix
131================
132One or more optional appendixes go here at section level zero.
133
134Appendix Sub-section
135~~~~~~~~~~~~~~~~~~~
136NOTE: Preface and appendix subsections start out of sequence at level
1372 (level 1 is skipped).  This only applies to multi-part book
138documents.
139
140
141
142[bibliography]
143Example Bibliography
144====================
145The bibliography list is a style of AsciiDoc bulleted list.
146
147[bibliography]
148- [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
149  Programming'. Addison-Wesley. ISBN 0-13-142901-9.
150- [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
151  'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
152  ISBN 1-56592-580-7.
153
154
155[glossary]
156Example Glossary
157================
158Glossaries are optional. Glossaries entries are an example of a style
159of AsciiDoc labeled lists.
160
161[glossary]
162A glossary term::
163  The corresponding (indented) definition.
164
165A second glossary term::
166  The corresponding (indented) definition.
167
168
169[colophon]
170Example Colophon
171================
172Text at the end of a book describing facts about its production.
173
174
175[index]
176Example Index
177=============
178////////////////////////////////////////////////////////////////
179The index is normally left completely empty, it's contents are
180generated automatically by the DocBook toolchain.
181////////////////////////////////////////////////////////////////
Note: See TracBrowser for help on using the repository browser.