Skip to main content
DJTOregon
Known Participant
Apr 18, 2019 2:55 PM UTC
Question

Auto-Generated TOC Reference Page

Hello,

I'm trying to make a custom auto-generated TOC in unstructured Framemaker. I am using the built-in building block variables on my reference page and was wondering if there is a way to get rid of what I am showing below. I just want the Page Block number next to the title - I do not want it in front of the sections. Currently I am using the <$volnum> building block variable to do this. Is there a better way?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    LinSims
    Community Expert
    Community Expert
    Apr 18, 2019 3:33 PM UTC

    You need to use a different paragraph tag for the front matter headings. If you're using the same paragraph tag for the front matter headings that you are for the chapters, then you're going to get that Page Block number also.

    Translate
    LinSims
    Community Expert
    Community Expert
    Apr 18, 2019 3:07 PM UTC

    Could you post a picture of the TOC reference page? My suspicion is that you have the <$volnum> building block in all the levels, and that removing it from the definition for the sections will fix your issue.

    That is to say, if your title tag is named Title, the TOC equivalent is TitleTOC, and on the TOC reference page that tag is applied to a paragraph that looks like this:

    <$volnum> <$paratext> .......................... <$pagenum>

    If your section tag is named Section, the TOC equivalent is SectionTOC, and on the TOC reference page that tag is applied to a paragraph that looks like this:

    <$paratext> .......................................<$pagenum>

    Translate
    DJTOregon
    DJTOregonAuthor
    Known Participant
    Apr 18, 2019 3:30 PM UTC

    Yes, that fixed it. Here is what it looks like now. However, now I have a new problem. I don't want the Page Block 0000 in front of the Front Matter content (Transmittal Letter, Highlights, ROR, etc.). I do want it in front of the Chapters (Descriptions, etc).

    Translate