[publican-list] PDF Indices
Norman Dunbar
Norman at dunbar-it.co.uk
Wed Jan 25 16:49:32 UTC 2012
Does anyone use indices in their pdf documents? Do you use page ranges
for any entries?
I'm using these just now in a fairly large document I'm creating and
I've noticed that setting up an index page range, as follows, gives
strange results.
Example:
At the beginning on a page range, add the following indexterm:
<indexterm class="startofrange" id="StartOfPTR">
<primary>Whatever</primary></indexterm>
At the end of the range, put this indexterm:
<indexterm class="endofrange" startref="StartOfPTR">
<primary>Whatever</primary></indexterm>
When the index is generated, you get something like
Whatever 10-22, 22
The page number for the end of range is added in as a separate single page.
If no-one has seen this, I'll log it as a problem.
Thanks.
Cheers,
Norm.
--
Norman Dunbar
Dunbar IT Consultants Ltd
Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL
Company Number: 05132767
More information about the publican-list
mailing list