XML technologies / XSL-FO / Reference / Antenna House Formatter XSL Extensions / Properties / suppress-duplicate-footnote

(Excerpt from "XSL-FO ― Die Referenz" by 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

Specifies whether to delete footnotes duplicated in the same page.

Value:

true | false

Initial value:

false

Applies to:

fo:footnote

Inherited:

yes

Percentages:

N/A

Deters the display of duplicated footnotes on the same footnote region when the same footnote is assigned to 2 or more places in the same page. When axf:footnote-position="column" is specified, it is effective only for the footnote in the same column.

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">
<axf:document-info name="document-title" value="Suppressing duplicate footnotes within the same page"/>
<axf:document-info name="author" value="Antenna House, Inc."/>
<fo:layout-master-set>
<fo:simple-page-master page-height="297mm" page-width="210mm" margin-top="10mm" margin-left="20mm" margin-right="20mm" margin-bottom="10mm" master-name="PageMaster1">
<fo:region-after extent="7mm"/>
<fo:region-body margin-top="0mm" margin-left="0mm" margin-right="0mm" margin-bottom="10mm"/>
</fo:simple-page-master>
<fo:simple-page-master page-height="297mm" page-width="210mm" margin-top="10mm" margin-left="20mm" margin-right="20mm" margin-bottom="10mm" master-name="PageMaster2">
<fo:region-after extent="7mm"/>
<fo:region-body margin-top="0mm" margin-left="0mm" margin-right="0mm" margin-bottom="10mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="PageMaster1">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="0.8em" text-align="right" color="green">
<fo:basic-link external-destination="http://www.antennahouse.com/">
Antenna House, Inc.
</fo:basic-link>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-footnote-separator">
<fo:block>
<fo:leader leader-length="30%" leader-pattern="dots"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body" font-family="serif" font-size="1em" line-height="1.4" axf:hyphenate-hyphenated-word="false" hyphenate="true">
<fo:block span="all" font-family="sans-serif" font-size="2em" font-weight="bold" line-height="2" space-before="1em" space-after="1em" space-before.conditionality="retain" space-after.conditionality="retain" background-color="#EEEEEE">
<fo:block start-indent="1em" end-indent="1em">
Suppressing duplicate footnotes within the same page
</fo:block>
</fo:block>
<fo:block span="all" space-before="1em" space-after="1em" space-after.conditionality="retain" text-indent="0em" border="1pt solid #9999FF" start-indent="0.5em" end-indent="0.5em" padding="0.5em" text-align="justify">

When the same footnote is allotted at several positions within a same page, using axf:suppress-duplicate-footnote prevents them from being duplicated and displayed within the same footnote region. In this page, a duplicated display is controlled with axf:suppress-duplicate-footnote="true".
</fo:block>
<fo:block font-size="1.2em" text-align="justify">
<fo:block>
 ABCDE
<fo:footnote axf:suppress-duplicate-footnote="true">
<fo:inline baseline-shift="super" font-size="0.75em">
(1)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(1)
</fo:inline>
 footnote sample 1 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block>
 EDCBA
<fo:footnote axf:suppress-duplicate-footnote="true">
<fo:inline baseline-shift="super" font-size="0.75em">
(2)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(2)
</fo:inline>
 footnote sample 2 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block>
AH Formatter is a most powerful formatting and printing software 
<fo:footnote axf:suppress-duplicate-footnote="true">
<fo:inline baseline-shift="super" font-size="0.75em">
(3)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(3)
</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-body>
</fo:footnote>

using XSL-FO and XML/HTML with CSS. 
<fo:footnote axf:suppress-duplicate-footnote="true">
<fo:inline baseline-shift="super" font-size="0.75em">
(4)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(4)
</fo:inline>
 XSL-FO and CSS cannot be mixed. 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block>

This software conforms to XSL 1.1,
<fo:footnote axf:suppress-duplicate-footnote="true">
<fo:inline baseline-shift="super" font-size="0.75em">
(5)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(5)
</fo:inline>
See also [XSL-FO Conformance] in the online manual. 
</fo:block>
</fo:footnote-body>
</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>
 ABCDE
<fo:footnote axf:suppress-duplicate-footnote="true">
<fo:inline baseline-shift="super" font-size="0.75em">
(1)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(1)
</fo:inline>
 footnote sample 1 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block>
 EDCBA
<fo:footnote axf:suppress-duplicate-footnote="true">
<fo:inline baseline-shift="super" font-size="0.75em">
(2)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(2)
</fo:inline>
 footnote sample 2 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence master-reference="PageMaster2">
<fo:static-content flow-name="xsl-region-after">
<fo:block font-size="0.8em" text-align="right" color="green">
<fo:basic-link external-destination="http://www.antennahouse.com/">
Antenna House, Inc.
</fo:basic-link>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-footnote-separator">
<fo:block>
<fo:leader leader-length="30%" leader-pattern="dots"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body" font-family="serif" font-size="1em" line-height="1.4" axf:hyphenate-hyphenated-word="false" hyphenate="true">
<fo:block span="all" space-before="1em" space-after="1em" space-after.conditionality="retain" text-indent="0em" border="1pt solid #9999FF" start-indent="0.5em" end-indent="0.5em" padding="0.5em" text-align="justify">
Since axf:suppress-duplicate-footnote is not specified in the second page, the same footnote is duplicated in the footnote region.
</fo:block>
<fo:block font-size="1.2em" text-align="justify">
<fo:block>
 ABCDE
<fo:footnote>
<fo:inline baseline-shift="super" font-size="0.75em">
(1)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(1)
</fo:inline>
 footnote sample 1 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block>
 EDCBA
<fo:footnote>
<fo:inline baseline-shift="super" font-size="0.75em">
(2)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(2)
</fo:inline>
 footnote sample 2 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block>

 AH Formatter is a most powerful formatting and printing software 
<fo:footnote>
<fo:inline baseline-shift="super" font-size="0.75em">
(3)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(3)
</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-body>
</fo:footnote>

using XSL-FO and XML/HTML with CSS. 
<fo:footnote>
<fo:inline baseline-shift="super" font-size="0.75em">
(4)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(4)
</fo:inline>
XSL-FO and CSS cannot be mixed. 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block>

This software conforms to XSL 1.1, 
<fo:footnote>
<fo:inline baseline-shift="super" font-size="0.75em">
(5)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(5)
</fo:inline>

See also [XSL-FO Conformance] in the online manual.
</fo:block>
</fo:footnote-body>
</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>
 ABCDE
<fo:footnote>
<fo:inline baseline-shift="super" font-size="0.75em">
(1)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(1)
</fo:inline>
 footnote sample 1 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block>
 EDCBA
<fo:footnote>
<fo:inline baseline-shift="super" font-size="0.75em">
(2)
</fo:inline>
<fo:footnote-body>
<fo:block font-size="0.9em" text-indent="0em">
<fo:inline baseline-shift="super" font-size="0.75em">
(2)
</fo:inline>
 footnote sample 2 
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

Download the examples

Output:

page 2

back to top