Use page ranges in index entries

Know how to create page ranges for index entries in Adobe FrameMaker.

In this topic

Introduction

You can use a page range such as 36–37 to mark information that spans several pages.

You can create a page range in an entry by manually inserting two markers to indicate the range, one at the beginning of the range and the other at the end. You can also have FrameMaker create page ranges for you automatically whenever the same marker text occurs on consecutive pages of a document. For example, instead of 3, 4, 5, the entry would automatically appear as a page range (3–5).

Manually create a page range for an index entry

  1. Insert an index marker at the beginning of the information, with <$startrange> at the beginning of the marker text. For example, to create the first page number in a range, enter <$startrange>Continental drift:fossil evidence.

  2. Add an index marker (or marker element, if working with a structured document) at the end of the information, identical to the first except that you enter <$endrange> rather than <$startrange> at the beginning of the marker text. For example, to create the second page number in a range, enter <$endrange>Continental drift:fossil evidence.

If both markers appear on the same page, the page range collapses to a single page number.

Automatically create page ranges in an index

  1. Display the reference page that contains the special text flow for indexes.

  2. Type the <$autorange> building block at the beginning of the paragraph whose style begins with the marker type.

To collapse the entries generated from markers of type Index into page ranges when possible, edit the paragraph style IndexIX to contain the following building blocks: <$autorange><$pagenum>.