Search the Catalog
DocBook: The Definitive Guide

DocBook: The Definitive Guide

By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

Chapter

Name

Chapter -- A chapter, as of a book

Synopsis

Content Model

Chapter ::=
((DocInfo?,Title,Subtitle?,TitleAbbrev?),
 ToCchap?,
 (((CalloutList|GlossList|ItemizedList|OrderedList|SegmentedList|
    SimpleList|VariableList|Caution|Important|Note|Tip|Warning|
    LiteralLayout|ProgramListing|ProgramListingCO|Screen|ScreenCO|
    ScreenShot|Synopsis|CmdSynopsis|FuncSynopsis|FormalPara|Para|
    SimPara|Address|BlockQuote|Graphic|GraphicCO|MediaObject|
    MediaObjectCO|InformalEquation|InformalExample|InformalFigure|
    InformalTable|Equation|Example|Figure|Table|MsgSet|Procedure|
    Sidebar|QandASet|Anchor|BridgeHead|Comment|Highlights|
    Abstract|AuthorBlurb|Epigraph|IndexTerm)+,
   (Sect1*|
    (RefEntry)*|
    SimpleSect*|Section*))|
  (Sect1+|
   (RefEntry)+|
   SimpleSect+|Section+)),
 (Index|Glossary|Bibliography)*)

Attributes

Common attributes

Name

Type

Default

LabelCDATANone
StatusCDATANone

Tag Minimization

The start-tag is required for this element. The end-tag is optional, if your SGML declaration allows minimization.

Parameter Entities

%chapter.class;%partcontent.mix;

Description

Chapter is a chapter of a Book.

Processing expectations

Formatted as a displayed block. Usually introduces a forced page break and often starts on the next recto page. The first chapter of a document usually restarts page numbering. Typically, chapters are numbered and presented in the table of contents.

Parents

These elements contain Chapter: Book, Part.

Attributes

Label

Label specifies an identifying string for presentation purposes. The fourth Chapter in a Book might be labeled "4", for example.

Generally, an explicit Label attribute is used only if the processing system is incapable of generating the label automatically. If present, the Label is normative; it will used even if the processing system is capable of automatic labelling.

Status

Status identifies the editorial or publication status of the Chapter.

Publication status might be used to control formatting (for example, printing a "draft" watermark on drafts) or processing (perhaps a document with a status of "final" should not include any components that are not final).

See Also

Appendix, Article, Book, Colophon, Dedication, Part, PartIntro, Preface, Set

Examples

<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<chapter label="6" id="figures"><beginpage pagenum=129>
<docinfo>
<keywordset>
  <keyword>images</keyword>
  <keyword>illustrations</keyword>
</keywordset>
<itermset>
  <indexterm zone="figures"><primary>Figures</primary></indexterm>
  <indexterm zone="figures"><primary>Pictures</primary></indexterm>
  <indexterm zone="notreal">
    <primary>Sections</primary><secondary>Not Real</secondary>
  </indexterm>
</itermset>
</docinfo>
<title>Pictures and Figures</title>
<epigraph>
<attribution>William Safire</attribution>
<para>
Knowing how things work is the basis for appreciation, and is
thus a source of civilized delight.
</para>
</epigraph>
<para>
Pictures and figures &hellip;
</para>
<sect1><title>Top Level Section</title>
<para>
&hellip;
</para>
<bridgehead id="notreal" renderas=sect3>Not a Real Section</bridgehead>
<para>
This paragraph appears to be under a Sect3 heading, but it's really
in the same Sect1 as the preceding paragraph.
</para>
</sect1>
</chapter>

For additional examples, see also Abstract, Appendix, Book, Collab, Highlights, IndexTerm, OLink, Part, Section, TitleAbbrev, XRef.

Back to: DocBook: The Definitive Guide


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.