You are here: Features > Print-based Output > Generated Indexes > Including Page Auto-Numbers in Print Indexes

Including Page Auto-Numbers in Print Indexes

There are two basic methods for adding page auto-numbers (i.e., page numbers that also include the chapter or volume auto-number) to print-based output—(1) by inserting variables into page layout frames or (2) by setting the auto-numbers on the outline TOC entries where new "chapters" start. With the first method, the auto-numbers are shown on your main content pages, but they are not included in a generated print index. With the second method, the auto-numbers are shown both on your main content pages and in a generated index. You would use the first method if you want a quicker process and are not including a print index, but you would use the second method if you need the auto-numbers to show up in an index.

Note: Only chapter and volume auto-numbers are supported. Section auto-numbers are not supported in this feature.

How to set auto-numbers on outline TOC entries and include them in a print index

  1. Set up your topics to use chapter or volume auto-numbers where appropriate (e.g., on the heading for a topic that will come first in a new chapter). See About Auto-Numbers, Creating Auto-Number Formats for Styles, and Creating Auto-Number Formats for Paragraphs.
  2. Create your page layout(s). In the appropriate header or footer frames, insert a page number placeholder. DO NOT insert a chapter or volume number variable. See About Page Layouts and Inserting Page Numbers into Frames.

    example

    Let's say you have a project with chapter auto-numbers in topics that you have designed to be the start of new chapters in your output. You want to include those same chapter numbers in the page numbering at the bottom of pages, and you also want them to display in a print index that you are creating.

    First, open your page layout, select the footer frame, and press F2 to edit it. Inside that footer frame, you insert a page number placeholder. When finished, it should look something like this:

  3. Open your outline TOC and double-click an entry where you want to start a new chapter or volume. See Opening a Table of Contents.

    The Properties dialog opens.

  4. Select the Printed Output tab.
  5. Select Start a new chapter document and complete the other fields in that area as necessary. See Specifying Chapter Breaks and Page Layouts.
  6. In the Page Number area, click in the Format field and select text.
  7. In the Reset to field, enter the appropriate commands. For a chapter auto-number, you can use {chapnum}. For a volume auto-number, you can use {volnum}. You can also insert any text, such as a period or dash, as well as a counter command, such as {n}.

    example

    Let's say that you want to display the chapter auto-number, followed by a period and then the page number. In that case, you would type the following:

    {chapnum}.{n}

    The {chapnum} command indicates a chapter auto-number. If you had wanted to show the volume auto-number instead, you would have used the {volnum} command.

    Because you want a period to separate the chapter auto-number and the incremented page number, you simply type it. Then you add the page number command, which is {n}.

  8. Select the Auto-numbers tab.
  9. For the first chapter or volume in your output, you will most likely want to select the appropriate Reset to option and enter 1. For subsequent chapters or volumes, you will probably want to select Continue from previous. For more information about this feature, see Specifying Auto-Numbering Flow for Output.
  10. Click OK.
  11. Repeat steps 3-10 for each TOC entry that is designed to start a new chapter or volume.
  12. Press CTRL+S or click to save your work.
  13. Create a topic to hold your print index and add it to your outline TOC . See Creating a Topic for a Print Index.
  14. Build and view the output. See Building Output and Viewing Output.

    When you view the generated output, you will see the page numbers displayed correctly (e.g., 1.1, 1.2, 1.3, 2.1, 2.2, and so on). In the generated print index, you will see the same auto-number/page number combination—as long as your topics include index keywords (see Inserting Index Keywords).

See Also

Downloads (PDF Format):

Flare Quick Guide

Flare Getting Started Guide

Flare What's New Guide

Flare Key Features Guide

Flare Transition From RoboHelp Guide

Flare Transition From FrameMaker Guide

Flare Styles Guide

Flare Printed Output Guide

Flare WebHelp Plus Guide

Flare Shortcuts