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

Autonumbering 'format' not showing in TOC (Structured FM 2022)

Explorer ,
Mar 02, 2023 Mar 02, 2023

Copy link to clipboard

Copied

In my strucutured document, I have a ChapterTitle element with conditional formatting:

  • If the 'ChapterType' Attribute = "Prologue", the Autonumbering is "Prologue".
  • If the 'ChapterType' Attribute = "Epilogue", the Autonumbering is "Epilogue".
  • If the 'ChapterType' Attribute = "Chapter", the Autonumbering is "Chapter <$Chapnum>".

These are working as expected in the document.

However, when I generate the Table of Content, the Autonumbering isn't picked up - I only get the page number:

2023-03-03_09h22_16.png

When I look at the Reference Page, it has the following:

2023-03-03_09h23_40.png

This makes sense as there isn't any actual text against the element. What I'm actually after is something like this:

2023-03-03_09h31_28.png

I am stumpped as to how to achive this. Replacing <$elemtextonly> with Chapter <$chapnum> works fine for those documents where the ChapterType Attribute = Chapter, but not for the others.

How do I have the TOC pick up the full autonumbering text?

 

Views

94

Translate

Translate

Report

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
no replies

Have something to add?

Join the conversation