Note: You can also set other options to create the table of contents you want. For example, if you want a table of captions, check the Additional styles and select your caption style.