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

From: Akula, Nithin <akula.nithin_at_ADDRESS_REMOVED>
Date: Fri May 26 2017 - 04:33:21 PDT

Thank You for the clarification Ken :) , not at all a problem. Any other approach where we solve the problem without touching the intermediate format.

Nithin
-----Original Message-----
From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of G. Ken Holman
Sent: Friday, May 26, 2017 3:29 AM
To: RenderX Community Support List
Subject: [xep-support] Re: Reorder Page Wide Footnotes in Numerical Order

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
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, 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 Fri May 26 04:33:51 2017

This archive was generated by hypermail 2.1.8 : Fri May 26 2017 - 04:34:20 PDT