Supplement Content in the Document
Supplement content can be added to the original Word document in the appropriate location; for example,
Panel |
---|
Image RemovedImage Added |
Supplement Start and Supplement End Styles
These two paragraph styles must be used to indicate the beginning and end of the supplement content. This facilitates the use of regular paragraph styles for the content of the supplement; that is, the start and end styles tell eXtyles that the content within is supplement content, even though regular paragraph styles are used for the supplement content.
The Supplement Start and Supplement End paragraph styles are dropped during XML export, so they will not be present in the XML. Note the following important information about the use of Supplement Start and Supplement End:
- Supplement Start and End paragraphs are required at the start and end of supplement content
- The paragraphs must contain content: in the above example a nonbreaking space is used, but any content will suffice
- The start and end paragraphs will be dropped from the XML; that is, the content in the paragraphs will not be present in the XML that is generated from eXtyles
Supplement Head and Instruction
Code Block |
---|
|
<para style="last-para" type="flush"><supp-text><title-group><title>[OSHAct and OSHA Standards and Regulations] [OSHAct’s Requirements] [Safety and Health Standards–Generally] Interpretation</title></title-group>
<instruction-head>Pages 36–37: Read in conjunction with section</instruction-head>
<instruction-content><para style="last-para" type="flush">On September 8, 2016, the National Federation of Independent Business (NFIB) filed a federal court complaint in Dallas, Texas, seeking to strike down what has become known as OSHA’s “union walk-around rule.” <emphasis type="italic">See National Fed’n of Indep. Businesses v. Perez</emphasis>, No. 5:16-cv-00066, 2016 WL 8193279 (N.D. Tex. Sept. 8, 2016) (unpublished). The lawsuit seeks a declaratory judgment that OSHA acted “arbitrarily and capriciously” in issuing the rule and did not afford the public an opportunity to comment on the rule before its promulgation. NFIB also sought to enjoin OSHA from enforcing the rule.</para></instruction-content>The Supplement Head style should be used to style the heading that the supplement text pertains to. The Instruction style should be used to style the descriptive content of the supplement, as shown in the previous example. The resulting XML will be:
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:
Note |
---|
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. |
Code Block |
---|
|
<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.