Skip to main content
Inspiring
April 25, 2022
Answered

Ranking TOC

  • April 25, 2022
  • 2 replies
  • 1008 views

Good Morning, 

I'm struggeling with the ranking of my TOC. I have created Paragraphs with 'Heading 1' and 'Heading 2' in a book. If I create the TOC, it sets automatically Heading 2 higher than Heading 1; e.g.:

     Heading 2....2

     Heading 2....3

     Heading 2....4

     Heading 2....4

Heading 1 ...........4 

 

altough it should be: 

     Heading 2....2

     Heading 2....3

Heading 1 ...........4 

     Heading 2....4

     Heading 2....4

 

How can I set the priority of Heading 1 above Heading 2? Thanks in advance!

    This topic has been closed for replies.
    Correct answer LinSims

    You are probably right Lin. Multiple flows are sometimes used if the user doesn't know how to split text frames, etc. I am not sure, but I think the main text flow on a page would be processed first and then other flows. That is probably why the Heading 1 are coming out after the Heading 2 paragraphs.


    This is a mistake I have made when I was but a baby template creator. 😄

     

    ETA: @Hannah_Rotwild , if you decide to do two text frames instead of two flows, as suggested by Rick (and really, it's best practice), you will need to recreate the master page from scratch. You must put the text frame for your Heading 1 on the page first, then put the text frame for your body of text after it. Make sure that the two frames autoconnect. Label the page something like First Page and make sure you don't use it for more than the first page, because things will get weird if you do.

    2 replies

    frameexpert
    Braniac
    April 25, 2022

    Also, if Heading 1 is in a table cell or in a separate text frame, it may not appear in the correct order in the TOC.

    Inspiring
    April 25, 2022

    Firstly thanks for the fast reply! Then, if I set the Heading 1 in a seperate frame above the Body text frame (where the Heading frame is located above the body frame), why is it still listed in the TOC below Heading 2. Is there a way to prioritise text frames?

    LinSims
    Braniac
    April 25, 2022

    You should try to keep everything in the same flow if you can. You can have separate text frames in the same flow, perhaps using a custom master page.


    Or that. 🙂

     

    ETA: I was assuming they did have 2 separate flows given how their TOC was generating.

    Braniac
    April 25, 2022

    The TOC will normally create the lines in order of appearance in the book. So if you chapter starts with a paragraph styled with Heading 2, that is going to be the first line in your TOC. FrameMaker does not really care what you call your styles. Text in the TOC will come in the order of appearance in the book.

    Bjørn Smalbro - FrameMaker.dk