Hello,
in my texts, footnotes are identified by an attribute value 'flow="fn"', so
I can integrate several element names if needed. The counting works
basically fine with this template:
**********
<xsl:template match="m/i...@flow='fn'] | note/i...@flow='fn']">
<fo:footnote><fo:inline xsl:use-attribute-sets="font.superscript">
<xsl:text> </xsl:text>
<xsl:number level="any" count="i...@flow='fn']"
format="1"></xsl:number>
</fo:inline>
<fo:footnote-body>
<fo:list-block>
<fo:list-item>
<fo:list-item-label text-indent="0pt"
end-indent="label-end()" font-size="7pt" font-style="normal">
<fo:block><xsl:number level="any"
count="i...@flow='fn']" format="1"></xsl:number>
</fo:block>
</fo:list-item-label>
<fo:list-item-body font-size="9pt"
text-align="justify"
start-indent="body-start()" line-height="13pt"
font-family="ipamp">
<fo:block>
<xsl:apply-templates/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
</xsl:template>
************
All footnotes are counted 1, 2, 3... parallel in text and footnotes,
regardless the element name; that is what I expect.
BUT: In the text I get different design of the footnote numbers:
- Those from the m-elements are numbered "#n" without the nonbreaking space
(Achtelgeviert).
- Those from the note-elements are numbered "n" with the nonbreaking space
(Achtelgeviert) included as I expected.
What is going wrong?
****Addendum: Before, I had the m-elements counted separately a, b, c ...,
basically with the same template as the one above, and this worked as
expected as well, no # and all small nonbreaking spaces included.
Thanks for any hint!
Maria
--
View this message in context:
http://www.nabble.com/Numbering-according-to-attribute-tp22520689p22520689.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]