Skip to main content
Participating Frequently
October 9, 2023
Question

Headings inside table cells appearing unordered in TOC

  • October 9, 2023
  • 3 replies
  • 389 views

I have a document that needs to look like an Excel spreadsheet so I used tables.

I inserted Heading1, 2, and 3 in some cells to separate the content.

When the TOC is generated, if a Heading2 is on a separate table (at the end of the doc), it apperar first than the last Heading2 in the previous table.

Any help? Thanks

    This topic has been closed for replies.

    3 replies

    Barb Binder
    Community Expert
    Community Expert
    October 10, 2023

    I'm just going to throw out there that when tables are set to float, they can reorder themselves so that a second smaller table may appear above a larger one. Probably not the issue here, but it might be worth checking the anchor order to make sure that the top table anchor appears in front of the second table anchor and not the other way around.

     

    ~Barb

    ~Barb at Rocky Mountain Training
    ArturoFCAuthor
    Participating Frequently
    October 12, 2023

    Hi Barb,

    Check that too and the top table anchor is on top of the second table anchor...

    😞 Thank you.

    Bob_Niland
    Community Expert
    Community Expert
    October 10, 2023

    How do you want these table pseudo-headings to appear in the TOC, if at all?

    If they need to be handled differently than regular Flow A headings, use different format names, like Heading1.tbl

    If they need to appear in the TOC, there may be a scanning order issue afoot.

    frameexpert
    Community Expert
    Community Expert
    October 9, 2023

    Can you post screenshots of your table and your TOC? Thanks.

    ArturoFCAuthor
    Participating Frequently
    October 10, 2023

     

     

    frameexpert
    Community Expert
    Community Expert
    October 10, 2023

    Typically, a TOC will include pargraphs from the main flow of a document (Flow A). There is an internal process for navigating paragraphs in flow order. Each table cell is actually a separate flow; you can see the end-of-flow symbol at the end of each table cell. So there may be an issue in the order that the TOC code picks these up. You can sometimes see this when you search in a document. Sometimes paragraphs will be navigate in document order, but tables will be processed after. I realize that this isn't very helpful, but this is probably a limitation of FrameMaker.