eXtyles can support the inclusion of supplement text by the use of the supplement styles on the Front tab of the style palette. Only a few styles specific to supplement content exist, because regular text paragraph styles can be used for supplement content that is contained between Supplement Start and Supplement End paragraphs. Supplement content that is specific to the entire document
If a document has supplement information, the supplement authors and the description of the supplemented text should be added to the top of the document and styled with the Supplement Author and Supplement Text paragraph styles from the Front tab of the style palette. For example,
This text will be output to the <meta-data> block in the XML:
<meta-data>
. . .
<supp-info>
<supp-author>Eric E. Hobbs</supp-author>
<supp-author>Jesse R. Dill</supp-author>
<supplement-text>Book sections supplemented: 7.1, 7.54, 7.64, and 7.125</supplement-text>
</supp-info>
</meta-data>
On This Page
Supplement Head and Supplement Start and End
Supplement content can be added to the original Word document in the appropriate location; for example,
The supplement text is added to the document and styled normally. The beginning and end of the supplement content is indicated by using the Supplement Start and Supplement End paragraph styles.
Supplement Start and Supplement End paragraphs must contain text. The start and end paragraphs are dropped during XML export, so they do not appear in the XML.
The content within the start and end supplement paragraphs will be tagged in the XML as <supp-text><instruction-content>, and then whatever is appropriate for the actual content (e.g., <para>, <list-item>, <admon>, etc.). For example, the above Word example exports as:
<para type="flush" style="last-para"><supp-text><instruction-content><para type="flush" style="last-para">However, the law excludes, as employees for minimum-wage purposes, ...</para></instruction-content></supp-text>Special minimum rates may be paid to golf caddies, ....</para>
Notice that the supplement content is contained within the primary text paragraph, and the start and end supplement paragraphs are not present.
Add Comment