[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Generating index in FO where page#s preceded by c

Subject: Re: Generating index in FO where page#s preceded by chapter#
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 31 May 2013 05:53:43 -0400
Re:  Generating index in FO where page#s preceded by  c
At 2013-05-30 22:49 -0700, Steve Fogel wrote:
Hi, all...

Would like some advice on using the standard index-processing FO objects for generating a back-of-book index when all page numbers in our books are formatted like this: <chapter>-<page>. For example, page 3-12, page 5-2.

I'm talking about using the markup <fo:index-page-citation-list>, <fo:index-key-reference>, and so on.

Antenna House is properly generating the page numbers in the PDF without the chapter number prefix, and now I want to modify the stylesheets to output properly formatted page #s in the index. Example:

tables, creating 2-12, 4-3, 5-3 -- 5-6 (The -- is an N-dash)

Has anyone attempted this? Can you provide direction?

The solution is provided through the use of <fo:folio-prefix> under page-sequence.


I hope this helps.

. . . . . . . Ken

--
Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/ |
G. Ken Holman                   mailto:gkholman@xxxxxxxxxxxxxxxxxxxx |
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal |

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.