#### 13.8.2.3 Eliminating page numbers from generated lists

To keep page numbers from appearing in the output, you can use the following technique:

1. On the TOC Reference page of your FrameMaker TOC file (or the equivalent Reference page for any other generated-list file):

1.1. Define a character format (for example, TOCpgnum) set to all As is, and add it to the character catalog.

1.2. Apply the character format to all <$pagenum> elements and to their preceding spaces or tabs.

2. Save the TOC or generated-list file.

3. Generate the book.

4. Check the resulting Body pages of the generated file. When you hold down Ctrl+Alt and mouse over the contents, you should see that the text of each entry is a link, but the page number is not. This might matter if you are also distributing locked FrameMaker files, or making PDF files; however, the links still work in both cases.

5. In the configuration file, specify the following setting for the character format you applied:

[HTMLCharStyles]

TOCpgnum=Delete

The resulting HTML file will not have page numbers.

| 13.8.2.2 Including paragraph references |  | 13.9 Importing HTML files as insets |