1 <?xml version=
"1.0" encoding=
"utf-8" ?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
6 <meta name=
"generator" content=
"Docutils 0.18b.dev: http://docutils.sourceforge.net/" />
7 <title>Additional tests with html4css1
</title>
8 <link rel=
"stylesheet" href=
"foo&bar.css" type=
"text/css" />
9 <link rel=
"stylesheet" href=
"functional/input/data/html4css1.css" type=
"text/css" />
10 <link rel=
"stylesheet" href=
"functional/input/data/math.css" type=
"text/css" />
13 <div class=
"document" id=
"additional-tests-with-html4css1">
14 <h1 class=
"title">Additional tests with html4css1
</h1>
16 <div class=
"section" id=
"section-heading-levels">
17 <h1>Section heading levels
</h1>
19 <div class=
"section" id=
"level-1">
21 <p>Nested sections
</p>
22 <div class=
"section" id=
"level-2">
24 <p>reach at some level
</p>
25 <div class=
"section" id=
"level-3">
27 <p>(depending on the document class and output format)
</p>
28 <div class=
"section" id=
"level-4">
31 <div class=
"section" id=
"level-5">
33 <p>that is not supported by the output format.
</p>
34 <div class=
"section" id=
"level-6">
36 <p>Unsupported in LaTeX and HTML5
37 (HTML5 reserves the
1st level for the document title).
</p>
38 <div class=
"section" id=
"level-7">
39 <h6 class=
"h7">level
7</h6>
40 <p>Unsupported in HTML4.
</p>
41 <div class=
"section" id=
"level-8">
42 <h6 class=
"h8">level
8</h6>
43 <p>Unsupported in ODT.
</p>
52 <div class=
"section" id=
"section-titles-with-inline-markup">
53 <span id=
"references"></span><h1>Section titles with inline markup
</h1>
54 <div class=
"section" id=
"emphasized-h2o-x-2-and-references">
55 <h2><em>emphasized
</em>, H
<sub>2</sub>O,
<span class=
"formula"><i>x
</i><sup>2</sup></span>, and
<a class=
"reference internal" href=
"#references">references
</a></h2>
57 <div class=
"section" id=
"substitutions-fail">
58 <h2>Substitutions work
</h2>
59 <p>Note, that the
"reference name
" for this section is derived from the
60 content
<em>before
</em> substitution. This may be exploited to get intelligible
61 IDs after
<a class=
"reference external" href=
"https://docutils.sourceforge.io/docs/ref/rst/directives.html#identifier-normalization">identifier normalization
</a> of the section's reference name.
</p>