XML technologies / DocBook / Block elements / Quotations and epigraphs
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
In DocBook, create quotations with the element blockquote:
<blockquote>
<attribution>Murphy's Law</attribution>
<para>Alles was schiefgehen kann, geht schief.</para>
</blockquote>The source of a quotation is recorded in attribution, which accepts the usual inline elements. To mark up the person as well, use personname inside attribution:
<attribution>
<personname>
<firstname>Friedrich</firstname>
<surname>Schiller</surname>
</personname>
</attribution>This is optional and depends on consistency. While blockquote can appear almost anywhere, epigraph may appear only after a title. This element introduces a dedication, quotation, epigraph or similar text. Use it as follows:
<chapter>
<title>...</title>
<epigraph>
<attribution>M.-Th. Radloff</attribution>
<literallayout>Ein Mensch, der hasst, schafft sich seine eigene Hölle. Aber ein Mensch, der liebt, hat den Himmel in sich.</literallayout>
</epigraph>
</chapter>The element attribution has the same meaning here as in blockquote. For precise control over line breaks, use literallayout. Whitespace inside this element is preserved.
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