Blank entry in table of contents
Posted: Wed May 29, 2019 8:41 pm
I noticed a strange problem - when I generate a PDF, the table of contents looks all good, except for a "blank" entry with no heading.
It looks something like this, where the "..................................................9" line refers to the blank entry:
Topic 1..............................................6
Topic 2.............................................8
Sub-topic 2.............................................8
..................................................................9
Topic 3.............................................11
When I click it it takes me to the corresponding page.
The page it refers to is a task. There are two tasks within the same dita file and it seems to be interpreting the second task as its own file deserving of a heading in the TOC (but doesn't populate a heading for it). I checked the topicrefs in the main ditamap file and there doesn't seem to be any reference to an "empty" file (or a previously deleted file).
Has anyone experienced anything like this?
I tried re-creating the "Topic 2" and its nested sub-topic and deleting the old ones, but I still see the same thing happen.
Hope this is clear enough. Thanks!
It looks something like this, where the "..................................................9" line refers to the blank entry:
Topic 1..............................................6
Topic 2.............................................8
Sub-topic 2.............................................8
..................................................................9
Topic 3.............................................11
When I click it it takes me to the corresponding page.
The page it refers to is a task. There are two tasks within the same dita file and it seems to be interpreting the second task as its own file deserving of a heading in the TOC (but doesn't populate a heading for it). I checked the topicrefs in the main ditamap file and there doesn't seem to be any reference to an "empty" file (or a previously deleted file).
Has anyone experienced anything like this?
I tried re-creating the "Topic 2" and its nested sub-topic and deleting the old ones, but I still see the same thing happen.
Hope this is clear enough. Thanks!