sidebar

$Revision: 1.3 $

$Date: 2002/06/12 11:18:36 $

sidebar — A portion of a document that is isolated from the main narrative flow

Synopsis

Content Model

sidebar ::=
(sidebarinfo?,
 (title,titleabbrev?)?,
 (calloutlist|glosslist|itemizedlist|orderedlist|segmentedlist|
  simplelist|variablelist|caution|important|note|tip|warning|
  literallayout|programlisting|programlistingco|screen|screenco|
  screenshot|synopsis|cmdsynopsis|funcsynopsis|classsynopsis|
  fieldsynopsis|constructorsynopsis|destructorsynopsis|
  methodsynopsis|formalpara|para|simpara|address|blockquote|
  graphic|graphicco|mediaobject|mediaobjectco|informalequation|
  informalexample|informalfigure|informaltable|equation|example|
  figure|table|procedure|anchor|bridgehead|remark|highlights|
  indexterm|beginpage)+)

Attributes

Common attributes

DocBook NG “Bourbon” Content Model

sidebar ::=

DocBook NG “Bourbon” Attributes

Common attributes and common linking attributes.

DocBook NG “Bourbon” Additional Constraints

  • sidebar must not occur in the descendants of sidebar

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 XML V4.1.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<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>