Front Style Examples

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.


Title Page Information

The following items may appear on the title page of WTO documents. Note that the only required item is Document Title; other items may or may not be present.

Bold items in the following list are styles that will not be carried through to the XML during the Export process. These items are redundant with metadata that is captured in the eXtyles Document Information dialog, but may be required in the Word document to create PDF.

  • Document Title

  • Document Subtitle

  • Document Type

  • Document Country

  • Document Date

  • Document Version

Document Title, Subtitle, and Type

Word

XML

<book-title-group> <book-title>UNITED STATES</book-title> <subtitle>TARIFF MEASURES ON CERTAIN GOODS FROM CHINA</subtitle> </book-title-group>

Alternatively, the report subtitle may be run-in to the title following a colon. In this case the entire line should be styled as Document Title, and the Document Subtitle style will not be used.

Note that in this example, Document Type (Doc_type) is dropped from the XML.

Document Type is captured as metadata in the eXtyles Document Information dialog.

Document Country and Version

Word

XML

<custom-meta-group id="meta-main"> <custom-meta><meta-name>DocCountry</meta-name><meta-value>Switzerland and Liechtenstein</meta-value></custom-meta> <custom-meta><meta-name>Version</meta-name><meta-value>Revision</meta-value></custom-meta> </custom-meta-group>

Note that the country and version information is moved to a <custom-meta> element in the XML.

Document Date

Word

XML

<book-meta> <subj-group subj-group-type="report-date-range"><subject>(MID-OCTOBER 2019 TO MID-MAY 2020)</subject></subj-group> </book-meta>

Document Date is moved to a <subj-group> element in <book-meta>. Note that the identifying attribute subj-group-type="report-date-range" is automatically added.

Cover Text and Notes

Some WTO documents will include text immediately following the title information and preceding the table of contents. This content should be styled using the Cover Text and Cover Notes styles, as appropriate. For example,

Word

XML

Front Matter Content

Other front matter content that follows the table of contents - with the exception of Foreword content - should be styled using the Front Matter Title, Front Matter Heading, and Front Matter Text paragraph styles. This can include, Summary, Introduction (if not a part of the document body), or other front sections. For example,

Word

XML

Note that eXtyles will automatically add the relevant book-part-type to the <front-matter-part>; in this case, "SUMMARY".

Foreword Text

Foreword content has its own paragraph styles distinct from Front Matter Text. Be sure to use Foreword Title and Foreword Text, as appropriate. For example,

Word

XML