summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-tabular.rng
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-tabular.rng')
-rw-r--r--Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-tabular.rng214
1 files changed, 0 insertions, 214 deletions
diff --git a/Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-tabular.rng b/Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-tabular.rng
deleted file mode 100644
index c7c653612a4..00000000000
--- a/Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-tabular.rng
+++ /dev/null
@@ -1,214 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- /=====================================================================\
- | LaTeXML-tabular.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=/
--->
-<grammar ns="http://dlmf.nist.gov/LaTeXML" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
- <define name="Misc.class" combine="interleave">
- <a:documentation>This module defines the basic tabular, or alignment, structure.
-It is roughly parallel to the HTML model.</a:documentation>
- <zeroOrMore>
- <ref name="tabular"/>
- </zeroOrMore>
- </define>
- <!-- ====================================================================== -->
- <define name="tabular">
- <element name="tabular">
- <a:documentation>An alignment structure corresponding to tabular or various similar forms.
-The model is basically a copy of HTML4's table.</a:documentation>
- <interleave>
- <ref name="tabular_attributes"/>
- <ref name="tabular_model"/>
- </interleave>
- </element>
- </define>
- <define name="tabular_attributes">
- <a:documentation>Attributes for \elementref{tabular}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <optional>
- <attribute name="vattach">
- <a:documentation>which row's baseline aligns with the container's baseline.</a:documentation>
- <choice>
- <value>top</value>
- <value>middle</value>
- <value>bottom</value>
- </choice>
- </attribute>
- </optional>
- <optional>
- <attribute name="width">
- <a:documentation>the desired width of the tabular.</a:documentation>
- <ref name="Length.type"/>
- </attribute>
- </optional>
- </interleave>
- </define>
- <define name="tabular_model">
- <a:documentation>MiKo: this can be tightened. Is it really true that we have more than one body?
-Content model for \elementref{tabular}.</a:documentation>
- <interleave>
- <zeroOrMore>
- <ref name="thead"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="tfoot"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="tbody"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="tr"/>
- </zeroOrMore>
- </interleave>
- </define>
- <!-- ====================================================================== -->
- <define name="thead">
- <element name="thead">
- <a:documentation>A container for a set of rows that correspond to the header of the tabular.</a:documentation>
- <interleave>
- <ref name="thead_attributes"/>
- <ref name="thead_model"/>
- </interleave>
- </element>
- </define>
- <define name="thead_attributes">
- <a:documentation>Attributes for \elementref{thead}.</a:documentation>
- <ref name="Common.attributes"/>
- </define>
- <define name="thead_model">
- <a:documentation>Content model for \elementref{thead}.</a:documentation>
- <zeroOrMore>
- <ref name="tr"/>
- </zeroOrMore>
- </define>
- <!-- ====================================================================== -->
- <define name="tfoot">
- <element name="tfoot">
- <a:documentation>A container for a set of rows that correspond to the footer of the tabular.</a:documentation>
- <interleave>
- <ref name="tfoot_attributes"/>
- <ref name="tfoot_model"/>
- </interleave>
- </element>
- </define>
- <define name="tfoot_attributes">
- <a:documentation>Attributes for \elementref{tfoot}.</a:documentation>
- <ref name="Common.attributes"/>
- </define>
- <define name="tfoot_model">
- <a:documentation>Content model for \elementref{tfoot}.</a:documentation>
- <zeroOrMore>
- <ref name="tr"/>
- </zeroOrMore>
- </define>
- <!-- ====================================================================== -->
- <define name="tbody">
- <element name="tbody">
- <a:documentation>A container for a set of rows corresponding to the body of the tabular.</a:documentation>
- <interleave>
- <ref name="tbody_attributes"/>
- <ref name="tbody_model"/>
- </interleave>
- </element>
- </define>
- <define name="tbody_attributes">
- <a:documentation>Attributes for \elementref{tbody}.</a:documentation>
- <ref name="Common.attributes"/>
- </define>
- <define name="tbody_model">
- <a:documentation>Content model for \elementref{tbody}.</a:documentation>
- <zeroOrMore>
- <ref name="tr"/>
- </zeroOrMore>
- </define>
- <!-- ====================================================================== -->
- <define name="tr">
- <element name="tr">
- <a:documentation>A row of a tabular.</a:documentation>
- <interleave>
- <ref name="tr_attributes"/>
- <ref name="tr_model"/>
- </interleave>
- </element>
- </define>
- <define name="tr_attributes">
- <a:documentation>Attributes for \elementref{tr}.</a:documentation>
- <ref name="Common.attributes"/>
- </define>
- <define name="tr_model">
- <a:documentation>Content model for \elementref{tr}.</a:documentation>
- <zeroOrMore>
- <ref name="td"/>
- </zeroOrMore>
- </define>
- <!-- ====================================================================== -->
- <define name="td">
- <element name="td">
- <a:documentation>A cell in a row of a tabular.</a:documentation>
- <interleave>
- <ref name="td_attributes"/>
- <ref name="td_model"/>
- </interleave>
- </element>
- </define>
- <define name="td_attributes">
- <a:documentation>Attributes for \elementref{td}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <optional>
- <attribute name="colspan">
- <a:documentation>indicates how many columns this cell spans or covers.</a:documentation>
- <data type="nonNegativeInteger"/>
- </attribute>
- </optional>
- <optional>
- <attribute name="rowspan">
- <a:documentation>indicates how many rows this cell spans or covers.</a:documentation>
- <data type="nonNegativeInteger"/>
- </attribute>
- </optional>
- <optional>
- <!--
- This would have been clearer, but messes up conversion to dtd
- attribute align { "left" | "right" | "center" | "justify" | text }? &
- -->
- <attribute name="align">
- <a:documentation> specifies the alignment of the content.</a:documentation>
- </attribute>
- </optional>
- <optional>
- <attribute name="width">
- <a:documentation>specifies the desired width for the column.</a:documentation>
- <ref name="Length.type"/>
- </attribute>
- </optional>
- <optional>
- <attribute name="border">
- <a:documentation>records a sequence of t or tt, r or rr, b or bb and l or ll
-for borders or doubled borders on any side of the cell.</a:documentation>
- </attribute>
- </optional>
- <optional>
- <attribute name="thead">
- <a:documentation>whether this cell corresponds to a table head or foot.</a:documentation>
- <data type="boolean"/>
- </attribute>
- </optional>
- </interleave>
- </define>
- <define name="td_model">
- <a:documentation>Content model for \elementref{td}.</a:documentation>
- <ref name="Flow.model"/>
- </define>
-</grammar>
-<!-- ====================================================================== -->