Hidden conditional text appears in table of contents
I'm having two issues with conditional text that I have not been able to find explanations for in these discussions or in the FM user guide.
1. I have used conditional tags to hide content but the content still appears in the table of contents. Specifically, I have figures with conditional tags that I want to hide for a specific version of the document. However, when I hide the figure with the conditional tag, the figure is still listed in the table of contents/list of figures. The same issue happens with paragraphs hidden in the document still being listed in the table of contents. Are there ways to keep the hidden content from showing up in the table of contents/list of figures?
2. A related issue I'm having is that when I hide a figure with conditional text (e.g., Figure 1.1), I would like for the remaining figure numbers in the document to shift to accommodate the hidden figure so that when I hide Figure 1.1, Figure 1.2 then becomes the new Figure 1.1. Is it possible to have FM automatically shift numbering to prevent gaps in the numbering caused by hidden content?
Thanks.
