summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-picture.rng
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-picture.rng')
-rw-r--r--Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-picture.rng594
1 files changed, 0 insertions, 594 deletions
diff --git a/Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-picture.rng b/Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-picture.rng
deleted file mode 100644
index d5f5ea15dc3..00000000000
--- a/Master/texmf-dist/source/latex/stex/schema/rng/LaTeXML-picture.rng
+++ /dev/null
@@ -1,594 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- /=====================================================================\
- | LaTeXML-picture.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=/
--->
-<!--
- ======================================================================
- Picture; Experimental, possibly should evolve to SVG?
- ======================================================================
--->
-<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 a picture environment, roughly a subset of SVG.
-NOTE: Consider whether it is sensible to drop this and incorporate SVG itself.</a:documentation>
- <zeroOrMore>
- <ref name="picture"/>
- </zeroOrMore>
- </define>
- <!-- ====================================================================== -->
- <define name="Picture.class">
- <interleave>
- <zeroOrMore>
- <ref name="g"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="rect"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="line"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="circle"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="path"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="arc"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="wedge"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="ellipse"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="polygon"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="bezier"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="parabola"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="curve"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="dots"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="grid"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="clip"/>
- </zeroOrMore>
- </interleave>
- </define>
- <define name="Picture.attributes">
- <a:documentation>These attributes correspond roughly to SVG, but need documentation.</a:documentation>
- <interleave>
- <optional>
- <attribute name="x"/>
- </optional>
- <optional>
- <attribute name="y"/>
- </optional>
- <optional>
- <attribute name="r"/>
- </optional>
- <optional>
- <attribute name="rx"/>
- </optional>
- <optional>
- <attribute name="ry"/>
- </optional>
- <optional>
- <attribute name="width"/>
- </optional>
- <optional>
- <attribute name="height"/>
- </optional>
- <optional>
- <attribute name="fill"/>
- </optional>
- <optional>
- <attribute name="stroke"/>
- </optional>
- <optional>
- <attribute name="stroke-width"/>
- </optional>
- <optional>
- <attribute name="stroke-dasharray"/>
- </optional>
- <optional>
- <attribute name="transform"/>
- </optional>
- <optional>
- <attribute name="terminators"/>
- </optional>
- <optional>
- <attribute name="arrowlength"/>
- </optional>
- <optional>
- <attribute name="points"/>
- </optional>
- <optional>
- <attribute name="showpoints"/>
- </optional>
- <optional>
- <attribute name="displayedpoints"/>
- </optional>
- <optional>
- <attribute name="arc"/>
- </optional>
- <optional>
- <attribute name="angle1"/>
- </optional>
- <optional>
- <attribute name="angle2"/>
- </optional>
- <optional>
- <attribute name="arcsepA"/>
- </optional>
- <optional>
- <attribute name="arcsepB"/>
- </optional>
- <optional>
- <attribute name="curvature"/>
- </optional>
- </interleave>
- </define>
- <define name="PictureGroup.attributes">
- <a:documentation>These attributes correspond roughly to SVG, but need documentation.</a:documentation>
- <interleave>
- <optional>
- <attribute name="pos"/>
- </optional>
- <optional>
- <attribute name="framed">
- <data type="boolean"/>
- </attribute>
- </optional>
- <optional>
- <attribute name="frametype" a:defaultValue="rect">
- <choice>
- <value>rect</value>
- <value>circle</value>
- <value>oval</value>
- </choice>
- </attribute>
- </optional>
- <optional>
- <attribute name="fillframe">
- <data type="boolean"/>
- </attribute>
- </optional>
- <optional>
- <attribute name="boxsep"/>
- </optional>
- <optional>
- <attribute name="shadowbox">
- <data type="boolean"/>
- </attribute>
- </optional>
- <optional>
- <attribute name="doubleline">
- <data type="boolean"/>
- </attribute>
- </optional>
- </interleave>
- </define>
- <!-- ====================================================================== -->
- <define name="picture">
- <element name="picture">
- <a:documentation>A picture environment.</a:documentation>
- <interleave>
- <ref name="picture_attributes"/>
- <ref name="picture_model"/>
- </interleave>
- </element>
- </define>
- <define name="picture_attributes">
- <a:documentation>Attributes for \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="ID.attributes"/>
- <ref name="Picture.attributes"/>
- <ref name="Imageable.attributes"/>
- <optional>
- <attribute name="clip">
- <data type="boolean"/>
- </attribute>
- </optional>
- <optional>
- <attribute name="baseline"/>
- </optional>
- <optional>
- <attribute name="unitlength"/>
- </optional>
- <optional>
- <attribute name="xunitlength"/>
- </optional>
- <optional>
- <attribute name="yunitlength"/>
- </optional>
- <optional>
- <attribute name="tex"/>
- </optional>
- <optional>
- <attribute name="content-tex"/>
- </optional>
- </interleave>
- </define>
- <define name="picture_model">
- <a:documentation>Content model for \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="Picture.class"/>
- <ref name="Inline.class"/>
- <ref name="Misc.class"/>
- <ref name="Meta.class"/>
- </interleave>
- </define>
- <!-- ====================================================================== -->
- <define name="g">
- <element name="g">
- <a:documentation>A graphical grouping; the content is inherits by the transformations,
-positioning and other properties.</a:documentation>
- <interleave>
- <ref name="g_attributes"/>
- <ref name="g_model"/>
- </interleave>
- </element>
- </define>
- <define name="g_attributes">
- <a:documentation>Attributes for \elementref{g}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- <ref name="PictureGroup.attributes"/>
- </interleave>
- </define>
- <define name="g_model">
- <a:documentation>Content model for \elementref{g}.</a:documentation>
- <interleave>
- <ref name="Picture.class"/>
- <ref name="Inline.class"/>
- <ref name="Misc.class"/>
- <ref name="Meta.class"/>
- </interleave>
- </define>
- <!-- ====================================================================== -->
- <define name="rect">
- <element name="rect">
- <a:documentation>A rectangle within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="rect_attributes"/>
- <ref name="rect_model"/>
- </interleave>
- </element>
- </define>
- <define name="rect_attributes">
- <a:documentation>Attributes for \elementref{rect}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="rect_model">
- <a:documentation>Content model for \elementref{rect}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="line">
- <element name="line">
- <a:documentation>A line within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="line_attributes"/>
- <ref name="line_model"/>
- </interleave>
- </element>
- </define>
- <define name="line_attributes">
- <a:documentation>Attributes for \elementref{line}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="line_model">
- <a:documentation>Content model for \elementref{line}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="polygon">
- <element name="polygon">
- <a:documentation>A polygon within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="polygon_attributes"/>
- <ref name="polygon_model"/>
- </interleave>
- </element>
- </define>
- <define name="polygon_attributes">
- <a:documentation>Attributes for \elementref{polygon}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="polygon_model">
- <a:documentation>Content model for \elementref{polygon}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="wedge">
- <element name="wedge">
- <a:documentation>A wedge within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="wedge_attributes"/>
- <ref name="wedge_model"/>
- </interleave>
- </element>
- </define>
- <define name="wedge_attributes">
- <a:documentation>Attributes for \elementref{wedge}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="wedge_model">
- <a:documentation>Content model for \elementref{wedge}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="arc">
- <element name="arc">
- <a:documentation>An arc within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="arc_attributes"/>
- <ref name="arc_model"/>
- </interleave>
- </element>
- </define>
- <define name="arc_attributes">
- <a:documentation>Attributes for \elementref{arc}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="arc_model">
- <a:documentation>Content model for \elementref{arc}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="circle">
- <element name="circle">
- <a:documentation>A circle within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="circle_attributes"/>
- <ref name="circle_model"/>
- </interleave>
- </element>
- </define>
- <define name="circle_attributes">
- <a:documentation>Attributes for \elementref{circle}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="circle_model">
- <a:documentation>Content model for \elementref{circle}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="ellipse">
- <element name="ellipse">
- <a:documentation>An ellipse within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="ellipse_attributes"/>
- <ref name="ellipse_model"/>
- </interleave>
- </element>
- </define>
- <define name="ellipse_attributes">
- <a:documentation>Attributes for \elementref{ellipse}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="ellipse_model">
- <a:documentation>Content model for \elementref{ellipse}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="path">
- <element name="path">
- <a:documentation>A path within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="path_attributes"/>
- <ref name="path_model"/>
- </interleave>
- </element>
- </define>
- <define name="path_attributes">
- <a:documentation>Attributes for \elementref{path}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="path_model">
- <a:documentation>Content model for \elementref{path}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="bezier">
- <element name="bezier">
- <a:documentation>A bezier curve within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="bezier_attributes"/>
- <ref name="bezier_model"/>
- </interleave>
- </element>
- </define>
- <define name="bezier_attributes">
- <a:documentation>Attributes for \elementref{bezier}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="bezier_model">
- <a:documentation>Content model for \elementref{bezier}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="curve">
- <element name="curve">
- <a:documentation>A curve within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="curve_attributes"/>
- <ref name="curve_model"/>
- </interleave>
- </element>
- </define>
- <define name="curve_attributes">
- <a:documentation>Attributes for \elementref{curve}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="curve_model">
- <a:documentation>Content model for \elementref{curve}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="parabola">
- <element name="parabola">
- <a:documentation>A parabola curve within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="parabola_attributes"/>
- <ref name="parabola_model"/>
- </interleave>
- </element>
- </define>
- <define name="parabola_attributes">
- <a:documentation>Attributes for \elementref{parabola}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="parabola_model">
- <a:documentation>Content model for \elementref{parabola}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="dots">
- <element name="dots">
- <a:documentation>A sequence of dots (?) within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="dots_attributes"/>
- <ref name="dots_model"/>
- </interleave>
- </element>
- </define>
- <define name="dots_attributes">
- <a:documentation>Attributes for \elementref{dots}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="dots_model">
- <a:documentation>Content model for \elementref{dots}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="grid">
- <element name="grid">
- <a:documentation>A grid within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="grid_attributes"/>
- <ref name="grid_model"/>
- </interleave>
- </element>
- </define>
- <define name="grid_attributes">
- <a:documentation>Attributes for \elementref{grid}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="grid_model">
- <a:documentation>Content model for \elementref{grid}.</a:documentation>
- <empty/>
- </define>
- <!-- ====================================================================== -->
- <define name="clip">
- <element name="clip">
- <a:documentation>Establishes a clipping region within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="clip_attributes"/>
- <ref name="clip_model"/>
- </interleave>
- </element>
- </define>
- <define name="clip_attributes">
- <a:documentation>Attributes for \elementref{clip}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="clip_model">
- <a:documentation>Content model for \elementref{clip}.</a:documentation>
- <zeroOrMore>
- <ref name="clippath"/>
- </zeroOrMore>
- </define>
- <!-- ====================================================================== -->
- <define name="clippath">
- <element name="clippath">
- <a:documentation>Establishes a clipping region within a \elementref{picture}.</a:documentation>
- <interleave>
- <ref name="clippath_attributes"/>
- <ref name="clippath_model"/>
- </interleave>
- </element>
- </define>
- <define name="clippath_attributes">
- <a:documentation>Attributes for \elementref{clippath}.</a:documentation>
- <interleave>
- <ref name="Common.attributes"/>
- <ref name="Picture.attributes"/>
- </interleave>
- </define>
- <define name="clippath_model">
- <a:documentation>Content model for \elementref{clippath}.</a:documentation>
- <interleave>
- <ref name="Picture.class"/>
- <ref name="Inline.class"/>
- <ref name="Misc.class"/>
- <ref name="Meta.class"/>
- </interleave>
- </define>
-</grammar>
-<!-- ====================================================================== -->