Next in thread → Next in month →

Re: [docbook-apps] Index Page: Insert Current Indexterm(s) in The Header

From
Thomas Schraitle <>
Date
2008-10-15T17:29:25+00:00
ID
Thread
Re: [docbook-apps] Index Page: Insert Current Indexterm(s) in The Header
Hi,

On Dienstag, 14. Oktober 2008, Bob Stayton wrote:
> I think you want to customize the this template in fo/autoidx.xsl:
>
> <xsl:template match="indexterm" mode="index-primary">
> [...]
>
> You need to put the fo:marker after any xsl:attribute lines and before
> any text content of the block.  The context of this template is the
> indexterm, so you can select "primary" and "secondary" elements and
> combine them in the text of the marker.
>
> Then you'll need to customize the header.content template with the
> fo:retrieve-marker element to pick up the first or last marker on each
> page.

Thanks Bob, it works! :-)


Tom

-- 
Thomas Schraitle
Next in thread → Next in month →