1 | # ...................................................................... |
---|
2 | |
---|
3 | # DocBook document hierarchy module V4.5 ............................... |
---|
4 | |
---|
5 | # File dbhierx.mod ..................................................... |
---|
6 | |
---|
7 | # Copyright 1992-2004 HaL Computer Systems, Inc., |
---|
8 | # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software |
---|
9 | # Corporation, Norman Walsh, Sun Microsystems, Inc., and the |
---|
10 | # Organization for the Advancement of Structured Information |
---|
11 | # Standards (OASIS). |
---|
12 | # |
---|
13 | # $Id: dbhierx.mod 6340 2006-10-03 13:23:24Z nwalsh $ |
---|
14 | # |
---|
15 | # Permission to use, copy, modify and distribute the DocBook DTD |
---|
16 | # and its accompanying documentation for any purpose and without fee |
---|
17 | # is hereby granted in perpetuity, provided that the above copyright |
---|
18 | # notice and this paragraph appear in all copies. The copyright |
---|
19 | # holders make no representation about the suitability of the DTD for |
---|
20 | # any purpose. It is provided "as is" without expressed or implied |
---|
21 | # warranty. |
---|
22 | # |
---|
23 | # If you modify the DocBook DTD in any way, except for declaring and |
---|
24 | # referencing additional sets of general entities and declaring |
---|
25 | # additional notations, label your DTD as a variant of DocBook. See |
---|
26 | # the maintenance documentation for more information. |
---|
27 | # |
---|
28 | # Please direct all questions, bug reports, or suggestions for |
---|
29 | # changes to the docbook@lists.oasis-open.org mailing list. For more |
---|
30 | # information, see http://www.oasis-open.org/docbook/. |
---|
31 | |
---|
32 | # ...................................................................... |
---|
33 | |
---|
34 | # This module contains the definitions for the overall document |
---|
35 | # hierarchies of DocBook documents. It covers computer documentation |
---|
36 | # manuals and manual fragments, as well as reference entries (such as |
---|
37 | # man pages) and technical journals or anthologies containing |
---|
38 | # articles. |
---|
39 | # |
---|
40 | # This module depends on the DocBook information pool module. All |
---|
41 | # elements and entities referenced but not defined here are assumed |
---|
42 | # to be defined in the information pool module. |
---|
43 | # |
---|
44 | # In DTD driver files referring to this module, please use an entity |
---|
45 | # declaration that uses the public identifier shown below: |
---|
46 | # |
---|
47 | # <!ENTITY % dbhier PUBLIC |
---|
48 | # "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" |
---|
49 | # "dbhierx.mod"> |
---|
50 | # %dbhier; |
---|
51 | # |
---|
52 | # See the documentation for detailed information on the parameter |
---|
53 | # entity and module scheme used in DocBook, customizing DocBook and |
---|
54 | # planning for interchange, and changes made since the last release |
---|
55 | # of DocBook. |
---|
56 | |
---|
57 | # ...................................................................... |
---|
58 | |
---|
59 | # Entities for module inclusions ....................................... |
---|
60 | |
---|
61 | # ...................................................................... |
---|
62 | |
---|
63 | # Entities for element classes ......................................... |
---|
64 | |
---|
65 | local.appendix.class = notAllowed |
---|
66 | appendix.class = appendix | local.appendix.class |
---|
67 | local.article.class = notAllowed |
---|
68 | article.class = article | local.article.class |
---|
69 | local.book.class = notAllowed |
---|
70 | book.class = book | local.book.class |
---|
71 | local.chapter.class = notAllowed |
---|
72 | chapter.class = chapter | local.chapter.class |
---|
73 | local.index.class = notAllowed |
---|
74 | index.class = index | setindex | local.index.class |
---|
75 | local.refentry.class = notAllowed |
---|
76 | refentry.class = refentry | local.refentry.class |
---|
77 | local.section.class = notAllowed |
---|
78 | section.class = section | local.section.class |
---|
79 | local.nav.class = notAllowed |
---|
80 | nav.class = |
---|
81 | toc | lot | index | glossary | bibliography | local.nav.class |
---|
82 | # Redeclaration placeholder ............................................ |
---|
83 | |
---|
84 | # For redeclaring entities that are declared after this point while |
---|
85 | # retaining their references to the entities that are declared before |
---|
86 | # this point |
---|
87 | |
---|
88 | # ...................................................................... |
---|
89 | |
---|
90 | # Entities for element mixtures ........................................ |
---|
91 | local.divcomponent.mix = notAllowed |
---|
92 | divcomponent.mix = |
---|
93 | list.class |
---|
94 | | admon.class |
---|
95 | | linespecific.class |
---|
96 | | synop.class |
---|
97 | | para.class |
---|
98 | | informal.class |
---|
99 | | formal.class |
---|
100 | | compound.class |
---|
101 | | genobj.class |
---|
102 | | descobj.class |
---|
103 | | ndxterm.class |
---|
104 | | beginpage |
---|
105 | | forms.hook |
---|
106 | | local.divcomponent.mix |
---|
107 | local.refcomponent.mix = notAllowed |
---|
108 | refcomponent.mix = |
---|
109 | list.class |
---|
110 | | admon.class |
---|
111 | | linespecific.class |
---|
112 | | synop.class |
---|
113 | | para.class |
---|
114 | | informal.class |
---|
115 | | formal.class |
---|
116 | | compound.class |
---|
117 | | genobj.class |
---|
118 | | descobj.class |
---|
119 | | ndxterm.class |
---|
120 | | beginpage |
---|
121 | | forms.hook |
---|
122 | | local.refcomponent.mix |
---|
123 | local.indexdivcomponent.mix = notAllowed |
---|
124 | indexdivcomponent.mix = |
---|
125 | itemizedlist |
---|
126 | | orderedlist |
---|
127 | | variablelist |
---|
128 | | simplelist |
---|
129 | | linespecific.class |
---|
130 | | synop.class |
---|
131 | | para.class |
---|
132 | | informal.class |
---|
133 | | anchor |
---|
134 | | remark |
---|
135 | | link.char.class |
---|
136 | | beginpage |
---|
137 | | local.indexdivcomponent.mix |
---|
138 | local.refname.char.mix = notAllowed |
---|
139 | refname.char.mix = text | tech.char.class | local.refname.char.mix |
---|
140 | local.partcontent.mix = notAllowed |
---|
141 | partcontent.mix = |
---|
142 | appendix.class |
---|
143 | | chapter.class |
---|
144 | | nav.class |
---|
145 | | article.class |
---|
146 | | preface |
---|
147 | | refentry.class |
---|
148 | | reference |
---|
149 | | local.partcontent.mix |
---|
150 | local.refinline.char.mix = notAllowed |
---|
151 | refinline.char.mix = |
---|
152 | text |
---|
153 | | xref.char.class |
---|
154 | | gen.char.class |
---|
155 | | link.char.class |
---|
156 | | tech.char.class |
---|
157 | | base.char.class |
---|
158 | | docinfo.char.class |
---|
159 | | other.char.class |
---|
160 | | ndxterm.class |
---|
161 | | beginpage |
---|
162 | | local.refinline.char.mix |
---|
163 | local.refclass.char.mix = notAllowed |
---|
164 | refclass.char.mix = text | application | local.refclass.char.mix |
---|
165 | # Redeclaration placeholder 2 .......................................... |
---|
166 | |
---|
167 | # For redeclaring entities that are declared after this point while |
---|
168 | # retaining their references to the entities that are declared before |
---|
169 | # this point |
---|
170 | |
---|
171 | # ...................................................................... |
---|
172 | |
---|
173 | # Entities for content models .......................................... |
---|
174 | div.title.content = title, subtitle?, titleabbrev? |
---|
175 | bookcomponent.title.content = title, subtitle?, titleabbrev? |
---|
176 | sect.title.content = title, subtitle?, titleabbrev? |
---|
177 | refsect.title.content = title, subtitle?, titleabbrev? |
---|
178 | bookcomponent.content = |
---|
179 | (divcomponent.mix+, |
---|
180 | (sect1* | refentry.class* | simplesect* | section.class*)) |
---|
181 | | (sect1+ | refentry.class+ | simplesect+ | section.class+) |
---|
182 | # ...................................................................... |
---|
183 | |
---|
184 | # Set and SetInfo ...................................................... |
---|
185 | local.set.attrib = empty |
---|
186 | set.role.attrib = role.attrib |
---|
187 | # doc:A collection of books. |
---|
188 | set = |
---|
189 | element set { |
---|
190 | set.attlist, |
---|
191 | div.title.content?, |
---|
192 | setinfo?, |
---|
193 | toc?, |
---|
194 | (set | book.class)+, |
---|
195 | setindex? |
---|
196 | } |
---|
197 | # end of set.element |
---|
198 | |
---|
199 | # FPI: SGML formal public identifier |
---|
200 | set.attlist &= |
---|
201 | attribute fpi { text }?, |
---|
202 | status.attrib, |
---|
203 | common.attrib, |
---|
204 | set.role.attrib, |
---|
205 | local.set.attrib |
---|
206 | # end of set.attlist |
---|
207 | |
---|
208 | # end of set.module |
---|
209 | local.setinfo.attrib = empty |
---|
210 | setinfo.role.attrib = role.attrib |
---|
211 | # doc:Meta-information for a Set. |
---|
212 | setinfo = element setinfo { setinfo.attlist, info.class+ } |
---|
213 | # end of setinfo.element |
---|
214 | |
---|
215 | # Contents: IDs of the ToC, Books, and SetIndex that comprise |
---|
216 | # the set, in the order of their appearance |
---|
217 | setinfo.attlist &= |
---|
218 | attribute contents { xsd:IDREFS }?, |
---|
219 | common.attrib, |
---|
220 | setinfo.role.attrib, |
---|
221 | local.setinfo.attrib |
---|
222 | # end of setinfo.attlist |
---|
223 | |
---|
224 | # end of setinfo.module |
---|
225 | |
---|
226 | # end of set.content.module |
---|
227 | |
---|
228 | # ...................................................................... |
---|
229 | |
---|
230 | # Book and BookInfo .................................................... |
---|
231 | local.book.attrib = empty |
---|
232 | book.role.attrib = role.attrib |
---|
233 | # doc:A book. |
---|
234 | book = |
---|
235 | element book { |
---|
236 | book.attlist, |
---|
237 | div.title.content?, |
---|
238 | bookinfo?, |
---|
239 | (dedication |
---|
240 | | toc |
---|
241 | | lot |
---|
242 | | glossary |
---|
243 | | bibliography |
---|
244 | | preface |
---|
245 | | chapter.class |
---|
246 | | reference |
---|
247 | | part |
---|
248 | | article.class |
---|
249 | | appendix.class |
---|
250 | | index.class |
---|
251 | | colophon)* |
---|
252 | } |
---|
253 | # end of book.element |
---|
254 | |
---|
255 | # FPI: SGML formal public identifier |
---|
256 | book.attlist &= |
---|
257 | attribute fpi { text }?, |
---|
258 | label.attrib, |
---|
259 | status.attrib, |
---|
260 | common.attrib, |
---|
261 | book.role.attrib, |
---|
262 | local.book.attrib |
---|
263 | # end of book.attlist |
---|
264 | |
---|
265 | # end of book.module |
---|
266 | local.bookinfo.attrib = empty |
---|
267 | bookinfo.role.attrib = role.attrib |
---|
268 | # doc:Meta-information for a Book. |
---|
269 | bookinfo = element bookinfo { bookinfo.attlist, info.class+ } |
---|
270 | # end of bookinfo.element |
---|
271 | |
---|
272 | # Contents: IDs of the ToC, LoTs, Prefaces, Parts, Chapters, |
---|
273 | # Appendixes, References, GLossary, Bibliography, and indexes |
---|
274 | # comprising the Book, in the order of their appearance |
---|
275 | bookinfo.attlist &= |
---|
276 | attribute contents { xsd:IDREFS }?, |
---|
277 | common.attrib, |
---|
278 | bookinfo.role.attrib, |
---|
279 | local.bookinfo.attrib |
---|
280 | # end of bookinfo.attlist |
---|
281 | |
---|
282 | # end of bookinfo.module |
---|
283 | |
---|
284 | # end of book.content.module |
---|
285 | |
---|
286 | # ...................................................................... |
---|
287 | |
---|
288 | # Dedication, ToC, and LoT ............................................. |
---|
289 | local.dedication.attrib = empty |
---|
290 | dedication.role.attrib = role.attrib |
---|
291 | # doc:A wrapper for the dedication section of a book. |
---|
292 | dedication = |
---|
293 | element dedication { |
---|
294 | dedication.attlist, sect.title.content?, legalnotice.mix+ |
---|
295 | } |
---|
296 | # end of dedication.element |
---|
297 | dedication.attlist &= |
---|
298 | status.attrib, |
---|
299 | common.attrib, |
---|
300 | dedication.role.attrib, |
---|
301 | local.dedication.attrib |
---|
302 | # end of dedication.attlist |
---|
303 | |
---|
304 | # end of dedication.module |
---|
305 | local.colophon.attrib = empty |
---|
306 | colophon.role.attrib = role.attrib |
---|
307 | # doc:Text at the back of a book describing facts about its production. |
---|
308 | colophon = |
---|
309 | element colophon { |
---|
310 | colophon.attlist, sect.title.content?, textobject.mix+ |
---|
311 | } |
---|
312 | # end of colophon.element |
---|
313 | colophon.attlist &= |
---|
314 | status.attrib, |
---|
315 | common.attrib, |
---|
316 | colophon.role.attrib, |
---|
317 | local.colophon.attrib |
---|
318 | # end of colophon.attlist |
---|
319 | |
---|
320 | # end of colophon.module |
---|
321 | local.toc.attrib = empty |
---|
322 | toc.role.attrib = role.attrib |
---|
323 | # doc:A table of contents. |
---|
324 | toc = |
---|
325 | element toc { |
---|
326 | toc.attlist, |
---|
327 | beginpage?, |
---|
328 | bookcomponent.title.content?, |
---|
329 | tocfront*, |
---|
330 | (tocpart | tocchap)*, |
---|
331 | tocback* |
---|
332 | } |
---|
333 | # end of toc.element |
---|
334 | toc.attlist &= |
---|
335 | pagenum.attrib, common.attrib, toc.role.attrib, local.toc.attrib |
---|
336 | # end of toc.attlist |
---|
337 | |
---|
338 | # end of toc.module |
---|
339 | local.tocfront.attrib = empty |
---|
340 | tocfront.role.attrib = role.attrib |
---|
341 | # doc:An entry in a table of contents for a front matter component. |
---|
342 | tocfront = element tocfront { tocfront.attlist, para.char.mix* } |
---|
343 | # end of tocfront.element |
---|
344 | |
---|
345 | # to element that this entry represents |
---|
346 | tocfront.attlist &= |
---|
347 | label.attrib, |
---|
348 | linkend.attrib, |
---|
349 | pagenum.attrib, |
---|
350 | common.attrib, |
---|
351 | tocfront.role.attrib, |
---|
352 | local.tocfront.attrib |
---|
353 | # end of tocfront.attlist |
---|
354 | |
---|
355 | # end of tocfront.module |
---|
356 | local.tocentry.attrib = empty |
---|
357 | tocentry.role.attrib = role.attrib |
---|
358 | # doc:A component title in a table of contents. |
---|
359 | tocentry = element tocentry { tocentry.attlist, para.char.mix* } |
---|
360 | # end of tocentry.element |
---|
361 | |
---|
362 | # to element that this entry represents |
---|
363 | tocentry.attlist &= |
---|
364 | linkend.attrib, |
---|
365 | pagenum.attrib, |
---|
366 | common.attrib, |
---|
367 | tocentry.role.attrib, |
---|
368 | local.tocentry.attrib |
---|
369 | # end of tocentry.attlist |
---|
370 | |
---|
371 | # end of tocentry.module |
---|
372 | local.tocpart.attrib = empty |
---|
373 | tocpart.role.attrib = role.attrib |
---|
374 | # doc:An entry in a table of contents for a part of a book. |
---|
375 | tocpart = element tocpart { tocpart.attlist, tocentry+, tocchap* } |
---|
376 | # end of tocpart.element |
---|
377 | tocpart.attlist &= |
---|
378 | common.attrib, tocpart.role.attrib, local.tocpart.attrib |
---|
379 | # end of tocpart.attlist |
---|
380 | |
---|
381 | # end of tocpart.module |
---|
382 | local.tocchap.attrib = empty |
---|
383 | tocchap.role.attrib = role.attrib |
---|
384 | # doc:An entry in a table of contents for a component in the body of a document. |
---|
385 | tocchap = element tocchap { tocchap.attlist, tocentry+, toclevel1* } |
---|
386 | # end of tocchap.element |
---|
387 | tocchap.attlist &= |
---|
388 | label.attrib, common.attrib, tocchap.role.attrib, local.tocchap.attrib |
---|
389 | # end of tocchap.attlist |
---|
390 | |
---|
391 | # end of tocchap.module |
---|
392 | local.toclevel1.attrib = empty |
---|
393 | toclevel1.role.attrib = role.attrib |
---|
394 | # doc:A top-level entry within a table of contents entry for a chapter-like component. |
---|
395 | toclevel1 = |
---|
396 | element toclevel1 { toclevel1.attlist, tocentry+, toclevel2* } |
---|
397 | # end of toclevel1.element |
---|
398 | toclevel1.attlist &= |
---|
399 | common.attrib, toclevel1.role.attrib, local.toclevel1.attrib |
---|
400 | # end of toclevel1.attlist |
---|
401 | |
---|
402 | # end of toclevel1.module |
---|
403 | local.toclevel2.attrib = empty |
---|
404 | toclevel2.role.attrib = role.attrib |
---|
405 | # doc:A second-level entry within a table of contents entry for a chapter-like component. |
---|
406 | toclevel2 = |
---|
407 | element toclevel2 { toclevel2.attlist, tocentry+, toclevel3* } |
---|
408 | # end of toclevel2.element |
---|
409 | toclevel2.attlist &= |
---|
410 | common.attrib, toclevel2.role.attrib, local.toclevel2.attrib |
---|
411 | # end of toclevel2.attlist |
---|
412 | |
---|
413 | # end of toclevel2.module |
---|
414 | local.toclevel3.attrib = empty |
---|
415 | toclevel3.role.attrib = role.attrib |
---|
416 | # doc:A third-level entry within a table of contents entry for a chapter-like component. |
---|
417 | toclevel3 = |
---|
418 | element toclevel3 { toclevel3.attlist, tocentry+, toclevel4* } |
---|
419 | # end of toclevel3.element |
---|
420 | toclevel3.attlist &= |
---|
421 | common.attrib, toclevel3.role.attrib, local.toclevel3.attrib |
---|
422 | # end of toclevel3.attlist |
---|
423 | |
---|
424 | # end of toclevel3.module |
---|
425 | local.toclevel4.attrib = empty |
---|
426 | toclevel4.role.attrib = role.attrib |
---|
427 | # doc:A fourth-level entry within a table of contents entry for a chapter-like component. |
---|
428 | toclevel4 = |
---|
429 | element toclevel4 { toclevel4.attlist, tocentry+, toclevel5* } |
---|
430 | # end of toclevel4.element |
---|
431 | toclevel4.attlist &= |
---|
432 | common.attrib, toclevel4.role.attrib, local.toclevel4.attrib |
---|
433 | # end of toclevel4.attlist |
---|
434 | |
---|
435 | # end of toclevel4.module |
---|
436 | local.toclevel5.attrib = empty |
---|
437 | toclevel5.role.attrib = role.attrib |
---|
438 | # doc:A fifth-level entry within a table of contents entry for a chapter-like component. |
---|
439 | toclevel5 = element toclevel5 { toclevel5.attlist, tocentry+ } |
---|
440 | # end of toclevel5.element |
---|
441 | toclevel5.attlist &= |
---|
442 | common.attrib, toclevel5.role.attrib, local.toclevel5.attrib |
---|
443 | # end of toclevel5.attlist |
---|
444 | |
---|
445 | # end of toclevel5.module |
---|
446 | local.tocback.attrib = empty |
---|
447 | tocback.role.attrib = role.attrib |
---|
448 | # doc:An entry in a table of contents for a back matter component. |
---|
449 | tocback = element tocback { tocback.attlist, para.char.mix* } |
---|
450 | # end of tocback.element |
---|
451 | |
---|
452 | # to element that this entry represents |
---|
453 | tocback.attlist &= |
---|
454 | label.attrib, |
---|
455 | linkend.attrib, |
---|
456 | pagenum.attrib, |
---|
457 | common.attrib, |
---|
458 | tocback.role.attrib, |
---|
459 | local.tocback.attrib |
---|
460 | # end of tocback.attlist |
---|
461 | |
---|
462 | # end of tocback.module |
---|
463 | |
---|
464 | # end of toc.content.module |
---|
465 | local.lot.attrib = empty |
---|
466 | lot.role.attrib = role.attrib |
---|
467 | # doc:A list of the titles of formal objects (as tables or figures) in a document. |
---|
468 | lot = |
---|
469 | element lot { |
---|
470 | lot.attlist, beginpage?, bookcomponent.title.content?, lotentry* |
---|
471 | } |
---|
472 | # end of lot.element |
---|
473 | lot.attlist &= |
---|
474 | label.attrib, common.attrib, lot.role.attrib, local.lot.attrib |
---|
475 | # end of lot.attlist |
---|
476 | |
---|
477 | # end of lot.module |
---|
478 | local.lotentry.attrib = empty |
---|
479 | lotentry.role.attrib = role.attrib |
---|
480 | # doc:An entry in a list of titles. |
---|
481 | lotentry = element lotentry { lotentry.attlist, para.char.mix* } |
---|
482 | # end of lotentry.element |
---|
483 | |
---|
484 | # SrcCredit: Information about the source of the entry, |
---|
485 | # as for a list of illustrations |
---|
486 | |
---|
487 | # linkend: to element that this entry represents |
---|
488 | lotentry.attlist &= |
---|
489 | linkend.attrib, |
---|
490 | pagenum.attrib, |
---|
491 | attribute srccredit { text }?, |
---|
492 | common.attrib, |
---|
493 | lotentry.role.attrib, |
---|
494 | local.lotentry.attrib |
---|
495 | # end of lotentry.attlist |
---|
496 | |
---|
497 | # end of lotentry.module |
---|
498 | |
---|
499 | # end of lot.content.module |
---|
500 | |
---|
501 | # ...................................................................... |
---|
502 | |
---|
503 | # Appendix, Chapter, Part, Preface, Reference, PartIntro ............... |
---|
504 | local.appendix.attrib = empty |
---|
505 | appendix.role.attrib = role.attrib |
---|
506 | # doc:An appendix in a Book or Article. |
---|
507 | appendix = |
---|
508 | element appendix { |
---|
509 | appendix.attlist, |
---|
510 | beginpage?, |
---|
511 | appendixinfo?, |
---|
512 | bookcomponent.title.content, |
---|
513 | nav.class*, |
---|
514 | tocchap?, |
---|
515 | bookcomponent.content, |
---|
516 | nav.class* |
---|
517 | } |
---|
518 | # end of appendix.element |
---|
519 | appendix.attlist &= |
---|
520 | label.attrib, |
---|
521 | status.attrib, |
---|
522 | common.attrib, |
---|
523 | appendix.role.attrib, |
---|
524 | local.appendix.attrib |
---|
525 | # end of appendix.attlist |
---|
526 | |
---|
527 | # end of appendix.module |
---|
528 | local.chapter.attrib = empty |
---|
529 | chapter.role.attrib = role.attrib |
---|
530 | # doc:A chapter, as of a book. |
---|
531 | chapter = |
---|
532 | element chapter { |
---|
533 | chapter.attlist, |
---|
534 | beginpage?, |
---|
535 | chapterinfo?, |
---|
536 | bookcomponent.title.content, |
---|
537 | nav.class*, |
---|
538 | tocchap?, |
---|
539 | bookcomponent.content, |
---|
540 | nav.class* |
---|
541 | } |
---|
542 | # end of chapter.element |
---|
543 | chapter.attlist &= |
---|
544 | label.attrib, |
---|
545 | status.attrib, |
---|
546 | common.attrib, |
---|
547 | chapter.role.attrib, |
---|
548 | local.chapter.attrib |
---|
549 | # end of chapter.attlist |
---|
550 | |
---|
551 | # end of chapter.module |
---|
552 | |
---|
553 | # Note that Part was to have its content model reduced in V4.5. This |
---|
554 | # change will not be made after all. |
---|
555 | local.part.attrib = empty |
---|
556 | part.role.attrib = role.attrib |
---|
557 | # doc:A division in a book. |
---|
558 | part = |
---|
559 | element part { |
---|
560 | part.attlist, |
---|
561 | beginpage?, |
---|
562 | partinfo?, |
---|
563 | bookcomponent.title.content, |
---|
564 | partintro?, |
---|
565 | partcontent.mix+ |
---|
566 | } |
---|
567 | # end of part.element |
---|
568 | part.attlist &= |
---|
569 | label.attrib, |
---|
570 | status.attrib, |
---|
571 | common.attrib, |
---|
572 | part.role.attrib, |
---|
573 | local.part.attrib |
---|
574 | # end of part.attlist |
---|
575 | |
---|
576 | # ELEMENT PartIntro (defined below) |
---|
577 | |
---|
578 | # end of part.module |
---|
579 | local.preface.attrib = empty |
---|
580 | preface.role.attrib = role.attrib |
---|
581 | # doc:Introductory matter preceding the first chapter of a book. |
---|
582 | preface = |
---|
583 | element preface { |
---|
584 | preface.attlist, |
---|
585 | beginpage?, |
---|
586 | prefaceinfo?, |
---|
587 | bookcomponent.title.content, |
---|
588 | nav.class*, |
---|
589 | tocchap?, |
---|
590 | bookcomponent.content, |
---|
591 | nav.class* |
---|
592 | } |
---|
593 | # end of preface.element |
---|
594 | preface.attlist &= |
---|
595 | status.attrib, |
---|
596 | common.attrib, |
---|
597 | preface.role.attrib, |
---|
598 | local.preface.attrib |
---|
599 | # end of preface.attlist |
---|
600 | |
---|
601 | # end of preface.module |
---|
602 | local.reference.attrib = empty |
---|
603 | reference.role.attrib = role.attrib |
---|
604 | # doc:A collection of reference entries. |
---|
605 | reference = |
---|
606 | element reference { |
---|
607 | reference.attlist, |
---|
608 | beginpage?, |
---|
609 | referenceinfo?, |
---|
610 | bookcomponent.title.content, |
---|
611 | partintro?, |
---|
612 | refentry.class+ |
---|
613 | } |
---|
614 | # end of reference.element |
---|
615 | reference.attlist &= |
---|
616 | label.attrib, |
---|
617 | status.attrib, |
---|
618 | common.attrib, |
---|
619 | reference.role.attrib, |
---|
620 | local.reference.attrib |
---|
621 | # end of reference.attlist |
---|
622 | |
---|
623 | # ELEMENT PartIntro (defined below) |
---|
624 | |
---|
625 | # end of reference.module |
---|
626 | local.partintro.attrib = empty |
---|
627 | partintro.role.attrib = role.attrib |
---|
628 | # doc:An introduction to the contents of a part. |
---|
629 | partintro = |
---|
630 | element partintro { |
---|
631 | partintro.attlist, div.title.content?, bookcomponent.content |
---|
632 | } |
---|
633 | # end of partintro.element |
---|
634 | partintro.attlist &= |
---|
635 | label.attrib, |
---|
636 | common.attrib, |
---|
637 | partintro.role.attrib, |
---|
638 | local.partintro.attrib |
---|
639 | # end of partintro.attlist |
---|
640 | |
---|
641 | # end of partintro.module |
---|
642 | |
---|
643 | # ...................................................................... |
---|
644 | |
---|
645 | # Other Info elements .................................................. |
---|
646 | local.appendixinfo.attrib = empty |
---|
647 | appendixinfo.role.attrib = role.attrib |
---|
648 | # doc:Meta-information for an Appendix. |
---|
649 | appendixinfo = |
---|
650 | element appendixinfo { appendixinfo.attlist, info.class+ } |
---|
651 | # end of appendixinfo.element |
---|
652 | appendixinfo.attlist &= |
---|
653 | common.attrib, appendixinfo.role.attrib, local.appendixinfo.attrib |
---|
654 | # end of appendixinfo.attlist |
---|
655 | |
---|
656 | # end of appendixinfo.module |
---|
657 | local.bibliographyinfo.attrib = empty |
---|
658 | bibliographyinfo.role.attrib = role.attrib |
---|
659 | # doc:Meta-information for a Bibliography. |
---|
660 | bibliographyinfo = |
---|
661 | element bibliographyinfo { bibliographyinfo.attlist, info.class+ } |
---|
662 | # end of bibliographyinfo.element |
---|
663 | bibliographyinfo.attlist &= |
---|
664 | common.attrib, |
---|
665 | bibliographyinfo.role.attrib, |
---|
666 | local.bibliographyinfo.attrib |
---|
667 | # end of bibliographyinfo.attlist |
---|
668 | |
---|
669 | # end of bibliographyinfo.module |
---|
670 | local.chapterinfo.attrib = empty |
---|
671 | chapterinfo.role.attrib = role.attrib |
---|
672 | # doc:Meta-information for a Chapter. |
---|
673 | chapterinfo = element chapterinfo { chapterinfo.attlist, info.class+ } |
---|
674 | # end of chapterinfo.element |
---|
675 | chapterinfo.attlist &= |
---|
676 | common.attrib, chapterinfo.role.attrib, local.chapterinfo.attrib |
---|
677 | # end of chapterinfo.attlist |
---|
678 | |
---|
679 | # end of chapterinfo.module |
---|
680 | local.glossaryinfo.attrib = empty |
---|
681 | glossaryinfo.role.attrib = role.attrib |
---|
682 | # doc:Meta-information for a Glossary. |
---|
683 | glossaryinfo = |
---|
684 | element glossaryinfo { glossaryinfo.attlist, info.class+ } |
---|
685 | # end of glossaryinfo.element |
---|
686 | glossaryinfo.attlist &= |
---|
687 | common.attrib, glossaryinfo.role.attrib, local.glossaryinfo.attrib |
---|
688 | # end of glossaryinfo.attlist |
---|
689 | |
---|
690 | # end of glossaryinfo.module |
---|
691 | local.indexinfo.attrib = empty |
---|
692 | indexinfo.role.attrib = role.attrib |
---|
693 | # doc:Meta-information for an Index. |
---|
694 | indexinfo = element indexinfo { indexinfo.attlist, info.class+ } |
---|
695 | # end of indexinfo.element |
---|
696 | indexinfo.attlist &= |
---|
697 | common.attrib, indexinfo.role.attrib, local.indexinfo.attrib |
---|
698 | # end of indexinfo.attlist |
---|
699 | |
---|
700 | # end of indexinfo.module |
---|
701 | local.setindexinfo.attrib = empty |
---|
702 | setindexinfo.role.attrib = role.attrib |
---|
703 | # doc:Meta-information for a SetIndex. |
---|
704 | setindexinfo = |
---|
705 | element setindexinfo { setindexinfo.attlist, info.class+ } |
---|
706 | # end of setindexinfo.element |
---|
707 | setindexinfo.attlist &= |
---|
708 | common.attrib, setindexinfo.role.attrib, local.setindexinfo.attrib |
---|
709 | # end of setindexinfo.attlist |
---|
710 | |
---|
711 | # end of setindexinfo.module |
---|
712 | local.partinfo.attrib = empty |
---|
713 | partinfo.role.attrib = role.attrib |
---|
714 | # doc:Meta-information for a Part. |
---|
715 | partinfo = element partinfo { partinfo.attlist, info.class+ } |
---|
716 | # end of partinfo.element |
---|
717 | partinfo.attlist &= |
---|
718 | common.attrib, partinfo.role.attrib, local.partinfo.attrib |
---|
719 | # end of partinfo.attlist |
---|
720 | |
---|
721 | # end of partinfo.module |
---|
722 | local.prefaceinfo.attrib = empty |
---|
723 | prefaceinfo.role.attrib = role.attrib |
---|
724 | # doc:Meta-information for a Preface. |
---|
725 | prefaceinfo = element prefaceinfo { prefaceinfo.attlist, info.class+ } |
---|
726 | # end of prefaceinfo.element |
---|
727 | prefaceinfo.attlist &= |
---|
728 | common.attrib, prefaceinfo.role.attrib, local.prefaceinfo.attrib |
---|
729 | # end of prefaceinfo.attlist |
---|
730 | |
---|
731 | # end of prefaceinfo.module |
---|
732 | local.refentryinfo.attrib = empty |
---|
733 | refentryinfo.role.attrib = role.attrib |
---|
734 | # doc:Meta-information for a Refentry. |
---|
735 | refentryinfo = |
---|
736 | element refentryinfo { refentryinfo.attlist, info.class+ } |
---|
737 | # end of refentryinfo.element |
---|
738 | refentryinfo.attlist &= |
---|
739 | common.attrib, refentryinfo.role.attrib, local.refentryinfo.attrib |
---|
740 | # end of refentryinfo.attlist |
---|
741 | |
---|
742 | # end of refentryinfo.module |
---|
743 | local.refsectioninfo.attrib = empty |
---|
744 | refsectioninfo.role.attrib = role.attrib |
---|
745 | # doc:Meta-information for a refsection. |
---|
746 | refsectioninfo = |
---|
747 | element refsectioninfo { refsectioninfo.attlist, info.class+ } |
---|
748 | # end of refsectioninfo.element |
---|
749 | refsectioninfo.attlist &= |
---|
750 | common.attrib, refsectioninfo.role.attrib, local.refsectioninfo.attrib |
---|
751 | # end of refsectioninfo.attlist |
---|
752 | |
---|
753 | # end of refsectioninfo.module |
---|
754 | local.refsect1info.attrib = empty |
---|
755 | refsect1info.role.attrib = role.attrib |
---|
756 | # doc:Meta-information for a RefSect1. |
---|
757 | refsect1info = |
---|
758 | element refsect1info { refsect1info.attlist, info.class+ } |
---|
759 | # end of refsect1info.element |
---|
760 | refsect1info.attlist &= |
---|
761 | common.attrib, refsect1info.role.attrib, local.refsect1info.attrib |
---|
762 | # end of refsect1info.attlist |
---|
763 | |
---|
764 | # end of refsect1info.module |
---|
765 | local.refsect2info.attrib = empty |
---|
766 | refsect2info.role.attrib = role.attrib |
---|
767 | # doc:Meta-information for a RefSect2. |
---|
768 | refsect2info = |
---|
769 | element refsect2info { refsect2info.attlist, info.class+ } |
---|
770 | # end of refsect2info.element |
---|
771 | refsect2info.attlist &= |
---|
772 | common.attrib, refsect2info.role.attrib, local.refsect2info.attrib |
---|
773 | # end of refsect2info.attlist |
---|
774 | |
---|
775 | # end of refsect2info.module |
---|
776 | local.refsect3info.attrib = empty |
---|
777 | refsect3info.role.attrib = role.attrib |
---|
778 | # doc:Meta-information for a RefSect3. |
---|
779 | refsect3info = |
---|
780 | element refsect3info { refsect3info.attlist, info.class+ } |
---|
781 | # end of refsect3info.element |
---|
782 | refsect3info.attlist &= |
---|
783 | common.attrib, refsect3info.role.attrib, local.refsect3info.attrib |
---|
784 | # end of refsect3info.attlist |
---|
785 | |
---|
786 | # end of refsect3info.module |
---|
787 | local.refsynopsisdivinfo.attrib = empty |
---|
788 | refsynopsisdivinfo.role.attrib = role.attrib |
---|
789 | # doc:Meta-information for a RefSynopsisDiv. |
---|
790 | refsynopsisdivinfo = |
---|
791 | element refsynopsisdivinfo { refsynopsisdivinfo.attlist, info.class+ } |
---|
792 | # end of refsynopsisdivinfo.element |
---|
793 | refsynopsisdivinfo.attlist &= |
---|
794 | common.attrib, |
---|
795 | refsynopsisdivinfo.role.attrib, |
---|
796 | local.refsynopsisdivinfo.attrib |
---|
797 | # end of refsynopsisdivinfo.attlist |
---|
798 | |
---|
799 | # end of refsynopsisdivinfo.module |
---|
800 | local.referenceinfo.attrib = empty |
---|
801 | referenceinfo.role.attrib = role.attrib |
---|
802 | # doc:Meta-information for a Reference. |
---|
803 | referenceinfo = |
---|
804 | element referenceinfo { referenceinfo.attlist, info.class+ } |
---|
805 | # end of referenceinfo.element |
---|
806 | referenceinfo.attlist &= |
---|
807 | common.attrib, referenceinfo.role.attrib, local.referenceinfo.attrib |
---|
808 | # end of referenceinfo.attlist |
---|
809 | |
---|
810 | # end of referenceinfo.module |
---|
811 | local.sect1info.attrib = empty |
---|
812 | sect1info.role.attrib = role.attrib |
---|
813 | # doc:Meta-information for a Sect1. |
---|
814 | sect1info = element sect1info { sect1info.attlist, info.class+ } |
---|
815 | # end of sect1info.element |
---|
816 | sect1info.attlist &= |
---|
817 | common.attrib, sect1info.role.attrib, local.sect1info.attrib |
---|
818 | # end of sect1info.attlist |
---|
819 | local.sect2info.attrib = empty |
---|
820 | sect2info.role.attrib = role.attrib |
---|
821 | # doc:Meta-information for a Sect2. |
---|
822 | sect2info = element sect2info { sect2info.attlist, info.class+ } |
---|
823 | # end of sect2info.element |
---|
824 | sect2info.attlist &= |
---|
825 | common.attrib, sect2info.role.attrib, local.sect2info.attrib |
---|
826 | # end of sect2info.attlist |
---|
827 | local.sect3info.attrib = empty |
---|
828 | sect3info.role.attrib = role.attrib |
---|
829 | # doc:Meta-information for a Sect3. |
---|
830 | sect3info = element sect3info { sect3info.attlist, info.class+ } |
---|
831 | # end of sect3info.element |
---|
832 | sect3info.attlist &= |
---|
833 | common.attrib, sect3info.role.attrib, local.sect3info.attrib |
---|
834 | # end of sect3info.attlist |
---|
835 | local.sect4info.attrib = empty |
---|
836 | sect4info.role.attrib = role.attrib |
---|
837 | # doc:Meta-information for a Sect4. |
---|
838 | sect4info = element sect4info { sect4info.attlist, info.class+ } |
---|
839 | # end of sect4info.element |
---|
840 | sect4info.attlist &= |
---|
841 | common.attrib, sect4info.role.attrib, local.sect4info.attrib |
---|
842 | # end of sect4info.attlist |
---|
843 | local.sect5info.attrib = empty |
---|
844 | sect5info.role.attrib = role.attrib |
---|
845 | # doc:Meta-information for a Sect5. |
---|
846 | sect5info = element sect5info { sect5info.attlist, info.class+ } |
---|
847 | # end of sect5info.element |
---|
848 | sect5info.attlist &= |
---|
849 | common.attrib, sect5info.role.attrib, local.sect5info.attrib |
---|
850 | # end of sect5info.attlist |
---|
851 | |
---|
852 | # ...................................................................... |
---|
853 | |
---|
854 | # Section (parallel to Sect*) ......................................... |
---|
855 | local.section.attrib = empty |
---|
856 | section.role.attrib = role.attrib |
---|
857 | # doc:A recursive section. |
---|
858 | section = |
---|
859 | element section { |
---|
860 | section.attlist, |
---|
861 | sectioninfo?, |
---|
862 | sect.title.content, |
---|
863 | nav.class*, |
---|
864 | ((divcomponent.mix+, |
---|
865 | (refentry.class* | section.class* | simplesect*)) |
---|
866 | | refentry.class+ |
---|
867 | | section.class+ |
---|
868 | | simplesect+), |
---|
869 | nav.class* |
---|
870 | } |
---|
871 | # end of section.element |
---|
872 | section.attlist &= |
---|
873 | label.attrib, |
---|
874 | status.attrib, |
---|
875 | common.attrib, |
---|
876 | section.role.attrib, |
---|
877 | local.section.attrib |
---|
878 | # end of section.attlist |
---|
879 | |
---|
880 | # end of section.module |
---|
881 | sectioninfo.role.attrib = role.attrib |
---|
882 | local.sectioninfo.attrib = empty |
---|
883 | # doc:Meta-information for a recursive section. |
---|
884 | sectioninfo = element sectioninfo { sectioninfo.attlist, info.class+ } |
---|
885 | # end of sectioninfo.element |
---|
886 | sectioninfo.attlist &= |
---|
887 | common.attrib, sectioninfo.role.attrib, local.sectioninfo.attrib |
---|
888 | # end of sectioninfo.attlist |
---|
889 | |
---|
890 | # end of sectioninfo.module |
---|
891 | |
---|
892 | # end of section.content.module |
---|
893 | |
---|
894 | # ...................................................................... |
---|
895 | |
---|
896 | # Sect1, Sect2, Sect3, Sect4, Sect5 .................................... |
---|
897 | local.sect1.attrib = empty |
---|
898 | sect1.role.attrib = role.attrib |
---|
899 | # doc:A top-level section of document. |
---|
900 | sect1 = |
---|
901 | element sect1 { |
---|
902 | sect1.attlist, |
---|
903 | sect1info?, |
---|
904 | sect.title.content, |
---|
905 | nav.class*, |
---|
906 | ((divcomponent.mix+, (refentry.class* | sect2* | simplesect*)) |
---|
907 | | refentry.class+ |
---|
908 | | sect2+ |
---|
909 | | simplesect+), |
---|
910 | nav.class* |
---|
911 | } |
---|
912 | # end of sect1.element |
---|
913 | |
---|
914 | # Renderas: Indicates the format in which the heading should |
---|
915 | # appear |
---|
916 | sect1.attlist &= |
---|
917 | attribute renderas { "sect2" | "sect3" | "sect4" | "sect5" }?, |
---|
918 | label.attrib, |
---|
919 | status.attrib, |
---|
920 | common.attrib, |
---|
921 | sect1.role.attrib, |
---|
922 | local.sect1.attrib |
---|
923 | # end of sect1.attlist |
---|
924 | |
---|
925 | # end of sect1.module |
---|
926 | local.sect2.attrib = empty |
---|
927 | sect2.role.attrib = role.attrib |
---|
928 | # doc:A subsection within a Sect1. |
---|
929 | sect2 = |
---|
930 | element sect2 { |
---|
931 | sect2.attlist, |
---|
932 | sect2info?, |
---|
933 | sect.title.content, |
---|
934 | nav.class*, |
---|
935 | ((divcomponent.mix+, (refentry.class* | sect3* | simplesect*)) |
---|
936 | | refentry.class+ |
---|
937 | | sect3+ |
---|
938 | | simplesect+), |
---|
939 | nav.class* |
---|
940 | } |
---|
941 | # end of sect2.element |
---|
942 | |
---|
943 | # Renderas: Indicates the format in which the heading should |
---|
944 | # appear |
---|
945 | sect2.attlist &= |
---|
946 | attribute renderas { "sect1" | "sect3" | "sect4" | "sect5" }?, |
---|
947 | label.attrib, |
---|
948 | status.attrib, |
---|
949 | common.attrib, |
---|
950 | sect2.role.attrib, |
---|
951 | local.sect2.attrib |
---|
952 | # end of sect2.attlist |
---|
953 | |
---|
954 | # end of sect2.module |
---|
955 | local.sect3.attrib = empty |
---|
956 | sect3.role.attrib = role.attrib |
---|
957 | # doc:A subsection within a Sect2. |
---|
958 | sect3 = |
---|
959 | element sect3 { |
---|
960 | sect3.attlist, |
---|
961 | sect3info?, |
---|
962 | sect.title.content, |
---|
963 | nav.class*, |
---|
964 | ((divcomponent.mix+, (refentry.class* | sect4* | simplesect*)) |
---|
965 | | refentry.class+ |
---|
966 | | sect4+ |
---|
967 | | simplesect+), |
---|
968 | nav.class* |
---|
969 | } |
---|
970 | # end of sect3.element |
---|
971 | |
---|
972 | # Renderas: Indicates the format in which the heading should |
---|
973 | # appear |
---|
974 | sect3.attlist &= |
---|
975 | attribute renderas { "sect1" | "sect2" | "sect4" | "sect5" }?, |
---|
976 | label.attrib, |
---|
977 | status.attrib, |
---|
978 | common.attrib, |
---|
979 | sect3.role.attrib, |
---|
980 | local.sect3.attrib |
---|
981 | # end of sect3.attlist |
---|
982 | |
---|
983 | # end of sect3.module |
---|
984 | local.sect4.attrib = empty |
---|
985 | sect4.role.attrib = role.attrib |
---|
986 | # doc:A subsection within a Sect3. |
---|
987 | sect4 = |
---|
988 | element sect4 { |
---|
989 | sect4.attlist, |
---|
990 | sect4info?, |
---|
991 | sect.title.content, |
---|
992 | nav.class*, |
---|
993 | ((divcomponent.mix+, (refentry.class* | sect5* | simplesect*)) |
---|
994 | | refentry.class+ |
---|
995 | | sect5+ |
---|
996 | | simplesect+), |
---|
997 | nav.class* |
---|
998 | } |
---|
999 | # end of sect4.element |
---|
1000 | |
---|
1001 | # Renderas: Indicates the format in which the heading should |
---|
1002 | # appear |
---|
1003 | sect4.attlist &= |
---|
1004 | attribute renderas { "sect1" | "sect2" | "sect3" | "sect5" }?, |
---|
1005 | label.attrib, |
---|
1006 | status.attrib, |
---|
1007 | common.attrib, |
---|
1008 | sect4.role.attrib, |
---|
1009 | local.sect4.attrib |
---|
1010 | # end of sect4.attlist |
---|
1011 | |
---|
1012 | # end of sect4.module |
---|
1013 | local.sect5.attrib = empty |
---|
1014 | sect5.role.attrib = role.attrib |
---|
1015 | # doc:A subsection within a Sect4. |
---|
1016 | sect5 = |
---|
1017 | element sect5 { |
---|
1018 | sect5.attlist, |
---|
1019 | sect5info?, |
---|
1020 | sect.title.content, |
---|
1021 | nav.class*, |
---|
1022 | ((divcomponent.mix+, (refentry.class* | simplesect*)) |
---|
1023 | | refentry.class+ |
---|
1024 | | simplesect+), |
---|
1025 | nav.class* |
---|
1026 | } |
---|
1027 | # end of sect5.element |
---|
1028 | |
---|
1029 | # Renderas: Indicates the format in which the heading should |
---|
1030 | # appear |
---|
1031 | sect5.attlist &= |
---|
1032 | attribute renderas { "sect1" | "sect2" | "sect3" | "sect4" }?, |
---|
1033 | label.attrib, |
---|
1034 | status.attrib, |
---|
1035 | common.attrib, |
---|
1036 | sect5.role.attrib, |
---|
1037 | local.sect5.attrib |
---|
1038 | # end of sect5.attlist |
---|
1039 | |
---|
1040 | # end of sect5.module |
---|
1041 | local.simplesect.attrib = empty |
---|
1042 | simplesect.role.attrib = role.attrib |
---|
1043 | # doc:A section of a document with no subdivisions. |
---|
1044 | simplesect = |
---|
1045 | element simplesect { |
---|
1046 | simplesect.attlist, sect.title.content, divcomponent.mix+ |
---|
1047 | } |
---|
1048 | # end of simplesect.element |
---|
1049 | simplesect.attlist &= |
---|
1050 | common.attrib, simplesect.role.attrib, local.simplesect.attrib |
---|
1051 | # end of simplesect.attlist |
---|
1052 | |
---|
1053 | # end of simplesect.module |
---|
1054 | |
---|
1055 | # ...................................................................... |
---|
1056 | |
---|
1057 | # Bibliography ......................................................... |
---|
1058 | local.bibliography.attrib = empty |
---|
1059 | bibliography.role.attrib = role.attrib |
---|
1060 | # doc:A bibliography. |
---|
1061 | bibliography = |
---|
1062 | element bibliography { |
---|
1063 | bibliography.attlist, |
---|
1064 | bibliographyinfo?, |
---|
1065 | bookcomponent.title.content?, |
---|
1066 | component.mix*, |
---|
1067 | (bibliodiv+ | (biblioentry | bibliomixed)+) |
---|
1068 | } |
---|
1069 | # end of bibliography.element |
---|
1070 | bibliography.attlist &= |
---|
1071 | status.attrib, |
---|
1072 | common.attrib, |
---|
1073 | bibliography.role.attrib, |
---|
1074 | local.bibliography.attrib |
---|
1075 | # end of bibliography.attlist |
---|
1076 | |
---|
1077 | # end of bibliography.module |
---|
1078 | local.bibliodiv.attrib = empty |
---|
1079 | bibliodiv.role.attrib = role.attrib |
---|
1080 | # doc:A section of a Bibliography. |
---|
1081 | bibliodiv = |
---|
1082 | element bibliodiv { |
---|
1083 | bibliodiv.attlist, |
---|
1084 | sect.title.content?, |
---|
1085 | component.mix*, |
---|
1086 | (biblioentry | bibliomixed)+ |
---|
1087 | } |
---|
1088 | # end of bibliodiv.element |
---|
1089 | bibliodiv.attlist &= |
---|
1090 | status.attrib, |
---|
1091 | common.attrib, |
---|
1092 | bibliodiv.role.attrib, |
---|
1093 | local.bibliodiv.attrib |
---|
1094 | # end of bibliodiv.attlist |
---|
1095 | |
---|
1096 | # end of bibliodiv.module |
---|
1097 | |
---|
1098 | # end of bibliography.content.module |
---|
1099 | |
---|
1100 | # ...................................................................... |
---|
1101 | |
---|
1102 | # Glossary ............................................................. |
---|
1103 | local.glossary.attrib = empty |
---|
1104 | glossary.role.attrib = role.attrib |
---|
1105 | # doc:A glossary. |
---|
1106 | glossary = |
---|
1107 | element glossary { |
---|
1108 | glossary.attlist, |
---|
1109 | glossaryinfo?, |
---|
1110 | bookcomponent.title.content?, |
---|
1111 | component.mix*, |
---|
1112 | (glossdiv+ | glossentry+), |
---|
1113 | bibliography? |
---|
1114 | } |
---|
1115 | # end of glossary.element |
---|
1116 | glossary.attlist &= |
---|
1117 | status.attrib, |
---|
1118 | common.attrib, |
---|
1119 | glossary.role.attrib, |
---|
1120 | local.glossary.attrib |
---|
1121 | # end of glossary.attlist |
---|
1122 | |
---|
1123 | # end of glossary.module |
---|
1124 | local.glossdiv.attrib = empty |
---|
1125 | glossdiv.role.attrib = role.attrib |
---|
1126 | # doc:A division in a Glossary. |
---|
1127 | glossdiv = |
---|
1128 | element glossdiv { |
---|
1129 | glossdiv.attlist, sect.title.content, component.mix*, glossentry+ |
---|
1130 | } |
---|
1131 | # end of glossdiv.element |
---|
1132 | glossdiv.attlist &= |
---|
1133 | status.attrib, |
---|
1134 | common.attrib, |
---|
1135 | glossdiv.role.attrib, |
---|
1136 | local.glossdiv.attrib |
---|
1137 | # end of glossdiv.attlist |
---|
1138 | |
---|
1139 | # end of glossdiv.module |
---|
1140 | |
---|
1141 | # end of glossary.content.module |
---|
1142 | |
---|
1143 | # ...................................................................... |
---|
1144 | |
---|
1145 | # Index and SetIndex ................................................... |
---|
1146 | local.indexes.attrib = empty |
---|
1147 | indexes.role.attrib = role.attrib |
---|
1148 | # doc:An index. |
---|
1149 | index = |
---|
1150 | element index { |
---|
1151 | index.attlist, |
---|
1152 | indexinfo?, |
---|
1153 | bookcomponent.title.content?, |
---|
1154 | component.mix*, |
---|
1155 | (indexdiv* | indexentry*) |
---|
1156 | } |
---|
1157 | # end of index.element |
---|
1158 | index.attlist &= |
---|
1159 | attribute type { text }?, |
---|
1160 | common.attrib, |
---|
1161 | indexes.role.attrib, |
---|
1162 | local.indexes.attrib |
---|
1163 | # end of index.attlist |
---|
1164 | |
---|
1165 | # doc:An index to a set of books. |
---|
1166 | setindex = |
---|
1167 | element setindex { |
---|
1168 | setindex.attlist, |
---|
1169 | setindexinfo?, |
---|
1170 | bookcomponent.title.content?, |
---|
1171 | component.mix*, |
---|
1172 | (indexdiv* | indexentry*) |
---|
1173 | } |
---|
1174 | # end of setindex.element |
---|
1175 | setindex.attlist &= |
---|
1176 | common.attrib, indexes.role.attrib, local.indexes.attrib |
---|
1177 | # end of setindex.attlist |
---|
1178 | |
---|
1179 | # end of indexes.module |
---|
1180 | |
---|
1181 | # SegmentedList in this content is useful for marking up permuted |
---|
1182 | # indices. |
---|
1183 | local.indexdiv.attrib = empty |
---|
1184 | indexdiv.role.attrib = role.attrib |
---|
1185 | # doc:A division in an index. |
---|
1186 | indexdiv = |
---|
1187 | element indexdiv { |
---|
1188 | indexdiv.attlist, |
---|
1189 | sect.title.content?, |
---|
1190 | (indexdivcomponent.mix*, (indexentry+ | segmentedlist)) |
---|
1191 | } |
---|
1192 | # end of indexdiv.element |
---|
1193 | indexdiv.attlist &= |
---|
1194 | common.attrib, indexdiv.role.attrib, local.indexdiv.attrib |
---|
1195 | # end of indexdiv.attlist |
---|
1196 | |
---|
1197 | # end of indexdiv.module |
---|
1198 | |
---|
1199 | # Index entries appear in the index, not the text. |
---|
1200 | local.indexentry.attrib = empty |
---|
1201 | indexentry.role.attrib = role.attrib |
---|
1202 | # doc:An entry in an index. |
---|
1203 | indexentry = |
---|
1204 | element indexentry { |
---|
1205 | indexentry.attlist, |
---|
1206 | primaryie, |
---|
1207 | (seeie | seealsoie)*, |
---|
1208 | (secondaryie, (seeie | seealsoie | tertiaryie)*)* |
---|
1209 | } |
---|
1210 | # end of indexentry.element |
---|
1211 | indexentry.attlist &= |
---|
1212 | common.attrib, indexentry.role.attrib, local.indexentry.attrib |
---|
1213 | # end of indexentry.attlist |
---|
1214 | |
---|
1215 | # end of indexentry.module |
---|
1216 | local.primsecterie.attrib = empty |
---|
1217 | primsecterie.role.attrib = role.attrib |
---|
1218 | # doc:A primary term in an index entry, not in the text. |
---|
1219 | primaryie = element primaryie { primaryie.attlist, ndxterm.char.mix* } |
---|
1220 | # end of primaryie.element |
---|
1221 | |
---|
1222 | # to IndexTerms that these entries represent |
---|
1223 | primaryie.attlist &= |
---|
1224 | linkends.attrib, |
---|
1225 | common.attrib, |
---|
1226 | primsecterie.role.attrib, |
---|
1227 | local.primsecterie.attrib |
---|
1228 | # end of primaryie.attlist |
---|
1229 | |
---|
1230 | # doc:A secondary term in an index entry, rather than in the text. |
---|
1231 | secondaryie = |
---|
1232 | element secondaryie { secondaryie.attlist, ndxterm.char.mix* } |
---|
1233 | # end of secondaryie.element |
---|
1234 | |
---|
1235 | # to IndexTerms that these entries represent |
---|
1236 | secondaryie.attlist &= |
---|
1237 | linkends.attrib, |
---|
1238 | common.attrib, |
---|
1239 | primsecterie.role.attrib, |
---|
1240 | local.primsecterie.attrib |
---|
1241 | # end of secondaryie.attlist |
---|
1242 | |
---|
1243 | # doc:A tertiary term in an index entry, rather than in the text. |
---|
1244 | tertiaryie = |
---|
1245 | element tertiaryie { tertiaryie.attlist, ndxterm.char.mix* } |
---|
1246 | # end of tertiaryie.element |
---|
1247 | |
---|
1248 | # to IndexTerms that these entries represent |
---|
1249 | tertiaryie.attlist &= |
---|
1250 | linkends.attrib, |
---|
1251 | common.attrib, |
---|
1252 | primsecterie.role.attrib, |
---|
1253 | local.primsecterie.attrib |
---|
1254 | # end of tertiaryie.attlist |
---|
1255 | |
---|
1256 | # end of primsecterie.module |
---|
1257 | local.seeie.attrib = empty |
---|
1258 | seeie.role.attrib = role.attrib |
---|
1259 | # doc:A See entry in an index, rather than in the text. |
---|
1260 | seeie = element seeie { seeie.attlist, ndxterm.char.mix* } |
---|
1261 | # end of seeie.element |
---|
1262 | |
---|
1263 | # to IndexEntry to look up |
---|
1264 | seeie.attlist &= |
---|
1265 | linkend.attrib, common.attrib, seeie.role.attrib, local.seeie.attrib |
---|
1266 | # end of seeie.attlist |
---|
1267 | |
---|
1268 | # end of seeie.module |
---|
1269 | local.seealsoie.attrib = empty |
---|
1270 | seealsoie.role.attrib = role.attrib |
---|
1271 | # doc:A See also entry in an index, rather than in the text. |
---|
1272 | seealsoie = element seealsoie { seealsoie.attlist, ndxterm.char.mix* } |
---|
1273 | # end of seealsoie.element |
---|
1274 | |
---|
1275 | # to related IndexEntries |
---|
1276 | seealsoie.attlist &= |
---|
1277 | linkends.attrib, |
---|
1278 | common.attrib, |
---|
1279 | seealsoie.role.attrib, |
---|
1280 | local.seealsoie.attrib |
---|
1281 | # end of seealsoie.attlist |
---|
1282 | |
---|
1283 | # end of seealsoie.module |
---|
1284 | |
---|
1285 | # end of index.content.module |
---|
1286 | |
---|
1287 | # ...................................................................... |
---|
1288 | |
---|
1289 | # RefEntry ............................................................. |
---|
1290 | local.refentry.attrib = empty |
---|
1291 | refentry.role.attrib = role.attrib |
---|
1292 | # doc:A reference page (originally a UNIX man-style reference page). |
---|
1293 | refentry = |
---|
1294 | element refentry { |
---|
1295 | refentry.attlist, |
---|
1296 | beginpage?, |
---|
1297 | ndxterm.class*, |
---|
1298 | refentryinfo?, |
---|
1299 | refmeta?, |
---|
1300 | (remark | link.char.class)*, |
---|
1301 | refnamediv+, |
---|
1302 | refsynopsisdiv?, |
---|
1303 | (refsect1+ | refsection+) |
---|
1304 | } |
---|
1305 | # end of refentry.element |
---|
1306 | refentry.attlist &= |
---|
1307 | status.attrib, |
---|
1308 | common.attrib, |
---|
1309 | refentry.role.attrib, |
---|
1310 | local.refentry.attrib |
---|
1311 | # end of refentry.attlist |
---|
1312 | |
---|
1313 | # end of refentry.module |
---|
1314 | local.refmeta.attrib = empty |
---|
1315 | refmeta.role.attrib = role.attrib |
---|
1316 | # doc:Meta-information for a reference entry. |
---|
1317 | refmeta = |
---|
1318 | element refmeta { |
---|
1319 | refmeta.attlist, |
---|
1320 | ndxterm.class*, |
---|
1321 | refentrytitle, |
---|
1322 | manvolnum?, |
---|
1323 | refmiscinfo*, |
---|
1324 | ndxterm.class* |
---|
1325 | } |
---|
1326 | # end of refmeta.element |
---|
1327 | refmeta.attlist &= |
---|
1328 | common.attrib, refmeta.role.attrib, local.refmeta.attrib |
---|
1329 | # end of refmeta.attlist |
---|
1330 | |
---|
1331 | # end of refmeta.module |
---|
1332 | local.refmiscinfo.attrib = empty |
---|
1333 | refmiscinfo.role.attrib = role.attrib |
---|
1334 | # doc:Meta-information for a reference entry other than the title and volume number. |
---|
1335 | refmiscinfo = |
---|
1336 | element refmiscinfo { refmiscinfo.attlist, docinfo.char.mix* } |
---|
1337 | # end of refmiscinfo.element |
---|
1338 | |
---|
1339 | # Class: Freely assignable parameter; no default |
---|
1340 | refmiscinfo.attlist &= |
---|
1341 | attribute class { text }?, |
---|
1342 | common.attrib, |
---|
1343 | refmiscinfo.role.attrib, |
---|
1344 | local.refmiscinfo.attrib |
---|
1345 | # end of refmiscinfo.attlist |
---|
1346 | |
---|
1347 | # end of refmiscinfo.module |
---|
1348 | local.refnamediv.attrib = empty |
---|
1349 | refnamediv.role.attrib = role.attrib |
---|
1350 | # doc:The name, purpose, and classification of a reference page. |
---|
1351 | refnamediv = |
---|
1352 | element refnamediv { |
---|
1353 | refnamediv.attlist, |
---|
1354 | refdescriptor?, |
---|
1355 | refname+, |
---|
1356 | refpurpose, |
---|
1357 | refclass*, |
---|
1358 | (remark | link.char.class)* |
---|
1359 | } |
---|
1360 | # end of refnamediv.element |
---|
1361 | refnamediv.attlist &= |
---|
1362 | common.attrib, refnamediv.role.attrib, local.refnamediv.attrib |
---|
1363 | # end of refnamediv.attlist |
---|
1364 | |
---|
1365 | # end of refnamediv.module |
---|
1366 | local.refdescriptor.attrib = empty |
---|
1367 | refdescriptor.role.attrib = role.attrib |
---|
1368 | # doc:A description of the topic of a reference page. |
---|
1369 | refdescriptor = |
---|
1370 | element refdescriptor { refdescriptor.attlist, refname.char.mix* } |
---|
1371 | # end of refdescriptor.element |
---|
1372 | refdescriptor.attlist &= |
---|
1373 | common.attrib, refdescriptor.role.attrib, local.refdescriptor.attrib |
---|
1374 | # end of refdescriptor.attlist |
---|
1375 | |
---|
1376 | # end of refdescriptor.module |
---|
1377 | local.refname.attrib = empty |
---|
1378 | refname.role.attrib = role.attrib |
---|
1379 | # doc:The name of (one of) the subject(s) of a reference page. |
---|
1380 | refname = element refname { refname.attlist, refname.char.mix* } |
---|
1381 | # end of refname.element |
---|
1382 | refname.attlist &= |
---|
1383 | common.attrib, refname.role.attrib, local.refname.attrib |
---|
1384 | # end of refname.attlist |
---|
1385 | |
---|
1386 | # end of refname.module |
---|
1387 | local.refpurpose.attrib = empty |
---|
1388 | refpurpose.role.attrib = role.attrib |
---|
1389 | # doc:A short (one sentence) synopsis of the topic of a reference page. |
---|
1390 | refpurpose = |
---|
1391 | element refpurpose { refpurpose.attlist, refinline.char.mix* } |
---|
1392 | # end of refpurpose.element |
---|
1393 | refpurpose.attlist &= |
---|
1394 | common.attrib, refpurpose.role.attrib, local.refpurpose.attrib |
---|
1395 | # end of refpurpose.attlist |
---|
1396 | |
---|
1397 | # end of refpurpose.module |
---|
1398 | local.refclass.attrib = empty |
---|
1399 | refclass.role.attrib = role.attrib |
---|
1400 | # doc:The scope or other indication of applicability of a reference entry. |
---|
1401 | refclass = element refclass { refclass.attlist, refclass.char.mix* } |
---|
1402 | # end of refclass.element |
---|
1403 | refclass.attlist &= |
---|
1404 | common.attrib, refclass.role.attrib, local.refclass.attrib |
---|
1405 | # end of refclass.attlist |
---|
1406 | |
---|
1407 | # end of refclass.module |
---|
1408 | local.refsynopsisdiv.attrib = empty |
---|
1409 | refsynopsisdiv.role.attrib = role.attrib |
---|
1410 | # doc:A syntactic synopsis of the subject of the reference page. |
---|
1411 | refsynopsisdiv = |
---|
1412 | element refsynopsisdiv { |
---|
1413 | refsynopsisdiv.attlist, |
---|
1414 | refsynopsisdivinfo?, |
---|
1415 | refsect.title.content?, |
---|
1416 | ((refcomponent.mix+, refsect2*) | refsect2+) |
---|
1417 | } |
---|
1418 | # end of refsynopsisdiv.element |
---|
1419 | refsynopsisdiv.attlist &= |
---|
1420 | common.attrib, refsynopsisdiv.role.attrib, local.refsynopsisdiv.attrib |
---|
1421 | # end of refsynopsisdiv.attlist |
---|
1422 | |
---|
1423 | # end of refsynopsisdiv.module |
---|
1424 | local.refsection.attrib = empty |
---|
1425 | refsection.role.attrib = role.attrib |
---|
1426 | # doc:A recursive section in a refentry. |
---|
1427 | refsection = |
---|
1428 | element refsection { |
---|
1429 | refsection.attlist, |
---|
1430 | refsectioninfo?, |
---|
1431 | refsect.title.content, |
---|
1432 | ((refcomponent.mix+, refsection*) | refsection+) |
---|
1433 | } |
---|
1434 | # end of refsection.element |
---|
1435 | refsection.attlist &= |
---|
1436 | status.attrib, |
---|
1437 | common.attrib, |
---|
1438 | refsection.role.attrib, |
---|
1439 | local.refsection.attrib |
---|
1440 | # end of refsection.attlist |
---|
1441 | |
---|
1442 | # end of refsection.module |
---|
1443 | local.refsect1.attrib = empty |
---|
1444 | refsect1.role.attrib = role.attrib |
---|
1445 | # doc:A major subsection of a reference entry. |
---|
1446 | refsect1 = |
---|
1447 | element refsect1 { |
---|
1448 | refsect1.attlist, |
---|
1449 | refsect1info?, |
---|
1450 | refsect.title.content, |
---|
1451 | ((refcomponent.mix+, refsect2*) | refsect2+) |
---|
1452 | } |
---|
1453 | # end of refsect1.element |
---|
1454 | refsect1.attlist &= |
---|
1455 | status.attrib, |
---|
1456 | common.attrib, |
---|
1457 | refsect1.role.attrib, |
---|
1458 | local.refsect1.attrib |
---|
1459 | # end of refsect1.attlist |
---|
1460 | |
---|
1461 | # end of refsect1.module |
---|
1462 | local.refsect2.attrib = empty |
---|
1463 | refsect2.role.attrib = role.attrib |
---|
1464 | # doc:A subsection of a RefSect1. |
---|
1465 | refsect2 = |
---|
1466 | element refsect2 { |
---|
1467 | refsect2.attlist, |
---|
1468 | refsect2info?, |
---|
1469 | refsect.title.content, |
---|
1470 | ((refcomponent.mix+, refsect3*) | refsect3+) |
---|
1471 | } |
---|
1472 | # end of refsect2.element |
---|
1473 | refsect2.attlist &= |
---|
1474 | status.attrib, |
---|
1475 | common.attrib, |
---|
1476 | refsect2.role.attrib, |
---|
1477 | local.refsect2.attrib |
---|
1478 | # end of refsect2.attlist |
---|
1479 | |
---|
1480 | # end of refsect2.module |
---|
1481 | local.refsect3.attrib = empty |
---|
1482 | refsect3.role.attrib = role.attrib |
---|
1483 | # doc:A subsection of a RefSect2. |
---|
1484 | refsect3 = |
---|
1485 | element refsect3 { |
---|
1486 | refsect3.attlist, |
---|
1487 | refsect3info?, |
---|
1488 | refsect.title.content, |
---|
1489 | refcomponent.mix+ |
---|
1490 | } |
---|
1491 | # end of refsect3.element |
---|
1492 | refsect3.attlist &= |
---|
1493 | status.attrib, |
---|
1494 | common.attrib, |
---|
1495 | refsect3.role.attrib, |
---|
1496 | local.refsect3.attrib |
---|
1497 | # end of refsect3.attlist |
---|
1498 | |
---|
1499 | # end of refsect3.module |
---|
1500 | |
---|
1501 | # end of refentry.content.module |
---|
1502 | |
---|
1503 | # ...................................................................... |
---|
1504 | |
---|
1505 | # Article .............................................................. |
---|
1506 | |
---|
1507 | # An Article is a chapter-level, stand-alone document that is often, |
---|
1508 | # but need not be, collected into a Book. |
---|
1509 | local.article.attrib = empty |
---|
1510 | article.role.attrib = role.attrib |
---|
1511 | # doc:An article. |
---|
1512 | article = |
---|
1513 | element article { |
---|
1514 | article.attlist, |
---|
1515 | div.title.content?, |
---|
1516 | articleinfo?, |
---|
1517 | tocchap?, |
---|
1518 | lot*, |
---|
1519 | bookcomponent.content, |
---|
1520 | (nav.class | appendix.class | colophon | ackno)* |
---|
1521 | } |
---|
1522 | # end of article.element |
---|
1523 | |
---|
1524 | # Class: Indicates the type of a particular article; |
---|
1525 | # all articles have the same structure and general purpose. |
---|
1526 | # No default. |
---|
1527 | |
---|
1528 | # ParentBook: ID of the enclosing Book |
---|
1529 | article.attlist &= |
---|
1530 | attribute class { |
---|
1531 | "journalarticle" |
---|
1532 | | "productsheet" |
---|
1533 | | "whitepaper" |
---|
1534 | | "techreport" |
---|
1535 | | "specification" |
---|
1536 | | "faq" |
---|
1537 | }?, |
---|
1538 | attribute parentbook { xsd:IDREF }?, |
---|
1539 | status.attrib, |
---|
1540 | common.attrib, |
---|
1541 | article.role.attrib, |
---|
1542 | local.article.attrib |
---|
1543 | # end of article.attlist |
---|
1544 | |
---|
1545 | # end of article.module |
---|
1546 | |
---|
1547 | # End of DocBook document hierarchy module V4.5 ........................ |
---|
1548 | |
---|
1549 | # ...................................................................... |
---|