[xep-support] Re: Reorder Page Wide Footnotes in Numerical Order

From: G. Ken Holman <gkholman_at_ADDRESS_REMOVED>
Date: Thu May 25 2017 - 14:59:05 PDT

I am going to have to retract my original answer because reading it
again I realize that I was answering about end-notes at the bottom of
the last page and not footnotes. My mistake entirely as you were not
ambiguous ... I just was in the wrong mindset.

Indeed footnotes at the bottom of the page will be in the order of
the footnote citations made within the page. End-notes are
arbitrarily retrieved and can be sorted in any order that you
need. When placed at the bottom of the last page, one adds a
footnote without a citation, opens the footnote body, sorts the
end-notes, and adds them in any desired order. In fact, this is one
of the exercises in my hands-on XSL-FO training, and so I was caught
up in the mindset of my classroom.

Please forgive me for giving you false hope.

Now, if you go beyond the specification and work with the area tree
(something I haven't done myself), you can probably go into the
RenderX intermediate format and reorder the footnotes before passing
the intermediate tree on for rendering.

But I will let someone with more experience than I have answer to that.

Again, I apologize for answering a question you didn't ask. That was
very sloppy of me.

. . . . . . Ken

At 2017-05-25 13:54 +0000, you wrote:
>Do you have any sample example to sort them in numerical order that
>could help us in solving our problem. i.e. footnote anchor with a
>superscript 1 comes first though it's not the first footnote anchor
>to appear on that page.
>Thanks in Advance.
>
>-----Original Message-----
>From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf
>Of G. Ken Holman
>Sent: Tuesday, May 02, 2017 8:28 PM
>To: RenderX Community Support List; xep-support@renderx.com
>Subject: [xep-support] Re: Reorder Page Wide Footnotes in Numerical Order
>
>At 2017-05-02 12:22 +0000, Akula, Nithin wrote:
> >I am working on page wide footnotes and trying to the arrange the
> >footnotes in numerical order instead of the order of occurrence.
> >...
> >How can we go about it ?
>
>The order of footnotes is under the control of your XSLT (or
>whatever you use to create your XSL-FO).
>
>Under <footnote-body> you simply sort your blocks representing each
>footnote in the order that you want. There is no obligation to
>order the blocks in the order of the citations on the page.
>
>I hope this helps.
>
>. . . . . . Ken

--
Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/f/ |
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training class @ US$45 (5 hours free) |
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Thu May 25 14:59:53 2017

This archive was generated by hypermail 2.1.8 : Thu May 25 2017 - 15:00:16 PDT