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] 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


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