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
109
110
111
112
113
|
<?xml encoding="UTF-8"?>
<!ELEMENT TPM (Name,Title,Source,Classification,Build,Install,Remove,
CTAN?)>
<!ATTLIST TPM
id ID #REQUIRED>
<!ELEMENT Title (#PCDATA)>
<!ELEMENT Name (#PCDATA)>
<!ELEMENT Source (Authorgroup,License,Date,Version,Home?,Description)>
<!ELEMENT Description (#PCDATA)>
<!ELEMENT Authorgroup (Author)+>
<!ELEMENT Author (Forename?,Surname,Email?)>
<!ELEMENT Forename (#PCDATA)>
<!ELEMENT Surname (#PCDATA)>
<!ELEMENT Email (#PCDATA)>
<!ELEMENT License EMPTY>
<!ATTLIST License
type (artistic|bsd|dfsg|gfdl|gpl|knuth|lgpl|lppl|nocommercial|nosell
|nosource|other|pd|shareware|unknown) 'unknown'>
<!ELEMENT Date (#PCDATA)>
<!ELEMENT Version (#PCDATA)>
<!ELEMENT Home (Link)*>
<!ELEMENT CTAN (Location,(Date,Version)?)>
<!ELEMENT Location (#PCDATA)>
<!ELEMENT Classification (Status,(Platform+)?,Categories,Keywords?,
Pointers?,XPointers?,Documentation)>
<!ELEMENT Categories (Category)+>
<!ELEMENT Documentation (#PCDATA)>
<!ELEMENT Category (#PCDATA)>
<!ATTLIST Category
type (biblio|collection|config|distribution|system|documentation
|dvips-tool|font-tool|fonts|graphics|language|library|macros
|metapost|omega|source|tex-tool|tool|usergroup) #IMPLIED>
<!ELEMENT Status (#PCDATA)>
<!ELEMENT Platform (#PCDATA)>
<!ELEMENT Keywords (Keyword)+>
<!ELEMENT Keyword (#PCDATA)>
<!ELEMENT Build (Ins?,Run,Doc)>
<!ELEMENT Ins (Pattern)*>
<!ELEMENT Run (Pattern)*>
<!ELEMENT Doc (Pattern)*>
<!ELEMENT Pattern (#PCDATA)>
<!ELEMENT Pointers (Needs*,Relates*,Opposes*)>
<!ELEMENT XPointers (Link)*>
<!ELEMENT Link EMPTY>
<!ATTLIST Link
url CDATA #REQUIRED>
<!ELEMENT Needs EMPTY>
<!ATTLIST Needs
name CDATA #REQUIRED>
<!ELEMENT Relates EMPTY>
<!ATTLIST Relates
name CDATA #REQUIRED>
<!ELEMENT Opposes EMPTY>
<!ATTLIST Opposes
name CDATA #REQUIRED>
<!ELEMENT Install (Before,After)>
<!ELEMENT Remove (Before,After)>
<!ELEMENT Before (Execute)*>
<!ELEMENT After (Execute)*>
<!ELEMENT Execute EMPTY>
<!ATTLIST Execute
function CDATA #REQUIRED
parameter CDATA #REQUIRED>
<!ELEMENT TPMS (TPM)+>
|