summaryrefslogtreecommitdiff
path: root/tests/data/book-html4.html
blob: bcdc0ee365cb0d00af25d349c4ce03a519321067 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="AsciiDoc test">
<title>Book Title Goes Here</title>
</head>
<body>
<h1>Book Title Goes Here</h1>
<p>
<strong>Author's Name</strong><br>
version 1.0,
2003-12
</p>
<hr>
<h2><a name="_example_dedication"></a>1. Example Dedication</h2>
<p>Optional dedication.</p>
<p>This document is an AsciiDoc book skeleton containing briefly
annotated example elements plus a couple of example index entries and
footnotes.</p>
<p>Books are normally used to generate DocBook markup and the titles of
the preface, appendix, bibliography, glossary and index sections are
significant (<em>specialsections</em>).</p>
<hr>
<h2><a name="_example_preface"></a>2. Example Preface</h2>
<p>Optional preface.</p>
<h3><a name="_preface_sub_section"></a>2.1. Preface Sub-section</h3>
<p>Preface sub-section body.</p>
<hr>
<h2><a name="_the_first_chapter"></a>3. The First Chapter</h2>
<p>Chapters can contain sub-sections nested up to three deep.
<br><i>[An example footnote.]</i><br></p>
<p>Chapters can have their own bibliography, glossary and index.</p>
<p>And now for something completely different: monkeys, lions and
tigers (Bengal and Siberian) using the alternative syntax index
entries.



Note that multi-entry terms generate separate index entries.</p>
<p>Here are a couple of image examples: an <img src="images/smallnew.png" style="border-width: 0; vertical-align: text-bottom;" alt="images/smallnew.png">
example inline image followed by an example block image:</p>
<div>
<img src="images/tiger.png" style="border-width: 0;" alt="Tiger image">
<p><b>Figure 1. </b>Tiger block image</p>
</div>
<p>Followed by an example table:</p>
<div>
<table rules="all"
width="60%"
frame="border"
cellspacing="0" cellpadding="4">
<thead>
<tr>
<th align="left" width="50%" valign="top"> Option          </th>
<th align="left" width="50%" valign="top"> Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" width="50%" valign="top"><p>-a <em>USER GROUP</em></p></td>
<td align="left" width="50%" valign="top"><p>Add <em>USER</em> to <em>GROUP</em>.</p></td>
</tr>
<tr>
<td align="left" width="50%" valign="top"><p>-R <em>GROUP</em></p></td>
<td align="left" width="50%" valign="top"><p>Disables access to <em>GROUP</em>.</p></td>
</tr>
</tbody>
</table>
<p><b>Table 1. </b>An example table</p>
</div>
<table frame="void" width="100%" cellpadding="4">
<tr><td style="border-left: 2px solid silver;">
<p>Lorum ipum&#8230;</p>
</td></tr></table>
<p><b>Example 1. </b>An example example</p>
<h3><a name="X1"></a>3.1. Sub-section with Anchor</h3>
<p>Sub-section at level 2.</p>
<h4><a name="_chapter_sub_section"></a>3.1.1. Chapter Sub-section</h4>
<p>Sub-section at level 3.</p>
<h5><a name="_chapter_sub_section_2"></a>Chapter Sub-section</h5>
<p>Sub-section at level 4.</p>
<p>This is the maximum sub-section depth supported by the distributed
AsciiDoc configuration.
<br><i>[A second example footnote.]</i><br></p>
<hr>
<h2><a name="_the_second_chapter"></a>4. The Second Chapter</h2>
<p>An example link to anchor at start of the <a href="#X1">first sub-section</a>.</p>
<p>An example link to a bibliography entry <a href="#taoup">[taoup]</a>.</p>
<hr>
<h2><a name="_the_third_chapter"></a>5. The Third Chapter</h2>
<p>Book chapters are at level 1 and can contain sub-sections.</p>
<hr>
<h2><a name="_example_appendix"></a>Appendix A: Example Appendix</h2>
<p>One or more optional appendixes go here at section level 1.</p>
<h3><a name="_appendix_sub_section"></a>Appendix Sub-section</h3>
<p>Sub-section body.</p>
<hr>
<h2><a name="_example_bibliography"></a>Example Bibliography</h2>
<p>The bibliography list is a style of AsciiDoc bulleted list.</p>
<p><b>Books</b></p><ul>
<li>
<p>
<a name="taoup"></a>[taoup] Eric Steven Raymond. <em>The Art of Unix
  Programming</em>. Addison-Wesley. ISBN 0-13-142901-9.
</p>
</li>
<li>
<p>
<a name="walsh-muellner"></a>[walsh-muellner] Norman Walsh &amp; Leonard Muellner.
  <em>DocBook - The Definitive Guide</em>. O&#8217;Reilly &amp; Associates. 1999.
  ISBN 1-56592-580-7.
</p>
</li>
</ul>
<p><b>Articles</b></p><ul>
<li>
<p>
<a name="abc2003"></a>[abc2003] Gall Anonim. <em>An article</em>, Whatever. 2003.
</p>
</li>
</ul>
<hr>
<h2><a name="_example_glossary"></a>Example Glossary</h2>
<p>Glossaries are optional. Glossaries entries are an example of a style
of AsciiDoc labeled lists.</p>
<dl>
<dt>
A glossary term
</dt>
<dd>
<p>
  The corresponding (indented) definition.
</p>
</dd>
<dt>
A second glossary term
</dt>
<dd>
<p>
  The corresponding (indented) definition.
</p>
</dd>
</dl>
<hr>
<h2><a name="_example_colophon"></a>Example Colophon</h2>
<p>Text at the end of a book describing facts about its production.</p>
<hr>
<h2><a name="_example_index"></a>Example Index</h2>
<p></p>
<p></p>
<hr><p><small>
Version 1.0<br>
Last updated
 2002-11-25 00:37:42 UTC
</small></p>
</body>
</html>