I Schema

I.11 Module LaTeXML-structure

Element document

The document root.

Pattern document.body.class

The content allowable as the main body of the document.

Content:

(Para.model  |  paragraph  |  subsubsection  |  subsection  |  section  |  chapter  |  part  |  slide  |  sidebar)

Expansion:

((Para.model  |  paragraph  |  subsubsection  |  subsection  |  section  |  chapter  |  part  |  slide  |  sidebar))

Used by:
Pattern document_attributes

Attributes for document.

Attributes:
Pattern document_model
Element part

A part within a document.

Used by:
Pattern part.body.class

The content allowable as the main body of a part.

Content:

(Para.model  |  chapter  |  slide  |  sidebar)

Expansion:

((Para.model  |  chapter  |  slide  |  sidebar))

Used by:
Pattern part_attributes

Attributes for part.

Attributes:
Pattern part_model
Element chapter

A Chapter within a document.

Used by:
Pattern chapter.body.class

The content allowable as the main body of a chapter.

Content:

(Para.model  |  subparagraph  |  paragraph  |  subsubsection  |  subsection  |  section  |  slide  |  sidebar)

Expansion:

((Para.model  |  subparagraph  |  paragraph  |  subsubsection  |  subsection  |  section  |  slide  |  sidebar))

Used by:
Pattern chapter_attributes

Attributes for chapter.

Attributes:
Pattern chapter_model
Element section
Pattern section.body.class

The content allowable as the main body of a section.

Content:

(Para.model  |  subparagraph  |  paragraph  |  subsubsection  |  subsection  |  slide  |  sidebar)

Expansion:

((Para.model  |  subparagraph  |  paragraph  |  subsubsection  |  subsection  |  slide  |  sidebar))

Used by:
Pattern section_attributes

Attributes for section.

Attributes:
Pattern section_model
Element subsection
Pattern subsection.body.class

The content allowable as the main body of a subsection.

Content:

(Para.model  |  subparagraph  |  paragraph  |  subsubsection  |  slide  |  sidebar)

Expansion:

((Para.model  |  subparagraph  |  paragraph  |  subsubsection  |  slide  |  sidebar))

Used by:
Pattern subsection_attributes

Attributes for subsection.

Attributes:
Pattern subsection_model
Element subsubsection
Pattern subsubsection.body.class

The content allowable as the main body of a subsubsection.

Content:

(Para.model  |  subparagraph  |  paragraph  |  slide  |  sidebar)

Expansion:

((Para.model  |  subparagraph  |  paragraph  |  slide  |  sidebar))

Used by:
Pattern subsubsection_attributes

Attributes for subsubsection.

Attributes:
Pattern subsubsection_model
Element paragraph

A Paragraph within a document. This corresponds to a ‘formal’ marked, possibly labelled LaTeX Paragraph, in distinction from an unlabelled logical paragraph.

Used by:
Pattern paragraph.body.class

The content allowable as the main body of a paragraph.

Content:

(Para.model  |  subparagraph  |  slide  |  sidebar)

Expansion:

((Para.model  |  subparagraph  |  slide  |  sidebar))

Used by:
Pattern paragraph_attributes

Attributes for paragraph.

Attributes:
Pattern paragraph_model
Element subparagraph
Pattern subparagraph.body.class

The content allowable as the main body of a subparagraph.

Content:

(Para.model  |  slide  |  sidebar)

Expansion:

((Para.model  |  slide  |  sidebar))

Used by:
Pattern subparagraph_attributes

Attributes for subparagraph.

Attributes:
Pattern subparagraph_model
Element slide

A Slide within a slideshow. The model currently doesn’t enforce this, but the idea is that a slideshow document can contain section headings, but all real content should be confined to slides.

Used by:
Pattern slide.body.class

The content allowable as the main body of a slide.

Content:
Expansion:
Used by:
Pattern slide_attributes

Attributes for slide.

Attributes:
Pattern slide_model
Element sidebar
Pattern sidebar.body.class

The content allowable as the main body of a sidebar.

Content:
Expansion:
Used by:
Pattern sidebar_attributes

Attributes for sidebar.

Attributes:
Pattern sidebar_model
Element appendix

An Appendix within a document.

Used by:
Pattern appendix.body.class

The content allowable as the main body of a chapter.

Content:

(Para.model  |  subparagraph  |  paragraph  |  subsubsection  |  subsection  |  section  |  slide  |  sidebar)

Expansion:

((Para.model  |  subparagraph  |  paragraph  |  subsubsection  |  subsection  |  section  |  slide  |  sidebar))

Used by:
Pattern appendix_attributes

Attributes for appendix.

Attributes:
Pattern appendix_model
Element bibliography

A Bibliography within a document.

Used by:
Pattern bibliography.body.class

The content allowable as the main body of a chapter.

Content:
Expansion:

((Para.model  |  biblist))

Used by:
Pattern bibliography_attributes

Attributes for bibliography.

Attributes:
Attribute files

text

the list of bib files used to create the bibliography.

Attribute bibstyle

text

the bibliographic style to be used to format the bibliography (presumably a BibTeX bst file name)

Attribute citestyle

text

the citation style to be used when citing items from the bibliography

Attribute sort

boolean

whether the bibliographic items should be sorted or in order of citation.

Pattern bibliography_model
Element index

An Index within a document.

Used by:
Pattern index.body.class

The content allowable as the main body of a chapter.

Content:
Expansion:

((Para.model  |  indexlist))

Used by:
Pattern index_attributes

Attributes for index.

Attributes:
Attribute role

text

The kind of index

Pattern index_model
Element indexlist

A heirarchical index structure typically generated during postprocessing from the collection of indexmark in the document (or document collection).

Used by:
Pattern indexlist_attributes

Attributes for indexlist.

Attributes:
Pattern indexlist_model

Content model for indexlist.

Content:
Expansion:
Element indexentry

An entry in an indexlist consisting of a phrase, references to points in the document where the phrase was found, and possibly a nested indexlist represented index levels below this one.

Used by:
Pattern indexentry_attributes

Attributes for indexentry.

Attributes:
Pattern indexentry_model

Content model for indexentry.

Content:
Expansion:
Element indexrefs

A container for the references (ref) to where an indexphrase was encountered in the document. The model is Inline to allow arbitrary text, in addition to the expected ref’s.

Used by:
Pattern indexrefs_attributes

Attributes for indexrefs.

Attributes:
Pattern indexrefs_model

Content model for indexrefs.

Content:
Expansion:
Element glossary

An Glossary within a document.

Used by:
Pattern glossary.body.class

The content allowable as the main body of a chapter.

Content:
Expansion:
Used by:
Pattern glossary_attributes

Attributes for glossary.

Attributes:
Attribute role

text

The kind of glossary

Pattern glossary_model
Element glossarylist

A glossary list typically generated during postprocessing from the collection of glossaryphrase’s in the document (or document collection).

Used by:
Pattern glossarylist_attributes

Attributes for glossarylist.

Attributes:
Pattern glossarylist_model

Content model for glossarylist. The model allows loose glossaryphrase’s for data definitions, but they are not displayed as part of the list.

Content:
Expansion:
Element glossaryentry

An entry in an glossarylist consisting of a phrase, possibly definitions (one or more, presumably in increasing detail?), and references to points in the document where the phrase was found.

Used by:
Pattern glossaryentry_attributes

Attributes for glossaryentry.

Attributes:
Attribute role

text

The kind of glossary

Attribute key

text

a flattened form of the phrase for generating an ID.

Pattern glossaryentry_model
Element title

The title of a document, section or similar document structure container.

Used by:
Pattern title_attributes
Pattern title_model

Content model for title, basically Inline.model with tag included (normally, but not necessarily, tag would come first).

Content:

(tag  |  text  |  Inline.class  |  Misc.class  |  Meta.class)*

Expansion:

((tag  |  text  |  Inline.class  |  Misc.class  |  Meta.class)*)

Element toctitle

The short form of a title, for use in tables of contents or similar.

Used by:
Pattern toctitle_attributes

Attributes for toctitle.

Attributes:
Pattern toctitle_model

Content model for toctitle.

Content:

(text  |  Inline.class  |  Misc.class  |  Meta.class  |  tag)*

Expansion:

((text  |  Inline.class  |  Misc.class  |  Meta.class  |  tag)*)

Element subtitle

A subtitle, or secondary title.

Used by:
Pattern subtitle_attributes

Attributes for subtitle.

Attributes:
Pattern subtitle_model

Content model for subtitle.

Content:
Expansion:
Element creator

Generalized document creator.

Used by:
Pattern Person.class

The content allowed in authors, editors, etc.

Content:
Expansion:

((personname  |  contact))

Used by:
Pattern creator_attributes

Attributes for creator.

Attributes:
Attribute role

= (author  |  editor  |  translator  |  contributor  |  translator  |  text)

indicates the role of the person in creating the docment. Commonly useful values are specified, but is open-ended to support extension.

Attribute before

text

specifies opening text to display before this creator in a formatted titlepage. This would be typically appear outside the author information, like ”and”.

Attribute after

text

specifies closing text, punctuation or conjunction to display after this creator in a formatted titlepage.

Pattern creator_model

Content model for creator.

Content:
Expansion:
Element personname

A person’s name.

Used by:
Pattern personname_attributes

Attributes for personname.

Attributes:
Pattern personname_model

Content model for personname.

Content:
Expansion:
Element contact

Generalized contact information for a document creator. Note that this element can be repeated to give different types of contact information (using role) for the same creator.

Used by:
Pattern contact_attributes

Attributes for contact.

Attributes:
Attribute role

= (affiliation  |  address  |  current_address  |  email  |  url  |  thanks  |  dedicatory  |  text)

indicates the type of contact information contained. Commonly useful values are specified, but is open-ended to support extension.

Pattern contact_model

Content model for contact.

Content:
Expansion:
Element date

Generalized document date. Note that this element can be repeated to give the dates of different events (using role) for the same document.

Used by:
Pattern date_attributes

Attributes for date.

Attributes:
Attribute role

= (creation  |  conversion  |  posted  |  received  |  revised  |  accepted  |  text)

indicates the relevance of the date to the document. Commonly useful values are specified, but is open-ended to support extension.

Pattern date_model

Content model for date.

Content:
Expansion:
Element abstract

A document abstract.

Used by:
Pattern abstract_attributes

Attributes for abstract.

Attributes:
Pattern abstract_model

Content model for abstract.

Content:
Expansion:
Element acknowledgements

Acknowledgements for the document.

Used by:
Pattern acknowledgements_attributes
Pattern acknowledgements_model

Content model for acknowledgements.

Content:
Expansion:
Element keywords

Keywords for the document. The content is freeform.

Used by:
Pattern keywords_attributes

Attributes for keywords.

Attributes:
Pattern keywords_model

Content model for keywords.

Content:
Expansion:
Element classification

A classification of the document.

Used by:
Pattern classification_attributes

Attributes for classification.

Attributes:
Attribute scheme

text

indicates what classification scheme was used.

Pattern classification_model

Content model for classification.

Content:
Expansion:
Element titlepage

block of random stuff marked as a titlepage

Used by:
Pattern titlepage_attributes

Attributes for titlepage.

Attributes:
Pattern titlepage_model

Content model for titlepage.

Content:
Expansion:
Element TOC

(Generalized) Table Of Contents, represents table of contents as well as list of figures, tables, and other such things. This will generally be placed by a \tableofcontents command and filled in by postprocessing.

Used by:
Pattern TOC_attributes

Attributes for TOC.

Attributes:
Attribute role

= (contents  |  figures  |  tables  |  text)

indicates the kind of list

Attribute select

text

indicates what kind of document elements to list, in the form of one or more tags such as ltx:chapter separated by | (suggestive of an xpath expression).

Attribute scope

= (current  |  global  |  text)

indicates the scope set of elements to include: current (default) is all in current document; global indicates all in the document set; otherwise an xml:id

Attribute format

= (normal  |  short  |  veryshort  |  text)

indicates how to format the listing

Pattern TOC_model

Content model for TOC.

Content:
Expansion:

(toclist?)

Element toclist

The actual table of contents list, filled in.

Used by:
Pattern toclist_attributes

Attributes for toclist.

Attributes:
Pattern toclist_model

Content model for toclist.

Content:
Expansion:
Element tocentry

An entry in a toclist.

Used by:
Pattern tocentry_attributes

Attributes for tocentry.

Attributes:
Pattern tocentry_model

Content model for tocentry.

Content:

(ref  |  toclist)*

Expansion:

((ref  |  toclist)*)

Pattern Sectional.attributes
Pattern FrontMatter.attributes

Attributes for other elements that can be used in frontmatter.

Attribute name

text

Records the name of the type of object this is to be used when composing the presentation. The value of this attribute is often set by language localization packages.

Used by:
Pattern SectionalFrontMatter.class
Pattern FrontMatter.class

The content allowed (in addition to SectionalFrontMatter.class) for the front matter of a document.

Content:

(subtitle  |  date  |  abstract  |  acknowledgements  |  keywords  |  classification)

Expansion:

((subtitle  |  date  |  abstract  |  acknowledgements  |  keywords  |  classification))

Used by:
Pattern BackMatter.class

The content allowed a the end of a document. Note that this includes random trailing Block and Para material, to support articles with figures and similar data appearing ‘at end’.

Content:

(bibliography  |  appendix  |  index  |  glossary  |  acknowledgements  |  Para.class  |  Meta.class)

Expansion:

((bibliography  |  appendix  |  index  |  glossary  |  acknowledgements  |  Para.class  |  Meta.class))

Used by:
Add to Para.class
|=

TOC