Some title styles do not appear in the table of contents

Solved
Max-Caufield -  
Raymond PENTIER Posted messages 58216 Registration date   Status Contributor Last intervention   -
Hello,
I wanted to create a table of contents, but some titles are not showing up in it, even when I update it; I don't know why. Titles 1, 2, and 3 seem to work, but not 4 and 5, and I don't understand why. Could someone please explain it to me?
Thank you in advance and have a nice evening
Here is the link:
https://www.cjoint.com/c/KIysAyCBfr7

Configuration: Windows / Chrome 93.0.4577.82

3 answers

  1. Raymond PENTIER Posted messages 58216 Registration date   Status Contributor Last intervention   17 482
     


    Hello Max.
    Warm greetings to Argitxu and Telliak.

    Even simpler:
    • REFERENCES/Table of Contents/Custom Table of Contents

    * Choose Show Levels [5]

    --
    Retirement is great! Especially in the West Indies...
    Raymond (INSA, AFPA)
    3
    1. Max-Caufield
       
      Hello, I succeeded, thank you very much for your help!! Have a nice day.
      1
      1. Raymond PENTIER Posted messages 58216 Registration date   Status Contributor Last intervention   17 482 > Max-Caufield
         
        ... by applying which method?
        0
      2. Max-Caufield > Raymond PENTIER Posted messages 58216 Registration date   Status Contributor Last intervention  
         
        yours! it was simple and quick :) thank you!
        1
      3. Raymond PENTIER Posted messages 58216 Registration date   Status Contributor Last intervention   17 482 > Max-Caufield
         
        This clarification could be useful for other Word users. Thanks for them.
        Hi.
        0
  2. Argitxu Posted messages 5292 Registration date   Status Contributor Last intervention   4 844
     
    Good evening

    The automatic table of contents that Word creates is based by default on 3 hierarchical levels, title styles 1 to 3.
    To modify it, you need to change its field code:
    - press Alt F9 to display the field code { TOC \o "1-3" \h \z \u } where 1-3 corresponds to the number of levels.
    - Therefore, replace the 3 with 5
    - Press Alt F9 again to re-hide the field code and update the TOC

    One detail in your doc, your title 5 does indeed have a style with a hierarchical level 5 in the paragraph, but it is better to use the already defined titles in the gallery, namely Title 5

    --
    Argitxu
    0
  3. telliak Posted messages 3652 Registration date   Status Member Last intervention   885
     
    Hi,
    The table of contents must have been set for only 3 levels.
    I only know how to modify it through a trick:
    - press Alt+F9
    - your TOC is replaced by something that looks like { TOC \O "1-3" \H \Z \U }
    - you replace the 3 with the number of levels you want to include, 5 in your case, which gives { TOC \O "1-5" \H \Z \U }
    - press Alt+F9 again
    The other settings may be different from those I indicated.
    0