@teipublisher/oddity-language-server 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +48 -2
  3. package/dist/edit.js +313 -0
  4. package/dist/edit.js.map +7 -0
  5. package/dist/index.js +803 -0
  6. package/dist/index.js.map +7 -0
  7. package/dist/node.cjs +44962 -0
  8. package/dist/node.cjs.map +7 -0
  9. package/package.json +74 -4
  10. package/schema/README.md +41 -0
  11. package/schema/docbook/docbook.rng +18457 -0
  12. package/schema/jats/BITS-embedded-index2.ent.rng +340 -0
  13. package/schema/jats/BITS-question-answer2.ent.rng +795 -0
  14. package/schema/jats/JATS-XHTMLtablesetup1-3.ent.rng +614 -0
  15. package/schema/jats/JATS-ali-namespace1-3.ent.rng +284 -0
  16. package/schema/jats/JATS-archivearticle1-3-mathml3.rng +1277 -0
  17. package/schema/jats/JATS-archivecustom-classes1-3.ent.rng +427 -0
  18. package/schema/jats/JATS-archivecustom-mixes1-3.ent.rng +630 -0
  19. package/schema/jats/JATS-archivecustom-models1-3.ent.rng +2205 -0
  20. package/schema/jats/JATS-articlemeta1-3.ent.rng +3138 -0
  21. package/schema/jats/JATS-backmatter1-3.ent.rng +601 -0
  22. package/schema/jats/JATS-chars1-3.ent.rng +715 -0
  23. package/schema/jats/JATS-common-atts1-3.ent.rng +367 -0
  24. package/schema/jats/JATS-common1-3.ent.rng +6007 -0
  25. package/schema/jats/JATS-default-classes1-3.ent.rng +1953 -0
  26. package/schema/jats/JATS-default-mixes1-3.ent.rng +583 -0
  27. package/schema/jats/JATS-display1-3.ent.rng +1669 -0
  28. package/schema/jats/JATS-format1-3.ent.rng +1256 -0
  29. package/schema/jats/JATS-funding1-3.ent.rng +1389 -0
  30. package/schema/jats/JATS-journalmeta1-3.ent.rng +691 -0
  31. package/schema/jats/JATS-link1-3.ent.rng +664 -0
  32. package/schema/jats/JATS-list1-3.ent.rng +747 -0
  33. package/schema/jats/JATS-math1-3.ent.rng +620 -0
  34. package/schema/jats/JATS-mathml3-mathmlsetup1-3.ent.rng +459 -0
  35. package/schema/jats/JATS-nlmcitation1-3.ent.rng +522 -0
  36. package/schema/jats/JATS-para1-3.ent.rng +780 -0
  37. package/schema/jats/JATS-phrase1-3.ent.rng +725 -0
  38. package/schema/jats/JATS-references1-3.ent.rng +1713 -0
  39. package/schema/jats/JATS-related-object1-3.ent.rng +453 -0
  40. package/schema/jats/JATS-section1-3.ent.rng +482 -0
  41. package/schema/jats/mathml3-qname1.mod.rng +61 -0
  42. package/schema/jats/mathml3.rng +4094 -0
  43. package/schema/jats/xhtml-inlstyle-1.mod.rng +37 -0
  44. package/schema/jats/xhtml-table-1.mod.rng +426 -0
  45. package/schema/odd/teipublisher_odds.rng +12769 -0
  46. package/schema/tei/tei_all.rng +23212 -0
  47. package/src/core/association.ts +155 -0
  48. package/src/core/complete.ts +147 -0
  49. package/src/core/elements.ts +86 -0
  50. package/src/core/outline.ts +156 -0
  51. package/src/core/schema.ts +55 -0
  52. package/src/core/tags.ts +104 -0
  53. package/src/core/toml.ts +64 -0
  54. package/src/core/validate.ts +128 -0
  55. package/src/core/wellformed.ts +16 -0
  56. package/src/edit.ts +11 -0
  57. package/src/index.ts +16 -0
  58. package/src/node.ts +39 -0
  59. package/src/server/server.ts +248 -0
@@ -0,0 +1,1256 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- ============================================================= -->
3
+ <!-- MODULE: Formatting Element Classes -->
4
+ <!-- VERSION: ANSI/NISO JATS Version 1.3 (Z39.96-2021) -->
5
+ <!-- DATE: June 2021 -->
6
+ <!---->
7
+ <!-- ============================================================= -->
8
+ <!-- ============================================================= -->
9
+ <!-- PUBLIC DOCUMENT TYPE DEFINITION -->
10
+ <!-- TYPICAL INVOCATION -->
11
+ <!--
12
+ "-//NLM//DTD JATS (Z39.96) JATS DTD Suite Formatting Element Classes v1.3 20210610//EN"
13
+ Delivered as file "JATS-format1-3.ent"
14
+ -->
15
+ <!-- ============================================================= -->
16
+ <!-- ============================================================= -->
17
+ <!-- SYSTEM: JATS DTD Suite -->
18
+ <!---->
19
+ <!-- PURPOSE: Elements concerned with rendition of output, for -->
20
+ <!-- example printing on a page or display on a screen -->
21
+ <!---->
22
+ <!-- TAG SET SPONSOR -->
23
+ <!-- National Center for Biotechnology -->
24
+ <!-- Information (NCBI) -->
25
+ <!-- National Library of Medicine (NLM) -->
26
+ <!---->
27
+ <!-- CREATED FOR: -->
28
+ <!-- This module was created for the JATS DTD Suite. -->
29
+ <!-- Digital archives and publishers may use the -->
30
+ <!-- DTD as is for markup of journal literature or -->
31
+ <!-- related material for archiving and transferring -->
32
+ <!-- such material between archives or create a -->
33
+ <!-- custom XML DTD from the Suite for -->
34
+ <!-- these purposes. -->
35
+ <!---->
36
+ <!-- This DTD is in the public domain. An organization -->
37
+ <!-- that wishes to create its own DTD from the suite -->
38
+ <!-- may do so without permission from NLM. -->
39
+ <!---->
40
+ <!-- The suite has been set up to be extended using a -->
41
+ <!-- new DTD file and a new DTD-specific customization -->
42
+ <!-- module to redefine the many Parameter Entities. -->
43
+ <!-- Do not modify the suite directly or redistribute -->
44
+ <!-- modified versions of the suite. -->
45
+ <!---->
46
+ <!-- In the interest of maintaining consistency and -->
47
+ <!-- clarity for potential users, NLM requests: -->
48
+ <!---->
49
+ <!-- 1. If you create a DTD from the JATS DTD Suite -->
50
+ <!-- and intend to stay compatible with the suite, -->
51
+ <!-- then please include the following statement -->
52
+ <!-- as a comment in all of your DTD modules: -->
53
+ <!-- "Created from, and fully compatible with, -->
54
+ <!-- the ANSI/NISO Z39.96 Journal Article Tag -->
55
+ <!-- Suite (JATS)." -->
56
+ <!---->
57
+ <!-- 2. If you alter one or more modules of the suite, -->
58
+ <!-- then please rename your version and all its -->
59
+ <!-- modules to avoid any confusion with the -->
60
+ <!-- original suite. Also, please include the -->
61
+ <!-- following statement as a comment in all your -->
62
+ <!-- DTD modules: -->
63
+ <!-- "Based in part on, but not fully compatible -->
64
+ <!-- with, the ANSI/NISO Z39.96 Journal Article -->
65
+ <!-- Tag Suite (JATS)." -->
66
+ <!---->
67
+ <!-- ORIGINAL CREATION DATE: -->
68
+ <!-- December 2002 -->
69
+ <!---->
70
+ <!-- CREATED BY: Mulberry Technologies, Inc. for the NISO Z39.96 -->
71
+ <!-- Working Group. Mulberry Technologies was -->
72
+ <!-- supported by National Center for Biotechnology -->
73
+ <!-- Information (NCBI), a center of the US National -->
74
+ <!-- Library of Medicine (NLM). -->
75
+ <!---->
76
+ <!-- This module is part of the JATS DTD Suite. The -->
77
+ <!-- Suite is a continuation of work done by NCBI, -->
78
+ <!-- Mulberry Technologies, and Inera, Inc. on the NLM -->
79
+ <!-- Journal Archiving and Interchange DTD Suite, which -->
80
+ <!-- was originally released in December, 2002. -->
81
+ <!---->
82
+ <!-- NLM thanks the Harvard University Libraries, both -->
83
+ <!-- for proposing that a draft archiving NLM DTD for -->
84
+ <!-- life sciences journals be extended to accommodate -->
85
+ <!-- journals in all disciplines and for sponsoring -->
86
+ <!-- Inera Inc.'s collaboration with other DTD -->
87
+ <!-- authors in completing NLM Version 1.0. The -->
88
+ <!-- Andrew W. Mellon Foundation provided support for -->
89
+ <!-- these important contributions. -->
90
+ <!---->
91
+ <!-- Suggestions for refinements and enhancements to -->
92
+ <!-- this DTD should be sent in email to: -->
93
+ <!-- jats@ncbi.nlm.nih.gov -->
94
+ <!-- ============================================================= -->
95
+ <!-- ============================================================= -->
96
+ <!-- DTD VERSION/CHANGE HISTORY -->
97
+ <!-- ============================================================= -->
98
+ <!--
99
+ Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
100
+ ==============================================================
101
+ JATS Version 1.3 (ANSI/NISO Z39.96-2021)
102
+ (DAL/BTU) v1.3 (2021-06-10)
103
+
104
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
105
+ which requires voting by both the NISO and ANSI memberships
106
+ to be changed. This version of the NISO JATS was approved
107
+ by ANSI vote on June 10, 2021, so it supersedes all Committee
108
+ Drafts as well as the draft version JATS 1.3 2021 (the version
109
+ submitted for vote), becoming NISO JATS v1.3 20210610
110
+ (ANSI/NISO Z39.96-2019).
111
+
112
+ The file names and formal public identifiers have been
113
+ changed in the modules and the catalogs.
114
+
115
+ 22. JATS 'v1.3d2 20201130' becomes 'v1.3 20210610'
116
+ (final ANSI vote date)
117
+ 'ANSI/NISO Z39.96-2019' becomes 'ANSI/NISO Z39.96-2021'
118
+
119
+ ==============================================================
120
+ JATS Version 1.3d2 (ANSI/NISO Z39.96-2021)
121
+ (DAL/BTU) v1.3d2 (2020-11-30)
122
+
123
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
124
+ which requires voting by the NISO and ANSI memberships
125
+ to be changed.
126
+
127
+ This draft DTD represents an interim version of the
128
+ non-normative JATS DTD Suite, as an indication to JATS users
129
+ of the decisions that have been made by the JATS Standing
130
+ Committee. This draft has not yet been given public review
131
+ or voting; it is for Standing Committee review and
132
+ testing. The formal public identifiers have been changed
133
+ in the modules and the catalogs.
134
+
135
+ 21. JATS "v1.3d2 20201130" becomes 'v1.3 20210610' (second
136
+ committee draft following the final ANSI/NISO 1.2 vote)
137
+
138
+ ==============================================================
139
+ JATS Version 1.3d1 (ANSI/NISO Z39.96-2021)
140
+ (DAL/BTU) v1.3.d1 (2019-08-31)
141
+
142
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
143
+ which requires voting by the NISO and ANSI memberships
144
+ to be changed.
145
+
146
+ This draft DTD represents an interim version of the
147
+ non-normative JATS DTD Suite, as an indication to JATS users
148
+ of the decisions that have been made by the JATS Standing
149
+ Committee. This draft has not yet been given public review
150
+ or voting. The formal public identifiers were changed in the
151
+ modules and the catalogs.
152
+
153
+ 20. JATS "1.2" becomes "v1.3d1 20190831" (first committee
154
+ draft following the final ANSI/NISO vote)
155
+
156
+ ==============================================================
157
+ JATS Version 1.2 (ANSI/NISO Z39.96-2021)
158
+ (DAL/BTU) v1.2 (2019-02-08)
159
+
160
+ NISO JATS is a continuing maintenance NISO Standard, which
161
+ requires voting by the both the NISO and ANSI membership
162
+ to be changed. This version of the NISO JATS was approved
163
+ by ANSI vote on Feb 08, 2019, so it supersedes all Committee
164
+ Drafts as well as the draft version JATS 1.2 2018 (the version
165
+ submitted for vote), becoming NISO JATS v1.2 20190208
166
+ (ANSI/NISO Z39.96-2021).
167
+
168
+ 19. JATS "1.2" becomes "v1.2 20190208" (final ANSI vote date)
169
+ "ANSI/NISO Z39.96-2015" becomes "ANSI/NISO Z39.96-2019"
170
+
171
+ ==============================================================
172
+ JATS Version 1.2 (ANSI/NISO Z39.96-2018)
173
+ (DAL/BTU) v1.2 (2018-11-30)
174
+
175
+ NISO JATS is a continuing maintenance NISO Standard, which
176
+ requires voting by the both the NISO and ANSI membership
177
+ to be changed. This version of the NISO JATS was approved
178
+ by ANSI and NISO vote, so it supersedes all Committee Drafts
179
+ and becoming NISO JATS 1.2 (ANSI/NISO Z39.96-2018).
180
+
181
+ 18. JATS "1.2d2" and "v1.2d2 20180401" became
182
+ JATS "1.2" and "v1.2 20181130"
183
+
184
+ =============================================================
185
+ JATS Version 1.2d2 (DAL/BTU) v1.2d2 (2018-04-01)
186
+
187
+ JATS is a continuing maintenance NISO Standard, which
188
+ requires voting by the ANSI and NISO memberships to be changed.
189
+ BITS is under continuous maintenance, and is modified at the
190
+ discretion of the working group.
191
+
192
+ This draft DTD represents an interim version of the
193
+ non-normative JATS DTD Suite, as an indication to JATS users
194
+ the decisions that have been made by the JATS Standing
195
+ Committee. This draft has not yet been given public review
196
+ or voting. The formal public identifiers were changed in the
197
+ modules and the catalogs.
198
+
199
+ 17. BITS "2.0" and "v2.0 20151225" remain unchanged
200
+
201
+ JATS "1.2d1" and "v1.2d1 20171231" became
202
+ JATS "1.2d2" and "v1.2d2 20180401".
203
+
204
+ No module names were changed.
205
+
206
+ =============================================================
207
+ JATS Version 1.2d1 (ANSI/NISO Z39.96-2015)
208
+ (DAL/BTU) v1.2d1 (2017-12-31)
209
+
210
+ NISO JATS is a continuing maintenance NISO Standard, which
211
+ requires voting by the ANSI and NISO memberships to be changed.
212
+
213
+ This draft DTD represents an interim version of the
214
+ non-normative JATS DTD Suite, as an indication to JATS users
215
+ the decisions that have been made by the JATS Standing
216
+ Committee. This draft has not yet been given public review
217
+ or voting. The formal public identifiers were changed in the
218
+ modules and the catalogs.
219
+
220
+ 16. JATS "1.2d1" and "v1.2d1 20170631" became
221
+ JATS "1.2d1" and "v1.2d1 20171231".
222
+
223
+ =============================================================
224
+ JATS Version 1.2d1 (DAL/BTU) v1.2d1 (2017-06-31)
225
+
226
+ NISO JATS is a continuing maintenance NISO Standard, which
227
+ requires voting by the ANSI and NISO memberships to be changed.
228
+
229
+ This draft DTD represents an interim version of the
230
+ non-normative JATS DTD Suite, as an indication to JATS users
231
+ the decisions that have been made by the JATS Standing
232
+ Committee. This draft has not yet been given public review
233
+ or voting. The formal public identifiers were changed in the
234
+ modules and the catalogs.
235
+
236
+ 15. JATS became version "1.2d1" and "v1.2d1 20170631"
237
+
238
+ =============================================================
239
+ JATS Version 1.1 (DAL/BTU) v1.1 (2015-12-15)
240
+
241
+ JATS is a continuing maintenance NISO Standard, which
242
+ requires voting by the ANSI and NISO memberships to be changed.
243
+ JATS 1.1 was approved in late 2015, so the formal public
244
+ identifiers were changed in the modules and the catalogs.
245
+ No model or attribute changes were made at this time.
246
+
247
+ 14. JATS became version "1.1" and "v1.1 20151215"
248
+ BITS remained version "2.0" but becomes "v2.0 20151225"
249
+
250
+ =============================================================
251
+ JATS Version 1.1d3 (DAL/BTU) v1.1d3 (2015-03-01)
252
+
253
+ The changes in this release are in response to NISO
254
+ License and Indicators Recommended Practice.
255
+
256
+ NISO JATS is a continuing maintenance NISO Standard, which
257
+ requires voting by the NISO membership to be changed. This
258
+ Committee Draft 1.1d3 will be sent to the NISO voting
259
+ membership, to become (if approved) NISO JATS 1.1.
260
+
261
+ This draft DTD represents an interim version of the
262
+ non-normative JATS DTD Suite, as an indication to JATS users
263
+ the decisions that have been made by the JATS Standing
264
+ Committee.
265
+
266
+ 13. JATS became version "1.1d3" and "v1.1 20150301//EN"
267
+
268
+ =============================================================
269
+ JATS Version 1.1d2 (DAL/BTU) v1.1d2 (2014-09-30)
270
+
271
+ NISO JATS is a continuing maintenance NISO Standard, which
272
+ requires voting by the NISO membership to be changed. This
273
+ Committee Draft 1.1d2 will be sent to the NISO voting
274
+ membership, to become (if approved) NISO JATS 1.1.
275
+
276
+ This catalog represents an interim version of the
277
+ non-normative JATS DTD Suite, as an indication to JATS users
278
+ the decisions that have been made by the JATS Standing
279
+ Committee.
280
+
281
+ 12. RUBY MODEL CHANGED TO MATCH HTML5
282
+ - changed the Ruby content model to allow only a single
283
+ Ruby annotation on a single Ruby base:
284
+ (rb, rt+)
285
+ The Ruby textual annotation may NOT take a pair of
286
+ Ruby parentheses. This is a simplification of the
287
+ HTML5 model:
288
+ (rb, (rt | (rp, rt, rp)) )
289
+ The simplification does not allow Ruby parenthesis.
290
+ Archiving and BITS both use the full model above.
291
+
292
+ 11. JATS became version "1.1d2" and "v1.1d2 20140930//EN"
293
+
294
+ =============================================================
295
+ NISO JATS Version 1.1d1 (DAL/BTU) v1.1 (2013-11-15)
296
+
297
+ ANSI/NISO Z39.96-2012 (pre-release for V1.0 BITS; Version 1.1d1)
298
+
299
+ NISO JATS Standing Committee met and answered the requests and
300
+ suggestions from the NISO request forms.
301
+
302
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
303
+ XSDs, RNGs and supporting documentation are available at
304
+ http://jats.nlm.nih.gov/1.3d2/
305
+
306
+ 10. RUBY ANNOTATIONS - Added new elements for:
307
+ - <ruby> The Ruby wrapper element, which contains the base
308
+ text and the annotation.
309
+ - <rb> Ruby Base text, acts in the same manner as face markup,
310
+ surrounding some text in the narrative.
311
+ - <rt> Ruby Text, the annotation that modifies a piece of
312
+ the narrative text, frequently typeset above the text.
313
+
314
+ 9. GLOBAL ATTRIBUTES - Added the new parameter entity
315
+ %jats-common-atts;
316
+ to every element in this module. This PE adds (for now) the
317
+ @id attribute and the @xml:base attribute to every element,
318
+ whether metadata or narrative.
319
+ Since the @id in this parameter entity is optional, a second
320
+ parameter entity jats-common-atts-id-required was also added.
321
+ The two are kept in sync with the jats-base-atts parameter
322
+ entity.
323
+ This added a new attribute list to:
324
+ - break
325
+ - hr
326
+ - rp
327
+
328
+ 8. ADDED NEW ELEMENT <fixed-case>
329
+ - defined as meaning that the case of the content is not to
330
+ change, even if the content around it is styled to all
331
+ upper case or all lower. For example "PhD".
332
+
333
+ 7. ADDED NEW ATTRIBUTE - @toggle added to:
334
+ - bold, italic (default="yes"), monospace, overline,
335
+ roman (default="no"), sans-serif, sc, strike, and underline.
336
+
337
+ =============================================================
338
+ NISO JATS Version 1.0 (DAL/BTU) v1.0 (2012-xx-xx)
339
+
340
+ ANSI/NISO Z39.96-2012 (Version 1.0)
341
+
342
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
343
+ XSDs, RNGs and supporting documentation are available at
344
+ http://jats.nlm.nih.gov/1.3d2/
345
+
346
+ 6. Updated the DTD-version attribute to "1.0" and the formal
347
+ public identifier to the date: "v1.0 20120330//EN".
348
+
349
+ =============================================================
350
+ Version 0.4 (DAL/BTU) v0.4 (2011-01-31)
351
+
352
+ This Tag Set is in the process of becoming a NISO standard.
353
+ The version numbers are starting over from 0.4", as a Trial
354
+ Use Draft, to be made into "Version 1.0" when the Tag Suite
355
+ becomes a NISO standard. Thus, the version number that would
356
+ have been "NLM Version 3.1 Draft" has become NISO JATS
357
+ "Version 0.4".
358
+
359
+ Details on NISO Trial Use Draft Version 0.4 are available at
360
+ http://jats.nlm.nih.gov/JATS-0.4.
361
+
362
+ 5. Updated the DTD-version attribute to "0.4"
363
+
364
+ 4. Updated the public identifier to "v0.4 20110131",
365
+ modified the formal public identifier to include "JATS (Z39.96)",
366
+ and the filename as delivered to include "JATS" and the
367
+ new version number "0".
368
+ http://jats.nlm.nih.gov/0.4.
369
+
370
+ 3. @SPECIAL-USE - Added the attribute @special-use to the
371
+ all 14 formatting (emphasis) elements. This includes all the
372
+ ones listed in 2. below as well as:
373
+ - sub sub-atts
374
+ - sup sup-atts
375
+ - overline overline-atts
376
+ - overline-start overline-start-atts
377
+ - overline-end overline-end-atts
378
+ - underline underline-atts
379
+ - underline-start underline-start-atts
380
+ - underline-end underline-end-atts
381
+
382
+ 2. PEs FOR ATTLISTS - Added parameter entity redefinitions for the
383
+ attribute lists of the following elements: (no attributes or
384
+ values were changed)
385
+ - bold bold-atts NEW PE
386
+ - italic italic-atts NEW PE
387
+ - monospace monospace-atts NEW PE
388
+ - roman roman-atts NEW PE
389
+ - sans-serif sans-serif-atts NEW PE
390
+ - sc sc-atts NEW PE
391
+ - strike strike-atts NEW PE
392
+
393
+ =============================================================
394
+ Version 3.0 (DAL/BTU) v3.0 (2007-10-31)
395
+
396
+ Version 3.0 is the first non-backward-compatible release.
397
+ In addition to the usual incremental changes, some
398
+ elements and attributes have been renamed and/or remodeled
399
+ to better meet user needs and to increase tag set consistency.
400
+ All module change histories are available through the Tag Suite
401
+ web site at http://dtd.nlm.nih.gov.
402
+
403
+ Details on version 3.0 are available at
404
+ http://dtd.nlm.nih.gov/3.0.
405
+
406
+ 1. Updated public identifier to "v3.0 20071031//EN"
407
+ -->
408
+ <!-- ============================================================= -->
409
+ <!--
410
+ Details concerning
411
+ ANSI/NISO Z39.96-2015 JATS-based DTDs, XSDs,
412
+ RNGs and supporting documentation are available at
413
+ http://jats.nlm.nih.gov/1.1/
414
+ -->
415
+ <!-- ============================================================= -->
416
+ <!-- PARAMETER ENTITIES FOR ATTRIBUTE LISTS -->
417
+ <!-- ============================================================= -->
418
+ <!-- BOLD ATTRIBUTES -->
419
+ <!-- Attributes for the <bold> element -->
420
+ <grammar 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">
421
+ <define name="bold-atts">
422
+ <ref name="jats-common-atts"/>
423
+ <optional>
424
+ <attribute name="toggle">
425
+ <choice>
426
+ <value>yes</value>
427
+ <value>no</value>
428
+ </choice>
429
+ </attribute>
430
+ </optional>
431
+ <optional>
432
+ <attribute name="specific-use"/>
433
+ </optional>
434
+ </define>
435
+ <!-- BREAK ATTRIBUTES -->
436
+ <!-- Attributes for the <break> element -->
437
+ <define name="break-atts">
438
+ <ref name="jats-common-atts"/>
439
+ </define>
440
+ <!-- FIXED CASE ATTRIBUTES -->
441
+ <!-- Attributes for the <fixed-case> element -->
442
+ <define name="fixed-case-atts">
443
+ <ref name="jats-common-atts"/>
444
+ <optional>
445
+ <attribute name="content-type"/>
446
+ </optional>
447
+ <optional>
448
+ <attribute name="specific-use"/>
449
+ </optional>
450
+ </define>
451
+ <!-- HORIZONTAL RULE ATTRIBUTES -->
452
+ <!-- Attributes for the <hr> element -->
453
+ <define name="hr-atts">
454
+ <ref name="jats-common-atts"/>
455
+ </define>
456
+ <!-- ITALIC ATTRIBUTES -->
457
+ <!-- Attributes for the <italic> element -->
458
+ <define name="italic-atts">
459
+ <ref name="jats-common-atts"/>
460
+ <optional>
461
+ <attribute name="toggle" a:defaultValue="yes">
462
+ <choice>
463
+ <value>yes</value>
464
+ <value>no</value>
465
+ </choice>
466
+ </attribute>
467
+ </optional>
468
+ <optional>
469
+ <attribute name="specific-use"/>
470
+ </optional>
471
+ </define>
472
+ <!-- MONOSPACE ATTRIBUTES -->
473
+ <!-- Attributes for the <bold> element -->
474
+ <define name="monospace-atts">
475
+ <ref name="jats-common-atts"/>
476
+ <optional>
477
+ <attribute name="toggle">
478
+ <choice>
479
+ <value>yes</value>
480
+ <value>no</value>
481
+ </choice>
482
+ </attribute>
483
+ </optional>
484
+ <optional>
485
+ <attribute name="specific-use"/>
486
+ </optional>
487
+ </define>
488
+ <!-- OVERLINE START ATTRIBUTES -->
489
+ <!-- Attributes for the <overline> element -->
490
+ <define name="overline-atts">
491
+ <ref name="jats-common-atts"/>
492
+ <optional>
493
+ <attribute name="toggle">
494
+ <choice>
495
+ <value>yes</value>
496
+ <value>no</value>
497
+ </choice>
498
+ </attribute>
499
+ </optional>
500
+ <optional>
501
+ <attribute name="specific-use"/>
502
+ </optional>
503
+ </define>
504
+ <!-- OVERLINE START ATTRIBUTES -->
505
+ <!-- Attributes for the <overline-start> element -->
506
+ <define name="overline-start-atts">
507
+ <ref name="jats-common-atts-id-required"/>
508
+ <optional>
509
+ <attribute name="specific-use"/>
510
+ </optional>
511
+ </define>
512
+ <!-- OVERLINE END ATTRIBUTES -->
513
+ <!-- Attributes for the <overline-end> element -->
514
+ <define name="overline-end-atts">
515
+ <ref name="jats-common-atts"/>
516
+ <attribute name="rid">
517
+ <data type="IDREF"/>
518
+ </attribute>
519
+ <optional>
520
+ <attribute name="specific-use"/>
521
+ </optional>
522
+ </define>
523
+ <!-- ROMAN ATTRIBUTES -->
524
+ <!-- Attributes for the <roman> element -->
525
+ <define name="roman-atts">
526
+ <ref name="jats-common-atts"/>
527
+ <optional>
528
+ <attribute name="toggle" a:defaultValue="no">
529
+ <choice>
530
+ <value>yes</value>
531
+ <value>no</value>
532
+ </choice>
533
+ </attribute>
534
+ </optional>
535
+ <optional>
536
+ <attribute name="specific-use"/>
537
+ </optional>
538
+ </define>
539
+ <!-- RUBY BASE ATTRIBUTES -->
540
+ <!-- Attributes for the <rb> element -->
541
+ <define name="rb-atts">
542
+ <ref name="jats-common-atts"/>
543
+ <optional>
544
+ <attribute name="content-type"/>
545
+ </optional>
546
+ <optional>
547
+ <attribute name="specific-use"/>
548
+ </optional>
549
+ <optional>
550
+ <attribute name="xml:lang">
551
+ <data type="NMTOKEN"/>
552
+ </attribute>
553
+ </optional>
554
+ </define>
555
+ <!-- RUBY PARENTHESIS ATTRIBUTES -->
556
+ <!-- Attributes for the <rp> element -->
557
+ <define name="rp-atts">
558
+ <ref name="jats-common-atts"/>
559
+ </define>
560
+ <!-- RUBY TEXTUAL ANNOTATION ATTRIBUTES -->
561
+ <!-- Attributes for the <rt> element -->
562
+ <define name="rt-atts">
563
+ <ref name="jats-common-atts"/>
564
+ <optional>
565
+ <attribute name="content-type"/>
566
+ </optional>
567
+ <optional>
568
+ <attribute name="specific-use"/>
569
+ </optional>
570
+ <optional>
571
+ <attribute name="xml:lang">
572
+ <data type="NMTOKEN"/>
573
+ </attribute>
574
+ </optional>
575
+ </define>
576
+ <!-- RUBY ATTRIBUTES -->
577
+ <!-- Attributes for the <ruby> element -->
578
+ <define name="ruby-atts">
579
+ <ref name="jats-common-atts"/>
580
+ <optional>
581
+ <attribute name="content-type"/>
582
+ </optional>
583
+ <optional>
584
+ <attribute name="specific-use"/>
585
+ </optional>
586
+ </define>
587
+ <!-- SANS SERIF ATTRIBUTES -->
588
+ <!-- Attributes for the <sans-serif> element -->
589
+ <define name="sans-serif-atts">
590
+ <ref name="jats-common-atts"/>
591
+ <optional>
592
+ <attribute name="toggle">
593
+ <choice>
594
+ <value>yes</value>
595
+ <value>no</value>
596
+ </choice>
597
+ </attribute>
598
+ </optional>
599
+ <optional>
600
+ <attribute name="specific-use"/>
601
+ </optional>
602
+ </define>
603
+ <!-- SMALL CAPS ATTRIBUTES -->
604
+ <!-- Attributes for the <sc> element -->
605
+ <define name="sc-atts">
606
+ <ref name="jats-common-atts"/>
607
+ <optional>
608
+ <attribute name="toggle">
609
+ <choice>
610
+ <value>yes</value>
611
+ <value>no</value>
612
+ </choice>
613
+ </attribute>
614
+ </optional>
615
+ <optional>
616
+ <attribute name="specific-use"/>
617
+ </optional>
618
+ </define>
619
+ <!-- STRIKE THROUGH ATTRIBUTES -->
620
+ <!-- Attributes for the <strike> element -->
621
+ <define name="strike-atts">
622
+ <ref name="jats-common-atts"/>
623
+ <optional>
624
+ <attribute name="toggle">
625
+ <choice>
626
+ <value>yes</value>
627
+ <value>no</value>
628
+ </choice>
629
+ </attribute>
630
+ </optional>
631
+ <optional>
632
+ <attribute name="specific-use"/>
633
+ </optional>
634
+ </define>
635
+ <!-- SUBSCRIPT ATTRIBUTES -->
636
+ <!-- Attributes for the subscript <sub> element -->
637
+ <define name="sub-atts">
638
+ <ref name="jats-common-atts"/>
639
+ <optional>
640
+ <attribute name="arrange">
641
+ <choice>
642
+ <value>stack</value>
643
+ <value>stagger</value>
644
+ </choice>
645
+ </attribute>
646
+ </optional>
647
+ <optional>
648
+ <attribute name="specific-use"/>
649
+ </optional>
650
+ </define>
651
+ <!-- SUPERSCRIPT ATTRIBUTES -->
652
+ <!--
653
+ Attributes for the superscript <sup>
654
+ element
655
+ -->
656
+ <define name="sup-atts">
657
+ <ref name="jats-common-atts"/>
658
+ <optional>
659
+ <attribute name="arrange">
660
+ <choice>
661
+ <value>stack</value>
662
+ <value>stagger</value>
663
+ </choice>
664
+ </attribute>
665
+ </optional>
666
+ <optional>
667
+ <attribute name="specific-use"/>
668
+ </optional>
669
+ </define>
670
+ <!-- UNDERLINE ATTRIBUTES -->
671
+ <!-- Attributes for the <underline> element -->
672
+ <define name="underline-atts">
673
+ <ref name="jats-common-atts"/>
674
+ <optional>
675
+ <attribute name="toggle">
676
+ <choice>
677
+ <value>yes</value>
678
+ <value>no</value>
679
+ </choice>
680
+ </attribute>
681
+ </optional>
682
+ <optional>
683
+ <attribute name="underline-style"/>
684
+ </optional>
685
+ <optional>
686
+ <attribute name="specific-use"/>
687
+ </optional>
688
+ </define>
689
+ <!-- UNDERLINE START ATTRIBUTES -->
690
+ <!--
691
+ Attributes for the <underline-start>
692
+ element
693
+ -->
694
+ <define name="underline-start-atts">
695
+ <ref name="jats-common-atts-id-required"/>
696
+ <optional>
697
+ <attribute name="specific-use"/>
698
+ </optional>
699
+ </define>
700
+ <!-- UNDERLINE END ATTRIBUTES -->
701
+ <!-- Attributes for the <underline-end> element -->
702
+ <define name="underline-end-atts">
703
+ <ref name="jats-common-atts"/>
704
+ <attribute name="rid">
705
+ <data type="IDREF"/>
706
+ </attribute>
707
+ <optional>
708
+ <attribute name="specific-use"/>
709
+ </optional>
710
+ </define>
711
+ <!-- ============================================================= -->
712
+ <!-- APPEARANCE CLASS ELEMENTS -->
713
+ <!-- ============================================================= -->
714
+ <!-- HORIZONTAL RULE -->
715
+ <!--
716
+ Defined to allow the user to specify an
717
+ explicit (non machine-generated) rule.
718
+ Details at:
719
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=hr
720
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=hr
721
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=hr
722
+ -->
723
+ <define name="hr">
724
+ <element name="hr">
725
+ <ref name="hr-attlist"/>
726
+ <empty/>
727
+ </element>
728
+ </define>
729
+ <define name="hr-attlist" combine="interleave">
730
+ <ref name="hr-atts"/>
731
+ </define>
732
+ <!-- ============================================================= -->
733
+ <!-- BREAK CLASS ELEMENTS -->
734
+ <!-- ============================================================= -->
735
+ <!-- LINE BREAK -->
736
+ <!--
737
+ Defined to allow the user to specify an
738
+ explicit (non machine-generated) line break.
739
+ Details at:
740
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=break
741
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=break
742
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=break
743
+ -->
744
+ <define name="break">
745
+ <element name="break">
746
+ <ref name="break-attlist"/>
747
+ <empty/>
748
+ </element>
749
+ </define>
750
+ <define name="break-attlist" combine="interleave">
751
+ <ref name="break-atts"/>
752
+ </define>
753
+ <!-- ============================================================= -->
754
+ <!-- EMPHASIS/RENDITION CLASS ELEMENTS -->
755
+ <!-- ============================================================= -->
756
+ <!-- BOLD -->
757
+ <!--
758
+ Used to mark text that should appear in bold
759
+ face type for print or display
760
+ Details at:
761
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=bold
762
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=bold
763
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=bold
764
+ -->
765
+ <define name="bold">
766
+ <element name="bold">
767
+ <ref name="bold-attlist"/>
768
+ <zeroOrMore>
769
+ <choice>
770
+ <text/>
771
+ <ref name="emphasized-text"/>
772
+ </choice>
773
+ </zeroOrMore>
774
+ </element>
775
+ </define>
776
+ <define name="bold-attlist" combine="interleave">
777
+ <ref name="bold-atts"/>
778
+ </define>
779
+ <!-- FIXED CASE -->
780
+ <!--
781
+ Used to mark text in which the case of the
782
+ content should not be changed, even if the
783
+ content around it is styled to all
784
+ upper case or all lower. For example "PhD".
785
+ Details at:
786
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=fixed-case
787
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=fixed-case
788
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=fixed-case
789
+ -->
790
+ <define name="fixed-case">
791
+ <element name="fixed-case">
792
+ <ref name="fixed-case-attlist"/>
793
+ <zeroOrMore>
794
+ <choice>
795
+ <text/>
796
+ <ref name="emphasized-text"/>
797
+ </choice>
798
+ </zeroOrMore>
799
+ </element>
800
+ </define>
801
+ <define name="fixed-case-attlist" combine="interleave">
802
+ <ref name="fixed-case-atts"/>
803
+ </define>
804
+ <!-- ITALIC -->
805
+ <!--
806
+ Used to mark text that should appear in
807
+ italic type on output.
808
+ Details at:
809
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=italic
810
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=italic
811
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=italic
812
+ -->
813
+ <define name="italic">
814
+ <element name="italic">
815
+ <ref name="italic-attlist"/>
816
+ <zeroOrMore>
817
+ <choice>
818
+ <text/>
819
+ <ref name="emphasized-text"/>
820
+ </choice>
821
+ </zeroOrMore>
822
+ </element>
823
+ </define>
824
+ <define name="italic-attlist" combine="interleave">
825
+ <ref name="italic-atts"/>
826
+ </define>
827
+ <!-- MONOSPACE TEXT (TYPEWRITER TEXT) -->
828
+ <!--
829
+ Used to mark text that should appear in
830
+ a non-proportional font, such as courier
831
+ for display or print. This is common for
832
+ computer code examples, man-machine
833
+ dialogues, etc.
834
+ Details at:
835
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=monospace
836
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=monospace
837
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=monospace
838
+ -->
839
+ <define name="monospace">
840
+ <element name="monospace">
841
+ <ref name="monospace-attlist"/>
842
+ <zeroOrMore>
843
+ <choice>
844
+ <text/>
845
+ <ref name="emphasized-text"/>
846
+ </choice>
847
+ </zeroOrMore>
848
+ </element>
849
+ </define>
850
+ <define name="monospace-attlist" combine="interleave">
851
+ <ref name="monospace-atts"/>
852
+ </define>
853
+ <!-- ROMAN -->
854
+ <!--
855
+ Used to mark text that should remain in
856
+ roman script no matter what style the
857
+ surrounding text takes on.
858
+ Details at:
859
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=roman
860
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=roman
861
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=roman
862
+ -->
863
+ <define name="roman">
864
+ <element name="roman">
865
+ <ref name="roman-attlist"/>
866
+ <zeroOrMore>
867
+ <choice>
868
+ <text/>
869
+ <ref name="emphasized-text"/>
870
+ </choice>
871
+ </zeroOrMore>
872
+ </element>
873
+ </define>
874
+ <define name="roman-attlist" combine="interleave">
875
+ <ref name="roman-atts"/>
876
+ </define>
877
+ <!-- SANS SERIF -->
878
+ <!--
879
+ Used to mark text that should appear in a
880
+ special sans-serif font, typically used in
881
+ math or chemistry
882
+ Details at:
883
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=sans-serif
884
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=sans-serif
885
+ -->
886
+ <define name="sans-serif">
887
+ <element name="sans-serif">
888
+ <ref name="sans-serif-attlist"/>
889
+ <zeroOrMore>
890
+ <choice>
891
+ <text/>
892
+ <ref name="emphasized-text"/>
893
+ </choice>
894
+ </zeroOrMore>
895
+ </element>
896
+ </define>
897
+ <define name="sans-serif-attlist" combine="interleave">
898
+ <ref name="sans-serif-atts"/>
899
+ </define>
900
+ <!-- SMALL CAPS -->
901
+ <!--
902
+ Used to mark text that should appear in a
903
+ font which creates smaller capital letters
904
+ on output.
905
+ Details at:
906
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=sc
907
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=sc
908
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=sc
909
+ -->
910
+ <define name="sc">
911
+ <element name="sc">
912
+ <ref name="sc-attlist"/>
913
+ <zeroOrMore>
914
+ <choice>
915
+ <text/>
916
+ <ref name="emphasized-text"/>
917
+ </choice>
918
+ </zeroOrMore>
919
+ </element>
920
+ </define>
921
+ <define name="sc-attlist" combine="interleave">
922
+ <ref name="sc-atts"/>
923
+ </define>
924
+ <!-- OVERLINE -->
925
+ <!--
926
+ Used to mark text that should appear with a
927
+ horizontal line above each character in
928
+ display or print. There is no PE for
929
+ override because this was added to handle
930
+ a specific publisher tag set and should not
931
+ grow beyond what they need.
932
+ Details at:
933
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=overline
934
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=overline
935
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=overline
936
+ -->
937
+ <define name="overline">
938
+ <element name="overline">
939
+ <ref name="overline-attlist"/>
940
+ <zeroOrMore>
941
+ <choice>
942
+ <text/>
943
+ <ref name="emphasized-text"/>
944
+ </choice>
945
+ </zeroOrMore>
946
+ </element>
947
+ </define>
948
+ <define name="overline-attlist" combine="interleave">
949
+ <ref name="overline-atts"/>
950
+ </define>
951
+ <!-- STRIKE THROUGH -->
952
+ <!--
953
+ Used to mark text that should appear with
954
+ a line through it so as to appear "struck out"
955
+ on display or print
956
+ Details at:
957
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=strike
958
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=strike
959
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=strike
960
+ -->
961
+ <define name="strike">
962
+ <element name="strike">
963
+ <ref name="strike-attlist"/>
964
+ <zeroOrMore>
965
+ <choice>
966
+ <text/>
967
+ <ref name="emphasized-text"/>
968
+ </choice>
969
+ </zeroOrMore>
970
+ </element>
971
+ </define>
972
+ <define name="strike-attlist" combine="interleave">
973
+ <ref name="strike-atts"/>
974
+ </define>
975
+ <!-- SUBSCRIPT -->
976
+ <!--
977
+ A number or expression that is set lower
978
+ than the baseline and slightly smaller,
979
+ to act as an inferior or subscript
980
+ Details at:
981
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=sub
982
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=sub
983
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=sub
984
+ -->
985
+ <define name="sub">
986
+ <element name="sub">
987
+ <ref name="sub-attlist"/>
988
+ <zeroOrMore>
989
+ <choice>
990
+ <text/>
991
+ <ref name="emphasized-text"/>
992
+ </choice>
993
+ </zeroOrMore>
994
+ </element>
995
+ </define>
996
+ <define name="sub-attlist" combine="interleave">
997
+ <ref name="sub-atts"/>
998
+ </define>
999
+ <!-- SUPERSCRIPT -->
1000
+ <!--
1001
+ A number or expression that is set higher
1002
+ than the baseline and slightly smaller,
1003
+ to act as a superior or superscript
1004
+ Details at:
1005
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=sup
1006
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=sup
1007
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=sup
1008
+ -->
1009
+ <define name="sup">
1010
+ <element name="sup">
1011
+ <ref name="sup-attlist"/>
1012
+ <zeroOrMore>
1013
+ <choice>
1014
+ <text/>
1015
+ <ref name="emphasized-text"/>
1016
+ </choice>
1017
+ </zeroOrMore>
1018
+ </element>
1019
+ </define>
1020
+ <define name="sup-attlist" combine="interleave">
1021
+ <ref name="sup-atts"/>
1022
+ </define>
1023
+ <!-- UNDERLINE -->
1024
+ <!--
1025
+ Used to mark text that should appear with a
1026
+ horizontal line below each character in
1027
+ display or print.
1028
+ Details at:
1029
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=underline
1030
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=underline
1031
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=underline
1032
+ -->
1033
+ <define name="underline">
1034
+ <element name="underline">
1035
+ <ref name="underline-attlist"/>
1036
+ <zeroOrMore>
1037
+ <choice>
1038
+ <text/>
1039
+ <ref name="emphasized-text"/>
1040
+ </choice>
1041
+ </zeroOrMore>
1042
+ </element>
1043
+ </define>
1044
+ <define name="underline-attlist" combine="interleave">
1045
+ <ref name="underline-atts"/>
1046
+ </define>
1047
+ <!-- ============================================================= -->
1048
+ <!--
1049
+ ADVANCED UNDERLINE AND OVERLINE ELEMENTS
1050
+ (From the Elsevier DTD, used mostly within
1051
+ mathematics, when ordinary MathML underline
1052
+ and overline functions are inadequate. The
1053
+ elements act as milestone tags marking the
1054
+ start and end of over or underlining that
1055
+ may extend across element boundaries.)
1056
+ -->
1057
+ <!-- ============================================================= -->
1058
+ <!-- OVERLINE START -->
1059
+ <!--
1060
+ The start of a milestone-created overline, the
1061
+ end of ornament will be marked by an
1062
+ Overline End element.
1063
+ Details at:
1064
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=overline-start
1065
+ -->
1066
+ <define name="overline-start">
1067
+ <element name="overline-start">
1068
+ <ref name="overline-start-attlist"/>
1069
+ <empty/>
1070
+ </element>
1071
+ </define>
1072
+ <define name="overline-start-attlist" combine="interleave">
1073
+ <ref name="overline-start-atts"/>
1074
+ </define>
1075
+ <!-- OVERLINE END -->
1076
+ <!--
1077
+ The end of a milestone-created overline, the
1078
+ start of ornament will be marked by an
1079
+ Overline Start element.
1080
+ Details at:
1081
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=overline-end
1082
+ -->
1083
+ <define name="overline-end">
1084
+ <element name="overline-end">
1085
+ <ref name="overline-end-attlist"/>
1086
+ <empty/>
1087
+ </element>
1088
+ </define>
1089
+ <define name="overline-end-attlist" combine="interleave">
1090
+ <ref name="overline-end-atts"/>
1091
+ </define>
1092
+ <!-- UNDERLINE START -->
1093
+ <!--
1094
+ The start of a milestone-created underline,
1095
+ the end of ornament will be marked by an
1096
+ Underline End element
1097
+ Details at:
1098
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=underline-start
1099
+ -->
1100
+ <define name="underline-start">
1101
+ <element name="underline-start">
1102
+ <ref name="underline-start-attlist"/>
1103
+ <empty/>
1104
+ </element>
1105
+ </define>
1106
+ <define name="underline-start-attlist" combine="interleave">
1107
+ <ref name="underline-start-atts"/>
1108
+ </define>
1109
+ <!-- UNDERLINE END -->
1110
+ <!--
1111
+ The end of a milestone-created underline, the
1112
+ start of ornament will be marked by an
1113
+ Underline Start element.
1114
+ Details at:
1115
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=underline-end
1116
+ -->
1117
+ <define name="underline-end">
1118
+ <element name="underline-end">
1119
+ <ref name="underline-end-attlist"/>
1120
+ <empty/>
1121
+ </element>
1122
+ </define>
1123
+ <define name="underline-end-attlist" combine="interleave">
1124
+ <ref name="underline-end-atts"/>
1125
+ </define>
1126
+ <!-- ============================================================= -->
1127
+ <!-- RUBY MARKUP -->
1128
+ <!-- ============================================================= -->
1129
+ <!-- RUBY WRAPPER Model -->
1130
+ <!-- Content model for the <ruby> element -->
1131
+ <!-- RUBY WRAPPER -->
1132
+ <!--
1133
+ A Ruby textual annotation is an annotation,
1134
+ typically short, applied to a letter, word,
1135
+ phrase, or name that appears in the narrative
1136
+ text. Ruby annotations can indicate,
1137
+ for example, pronunciation advice, notes for
1138
+ translation, semantic annotations, et al.
1139
+ The <ruby> element is an inline wrapper
1140
+ element that contains some of the document
1141
+ narrative text (inside a Ruby Base <rb>
1142
+ element) and one or more Ruby textual
1143
+ annotations (inside <rt> elements) that are
1144
+ associated with the base text.
1145
+ In display or print, the characters of the
1146
+ Ruby annotation are frequently placed above
1147
+ the characters they modify, in parenthesis
1148
+ after the characters they modify, or to the
1149
+ right of vertically set text.
1150
+ Details at:
1151
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=ruby
1152
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=ruby
1153
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=ruby
1154
+ -->
1155
+ <define name="ruby">
1156
+ <element name="ruby">
1157
+ <ref name="ruby-attlist"/>
1158
+ <ref name="ruby-model"/>
1159
+ </element>
1160
+ </define>
1161
+ <define name="ruby-attlist" combine="interleave">
1162
+ <ref name="ruby-atts"/>
1163
+ </define>
1164
+ <!-- RUBY BASE ELEMENTS -->
1165
+ <!--
1166
+ Those elements that may mix with the data
1167
+ characters inside a Ruby Base <rb>.
1168
+ -->
1169
+ <!-- RUBY BASE -->
1170
+ <!--
1171
+ The <rb> element is one half of a Ruby
1172
+ Annotation <ruby>, and it contains the
1173
+ narrative text to which a Ruby textual
1174
+ annotation <rt> should be applied.
1175
+ Details at:
1176
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=rb
1177
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=rb
1178
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=rb
1179
+ -->
1180
+ <define name="rb">
1181
+ <element name="rb">
1182
+ <ref name="rb-attlist"/>
1183
+ <zeroOrMore>
1184
+ <choice>
1185
+ <text/>
1186
+ <ref name="rb-elements"/>
1187
+ </choice>
1188
+ </zeroOrMore>
1189
+ </element>
1190
+ </define>
1191
+ <define name="rb-attlist" combine="interleave">
1192
+ <ref name="rb-atts"/>
1193
+ </define>
1194
+ <!-- RUBY TEXTUAL ANNOTATION ELEMENTS -->
1195
+ <!--
1196
+ Those elements that may mix with the data
1197
+ characters inside a Ruby Textual Annotation
1198
+ <rt>.
1199
+ -->
1200
+ <define name="rt-elements">
1201
+ <notAllowed/>
1202
+ </define>
1203
+ <!-- RUBY TEXTUAL ANNOTATION -->
1204
+ <!--
1205
+ The <rt> element is one half of a Ruby
1206
+ Annotation <ruby>, and it contains the
1207
+ Ruby textual annotation that is applied to
1208
+ the Ruby Base text <rb>.
1209
+ Details at:
1210
+ Details at:
1211
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=rt
1212
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=rt
1213
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=rt
1214
+ -->
1215
+ <define name="rt">
1216
+ <element name="rt">
1217
+ <ref name="rt-attlist"/>
1218
+ <zeroOrMore>
1219
+ <choice>
1220
+ <text/>
1221
+ <ref name="rt-elements"/>
1222
+ </choice>
1223
+ </zeroOrMore>
1224
+ </element>
1225
+ </define>
1226
+ <define name="rt-attlist" combine="interleave">
1227
+ <ref name="rt-atts"/>
1228
+ </define>
1229
+ <!-- RUBY PARENTHESIS -->
1230
+ <!--
1231
+ The <rp> element is an optional element used
1232
+ to provide spacing and a parenthesis to
1233
+ surround Ruby Text <rt>, for older systems
1234
+ that do not handle Ruby properly.
1235
+ Remarks. This optional element never holds
1236
+ any text except a space, an open
1237
+ parenthesis, or a close parenthesis:
1238
+ <ruby><rb>text</rb>
1239
+ <rp> (</rp><rt>annotation</rt><rp>) </rp>
1240
+ </ruby>
1241
+ Details at:
1242
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=rp
1243
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=rp
1244
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=rp
1245
+ -->
1246
+ <define name="rp">
1247
+ <element name="rp">
1248
+ <ref name="rp-attlist"/>
1249
+ <text/>
1250
+ </element>
1251
+ </define>
1252
+ <define name="rp-attlist" combine="interleave">
1253
+ <ref name="rp-atts"/>
1254
+ </define>
1255
+ </grammar>
1256
+ <!-- ================== End Format Class Module ================== -->