text: By using Styles for the headings of your sections. Then you can Insert the Table of Contents and it will pick up the headings and page number automatically. See the built-in Help files for exactly how to do this with step-by-step instructions.