About Arbortext Styler > Publishing XML Documents as RTF Files > Publishing Table and Figure Captions in RTF Files
  
Publishing Table and Figure Captions in RTF Files
When publishing RTF documents containing tables or figures, you may want to create captions that use autonumbering (generated text). This task can become quite complex, with at least three solutions, each depending on whether you want captions before or after the table or figure in the published document. Details of each of the possible solutions are described later in this section.
The possible solutions are summarized below:
Map a context to a single paragraph style - This approach is the simplest. The caption is published as a single RTF paragraph style. Formatting, generated text, and autonumbering are specified for the style with Arbortext Styler.
Use generated text for labeling and a SEQ field for numbering - This approach uses the SEQ field to perform the autonumbering of captions in Word, but otherwise relies on Arbortext Styler to define the generated text for the pretext label and the formatting surrounding the autonumbering. As in the first approach, the caption is published as a single RTF paragraph style.
Mix paragraph and character styles with a SEQ field - This approach publishes the caption with a paragraph style that includes a character style for the generated text and a SEQ field for autonumbering.