[xep-support] Auto Number Footnotes

Teus Benschop teus at teusbenschop.nl
Wed Nov 14 08:56:49 PST 2007


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.

Regards,

Teus.


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 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/terms-of-service.html



More information about the Xep-support mailing list