cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Index terms with page ranges

GarethOakes
16-Pearl

Index terms with page ranges

Hi all,

Just wondering if any has encountered/solved this problem before. We are
investigating an index which has page ranges in it, but not in the usual
sense of page ranges in an index.

Instead, the index entry is actually a reference to a section which may
span multiple pages. For example a listing for a chemical which may run
over 2 or 3 pages. The index must reference those pages as a range.

Example:
Hydrochloric Acid........110-113

In this case the Hydrochloric Acid description started on page 110 and
finished page 113.

<section><title>Hydrochloric Acid</title> .... </section>

The page range could be calculated either from start/end tags of the
relevant container element
-OR-
we could insert like <indexterm id="hydrochlroic" start="1"/"> and
<indexterm id="hydrochlroic" end="1"/"> at the relevant locations and
pick up the pages that way.

Is there an easy way to implement this in an APE print stylesheet? I
imagine this will require some FOSI magic, but I don't know quite where
to start.

Cheers,
Gareth
3 REPLIES 3

Is this true of all of your index entries or are some of them more like
regular index entries?

John Dreystadt
Software Development Director
Arbortext - PTC
734-352-2835
-

Hi John,

We have a mix of both types of regular and specially-ranged entries.

Cheers,
Gareth

Dreystadt, John wrote:
> Is this true of all of your index entries or are some of them more like
> regular index entries?
>
> John Dreystadt
> Software Development Director
> Arbortext - PTC
> 734-352-2835
> -
>
>

Hi all,

For the benefit of the group (and the archives), I will follow up with
my resolution to this issue.

I have now discovered "help 1242" via an off-list suggestion from
Brandon (thanks mate!). It turns out you can mark begin/end pages for an
index entry, not just the one entry and page number. This is via one
savetext using <ixstart>..</ixstart> and another using <ixend>..</ixend>
instead of just the one using <ixpt>..</ixpt>

Anyway, the help file has an example of almost exactly what we need. Now
to implement some FOSI overrides... 😉

Cheers,
Gareth
Announcements

Top Tags