The heading here could be anything: affirmative defenses in an answer, articles in a contract, etc. It doesn’t matter; the technique is the same with only slight variations. The result is that you’ll have a heading saved in your Quick Parts that will be numbered correctly, no matter how many items you add or delete. This makes this technique particularly useful in building templates for common documents; because it’s always easier to delete than add, they’ll re-number themselves after editing.
If you want numbered headings to be underlined, but do not want a line under the number, it can be difficult if you don't know how it works. This is because by default, the format of the number follows the format of the text that follows it. For example, let's say you want to underline a paragraph in a Heading 2 style. Chances are it will look like this:

Note: If you are a developer, you would do much better to use a Document Variable rather than a Document Property (so that the user can't update the version without using your macros); and to write a version control macro assigned to an “Update Version” button to take care of updating the document variable, the “Last  Updated Date”, the revision history and the document's filename (and the filepath, if you have an archive strategy for old versions), as well as taking care of transitions between draft and live status. However, that is outside the scope of this article.

You can add a chapter number variable to your document. Like page numbers, chapter numbers can be updated automatically and formatted and styled as text. A chapter number variable is commonly used in documents that are part of a book. A document can have only one chapter number assigned to it; if you want to divide a single document into chapters, you can create sections instead.
If you want to use a bullet found in a specific font (such as the pointing hand from Dingbats), be sure to set the bullet to remember that font. If you use a basic bullet character, it’s probably best not to remember the font, because most fonts have their own version of that bullet character. Depending on whether you select the Remember Font With Bullet option, a bullet you add can reference either a Unicode value and a specific font family and style, or just a Unicode value.
InDesign’s Book feature can be handy! Let’s say you’re working on a book with lots of images and/or chapters. And the file sizes are enormous. In fact, they are so big that you thought it would be smart to divide the book into separate documents for parts or chapters. That’s exactly what we did with Book Design Made Simple. It was more convenient for us to swap smaller sections back and forth than to send the entire book each time. All the parts or chapters were linked together at the end using InDesign’s Book feature. So this blog post explains how to create a Book file, or as we call it, “book” a book.
Inserting page numbers into your InDesign document is quick and simple. The first thing to realise is that InDesign numbers pages according to the page numbers listed in the Pages Panel (Window > Pages). Unless you want to spend the time manually inserting individual page numbers to override this, you should understand how to define sections in your document (see Step 2, below).

CK Note: Word 2007 - 2013 interface has an different automatic numbering scheme which I have been told is much less subject to corruption. Microsoft Word 2010 Bible by Herb Tyson, MVP. However numbering is still very imperfect in these later versions. I still recommend following Shauna Kelly's step-by-step instructions (see above) if setting up numbering in a template or in a document likely to be heavily edited. If you start without doing this and end up with "spaghetti numbering," fixing it will be a very large chore!