XML technologies / DocBook / Block elements / Callouts
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
Callouts are numbered markers highlighting significant locations, for example in code. Use a callout list (see Callout lists (calloutlist)) to explain the markers. Examples throughout this book use this approach. Markers can be inserted in two ways:
Directly: Code and markers are mixed inside
screenorprogramlisting. This is practical only if the code stays unchanged. Otherwise, both code and marker positions require constant adjustment.Indirectly: Code and markers are separate; processing adds the markers. Use this when the annotated text changes frequently or you cannot or do not want to annotate it directly. The text can be placed directly inside
screenorprogramlistingor referenced from an external file read during processing.
Callouts are theoretically possible for graphics using mediaobjectco, but were not supported when this book was written. (An Example is available in DocBook’s Subversion repository.)
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