Tecnologías XML / XSL-FO / Referencia / Extensiones XSL de Antenna House Formatter / Elementos / footnote-number-citation

(Extracto 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

Categoría Notas a pie de página >> Numeración

Uso habitual:

Hace referencia a un número de nota al pie. [no-LT]

Áreas:

Genera y devuelve una única área normal de tipo inline-area.

Restricciones:

<axf:footnote-number-citation> solo puede especificarse como descendiente de <fo:footnote-body>. La propiedad ref-id es obligatoria y el ID debe referenciarse mediante <axf:footnote-number> en la misma área de anclaje.

Contenido:

EMPTY

Este elemento no está disponible en AH Formatter V6.3 Lite.

Ejemplo 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>

Descargar los ejemplos

Resultado:

volver arriba