Content at the start of a document should be styled using items on the Front tab of the eXtyles style palette. This section describes how to correctly style the front sections of your content.
Note that in addition to the document front elements, the Front tab also includes body text paragraph styles. These styles are duplicates of those included on the Body tab (described further on), and are included here for convenience.
Chapter front material, including the chapter number (if present), title, and authors (if present) can be styled using the following from the Front tab of the eXtyles style palette.
Paragraph Style
XML
Description
Chapter Number
<title-group> <number>
Use to style the chapter number, if present, at the start of the document. Used when the chapter number is on a separate line from the title.
Volume Number
<title-group type="Vol"> <number>
Use to style the volume number, if present, at the start of the document.
Chapter Title
<title-group> <title>
Use to style body text paragraphs that are the final paragraph in a section, and for which the "outdent" attribute is desired. Used when the chapter title is on a separate line from the number.
Chapter Number/Title
<title-group> <number><title>
Use when the chapter number and title are on the same line. The XML export will tag the chapter number and title appropriately.
Author
<author>
Use to style the author(s) of the document, if present.
For example,
Produces the following XML:
<title-group>
<number>7</number>
<title>Occupational Safety and Health</title>
</title-group>
<author>Eric E. Hobbs</author>
<author>Elizabeth N. Larson</author>
Content styled as Volume Number will produce the following:
Chapter titles for Ethics/Opinions, 4x6 template documents, and Wisconsin Reports can be styled using the following. Although the format of the paragraph styles in Word is different for these two title alternatives, they are tagged the same in the XML.
Paragraph Style
XML
Chapter Title (Ethics/Opinions)
<title-group> <title>
Chapter Title (4x6)
<title-group> <title>
Wisconsin Reports
<title-group> <title>
On This Page
Table of Contents
The table of contents, if present, can be styled using the paragraph styles TOC1-TOC5 on the Front tab of the eXtyles style palette. When used, the TOC content is exported to <print-only> in the XML.
The TOC1 Evidence style, which is formatted to be 10-point font in the Word document, can be used to style Evidence content in the table of contents. It exports the same as the other TOC paragraph styles to <print-only>.
The WisBar shema does not support local formatting (e.g., italic, bold) in <print-only> content. Because of this, any such italic, bold, etc., formatting that may appear in the table of contents in the Word document must be removed before XML export.
No labels
0 Comments
You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.
0 Comments