Tag Archives for " StyleRef "

2 Reader Question: How to embed the current paragraph number in your text

One reader who works in insurance defense law (a woman after my own heart — so do I) asked me this question recently:

In a case where I am automatically numbering the beginning of each paragraph (sometimes up to 100)…and then have to refer to the same paragraph number in the text (e.g., 1. Deny the allegations contained in paragraph “1”), how can I get the number in the text to match the corresponding number of each specific paragraph so that if I have to delete a paragraph, I will not have to go into every paragraph to change the text to say responding to paragraph”2″ to correspond with the actual numbered paragraph? I know it has something to do with using fields in the text.

Again, a woman after my own heart. She’s trying to automate something to minimize the amount of repetitive editing she’ll have to do as the document changes. I like people who think ahead like that.

And she’s right: it does have “something to do with fields in the text.” But which one is appropriate here? The answer may surprise you … and you might find a use for it in your own documents, too.

Keep reading →