Table of contents and variables weird behaviour
When some of my titles have Variables in the TOC (variables that I have created) they appear in the TOC incorrectly. My Variable here is a dash date i.e. 2019-2020. At first I used "–" rather than "-" but both ended up with the same result. I've uploaded all screenshots to demonstrate what I'm talking about: The variable with the longer dash, the variable in the heading and the TOC that relates to it. Notice that some TOC's are affected, but not others, so I'm at a loss.
![](https://secure.gravatar.com/avatar/18614f825828ec0c83136e5e01cf7f05?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Retyping the headings solved this issue.
Adobe InDesign team
-
Phil commented
Ah well - never mind. I just retyped the headings in the text itself and all was right. Must be something I typed in the text that acted as a marker and that was invisible to me. All good now