Skip to main content
Inspiring
August 17, 2022
Answered

How can I format Index page numbers?

  • August 17, 2022
  • 2 replies
  • 482 views

Hi once again! I'm using the standalone Index generation, and it's giving me the subtopics nested under the main topics (Topic:subtopic for the markers) but I want the numbers to be a different tag (entires are regular weight, black-colored Arial, and I want the numbers to be bold, red, and italics). Is there a way to force the process to put a return in before the page numbers, or even better to assign them a tag of my choosing during the generation process?

    This topic has been closed for replies.
    Correct answer Dave Creamer of IDEAS

    The <$pagenum> can uses the paragraph tag "IndexIX" (assuming it is your first index). Frame merges the paragraphs together on the index.

     

    You can also apply a para. or char. tag to the separators. For example, I leave the comma in black but apply a color to the page numbers and en dash.

     

    You can't add a return to the page numbers but you add a line break (shift-return) before the <$separatorsIX> code. (This will mess up an page ranges, but will work for single-page entries.

     

    2 replies

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    August 19, 2022

    (edited post title to match TeamMancomm's goal)

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    LinSims
    Community Expert
    Community Expert
    August 18, 2022

    I believe you can do this by creating the character tag for the page numbers (e.g., RedBold), then viewing the reference page labeled Index that has the <$pagenum> building block on it (there are two Index reference pages) and adding <RedBold> before the <$pagenum>. I don't think you have to add <Default Font> after it, though.

     

    So:

     

    <RedBold><$pagenum>

     

    There is not, as far as I know, a way to insert a return before the page numbers.

    Dave Creamer of IDEAS
    Community Expert
    Dave Creamer of IDEASCommunity ExpertCorrect answer
    Community Expert
    August 19, 2022

    The <$pagenum> can uses the paragraph tag "IndexIX" (assuming it is your first index). Frame merges the paragraphs together on the index.

     

    You can also apply a para. or char. tag to the separators. For example, I leave the comma in black but apply a color to the page numbers and en dash.

     

    You can't add a return to the page numbers but you add a line break (shift-return) before the <$separatorsIX> code. (This will mess up an page ranges, but will work for single-page entries.

     

    David Creamer: Community Expert (ACI and ACE 1995-2023)
    Inspiring
    August 19, 2022

    Thanks!