Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Headings inside table cells appearing unordered in TOC

New Here ,
Oct 09, 2023 Oct 09, 2023

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

455
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 09, 2023 Oct 09, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 10, 2023 Oct 10, 2023

Jose5CDF_0-1696938929058.png

Jose5CDF_1-1696938965353.png

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 10, 2023 Oct 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 10, 2023 Oct 10, 2023

Thanks Rick. I see your point. I have tried may things with no luck.

Is there a way to make a regular paragraph look like a table cell?

This way I can put the headings in the regular Flow A (on top of each table)...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 10, 2023 Oct 10, 2023

You could use a scripting solution. If you are interested, please contact me offlist.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 09, 2023 Oct 09, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 10, 2023 Oct 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 12, 2023 Oct 12, 2023
LATEST

Hi Barb,

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

😞 Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines