[xep-support] How to use <fo:footnote> properly?

Myers, Ching Ching.Myers at Ingenix.com
Tue Jan 18 07:05:34 PST 2005


Thanks a lot, Alexander.

I actually thought about your approach and later abandoned it, because I could not figure out how to fill the blank area when a page doesn't have the "footnote." (the drawback you mentioned.) Do you think using the attribute "overflow" in the static-content xsl-region-body would solve it? I tried, it didn't work though I am not sure that I set this attribute right. Any hint or help is greatly appreciated. 

Thanks again for your prompt reply.

-- Ching


-----Original Message-----
From: owner-xep-support at renderx.com
[mailto:owner-xep-support at renderx.com]On Behalf Of Alexander Peshkov
Sent: Tuesday, January 18, 2005 4:48 AM
To: Myers, Ching 
Subject: Re: [xep-support] How to use <fo:footnote> properly?


Hello Ching,

There is no such functionality in XSL-FO 1.0. As a workaround I can
suggest you to use markers. In your case where will be special marker
class that holds footnote body and respective fo:retrieve-marker in
the static content (xsl-region-after). It will look like this:

<xsl:template match="code">
  <fo:block>
    <xsl:if test="star='true'">
        <fo:marker marker-class-name="asterisc-footnote"><fo:block>* requires extra digit.</fo:block></fo:marker> *
    </xsl:if>
    <xsl:apply-templates select="codeValue"/>
  </fo:block>
</xsl:template>

and then in the static-content will look like this:

<fo:static-content flow-name="xsl-region-after">
  <fo:block>
    <fo:retrieve-marker retrieve-class-name="asterisc-footnote"
                        retrieve-boundary="page"
                        retrieve-position="first-starting-within-page"/>
  </fo:block>
</fo:static-content>

Note that a drawback of this approach is an empty area (in the
static-content) when no markers are present on the page.

Hope this helps.

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX
                      
MC> Hi,

MC> How can a footnote be referenced multiple times in a
MC> page? i.e. how to generate the following page?
MC>  .....
MC> * 12345
MC>   56789
MC> * 19080
MC> ....

MC> * requires extra digit.

MC> Any hint or help will be greatly appeciated. 


MC> -- Ching

MC> "Secure Server" made the following
MC>  annotations on 01/17/2005 11:29:36 AM
MC> ------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed.
MC> If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is
MC> prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately."
MC> ==============================

MC> -------------------
MC> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
MC> in the body of the message to majordomo at renderx.com from the address
MC> you are subscribed from.
MC> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


"Secure Server" made the following
 annotations on 01/18/2005 09:05:45 AM
------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately."
==============================

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list