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: Make dedication element appear in TOC


How do I customise the stylesheets so that the “dedication” element appears in the generated TOC? It appears that this and “acknowledgments” are the only elements that are not extracted to a TOC.
 
I thought I had found the right code with <xsl:template name="division.toc"> in autotoc.xsl. I added $toc-context/d:dedication to variable “nodes” – but all that did was copy the entire contents of my “dedication” chunk to the TOC. It didn’t create the title with a leader line and page number.
Thanks,
 
Dave Gardiner



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