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] endnotes section in ePub

Hi Jason,
Yes, this is doable.  The chunking templates are kind of complicated, though, which makes it hard to generate an ad hoc chunked file. 
I would instead suggest that you create an empty appendix element (perhaps with title) and a role="endnotes" attribute.  Just being an appendix element will trigger making it into a chunk.  Then you would need a template that matches on your appendix with role and fills in the content with the end notes. 
The chunking stylesheet works at two levels for each chunk:  content and chunking wrapper.  You have to keep these two functions separate or your chunking may not work.  See this doc for details:
In this case, you want the standard chunking behavior for an appendix, but you want to alter its content.  Therefore, your custom template just needs to handle the content and not try to deal with the chunking process.  That means it needs to be in the "mydocbook.xsl" part of the customization described in that doc.
Let me know if you need further clarification.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
From: Jason Zech
Sent: Monday, July 11, 2011 7:32 AM
Subject: [docbook-apps] endnotes section in ePub

Hi all,


I am trying to create an ePub file of my docbook <book> in which all the footnotes are gathered together and output in a separate HTML/XHTML. Id also like these endnotes, of course, to link back to the text where the footnote marker appears.


Basically, my book has 150 or so short chapters with footnotes in each chapter, and instead of chunking those footnotes at the end of each chapter, Id like to chunk them at the end of the book.


Is this a relatively doable customization?


I have a customization on my single-file HTML transform that gathers all endnotes for the book and puts them at the end of the file. But when I repurpose this customization in the epub transform, the footnotes are all gathered up but there is no output. (Im guess its because the transform doesnt create a new page and put them there.)


Thanks in advance for any help.




Jason Zech | Project Manager, Digital Workflow | New Product Development
[ph] 773-281-1818 x212   [fax] 773-281-4129 | zech@loyolapress.com

LoyolaPress. | A Jesuit Ministry
3441 N. Ashland Ave. | Chicago, IL 60657 | www.loyolapress.com
Join our online community of advisors: www.SpiritedTalk.org


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