summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rnc/LaTeXML/svg-font.rnc
blob: f14e10c23420e7374d4422fc07aed20e9bdc005c (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
default namespace = "http://www.w3.org/2000/svg"
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"


## 
##     SVG 1.1 Font Module
##     file: svg-font.rng
## 
##     This is SVG, a language for describing two-dimensional graphics in XML.
##     Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
## 
##     $Id: svg-font.rng,v 1.1 2003/07/15 07:11:10 dean Exp $
##   

## 
##     Font
## 
##         font, font-face, glyph, missing-glyph, hkern, vkern, font-face-src,
##         font-face-uri, font-face-format, font-face-name, definition-src
## 
##     This module declares markup to provide support for template.
##   
[ xml:lang = "en" ]
grammar {
  include "svg-basic-font.rnc"
  a:documentation [
    "\x{a}" ~
    "    font-face: Font Face Element\x{a}" ~
    "  "
  ]
  SVG.font-face.extra.class &= definition-src?
  a:documentation [ "\x{a}" ~ "    glyph: Glyph Element\x{a}" ~ "  " ]
  SVG.glyph.class |=
    SVG.Animation.class
    | SVG.Structure.class
    | SVG.Conditional.class
    | SVG.Image.class
    | SVG.Style.class
    | SVG.Shape.class
    | SVG.Text.class
    | SVG.Marker.class
    | SVG.Profile.class
    | SVG.Gradient.class
    | SVG.Pattern.class
    | SVG.Clip.class
    | SVG.Mask.class
    | SVG.Filter.class
    | SVG.Cursor.class
    | SVG.Hyperlink.class
    | SVG.View.class
    | SVG.Script.class
    | SVG.Font.class
  a:documentation [
    "\x{a}" ~
    "    missing-glyph: Missing Glyph Element\x{a}" ~
    "  "
  ]
  SVG.missing-glyph.class |=
    SVG.Animation.class
    | SVG.Structure.class
    | SVG.Conditional.class
    | SVG.Image.class
    | SVG.Style.class
    | SVG.Shape.class
    | SVG.Text.class
    | SVG.Marker.class
    | SVG.Profile.class
    | SVG.Gradient.class
    | SVG.Pattern.class
    | SVG.Clip.class
    | SVG.Mask.class
    | SVG.Filter.class
    | SVG.Cursor.class
    | SVG.Hyperlink.class
    | SVG.View.class
    | SVG.Script.class
    | SVG.Font.class
  a:documentation [
    "\x{a}" ~
    "    font-face-uri: Font Face URI Element\x{a}" ~
    "  "
  ]
  SVG.font-face-uri.content |= font-face-format*
  a:documentation [
    "\x{a}" ~
    "    font-face-format: Font Face Format Element\x{a}" ~
    "  "
  ]
  SVG.font-face-format.content = empty
  font-face-format =
    element font-face-format {
      attlist.font-face-format, SVG.font-face-format.content
    }
  attlist.font-face-format &=
    SVG.Core.attrib,
    attribute string { text }?
  a:documentation [
    "\x{a}" ~
    "    definition-src: Definition Source Element\x{a}" ~
    "  "
  ]
  SVG.definition-src.content = empty
  definition-src =
    element definition-src {
      attlist.definition-src, SVG.definition-src.content
    }
  attlist.definition-src &= SVG.Core.attrib, SVG.XLinkRequired.attrib
}