Technologies XML / XSL-FO / Référence / Extensions XSL d’Antenna House Formatter / Éléments / footnote-number-citation

(Extrait de « XSL-FO ― Die Referenz » de Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Catégorie Notes de bas de page >> Numérotation

Utilisation courante :

Renvoie à un numéro de note de bas de page. [no-LT]

Zones :

Génère et renvoie une seule zone ordinaire de type inline-area.

Contraintes :

<axf:footnote-number-citation> ne peut être spécifié que comme descendant de <fo:footnote-body>. La propriété ref-id est obligatoire et l’ID doit être référencé par <axf:footnote-number> dans la même zone d’ancrage.

Contenu :

EMPTY

Cet élément n’est pas disponible avec AH Formatter V6.3 Lite.

Exemple XSL-FO :

<fo:root font-size="12pt" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">
<axf:document-info name="author" value="Alex Critchfield, Antenna House"/>
<axf:document-info name="keywords" value="extensions, document-info"/>
<axf:document-info name="subject" value="document-info extension"/>
<axf:document-info name="title" value="document-info extension demonstration"/>
<fo:layout-master-set>
<fo:simple-page-master page-width="8.5in" page-height="11in" master-name="main">
<fo:region-body region-name="body" margin-top="1in" margin-bottom="1in" margin-left=".75in" margin-right=".75in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="main">
<fo:flow flow-name="body">
<fo:block>
This document has footnotes with automatically generated numbers. There are 5 footnotes at the end of this lineall of which have automatically generated numbers. In this sample I set the id numbers manually but normallythey would be generated during the XSLT stage. 
<fo:footnote>
<fo:inline font-size="0.83em" baseline-shift="super">
<axf:footnote-number id="f1"/>
</fo:inline>
<fo:footnote-body>
<fo:list-block provisional-distance-between-starts="20pt" provisional-label-separation="5pt">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block font-size="0.83em" line-height="0.9em">
<axf:footnote-number-citation ref-id="f1"/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-size="0.83em" line-height="0.9em">
        content of first footnote 
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
<fo:footnote>
<fo:inline font-size="0.83em" baseline-shift="super">
<axf:footnote-number id="f2"/>
</fo:inline>
<fo:footnote-body>
<fo:list-block provisional-distance-between-starts="20pt" provisional-label-separation="5pt">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block font-size="0.83em" line-height="0.9em">
<axf:footnote-number-citation ref-id="f2"/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-size="0.83em" line-height="0.9em">
        content of second 
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
<fo:footnote>
<fo:inline font-size="0.83em" baseline-shift="super">
<axf:footnote-number id="f3"/>
</fo:inline>
<fo:footnote-body>
<fo:list-block provisional-distance-between-starts="20pt" provisional-label-separation="5pt">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block font-size="0.83em" line-height="0.9em">
<axf:footnote-number-citation ref-id="f3"/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-size="0.83em" line-height="0.9em">
        content of third footnote 
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
<fo:footnote>
<fo:inline font-size="0.83em" baseline-shift="super">
<axf:footnote-number id="f4"/>
</fo:inline>
<fo:footnote-body>
<fo:list-block provisional-distance-between-starts="20pt" provisional-label-separation="5pt">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block font-size="0.83em" line-height="0.9em">
<axf:footnote-number-citation ref-id="f4"/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-size="0.83em" line-height="0.9em">
        content of fourth footnote 
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
<fo:footnote>
<fo:inline font-size="0.83em" baseline-shift="super">
<axf:footnote-number id="f5"/>
</fo:inline>
<fo:footnote-body>
<fo:list-block provisional-distance-between-starts="20pt" provisional-label-separation="5pt">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block font-size="0.83em" line-height="0.9em">
<axf:footnote-number-citation ref-id="f5"/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-size="0.83em" line-height="0.9em">
        content of 5th footnote 
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
<fo:block space-before="10mm" font-family="monospace" linefeed-treatment="preserve">
    footnote anchor number code:    <axf:footnote-number id="f1"/>    footnote label code:    <axf:footnote-number-citation ref-id="f1"/> 
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

Télécharger les exemples

Résultat :

haut de page