then
1. Position the cursor to the left of the first line of the article on page 1 (the table of contents should be in front of the article);
2. Execute the menu command "Insert/Reference/Index and Directory" to open the "Index Directory" dialog box;
3. Click the "Contents" tab in the dialog box, make relevant settings, and then click "OK" to automatically generate the article contents.