summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rnc/LaTeXML/LaTeXML.rng
blob: acd16ea8706f4723dee6b0611ca58a68aa146be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<!--
  /=====================================================================\ 
  |  LaTeXML.rnc                                                        |
  | Document Type 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:svg="http://www.w3.org/2000/svg" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://relaxng.org/ns/structure/1.0">
  <include href="LaTeXML-common.rng"/>
  <include href="LaTeXML-inline.rng"/>
  <include href="LaTeXML-block.rng"/>
  <include href="LaTeXML-para.rng"/>
  <include href="LaTeXML-math.rng"/>
  <include href="LaTeXML-tabular.rng"/>
  <include href="LaTeXML-picture.rng"/>
  <include href="LaTeXML-structure.rng"/>
  <include href="LaTeXML-bib.rng"/>
  <define name="Inline.model">
    <a:documentation>Combined model for inline content.</a:documentation>
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="Inline.class"/>
        <ref name="Misc.class"/>
        <ref name="Meta.class"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="Block.model">
    <a:documentation>Combined model for physical block-level content.</a:documentation>
    <zeroOrMore>
      <choice>
        <ref name="Block.class"/>
        <ref name="Misc.class"/>
        <ref name="Meta.class"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="Flow.model">
    <a:documentation>Combined model for general flow containing both inline and block level content.</a:documentation>
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="Inline.class"/>
        <ref name="Block.class"/>
        <ref name="Misc.class"/>
        <ref name="Meta.class"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="Para.model">
    <a:documentation>Combined model for logical block-level context.</a:documentation>
    <zeroOrMore>
      <choice>
        <ref name="Para.class"/>
        <ref name="Meta.class"/>
      </choice>
    </zeroOrMore>
  </define>
  <start>
    <ref name="document"/>
  </start>
</grammar>