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

Sidebar

Name

Sidebar -- A portion of a document that is isolated from the main narrative flow

Synopsis

Content Model

Sidebar ::=
((Title,TitleAbbrev?)?,
 (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|Procedure|Anchor|
  BridgeHead|Comment|Highlights|IndexTerm)+)

Attributes

Common attributes

Tag Minimization

Both the start- and end-tags are required for this element.

Parameter Entities

%admon.mix;%bookcomponent.content;%component.mix;
%compound.class;%divcomponent.mix;%refcomponent.mix;

Description

A Sidebar is a short piece of text, rarely longer than a single column or page, that is presented outside the narrative flow of the main text.

Sidebars are often used for digressions or interesting observations that are related, but not directly relevant, to the main text.

Processing expectations

Formatted as a displayed block. Sidebars are sometimes boxed.

DocBook does not specify the location of the Sidebar within the final displayed flow of text. The wrapper may float or remain where it is located.

See Also

Abstract, BlockQuote, Epigraph, Highlights

Examples

<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<sect1><title>An Example Section</title>

<para>
Some narrative text.
</para>

<sidebar><title>A Sidebar</title>
<para>
Sidebar content.
</para>
</sidebar>

<para>
The continuing flow of the narrative text, as if the
sidebar was not present.
</para>

</sect1>

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.