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
[email protected]

--------------------------------------------------
From: "Richard Hamilton" <[email protected]>
Sent: Friday, September 27, 2013 10:49 AM
To: "apps docbook" <[email protected]>
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
[email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to