summaryrefslogtreecommitdiff
path: root/test/testdocs/article.006.xml
blob: 923e4867a26ad0a4410fc3673fca65ecefccedee (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
          "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<article id="article.006">
<articleinfo>
<title>Unit Test: article.006.xml</title>
<subtitle>The Subtitle</subtitle>
<releaseinfo role="CVS">$Id: article.006.xml 4056 2004-11-23 13:28:50Z nwalsh $</releaseinfo>
<author><firstname>Adam</firstname><surname>Di Carlo</surname>
        <affiliation><address><email>aph@debian.org</email></address></affiliation>
</author>
</articleinfo>

  <para>
Testing artheader (old Docbook 3.1), article subtitle, TOC title and sect1info.</para>

  <sect1>
    <title>Sect1</title>
    <para>
Some text.  Some text.  Some text.  Some text.  Some text.  Some text.
Some text.  Some text.  Some text.  Some text.  Some text.  Some text.
Some text.  Some text.  Some text.  Some text.  Some text.  Some text.
Some text.  Some text.  Some text.  Some text.  Some text.  Some text.
</para>

    <sect2>
      <title>Sect2</title>
      <para>
Some text.  Some text.  Some text.  Some text.  Some text.  Some text.
Some text.  Some text.  Some text.  Some text.  Some text.  Some text.
Some text.  Some text.  Some text.  Some text.  Some text.  Some text.
</para>
    </sect2>
  </sect1>

  <sect1>
    <title>Second Sect1</title>
    <titleabbrev>SecondAbbrev</titleabbrev>
    <para>
The <sgmltag>titleabbrev</sgmltag> is set to
<literal>SecondAbbrev</literal>.  Ensure it's using the abbreviated
title in the TOC.</para>
    <para>
Foo bar foo bar.  Foo bar foo bar.  Foo bar foo bar.  Foo bar foo bar.
Foo bar foo bar.  Foo bar foo bar.  Foo bar foo bar.  Foo bar foo bar.
Foo bar foo bar.  Foo bar foo bar.
</para>
  </sect1>

  <sect1>
    <sect1info>
      <titleabbrev>Sect1Info</titleabbrev>
    </sect1info>
    <title>Using Sect1Info</title>
    <para>
The <sgmltag>titleabbrev</sgmltag> is set to
<literal>Second1Info</literal>.  Ensure it's using the abbreviated
title in the TOC.</para>
    <para>
Foo bar foo bar.  Foo bar foo bar.  Foo bar foo bar.  Foo bar foo bar.
Foo bar foo bar.  Foo bar foo bar.  Foo bar foo bar.  Foo bar foo bar.
Foo bar foo bar.  Foo bar foo bar.
</para>
  </sect1>
</article>