diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/schema/rnc/LaTeXML/LaTeXML-para.rnc')
-rw-r--r-- | Master/texmf-dist/source/latex/stex/schema/rnc/LaTeXML/LaTeXML-para.rnc | 193 |
1 files changed, 0 insertions, 193 deletions
diff --git a/Master/texmf-dist/source/latex/stex/schema/rnc/LaTeXML/LaTeXML-para.rnc b/Master/texmf-dist/source/latex/stex/schema/rnc/LaTeXML/LaTeXML-para.rnc deleted file mode 100644 index 42c3c46f4be..00000000000 --- a/Master/texmf-dist/source/latex/stex/schema/rnc/LaTeXML/LaTeXML-para.rnc +++ /dev/null @@ -1,193 +0,0 @@ -# /=====================================================================\ -# | LaTeXML-para.rnc | -# | RelaxNG model for LaTeXML generated documents | -# |=====================================================================| -# | Part of LaTeXML: | -# | Public domain software, produced as part of work done by the | -# | United States Government & not subject to copyright in the US. | -# |=====================================================================| -# | Bruce Miller <bruce.miller@nist.gov> #_# | -# | http://dlmf.nist.gov/LaTeXML/ (o o) | -# \=========================================================ooo==U==ooo=/ - -default namespace = "http://dlmf.nist.gov/LaTeXML" - -## This module defines the following `logical' block elements. -Para.class &= para* - & theorem* & proof* - & figure* & table* & float* & listing* - -## Additionally, it defines these miscellaneous elements that can appear -## in both inline and block contexts. -Misc.class &= inline-para* - -#====================================================================== - -para = -## A Logical paragraph. It has an \attr{id}, but not a \attr{label}. -element para { para_attributes & para_model } - -## Attributes for \elementref{para}. -para_attributes = Common.attributes & ID.attributes - - -## Content model for \elementref{para}. -para_model = Block.model - -#====================================================================== - -inline-para = -## An inline para. Actually, can appear in inline or block mode, but -## typesets its contents as para. -element inline-para { inline-para_attributes & inline-para_model } - -## Attributes for \elementref{inline-para}. -inline-para_attributes = Common.attributes & Positionable.attributes - -## Content model for \elementref{inline-para}. -inline-para_model = Para.model - -#====================================================================== - -theorem = -## A theorem or similar object. The \attr{class} attribute can be used to distinguish -## different kinds of theorem. -element theorem { theorem_attributes & theorem_model } - -## Attributes for \elementref{theorem}. -theorem_attributes = Common.attributes & Labelled.attributes - -## Content model for \elementref{theorem}. -theorem_model = title? & Para.model - -#====================================================================== - -proof = -## A proof or similar object. The \attr{class} attribute can be used to distinguish -## different kinds of proof. -element proof { proof_attributes & proof_model } - -## Attributes for \elementref{proof}. -proof_attributes = Common.attributes & Labelled.attributes - -## Content model for \elementref{proof}. -proof_model = title? & Para.model - -#====================================================================== - -## These are the additional elements representing figure and -## table captions. -## NOTE: Could title sensibly be reused here, instead? -## Or, should caption be used for theorem and proof? -Caption.class = caption | toccaption - -#====================================================================== - -figure = -## A figure, possibly captioned. -element figure { figure_attributes & figure_model } - -## Attributes for \elementref{figure}. -figure_attributes = - Common.attributes & - Labelled.attributes & - Positionable.attributes & - - ## the vertical floating placement parameter that determines where the object is displayed. - attribute placement { text }? - -### MiKo: only allowing one caption, is this right? same for table, float, and listing below -## Content model for \elementref{figure}. -figure_model = figure* & Block.model & Caption.class - -#====================================================================== - -table = -## A Table, possibly captioned. This is not necessarily a \elementref{tabular}. -element table { table_attributes & table_model } - -## Attributes for \elementref{table}. -table_attributes = - Common.attributes & - Labelled.attributes & - Positionable.attributes & - - ## the vertical floating placement parameter that determines where the object is displayed. - attribute placement { text }? - -## Content model for \elementref{table}. -table_model = table* & Block.model & Caption.class - -#====================================================================== - -float = -## A generic float, possibly captioned, something other than a table, figure or listing -element float { float_attributes & float_model } - -## Attributes for \elementref{float}. -float_attributes = - Common.attributes & - Labelled.attributes & - Positionable.attributes & - - ## the vertical floating placement parameter that determines where the object is displayed. - attribute placement { text }? - -## Content model for \elementref{float}. -float_model = float* & Block.model & Caption.class - -#====================================================================== - -listing = -## A Listing, possibly captioned. -element listing { listing_attributes & listing_model } - -## Attributes for \elementref{listing}. -listing_attributes = - Common.attributes & - Labelled.attributes & - Positionable.attributes & - - ## the floating placement parameter that determines where the object is displayed. - attribute placement { text }? - -## Content model for \elementref{listing}. -listing_model = Block.model & Caption.class - -#====================================================================== - -caption = -## A caption for a \elementref{table} or \elementref{figure}. -element caption { caption_attributes & caption_model } - -## Attributes for \elementref{caption}. -caption_attributes = - Common.attributes & - attribute font { text }? & - - ## Indicates the text size to use. (See \elementref{text}) - attribute size { "Huge" | "huge" | "LARGE" | "Large" | "large" | "normal" - | "small" | "footnote" | "tiny" | text }? & - - ## the color to use; any CSS compatible color specification. - attribute color { text }? - - -## Content model for \elementref{caption}, -## basically Inline.model with tag included (normally, but not necessarily, tag would come first). -caption_model = tag* & text & Inline.class & Misc.class & Meta.class - -#====================================================================== - -toccaption = -## A short form of \elementref{table} or \elementref{figure} caption, -## used for lists of figures or similar. -element toccaption { toccaption_attributes & toccaption_model } - -## Attributes for \elementref{toccaption}. -toccaption_attributes = Common.attributes - -### MiKo: here we allowed multiple tags, but now we can restrict, do we want that? -## Content model for \elementref{toccaption}. -toccaption_model = text & Inline.class & Misc.class & Meta.class & tag* -#====================================================================== |