Forum Discussion

Peter_Magpie1645's avatar
Peter_Magpie1645
Copper Contributor
Nov 30, 2021
Solved

Table of contents does not get updated in my Word document

Hi, I have this Word template (see the attachment) that I need to use for various documents but every time I write new sections and update the automatic TOC in it, I get an error message. W...
  • Stefan_Blom's avatar
    Nov 30, 2021

    Peter_Magpie1645 

     

    If you press Alt+F9 to show the underlying field code, the following is shown:

     

     

    This is a custom field code with the \t switch which uses a separator between style names and levels (a comma in this case). For example, the code above says that Heading 1 paragraphs should display at TOC level 2.

     

    The challenge with the \t switch is that the separator may be different on different systems. The separator is defined by the regional settings in Windows. 

     

    It appears that your system does not recognize commas as a list separator. You can change the separator to a semi-colon (would usually work when a comma doesn't work). The downside is that your colleagues will run into trouble instead. 

     

    If possible, change the setting for list separator in Windows instead. 

Resources