XML technologies / DocBook / Block elements / Graphics / Graphic captions
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
To give a graphic a caption without numbering it, use the element caption:
Example: Captioning a media object
<mediaobject>
<imageobject role="html">
<imagedata fileref="mygraphic.png"/>
</imageobject>
<imageobject role="fo">
<imagedata fileref="mygraphic.pdf"/>
</imageobject>
<caption>
<para>Meine Grafik</para>
</caption>
</mediaobject>The element caption allows other elements besides para. For a detailed list, see DocBook: The Definitive Guide - Caption or DocBook 5: The Definitive Guide - Caption. Usually, para is sufficient.
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