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).
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top