Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Note

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

on the Front tab for convenience.



Chapter Number, Title, and Authors

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 StyleXMLDescription
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,

Panel

Image Added

Produces the following XML:

Code Block
languagexml
<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:

Panel

Image Added


Code Block
languagexml
<title-group type="Vol">
<number>Vol. 386</number>
<title>Wisconsin Reports 2d</title>
</title-group>

Chapter Title Alternatives

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 StyleXML
Chapter Title (Ethics/Opinions)
<title-group>
<title>
Chapter Title (4x6)
<title-group>
<title>
Wisconsin Reports
<title-group>
<title>



Panel
titleOn This Page

Table of Contents


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>.

Note

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.