LaTeXML

 view release on metacpan or  search on metacpan

lib/LaTeXML/resources/RelaxNG/LaTeXML-structure.rnc  view on Meta::CPAN

subsubsection_model = SectionalFrontMatter.class*, (subsubsection.body.class | BackMatter.class)*

#----------------------------------------------------------------------

paragraph =
## A Paragraph within a document. This corresponds to a `formal' marked, possibly labelled
## LaTeX Paragraph,  in distinction from an unlabelled logical paragraph.
element paragraph { paragraph_attributes, paragraph_model }

## The content allowable as the main body of a paragraph.
paragraph.body.class = Para.model | subparagraph | slide | slidesequence | sidebar

## Attributes for \elementref{paragraph}.
paragraph_attributes = Sectional.attributes

## Content model for \elementref{paragraph}.
paragraph_model = SectionalFrontMatter.class*, (paragraph.body.class | BackMatter.class)*


#----------------------------------------------------------------------

subparagraph =
## A Subparagraph within a document.
element subparagraph { subparagraph_attributes, subparagraph_model }

## The content allowable as the main body of a subparagraph.
subparagraph.body.class = Para.model | slide | slidesequence | sidebar

## Attributes for \elementref{subparagraph}.
subparagraph_attributes = Sectional.attributes

## Content model for \elementref{subparagraph}.
subparagraph_model = SectionalFrontMatter.class*, (subparagraph.body.class | BackMatter.class)*

#======================================================================

slidesequence =
## A slidesequence within a slideshow.
## Each slide contains a set slides, typically those that are revealed constructively. 
element slidesequence { slidesequence_attributes, slidesequence_model }

## Attributes for \elementref{slidesequence}.
slidesequence_attributes = Sectional.attributes

# A slidesequence *must* contain a group of slides.
slidesequence_model = slide*

#----------------------------------------------------------------------

slide =
## A Slide within a slideshow, that may or may not be contained within a slidesequence.
element slide { slide_attributes, slide_model }

## The content allowable as the main body of a \elementref{slide}.
slide.body.class = Para.model

## Attributes for \elementref{slide}.
slide_attributes = 
  Sectional.attributes,

  ## \attr{overlay} is the number of the current overlay.
  ## This must be specified when part of a slidesequence, else it may be omitted.
  ## Should be unique and rising within a slidesequence.
  attribute overlay { text }?

## Content model for \elementref{slide}.
slide_model = (SectionalFrontMatter.class | subtitle )*, (slide.body.class | BackMatter.class)*

#======================================================================

sidebar =
## A Sidebar; a short section-like object that floats outside the main flow.
element sidebar { sidebar_attributes, sidebar_model }

## The content allowable as the main body of a \elementref{sidebar}.
sidebar.body.class = Para.model

## Attributes for \elementref{sidebar}.
sidebar_attributes = Sectional.attributes

## Content model for \elementref{sidebar}.
sidebar_model = (FrontMatter.class | SectionalFrontMatter.class)*, (sidebar.body.class | BackMatter.class)*

#======================================================================

appendix =
## An Appendix within a document.
element appendix { appendix_attributes, appendix_model }

## The content allowable as the main body of a chapter.
appendix.body.class = Para.model | subparagraph | paragraph
  | subsubsection | subsection | section  | slide | sidebar

## Attributes for \elementref{appendix}.
appendix_attributes = Sectional.attributes

## Content model for \elementref{appendix}.
appendix_model = SectionalFrontMatter.class*, appendix.body.class*

#======================================================================

bibliography =
## A Bibliography within a document.
element bibliography { bibliography_attributes, bibliography_model }

## The content allowable as the main body of a chapter.
bibliography.body.class = Para.model | biblist

## Attributes for \elementref{bibliography}.
bibliography_attributes = 
  Sectional.attributes,
  Listing.attributes,

  ## the list of bib files used to create the bibliography.
  attribute files { text }?,

  ## the bibliographic style to be used to format the bibliography
  ## (presumably a BibTeX bst file name)
  attribute bibstyle { text }?,

  ## the citation style to be used when citing items from the bibliography
  attribute citestyle { text }?,

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



( run in 0.647 second using v1.01-cache-2.11-cpan-f56aa216473 )