XML technologies / DocBook / Block elements / Lists / Callout lists (calloutlist)

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

Use this list type to mark important points in text or a graphic. In the callout list (calloutlist), describe the referenced points in order. A callout list must be used with one of the elements screen, programlisting, graphicco (deprecated), or mediaobjectco.

Example: Structure of a callout list

<programlisting>#!/bin/bash <co ANKER="co.bash"/>echo $PATH <co ANKER="co.path"/></programlisting>
<calloutlist>
  <callout arearefs="co.bash">
    <para>Jedes Shell-Skript benötigt diese Zeile.</para>
  </callout>
  <callout arearefs="co.path">
    <para>Durch <command>echo</command> wird die Variable <envar>PATH</envar> ausgegeben.</para>
  </callout>
  <callout arearefs="co.bash co.path">
    <para>Referenziert zwei Markierungen.</para>
  </callout>
</calloutlist>

Replace the placeholder ANKER with id in DocBook 4 and xml:id in DocBook 5.

It is important to define a correct anchor, referenced through the attribute arearefs on callout. Note that the type of arearefs is IDREFS, so you may specify several ID values separated by whitespace (as shown in the last callout element).

  

back to top