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