Mark Repeated Text

Repeated text is text that can appear in a document two or more times in succession. Repeated text can consist of anything from a few words to an entire paragraph. To mark repeated text, enclose a single instance of the text in square brackets. Immediately following the opening bracket, type the word repeat followed by a colon (:). After the colon, type a repeat dialog name followed by a semi-colon and the list of variables or text you want included in the repeat instruction, separated by forward slashes.

The following is an example of repeated in-line text:

My children are: [repeat:ChildList;format="a; b; and c";contents=ChildName/ChildBirthDate:[ChildName], born [ChildBirthDate;da]].

In this example, the entire paragraph is repeated:

Specific Gifts

[repeat:SpecificGiftList;contents=SpecificGiftRecipientRelationship/SpecificGiftRecipientName/SpecificGiftItem: To my [SpecificGiftRecipientRelationship], [SpecificGiftRecipientName], I give [SpecificGiftItem].

]

Best practice for a repeat dialog is to have the dialog name consist of at least two words, the first of which identifies the subject of the list and to use the word "List" as the second part of a repeat dialog name, although this is not mandatory. In the example above the repeat dialog name is "SpecificGiftsList" where "SpecificGifts" is the subject and "List" is used to help remind the user that this is a repeated dialog. All of the rules that apply to variable names apply to repeat dialog names.