axf:footnote-position
(Auszug aus "XSL-FO ― Die Referenz" von 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
Category Footnote >> Footnote Positioning
The axf:footnote-position specifies the location to layout the footnote.
Value: | page | start | end | inside | outside | column | start-column | end-column | inside-column | outside-column |
Initial: | page |
Applies to: | fo:region-body, fo:footnote |
Inherited: | no |
Percentages: | N/A |
Values have the following meanings.
page | Footnotes are placed at the bottom of each page in region-body. This is the standard layout of XSL specification. |
start | Footnotes are placed at each page in region-start. |
end | Footnotes are placed at each page in region-end. |
inside | Footnotes are placed at each even-page in region-end and each odd-page in region-start. |
outside | Footnotes are placed at each even-page in region-start and each odd-page in region-end. |
column | Footnotes are placed at the bottom of each column. |
start-column | Footnotes are placed at the bottom of the first column. |
end-column | Footnotes are placed at the bottom of the last column. |
inside-column | Footnotes are placed in the same way as end-column at even-page and in the same way as start-column at odd-page. |
outside-column | Footnotes are placed in the same way as start-column at even-page and in the same way as end-column at odd-page. |
It is possible to arrange footnotes inside the region-start or the region-end (these notes are called sidenotes). Besides specifying them to fo:region-body, it is also effective to specify to individual fo:footnote. It is possible to make several types of notes intermingled by this extension.
There are following restrictions for sidenotes.
- The sidenotes which run over from the specified area will overflow.
- The xsl-footnote-separator is not effective.
start-column, end-column, inside-column and outside-column have the following limitations.
- It is not possible to specify these values to fo:footnote. It is only available to specify them to region-body.
- When you specify these values to region-body, column cannot be specified to fo:footnote.
- These values cannot be used with the forcible column break such as break-before="column", etc. These values cannot be used for a large volume of footnotes.
XSL-FO sample:
| <fo:root xml:lang="en" 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"> | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| Antenna House, Inc. | |
| ||
| </fo:block> | |
| ||
| ||
| <fo:block> | |
| ||
| </fo:block> | |
| ||
| ||
| ||
| ||
| Sidenote | |
| </fo:block> | |
| </fo:block> | |
| ||
| It's possible to make sidenotes by specifying axf:footnote-position. The first page shows an example of an ordinal footnote that doesn't use axf:footnote-position. The second page or later shows an example of sidenotes that uses axf:footnote-position. | |
| </fo:block> | |
| ||
| <fo:block> | |
| AH Formatter is a most powerful formatting and printing software | |
| ||
| ||
| (1) | |
| </fo:inline> | |
| ||
| ||
| ||
| (1) | |
| </fo:inline> | |
| Depending on the formatting capability, AH Formatter (formatting using XSL-FO and CSS) and AH CSS Formatter (formatting using CSS) are available. | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| using XSL-FO and XML/HTML with CSS. | |
| ||
| ||
| (2) | |
| </fo:inline> | |
| ||
| ||
| ||
| (2) | |
| </fo:inline> | |
| XSL-FO and CSS cannot be mixed. | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| </fo:block> | |
| <fo:block> | |
| This software conforms to XSL 1.1, | |
| ||
| ||
| (3) | |
| </fo:inline> | |
| ||
| ||
| ||
| (3) | |
| </fo:inline> | |
| See also [XSL-FO Conformance] in the online manual. | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| which is a specification for displaying / printing XML documents in a fine manner. Also it supports the page formatting with the layout setting by the CSS Level 3 specification which is currently under formulation in the CSS Working Group. | |
| </fo:block> | |
| </fo:block> | |
| </fo:flow> | |
| ||
| ||
| ||
| ||
| ||
| Antenna House, Inc. | |
| ||
| </fo:block> | |
| ||
| ||
| ||
| <fo:block> | |
| The second page or later is a standard example of sidenotes with axf:footnote-position="outside" specified. If the document is single-column, sidenotes can be arranged by axf:footnote-align. Usually sidenotes are aligned on the anchor position, but they can be arranged on the before and the after side. | |
| </fo:block> | |
| </fo:block> | |
| ||
| ||
| AH Formatter is a most powerful formatting and printing software | |
| ||
| ||
| (1) | |
| </fo:inline> | |
| ||
| ||
| ||
| (1) | |
| </fo:inline> | |
| Depending on the formatting capability, AH Formatter (formatting using XSL-FO and CSS) and AH CSS Formatter (formatting using CSS) are available. | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| <fo:block> | |
| sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. | |
| </fo:block> | |
| using XSL-FO and XML/HTML with CSS. | |
| ||
| ||
| (2) | |
| </fo:inline> | |
| ||
| ||
| ||
| (2) | |
| </fo:inline> | |
| XSL-FO and CSS cannot be mixed. | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| </fo:block> | |
| <fo:block> | |
| sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. | |
| </fo:block> | |
| <fo:block> | |
| This software conforms to XSL 1.1, | |
| ||
| ||
| (3) | |
| </fo:inline> | |
| ||
| ||
| ||
| (3) | |
| </fo:inline> | |
| See also [XSL-FO Conformance] in the online manual. | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| which is a specification for displaying / printing XML documents in a fine manner. Also it supports the page formatting with the layout setting by the CSS Level 3 specification which is currently under formulation in the CSS Working Group. | |
| </fo:block> | |
| </fo:block> | |
| ||
| ||
| AH Formatter は | |
| ||
| ||
| (1) | |
| </fo:inline> | |
| ||
| ||
| ||
| (1) | |
| </fo:inline> | |
| AH Formatter is a most powerful formatting and printing software | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| <fo:block> | |
| sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. | |
| </fo:block> | |
| using XSL-FO and XML/HTML with CSS. | |
| ||
| ||
| (2) | |
| </fo:inline> | |
| ||
| ||
| ||
| (2) | |
| </fo:inline> | |
| XSL-FO and CSS cannot be mixed. | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| </fo:block> | |
| <fo:block> | |
| sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. sample. | |
| </fo:block> | |
| <fo:block> | |
| This software conforms to XSL 1.1, | |
| ||
| ||
| (3) | |
| </fo:inline> | |
| ||
| ||
| ||
| (3) | |
| </fo:inline> | |
| See also [XSL-FO Conformance] in the online manual. | |
| </fo:block> | |
| ||
| </fo:footnote> | |
| which is a specification for displaying / printing XML documents in a fine manner. Also it supports the page formatting with the layout setting by the CSS Level 3 specification which is currently under formulation in the CSS Working Group. | |
| </fo:block> | |
| </fo:block> | |
| </fo:flow> | |
| ||
| </fo:root> |
Output:
page 2
page 3
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |