Re: [xep-support] Auto Number Footnotes

From: Teus Benschop <>
Date: Tue Nov 13 2007 - 09:47:51 PST

The solution we used for this problem consisted of these steps.

- Where footnote callers come, both in the text body and at the bottom
of the page, use special characters instead of numbers, so as to be able
to find them again later on.

- Convert the xml to XEP intermediate format. On the commandline this
would be done by using the "-format xep" bit.

- Go through that intermediate format to find where the page starts
(<xep:page) and where it ends (</xep:page). Wherever the special
characters used in the first step are found, put sequential numbers instead.

- Convert the XEP intermediate format to the desired output format.



Owens, Stephen P wrote:
> Hi,
> Does anyone know how to output footnotes that are numbered 1-n as they
> appear on the page, and then restart numbering on the next page, even
> though the XML that is being rendered has no information regarding
> pagination?
> Steve

(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Tue Nov 13 10:30:58 2007

This archive was generated by hypermail 2.1.8 : Tue Nov 13 2007 - 10:30:59 PST