OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Possible to render footnotes on the same page as the reference?


Hi David,

My very limited understanding of Flying Saucer and iText is that it works with xhtml content, so I presume you are using the xhtml stylesheets.

The DocBook html/xhtml stylesheets put footnotes at the end of the component (typically chapter or appendix) that the footnote appears in. If you're using chunked output, it puts them at the end of the chunk that contains the footnote. Since the pagination is not known in the xhtml, that's as close as you can get with the stylesheets. You can see a discussion of footnotes and the stylesheets in Bob Stayton's book at this link: http://www.sagehill.net/docbookxsl/Footnotes.html

You might be able to hack Flying Saucer and/or iText to recognize a footnote (the markup makes it easy to find footnotes and footnote references) and handle it appropriately, but I don't think that would be an easy hack. You might also try using the DocBook fo style sheets and fop (both open source) and generate PDF that way.

Best regards,
Dick Hamilton
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
hamilton@xmlpress.net



On Jul 7, 2014, at 1:31 PM, KARR, DAVID wrote:

> I know very little about docbook, I'm just starting to edit a set of documents that is using it.
> 
> The application I'm working on generates documents from docbook files through Flying Saucer and iText.
> 
> I see that footnotes currently render at the end of chapters, as opposed to the end of the page.  Is it practical and possible to make footnotes render at the bottom of the page?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]