Skip to main content
Inspiring
Nov 4, 2026 6:17 PM UTC
Question

Hidden conditional text appears in table of contents

I have removed and change the conditions for all my files with conditional text, updated the files, saved and closed the files and books. When I reopen them and go to update the TOC they still are there. Any help would be appreciated. 

    7 replies

    Barb Binder
    Community Expert
    Community Expert
    Nov 6, 2026 5:16 PM UTC

    Hi Eric:

    I think the other experts have already provided all of the missing pieces for you but since you haven’t come back to tell us it works, here is a summary:

    1. Import the condition tags into all the files in the book, including the TOC
    2. Set show/hide at the book level
    3. Update your book

    And a visual of the process:

    I recorded this in 18.0.1 because you didn't mention which version you're using.

    Translate
    ~Barb at Rocky Mountain Training
    Bob_Niland
    Community Expert
    Community Expert
    Nov 4, 2026 8:06 PM UTC

    Do the Conditions exist in the Conditional Tags catalog for the TOC?

    Translate
    Bob_Niland
    Community Expert
    Community Expert
    Nov 5, 2026 8:47 PM UTC

    While generated book files (IX, TOC) are auto-created the first time, they are not created containing all of the context metas used everywhere in the book, such as colors, conditionals, variable, character formats, paragraph formats, etc.

    These may need to be imported or created as needed in the gen file. And sometimes (as I recall), you actually want to remove them, such as when hypertext regions in the TOC get interrupted by a character formats in the text string in the referenced book file.

    Translate
    frameexpert
    Community Expert
    Community Expert
    Nov 4, 2026 7:32 PM UTC

    If you are doing it at the book level, make sure you select all of the components in the book first.

    Translate
    www.frameexpert.com
    Jeff_Coatsworth
    Community Expert
    Community Expert
    Nov 4, 2026 6:22 PM UTC

    What are your Show/Hide settings? I think that’s what’s going to determine what appears or not...

    Translate
    Inspiring
    Nov 4, 2026 6:40 PM UTC

    I have tried it with Show all and show as per condition. I have moved all conditions to the hide side and they still show. 

    Translate
    Jeff_Coatsworth
    Community Expert
    Community Expert
    Nov 4, 2026 7:02 PM UTC

    Did you Update the book after doing that?

    Translate