Re: [docbook-apps] Continued lines in index

From
Richard Hamilton <>
Date
2013-09-27T19:02:08+00:00
ID
Thread
Re: [docbook-apps] Continued lines in index
Hi Bob,

Thanks for the pointer. If I can make this work (probably not for a few weeks), and have a reasonably clean implementation, I'll post the result (my client is me this time around:-).

Thanks,
Dick
-------
XML Press
XML for Technical Communicators
http://xmlpress.net




On Sep 27, 2013, at 11:37 AM, Bob Stayton wrote:

> Hi Dick,
> Yes, I did this for a client using the same mechanism that can be used for tables, as described in:
> 
>   http://www.sagehill.net/docbookxsl/TableTemplateCust.html#TableContinuedLabel
> 
> You need to customize this template from fo/autoidx.xsl:
> 
> <xsl:template match="indexterm" mode="index-primary">
> 
> and put the content inside a single-cell fo:table, as described in that section. The method depends on the FO processor.  I don't think FOP supports the retrieve-table-marker property yet, though.  Sorry, I can't give you the code from that client.
> 
> Bob Stayton
> Sagehill Enterprises
> 
> 
> --------------------------------------------------
> From: "Richard Hamilton" <>
> Sent: Friday, September 27, 2013 10:49 AM
> To: "apps docbook" <>
> Subject: [docbook-apps] Continued lines in index
> 
>> Has anyone implemented a way to get a "continued" line in a printed index?
>> 
>> That is, when a primary term that has a lot of secondaries breaks across a page boundary, many indexes will include a line like this at the top of the new page:
>> 
>> Bieber, Justin (continued)
>>  greatest hits
>>  ...
>> 
>> Right now, in this case, the stylesheets would start that page with "greatest hits" rather than a reiteration of the primary term.
>> 
>> Any suggestions would be welcome.
>> 
>> Dick Hamilton
>> -------
>> XML Press
>> XML for Technical Communicators
>> http://xmlpress.net
>> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: 
>> For additional commands, e-mail: 
>> 
>>