~ubuntu-branches/ubuntu/oneiric/muse-el/oneiric

« back to all changes in this revision

Viewing changes to etc/muse.rnc

  • Committer: Bazaar Package Importer
  • Author(s): Michael W. Olson (GNU address)
  • Date: 2008-01-09 15:51:46 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20080109155146-vkc4ohnzv96spdpm
Tags: upstream-3.11
ImportĀ upstreamĀ versionĀ 3.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
2
2
namespace rng = "http://relaxng.org/ns/structure/1.0"
3
3
 
4
 
#   Emacs Muse RELAX NG Schema v. 1.0
 
4
#   Emacs Muse RELAX NG Schema v. 1.1
5
5
#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
6
6
 
7
7
#   Author: Brad Collins (brad AT chenla DOT org)
9
9
 
10
10
#   This is free software; you can redistribute it and/or modify it
11
11
#   under the terms of the GNU General Public License as published by
12
 
#   the Free Software Foundation; either version 2 of the License, or
 
12
#   the Free Software Foundation; either version 3 of the License, or
13
13
#   (at your option) any later version. This material is distributed in
14
14
#   the hope that it will be useful, but WITHOUT ANY WARRANTY; without
15
15
#   even the implied warranty of MERCHANTABILITY or FITNESS FOR A
50
50
#    - Permit a list to be nested inside of a definition.
51
51
#    - Permit a link to be inside of a title.
52
52
#    - Permit emphasis to be inside of other emphasis.
 
53
#
 
54
#   Version 1.1:
 
55
#    - Add the <cite> tag.
53
56
 
54
57
# Contributors:
55
58
 
124
127
   ## paragraph element
125
128
muse.element.p = element p {
126
129
   muse.element.code*
 
130
   & muse.element.cite*
127
131
   & muse.element.format*
128
132
   & muse.element.image*
129
133
   & muse.element.link*
142
146
  ## verse line element
143
147
muse.element.line = element line {
144
148
   muse.element.code*
 
149
   & muse.element.cite*
145
150
   & muse.element.format*
146
151
   & muse.element.image*
147
152
   & muse.element.link*
162
167
   muse.element.term?
163
168
   & muse.element.definition*
164
169
   & muse.element.code*
 
170
   & muse.element.cite*
165
171
   & muse.element.format*
166
172
   & muse.element.image*
167
173
   & muse.element.link*
179
185
 
180
186
muse.element.term = element term {
181
187
   muse.element.code*
 
188
   & muse.element.cite*
182
189
   & muse.element.format*
183
190
   & muse.element.image*
184
191
   & muse.element.link*
188
195
   ## def
189
196
muse.element.definition = element definition {
190
197
   muse.element.code*
 
198
   & muse.element.cite*
191
199
   & muse.element.format*
192
200
   & muse.element.image*
193
201
   & muse.element.link*
205
213
   muse.attribute.type?
206
214
   & muse.attribute.level?
207
215
   & muse.element.code*
 
216
   & muse.element.cite*
208
217
   & muse.element.format*
209
218
   & text }?
210
219
 
 
220
  ## cite element
 
221
  ## used for citing sources
 
222
muse.element.cite = element cite {
 
223
   muse.attribute.type?
 
224
   & text }?
 
225
 
211
226
  ## code element
212
227
  ## used for small pieces of monospace text, like commands
213
228
muse.element.code = element code { text }?
272
287
  ## td element
273
288
muse.element.td = element td {
274
289
   muse.element.code*
 
290
   & muse.element.cite*
275
291
   & muse.element.format*
276
292
   & muse.element.image*
277
293
   & muse.element.link*
283
299
  ## th element
284
300
muse.element.th = element th {
285
301
   muse.element.code*
 
302
   & muse.element.cite*
286
303
   & muse.element.format*
287
304
   & muse.element.image*
288
305
   & muse.element.link*