XML technologies / DocBook / Inline elements / Footnotes

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

Footnotes provide further information without interrupting the flow of reading. They can therefore appear somewhere other than where they are referenced. They typically appear at the bottom of a page. Publishing systems that do not support footnotes collect them as endnotes at the end of a chapter. In (X)HTML, they normally appear at the bottom of the page. By customizing the stylesheets, you can display them inline, as links, pop-up menus or in an entirely different form.

<para>Tagnamen sollten verständlich sein, um den Sinn<footnote><para>Verwenden Sie keinen Tag wie abc!</para></footnote> zu erraten.</para>

Create a footnote reference with the element footnoteref, for example:

<para>Das ist eine Fußnote<footnote ANKER="fn.test"><para>Der Fußnotentext.</para></footnote> ...</para>
<para>Eine Referenz auf eine Fußnote<footnoteref linkend="fn.test"/></para>

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

  

back to top