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] Continued lines in index


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
bobs@sagehill.net

--------------------------------------------------
From: "Richard Hamilton" <hamilton@xmlpress.net>
Sent: Friday, September 27, 2013 10:49 AM
To: "apps docbook" <docbook-apps@lists.oasis-open.org>
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
hamilton@xmlpress.net




---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





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