1 <!-- Id: texinfo.dtd,v 1.4 2004/12/19 15:08:55 karl Exp
2 Document Type Definition for Texinfo.
4 Author: Philippe Martin (feloy@free.fr)
6 Karl Eichwalder (keichwa@gmx.net)
7 Alper Ersoy (dirt@gtk.org)
9 Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
11 Copying and distribution of this file, with or without modification,
12 are permitted in any medium without royalty provided the copyright
13 notice and this notice are preserved.
19 <!-- Meta-information -->
20 <!ENTITY % metainformation
"setfilename | settitle | dircategory
21 | documentdescription">
22 <!ENTITY % variables
"setvalue | clearvalue">
24 <!-- Document language -->
25 <!ENTITY % lang
"documentlanguage">
27 <!-- Language codes -->
28 <!ENTITY % languagecodes
"aa|ab|af|am|ar|as|ay|az|ba|be|bg|bh|bi|bn|bo|br|ca|co|cs|cy|da|de|dz|el|en|eo|es|et|eu|fa|fi|fj|fo|fr|fy|ga|gd|gl|gn|gu|ha|he|hi|hr|hu|hy|ia|id|ie|ik|is|it|iu|ja|jw|ka|kk|kl|km|kn|ko|ks|ku|ky|la|ln|lo|lt|lv|mg|mi|mk|ml|mn|mo|mr|ms|mt|my|na|ne|nl|no|oc|om|or|pa|pl|ps|pt|qu|rm|rn|ro|ru|rw|sa|sd|sg|sh|si|sk|sl|sm|sn|so|sq|sr|ss|st|su|sv|sw|ta|te|tg|th|ti|tk|tl|tn|to|tr|ts|tt|tw|ug|uk|ur|uz|vi|vo|wo|xh|yi|yo|za|zh|zu">
31 <!ENTITY % toc
"contents | shortcontents">
34 <!ENTITY % titlepage_cmds
"author | booktitle | booksubtitle">
38 <!ENTITY % block
"menu | para | quotation | example | smallexample | lisp
39 | smalllisp | cartouche | copying
40 | format | smallformat | display
41 | smalldisplay | itemize | enumerate | sp | center | group
42 | table | multitable | definition">
44 <!-- API definitions -->
45 <!-- *************** -->
46 <!ENTITY % definition.cmds
"defcategory | deffunction | defvariable | defparam
47 | defdelimiter | deftype | defparamtype | defdatatype
48 | defclass | defclassvar | defoperation">
52 <!ENTITY % headings
"majorheading | chapheading | heading | subheading
58 <!ENTITY % section.level1
"top | chapter | unnumbered | appendix">
60 <!ENTITY % section.level2
"section | unnumberedsec | appendixsec">
62 <!ENTITY % section.level3
"subsection | unnumberedsubsec | appendixsubsec">
64 <!ENTITY % section.level4
"subsubsection | unnumberedsubsubsec
67 <!ENTITY % section.all
"%section.level1; | %section.level2; | %section.level3;
71 <!ENTITY % section.level1.content
"(%block;
75 | verbatim | titlepage | %toc;
76 | %lang; | %variables;
80 <!ENTITY % section.level2.content
"(%block;
83 | verbatim | titlepage | %toc;
84 | %lang; | %variables;
87 <!ENTITY % section.level3.content
"(%block;
89 | verbatim | titlepage | %toc;
90 | %lang; | %variables;
93 <!ENTITY % section.level4.content
"(%block;
94 | verbatim | titlepage | %toc;
95 | %lang; | %variables;
101 <!ENTITY % Inline.emphasize
"strong | emph">
102 <!ENTITY % Inline.fonts
"b | i | r | sansserif | slanted | titlefont | tt">
103 <!ENTITY % Inline.footnote
"footnote">
104 <!ENTITY % Inline.markup
"code | command | env | file | option | samp
105 | dfn | cite | key | kbd | var | acronym | url">
106 <!ENTITY % Inline.math
"math">
107 <!ENTITY % Inline.reference
"xref | inforef | indexterm | email | uref">
108 <!ENTITY % Inline.smallcaps
"sc">
110 <!ENTITY % Inline.phrase
111 "%Inline.emphasize; | %Inline.smallcaps; | %Inline.fonts;
112 | %Inline.markup; | %Inline.math; | %Inline.reference;
113 | %Inline.footnote; ">
116 <!-- ************ -->
117 <!-- * ELEMENTS * -->
118 <!-- ************ -->
120 <!-- TOP Level Element -->
121 <!-- ***************** -->
122 <!ELEMENT texinfo ((%metainformation; | titlepage | node | %block; | %toc;
123 | %variables; | %lang;)* )
>
124 <!ATTLIST texinfo xml:lang (%languagecodes;) 'en'
>
126 <!-- meta-information -->
127 <!ELEMENT setfilename (#PCDATA)
>
128 <!ELEMENT settitle (#PCDATA | %Inline.phrase; | footnote)*
>
129 <!ELEMENT dircategory (#PCDATA)
>
131 <!ELEMENT setvalue (#PCDATA | %Inline.phrase;)*
>
132 <!ELEMENT clearvalue EMPTY
>
134 name CDATA #REQUIRED
>
136 name CDATA #REQUIRED
>
139 <!ELEMENT contents EMPTY
>
140 <!ELEMENT shortcontents EMPTY
>
142 <!-- Document language -->
143 <!ELEMENT documentlanguage EMPTY
>
144 <!ATTLIST documentlanguage xml:lang (%languagecodes;) 'en'
>
147 <!ELEMENT titlepage (%titlepage_cmds; | %block;)*
>
148 <!ELEMENT author (#PCDATA | %Inline.phrase;)*
>
149 <!ELEMENT booktitle (#PCDATA | %Inline.phrase;)*
>
150 <!ELEMENT booksubtitle (#PCDATA | %Inline.phrase;)*
>
154 <!ELEMENT node (nodename, nodenext?, nodeprev?, nodeup?,
155 (%section.all; | %block; | %toc; | %lang; | image)*)
>
157 <!ELEMENT nodename (#PCDATA)
>
158 <!ELEMENT nodenext (#PCDATA)
>
159 <!ELEMENT nodeprev (#PCDATA)
>
160 <!ELEMENT nodeup (#PCDATA)
>
165 <!ELEMENT top (title?, (%section.level1.content;))
>
167 <!ELEMENT chapter (title?, (%section.level1.content;))
>
168 <!ELEMENT section (title?, (%section.level2.content;))
>
169 <!ELEMENT subsection (title?, (%section.level3.content;))
>
170 <!ELEMENT subsubsection (title?, (%section.level4.content;))
>
172 <!ELEMENT unnumbered (title?, (%section.level1.content;))
>
173 <!ELEMENT unnumberedsec (title?, (%section.level2.content;))
>
174 <!ELEMENT unnumberedsubsec (title?, (%section.level3.content;))
>
175 <!ELEMENT unnumberedsubsubsec (title?, (%section.level4.content;))
>
177 <!ELEMENT appendix (title?, (%section.level1.content;))
>
178 <!ELEMENT appendixsec (title?, (%section.level2.content;))
>
179 <!ELEMENT appendixsubsec (title?, (%section.level3.content;))
>
180 <!ELEMENT appendixsubsubsec (title?, (%section.level4.content;))
>
182 <!-- Headings and titles -->
183 <!ELEMENT majorheading (#PCDATA | %Inline.phrase; | footnote)*
>
184 <!ELEMENT chapheading (#PCDATA | %Inline.phrase; | footnote)*
>
185 <!ELEMENT heading (#PCDATA | %Inline.phrase; | footnote)*
>
186 <!ELEMENT subheading (#PCDATA | %Inline.phrase; | footnote)*
>
187 <!ELEMENT subsubheading (#PCDATA | %Inline.phrase; | footnote)*
>
188 <!ELEMENT title (#PCDATA | %Inline.phrase; | footnote)*
>
190 <!-- Negative Indentation in Blocks -->
191 <!ELEMENT exdent (#PCDATA | %Inline.phrase;)*
>
193 <!-- BLOCK Elements -->
194 <!-- ************** -->
196 <!ELEMENT quotation (%block; | %Inline.phrase; | exdent)*
>
197 <!ELEMENT documentdescription (#PCDATA | %block; | %Inline.phrase;)*
>
198 <!ELEMENT example (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
199 <!ELEMENT smallexample (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
200 <!ELEMENT lisp (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
201 <!ELEMENT smalllisp (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
202 <!ELEMENT cartouche (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
203 <!ELEMENT copying (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
204 <!ELEMENT format (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
205 <!ELEMENT smallformat (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
206 <!ELEMENT display (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
207 <!ELEMENT smalldisplay (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
208 <!ELEMENT center (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
209 <!ELEMENT group (#PCDATA | %block; | %Inline.phrase; | exdent)*
>
211 <!ELEMENT image (alttext)
>
212 <!ELEMENT alttext (#PCDATA)
>
215 extension CDATA #REQUIRED
216 width CDATA #REQUIRED
217 height CDATA #REQUIRED
>
219 <!-- Whitespace in these elements are always preserved -->
220 <!ATTLIST example xml:space (preserve) #FIXED 'preserve'
>
221 <!ATTLIST smallexample xml:space (preserve) #FIXED 'preserve'
>
222 <!ATTLIST lisp xml:space (preserve) #FIXED 'preserve'
>
223 <!ATTLIST smalllisp xml:space (preserve) #FIXED 'preserve'
>
224 <!ATTLIST display xml:space (preserve) #FIXED 'preserve'
>
225 <!ATTLIST smalldisplay xml:space (preserve) #FIXED 'preserve'
>
226 <!ATTLIST format xml:space (preserve) #FIXED 'preserve'
>
227 <!ATTLIST smallformat xml:space (preserve) #FIXED 'preserve'
>
229 <!ELEMENT verbatim (#PCDATA)
>
230 <!ATTLIST verbatim xml:space (preserve) #FIXED 'preserve'
>
232 <!ELEMENT para (#PCDATA | %Inline.phrase; | footnote | %lang;)*
>
236 <!ELEMENT menu (menuentry | detailmenu | para)*
>
237 <!ELEMENT detailmenu (menuentry | para)*
>
238 <!ELEMENT menuentry (menunode?, menutitle?, menucomment?)
>
239 <!ELEMENT menunode (#PCDATA)
>
240 <!ELEMENT menutitle (#PCDATA)
>
241 <!ELEMENT menucomment (#PCDATA | para)*
>
243 <!-- Floating displays -->
244 <!ELEMENT float (floattype, floatpos, (%block;)*, caption?)
>
247 <!ELEMENT floattype (#PCDATA)
>
248 <!ELEMENT floatpos (#PCDATA)
>
249 <!ELEMENT caption (#PCDATA | %Inline.phrase;)*
>
250 <!ELEMENT listoffloats EMPTY
>
251 <!ATTLIST listoffloats
255 <!ELEMENT itemize (itemfunction, (item | itemize | enumerate | indexterm)*)
>
256 <!ELEMENT enumerate (enumarg?, (item | itemize | enumerate)*)
>
258 first CDATA #IMPLIED
>
260 <!ELEMENT item (%block;)*
>
261 <!ELEMENT enumarg (#PCDATA)
>
263 <!ELEMENT itemfunction (#PCDATA | %Inline.phrase;)*
>
266 <!ELEMENT table (tableitem | indexterm)+
>
267 <!ELEMENT tableitem ((tableterm, indexterm*)+, item?)
>
268 <!ELEMENT tableterm (#PCDATA | %Inline.phrase;)*
>
270 <!ELEMENT multitable (columnfraction*, thead?, tbody)
>
271 <!ELEMENT columnfraction (#PCDATA)
>
272 <!ELEMENT thead (row+)
>
273 <!ELEMENT tbody (row+)
>
274 <!ELEMENT row (entry*)
>
275 <!ELEMENT entry (#PCDATA | %Inline.phrase;)*
>
277 <!-- API definitions -->
278 <!ELEMENT definition (definitionterm | definitionitem)+
>
279 <!ELEMENT definitionterm (%definition.cmds; | indexterm)+
>
280 <!ELEMENT definitionitem (%block;)*
>
282 <!ELEMENT defcategory (#PCDATA | %Inline.phrase; | footnote)*
>
283 <!ELEMENT deffunction (#PCDATA | %Inline.phrase; | footnote)*
>
284 <!ELEMENT defvariable (#PCDATA | %Inline.phrase; | footnote)*
>
285 <!ELEMENT defparam (#PCDATA | %Inline.phrase; | footnote)*
>
286 <!ELEMENT defdelimiter (#PCDATA | %Inline.phrase; | footnote)*
>
287 <!ELEMENT deftype (#PCDATA | %Inline.phrase; | footnote)*
>
288 <!ELEMENT defparamtype (#PCDATA | %Inline.phrase; | footnote)*
>
289 <!ELEMENT defdatatype (#PCDATA | %Inline.phrase; | footnote)*
>
290 <!ELEMENT defclass (#PCDATA | %Inline.phrase; | footnote)*
>
291 <!ELEMENT defclassvar (#PCDATA | %Inline.phrase; | footnote)*
>
292 <!ELEMENT defoperation (#PCDATA | %Inline.phrase; | footnote)*
>
294 <!-- INLINE Elements -->
295 <!-- *************** -->
298 <!ELEMENT strong (#PCDATA | %Inline.phrase;)*
>
299 <!ELEMENT emph (#PCDATA | %Inline.phrase;)*
>
302 <!ELEMENT sc (#PCDATA | %Inline.phrase;)*
>
305 <!ELEMENT i (#PCDATA | %Inline.phrase;)*
>
306 <!ELEMENT b (#PCDATA | %Inline.phrase;)*
>
307 <!ELEMENT tt (#PCDATA | %Inline.phrase;)*
>
308 <!ELEMENT r (#PCDATA | %Inline.phrase;)*
>
309 <!ELEMENT notfixedwidth (#PCDATA | %Inline.phrase;)*
>
310 <!ELEMENT titlefont (#PCDATA | %Inline.phrase;)*
>
313 <!ELEMENT code (#PCDATA | %Inline.phrase;)*
>
314 <!ELEMENT command (#PCDATA | %Inline.phrase;)*
>
315 <!ELEMENT env (#PCDATA | %Inline.phrase;)*
>
316 <!ELEMENT file (#PCDATA | %Inline.phrase;)*
>
317 <!ELEMENT option (#PCDATA | %Inline.phrase;)*
>
318 <!ELEMENT samp (#PCDATA | %Inline.phrase;)*
>
319 <!ELEMENT dfn (#PCDATA | %Inline.phrase;)*
>
320 <!ELEMENT cite (#PCDATA | %Inline.phrase;)*
>
321 <!ELEMENT key (#PCDATA | %Inline.phrase;)*
>
322 <!ELEMENT kbd (#PCDATA | %Inline.phrase;)*
>
323 <!ELEMENT var (#PCDATA | %Inline.phrase;)*
>
324 <!ELEMENT url (#PCDATA | %Inline.phrase;)*
>
326 <!ELEMENT acronym (acronymword, acronymdesc?)
>
327 <!ELEMENT acronymword (#PCDATA | %Inline.phrase;)*
>
328 <!ELEMENT acronymdesc (#PCDATA | %Inline.phrase;)*
>
330 <!ELEMENT abbrev (abbrevword, abbrevdesc?)
>
331 <!ELEMENT abbrevword (#PCDATA | %Inline.phrase;)*
>
332 <!ELEMENT abbrevdesc (#PCDATA | %Inline.phrase;)*
>
335 <!ELEMENT math (#PCDATA | %Inline.phrase;)*
>
338 <!ELEMENT anchor EMPTY
>
342 <!ELEMENT xref (xrefnodename | xrefinfoname | xrefinfofile
343 | xrefprintedname | xrefprinteddesc)*
>
344 <!ELEMENT xrefnodename (#PCDATA | %Inline.phrase;)*
>
345 <!ELEMENT xrefinfoname (#PCDATA | %Inline.phrase;)*
>
346 <!ELEMENT xrefinfofile (#PCDATA | %Inline.phrase;)*
>
347 <!ELEMENT xrefprintedname (#PCDATA | %Inline.phrase;)*
>
348 <!ELEMENT xrefprinteddesc (#PCDATA | %Inline.phrase;)*
>
350 <!ELEMENT inforef (inforefnodename | inforefrefname | inforefinfoname)*
>
351 <!ELEMENT inforefnodename (#PCDATA | %Inline.phrase;)*
>
352 <!ELEMENT inforefrefname (#PCDATA | %Inline.phrase;)*
>
353 <!ELEMENT inforefinfoname (#PCDATA | %Inline.phrase;)*
>
355 <!ELEMENT indexterm (#PCDATA | %Inline.phrase;)*
>
357 index CDATA #IMPLIED
>
359 <!ELEMENT email (emailaddress, emailname?)
>
360 <!ELEMENT emailaddress (#PCDATA | %Inline.phrase;)*
>
361 <!ELEMENT emailname (#PCDATA | %Inline.phrase;)*
>
363 <!ELEMENT uref (urefurl, urefdesc?, urefreplacement?)
>
364 <!ELEMENT urefurl (#PCDATA | %Inline.phrase;)*
>
365 <!ELEMENT urefdesc (#PCDATA | %Inline.phrase;)*
>
366 <!ELEMENT urefreplacement (#PCDATA | %Inline.phrase;)*
>
368 <!ELEMENT footnote (para)
>
371 <!ELEMENT neos EMPTY
>
373 <!ENTITY tex
"TeX"> <!-- Should become an element. -->
374 <!ENTITY latex
"LaTeX"> <!-- Should become an element. -->
375 <!ENTITY ellipsis
"…">
376 <!ENTITY lt
"<">
377 <!ENTITY gt
">">
378 <!ENTITY bullet
"•">
379 <!ENTITY copyright
"©">
380 <!ENTITY registered
"®">
381 <!ENTITY euro
"€">
382 <!ENTITY pounds
"£">
383 <!ENTITY minus
"−">
384 <!ENTITY linebreak
"
"> <!-- Should become an element. -->
385 <!ENTITY space
" "> <!-- Should become an element. -->
386 <!ENTITY dots
"…<neos/>">
387 <!ENTITY enddots
"…">
388 <!ENTITY amp
"&">
389 <!ENTITY ldquo
"“">
390 <!ENTITY rdquo
"”">
391 <!ENTITY mdash
"—">
392 <!ENTITY ndash
"–">
393 <!ENTITY period
".<neos/>">
394 <!ENTITY eosperiod
".">
395 <!ENTITY quest
"?<neos/>">
396 <!ENTITY eosquest
"?">
397 <!ENTITY excl
"!<neos/>">
398 <!ENTITY eosexcl
"!">
400 <!ENTITY auml
"ä">
401 <!ENTITY ouml
"ö">
402 <!ENTITY uuml
"ü">
403 <!ENTITY Auml
"Ä">
404 <!ENTITY Ouml
"Ö">
405 <!ENTITY Uuml
"Ü">
406 <!ENTITY Euml
"Ë">
407 <!ENTITY euml
"ë">
408 <!ENTITY Iuml
"Ï">
409 <!ENTITY iuml
"ï">
410 <!ENTITY yuml
"ÿ">
411 <!ENTITY uml
"¨">
413 <!ENTITY Aacute
"Á">
414 <!ENTITY Eacute
"É">
415 <!ENTITY Iacute
"Í">
416 <!ENTITY Oacute
"Ó">
417 <!ENTITY Uacute
"Ú">
418 <!ENTITY Yacute
"Ý">
419 <!ENTITY aacute
"á">
420 <!ENTITY eacute
"é">
421 <!ENTITY iacute
"í">
422 <!ENTITY oacute
"ó">
423 <!ENTITY uacute
"ú">
424 <!ENTITY yacute
"ý">
426 <!ENTITY ccedil
"ç">
427 <!ENTITY Ccedil
"Ç">
429 <!ENTITY Acirc
"Â">
430 <!ENTITY Ecirc
"Ê">
431 <!ENTITY Icirc
"Ã">
432 <!ENTITY Ocirc
"Ô">
433 <!ENTITY Ucirc
"Û">
434 <!ENTITY acirc
"â">
435 <!ENTITY ecirc
"ê">
436 <!ENTITY icirc
"î">
437 <!ENTITY ocirc
"ô">
438 <!ENTITY ucirc
"û">
440 <!ENTITY Agrave
"À">
441 <!ENTITY Egrave
"È">
442 <!ENTITY Igrave
"Ì">
443 <!ENTITY Ograve
"Ò">
444 <!ENTITY Ugrave
"Ù">
445 <!ENTITY agrave
"à">
446 <!ENTITY egrave
"è">
447 <!ENTITY igrave
"ì">
448 <!ENTITY ograve
"ò">
449 <!ENTITY ugrave
"ù">
451 <!ENTITY Atilde
"Ã">
452 <!ENTITY Ntilde
"Ñ">
453 <!ENTITY Otilde
"Õ">
454 <!ENTITY atilde
"ã">
455 <!ENTITY ntilde
"ñ">
456 <!ENTITY otilde
"õ">
458 <!ENTITY oslash
"ø">
459 <!ENTITY Oslash
"Ø">
461 <!ENTITY ordm
"º">
462 <!ENTITY ordf
"ª">
464 <!ENTITY iexcl
"¡">
465 <!ENTITY pound
"£">
466 <!ENTITY iquest
"¿">
467 <!ENTITY AElig
"Æ">
468 <!ENTITY aelig
"æ">
469 <!ENTITY OElig
"Œ">
470 <!ENTITY oelig
"œ">
471 <!ENTITY Aring
"Å">
472 <!ENTITY aring
"å">
473 <!ENTITY szlig
"ß">
475 <!ENTITY macr
"¯">
478 <!-- fixxme: not yet classified -->
480 <!ELEMENT sp (#PCDATA)
>
482 lines CDATA #IMPLIED
>
483 <!ELEMENT printindex (#PCDATA)
>