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] showing glossary terms in header

Hi Jeff,
I don't have a customization that does that, but I can tell you in general how it would be done.  The basic idea is to get each glossentry to generate an fo:marker element with the entry.  Then customize the 'header.content' template to retrieve the right marker.
1.  Modify the template that matches on glossentry (either the list version or the block version, depending on which style of glossary you are using) to generate a fo:marker element with the entry, with a new name such as 'glossentry.marker'.  It contains the text of the glossentry.  To see what that looks like, see the template in fo/sections.xsl for 'section.heading', which generates a marker named 'section.head.marker. for section titles. 
2.  Modify the 'header.content' template to add a fo:retrieve-marker element where you want it to display, similar to that already used in that template for section markers. 
Bob Stayton
Sagehill Enterprises

Sent: Wednesday, October 10, 2012 11:03 AM
Subject: [docbook-apps] showing glossary terms in header

I have a chapter that contains a 30-page glossary, and I?d like to include the first term on each page in the left and right header. Anyone know how to do that?




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