[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.
From: Jeff Powanda
Sent: Wednesday, October 10, 2012 11:03 AM
To: DocBook Apps
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? Regards, Jeff |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]