source: trunk/third/texinfo/makeinfo/texinfo.dtd @ 18945

Revision 18945, 10.2 KB checked in by amb, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18944, which included commits to RCS files with non-trunk default branches.
Line 
1<!-- $Id: texinfo.dtd,v 1.1.1.2 2003-02-28 17:44:51 amb Exp $
2   Document Type Definition for Texinfo.
3
4   Author: Philippe Martin (feloy@free.fr)
5   Contributors:
6           Karl Eichwalder (keichwa@gmx.net)
7
8   Copyright (C) 2001, 02 Free Software Foundation, Inc.
9
10   This program is free software; you can redistribute it and/or modify
11   it under the terms of the GNU General Public License as published by
12   the Free Software Foundation; either version 2, or (at your option)
13   any later version.
14
15   This program is distributed in the hope that it will be useful,
16   but WITHOUT ANY WARRANTY; without even the implied warranty of
17   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18   GNU General Public License for more details.
19
20   You should have received a copy of the GNU General Public License
21   along with this program; if not, write to the Free Software Foundation,
22   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
23-->
24
25<!-- ENTITIES -->
26
27<!-- Meta-information -->
28<!ENTITY % metainformation "setfilename | settitle | titlefont | dircategory">
29
30<!-- block -->
31<!-- ***** -->
32<!ENTITY % block "menu | para | quotation | example | smallexample | lisp
33                  | smalllisp | cartouche | copying
34                  | format | smallformat | display
35                  | smalldisplay | itemize | enumerate | sp | center | group
36                  | table | multitable">
37
38<!-- Sectioning -->
39<!-- ********** -->
40<!ENTITY % section.level1 "top | chapter | unnumbered | appendix
41                           | majorheading | chapheading">
42
43<!ENTITY % section.level2 "section | unnumberedsec | appendixsec | heading">
44
45<!ENTITY % section.level3 "subsection | unnumberedsubsec | appendixsubsec
46                           | subheading">
47
48<!ENTITY % section.level4 "subsubsection | unnumberedsubsubsec
49                           | appendixsubsubsec | subsubheading">
50
51<!ENTITY % section.all "%section.level1; | %section.level2; | %section.level3;
52                        | %section.level4;">
53
54
55<!ENTITY % section.level1.content "(%block;
56                                   | %section.level2;
57                                   | %section.level3;
58                                   | %section.level4;
59                                   | printindex)*">
60
61<!ENTITY % section.level2.content "(%block;
62                                   | %section.level3;
63                                   | %section.level4;)*">
64
65<!ENTITY % section.level3.content "(%block;
66                                   | %section.level4;)*">
67
68<!ENTITY % section.level4.content "(%block;)*">
69
70
71<!-- Inline -->
72<!-- ****** -->
73<!ENTITY % Inline.emphasize "strong | emph">
74<!ENTITY % Inline.smallcaps "sc">
75<!ENTITY % Inline.fonts "i | b | tt | r">
76<!ENTITY % Inline.markup "code | dfn | cite | key | kbd | var | acronym | url">
77<!ENTITY % Inline.reference "xref | inforef | indexterm | email | uref">
78
79<!ENTITY % Inline.phrase
80           "%Inline.emphasize; | %Inline.smallcaps; | %Inline.fonts;
81            | %Inline.markup; | %Inline.reference; ">
82
83
84<!-- ************ -->
85<!-- * ELEMENTS * -->
86<!-- ************ -->
87
88<!-- TOP Level Element -->
89<!-- ***************** -->
90<!ELEMENT texinfo ((%metainformation; | node | %block;)* )>
91
92<!-- meta-information -->
93<!ELEMENT setfilename (#PCDATA)>
94<!ELEMENT settitle    (#PCDATA)>
95<!ELEMENT titlefont   (#PCDATA)>
96<!ELEMENT dircategory (#PCDATA)>
97
98<!-- NODES -->
99<!-- ***** -->
100<!ELEMENT node (nodename, nodenext?, nodeprev?, nodeup?,
101                (%section.all; | %block;)*) >
102
103<!ELEMENT nodename (#PCDATA)>
104<!ELEMENT nodenext (#PCDATA)>
105<!ELEMENT nodeprev (#PCDATA)>
106<!ELEMENT nodeup   (#PCDATA)>
107
108<!-- SECTIONING -->
109<!-- ********** -->
110
111<!ELEMENT top           (title?, %section.level1.content;)>
112
113<!ELEMENT chapter       (title?, %section.level1.content;)>
114<!ELEMENT section       (title?, %section.level2.content;)>
115<!ELEMENT subsection    (title?, %section.level3.content;)>
116<!ELEMENT subsubsection (title?, %section.level4.content;)>
117
118<!ELEMENT unnumbered          (title?, %section.level1.content;)>
119<!ELEMENT unnumberedsec       (title?, %section.level2.content;)>
120<!ELEMENT unnumberedsubsec    (title?, %section.level3.content;)>
121<!ELEMENT unnumberedsubsubsec (title?, %section.level4.content;)>
122
123<!ELEMENT appendix          (title?, %section.level1.content;)>
124<!ELEMENT appendixsec       (title?, %section.level2.content;)>
125<!ELEMENT appendixsubsec    (title?, %section.level3.content;)>
126<!ELEMENT appendixsubsubsec (title?, %section.level4.content;)>
127
128<!ELEMENT majorheading  (title?, %section.level1.content;)>
129<!ELEMENT chapheading   (title?, %section.level1.content;)>
130<!ELEMENT heading       (title?, %section.level2.content;)>
131<!ELEMENT subheading    (title?, %section.level3.content;)>
132<!ELEMENT subsubheading (title?, %section.level4.content;)>
133
134<!ELEMENT title (#PCDATA | %Inline.phrase; | footnote)*>
135
136<!-- BLOCK Elements -->
137<!-- ************** -->
138
139<!ELEMENT quotation    (#PCDATA | %block; | %Inline.phrase;)*>
140<!ELEMENT example      (#PCDATA | %block; | %Inline.phrase;)*>
141<!ELEMENT smallexample (#PCDATA | %block; | %Inline.phrase;)*>
142<!ELEMENT lisp         (#PCDATA | %block; | %Inline.phrase;)*>
143<!ELEMENT smalllisp    (#PCDATA | %block; | %Inline.phrase;)*>
144<!ELEMENT cartouche    (#PCDATA | %block; | %Inline.phrase;)*>
145<!ELEMENT copying      (#PCDATA | %block; | %Inline.phrase;)*>
146<!ELEMENT format       (#PCDATA | %block; | %Inline.phrase;)*>
147<!ELEMENT smallformat  (#PCDATA | %block; | %Inline.phrase;)*>
148<!ELEMENT display      (#PCDATA | %block; | %Inline.phrase;)*>
149<!ELEMENT smalldisplay (#PCDATA | %block; | %Inline.phrase;)*>
150<!ELEMENT center       (#PCDATA | %block; | %Inline.phrase;)*>
151<!ELEMENT group        (#PCDATA | %block; | %Inline.phrase;)*>
152<!ELEMENT image        (#PCDATA)>
153
154<!ELEMENT para         (#PCDATA | %Inline.phrase; | footnote)*>
155
156<!ELEMENT menu ((menuentry | para)*)>
157<!ELEMENT menuentry (menunode?, menutitle?, menucomment?)>
158<!ELEMENT menunode (#PCDATA)>
159<!ELEMENT menutitle (#PCDATA)>
160<!ELEMENT menucomment (#PCDATA | para)*>
161
162<!-- Lists -->
163<!ELEMENT itemize (itemfunction, (item | itemize | enumerate | indexterm)*)>
164<!ELEMENT enumerate (enumarg?, (item | itemize | enumerate)*)>
165<!ATTLIST enumerate
166          first CDATA #IMPLIED>
167
168<!ELEMENT item (%block;)*>
169<!ELEMENT enumarg (#PCDATA)>
170
171<!ELEMENT itemfunction (#PCDATA | %Inline.phrase;)*>
172
173<!-- Tables -->
174<!ELEMENT table (tableitem | indexterm)+>
175<!ELEMENT tableitem (tableterm+, item)>
176<!ELEMENT tableterm (#PCDATA | %Inline.phrase;)*>
177
178<!ELEMENT multitable (columnfraction*, row*)>
179<!ELEMENT columnfraction (#PCDATA)>
180<!ELEMENT row (entry*)>
181<!ELEMENT entry (#PCDATA | %Inline.phrase;)*>
182
183<!-- INLINE Elements -->
184<!-- *************** -->
185
186<!-- Emphasize -->
187<!ELEMENT strong (#PCDATA | %Inline.phrase;)*>
188<!ELEMENT emph   (#PCDATA | %Inline.phrase;)*>
189
190<!-- small caps -->
191<!ELEMENT sc (#PCDATA | %Inline.phrase;)*>
192
193<!-- fonts -->
194<!ELEMENT i  (#PCDATA | %Inline.phrase;)*>
195<!ELEMENT b  (#PCDATA | %Inline.phrase;)*>
196<!ELEMENT tt (#PCDATA | %Inline.phrase;)*>
197<!ELEMENT r  (#PCDATA | %Inline.phrase;)*>
198<!ELEMENT notfixedwidth (#PCDATA | %Inline.phrase;)*>
199
200<!-- markup -->
201<!ELEMENT code    (#PCDATA | %Inline.phrase;)*>
202<!ELEMENT dfn     (#PCDATA | %Inline.phrase;)*>
203<!ELEMENT cite    (#PCDATA | %Inline.phrase;)*>
204<!ELEMENT key     (#PCDATA | %Inline.phrase;)*>
205<!ELEMENT kbd     (#PCDATA | %Inline.phrase;)*>
206<!ELEMENT var     (#PCDATA | %Inline.phrase;)*>
207<!ELEMENT acronym (#PCDATA | %Inline.phrase;)*>
208<!ELEMENT url     (#PCDATA | %Inline.phrase;)*>
209
210<!-- reference -->
211<!ELEMENT anchor EMPTY>
212<!ATTLIST anchor
213          name CDATA #IMPLIED>
214
215<!ELEMENT xref (xrefnodename | xrefinfoname | xrefinfofile
216                | xrefprintedname | xrefprinteddesc)*>
217<!ELEMENT xrefnodename    (#PCDATA | %Inline.phrase;)*>
218<!ELEMENT xrefinfoname    (#PCDATA | %Inline.phrase;)*>
219<!ELEMENT xrefinfofile    (#PCDATA | %Inline.phrase;)*>
220<!ELEMENT xrefprintedname (#PCDATA | %Inline.phrase;)*>
221<!ELEMENT xrefprinteddesc (#PCDATA | %Inline.phrase;)*>
222
223<!ELEMENT inforef (inforefnodename | inforefrefname | inforefinfoname)*>
224<!ELEMENT inforefnodename (#PCDATA | %Inline.phrase;)*>
225<!ELEMENT inforefrefname  (#PCDATA | %Inline.phrase;)*>
226<!ELEMENT inforefinfoname (#PCDATA | %Inline.phrase;)*>
227
228<!ELEMENT indexterm (#PCDATA | %Inline.phrase;)*>
229<!ATTLIST indexterm
230          index CDATA #IMPLIED>
231
232<!ELEMENT email (emailaddress, emailname?)>
233<!ELEMENT emailaddress (#PCDATA | %Inline.phrase;)*>
234<!ELEMENT emailname (#PCDATA | %Inline.phrase;)*>
235
236<!ELEMENT uref (urefurl, urefdesc?, urefreplacement?)>
237<!ELEMENT urefurl         (#PCDATA | %Inline.phrase;)*>
238<!ELEMENT urefdesc        (#PCDATA | %Inline.phrase;)*>
239<!ELEMENT urefreplacement (#PCDATA | %Inline.phrase;)*>
240
241<!ELEMENT footnote (para)>
242
243
244
245<!ENTITY tex       "TeX">
246<!ENTITY ellipsis  "">
247<!ENTITY lt        "">
248<!ENTITY gt        "">
249<!ENTITY bullet    "">
250<!ENTITY copyright "">
251<!ENTITY minus     "">
252<!ENTITY linebreak "">
253<!ENTITY space     "">
254<!ENTITY dots      "">
255<!ENTITY enddots   "">
256<!ENTITY amp       "">
257
258<!ENTITY auml "">
259<!ENTITY ouml "">
260<!ENTITY uuml "">
261<!ENTITY Auml "">
262<!ENTITY Ouml "">
263<!ENTITY Uuml "">
264<!ENTITY Euml "">
265<!ENTITY euml "">
266<!ENTITY Iuml "">
267<!ENTITY iuml "">
268<!ENTITY yuml "">
269<!ENTITY uml  "">
270
271<!ENTITY Aacute "">
272<!ENTITY Eacute "">
273<!ENTITY Iacute "">
274<!ENTITY Oacute "">
275<!ENTITY Uacute "">
276<!ENTITY Yacute "">
277<!ENTITY aacute "">
278<!ENTITY eacute "">
279<!ENTITY iacute "">
280<!ENTITY oacute "">
281<!ENTITY uacute "">
282<!ENTITY yacute "">
283
284<!ENTITY ccedil "">
285<!ENTITY Ccedil "">
286
287<!ENTITY Acirc "">
288<!ENTITY Ecirc "">
289<!ENTITY Icirc "">
290<!ENTITY Ocirc "">
291<!ENTITY Ucirc "">
292<!ENTITY acirc "">
293<!ENTITY ecirc "">
294<!ENTITY icirc "">
295<!ENTITY ocirc "">
296<!ENTITY ucirc "">
297
298<!ENTITY Agrave "">
299<!ENTITY Egrave "">
300<!ENTITY Igrave "">
301<!ENTITY Ograve "">
302<!ENTITY Ugrave "">
303<!ENTITY agrave "">
304<!ENTITY egrave "">
305<!ENTITY igrave "">
306<!ENTITY ograve "">
307<!ENTITY ugrave "">
308
309<!ENTITY Atilde "">
310<!ENTITY Ntilde "">
311<!ENTITY Otilde "">
312<!ENTITY atilde "">
313<!ENTITY ntilde "">
314<!ENTITY otilde "">
315
316<!ENTITY oslash "">
317<!ENTITY Oslash "">
318
319<!ENTITY iexcl "">
320<!ENTITY pound "">
321<!ENTITY iquest "">
322<!ENTITY AElig "">
323<!ENTITY aelig "">
324<!ENTITY Aring "">
325<!ENTITY aring "">
326<!ENTITY szlig "">
327
328<!ENTITY macr "">
329
330
331<!-- fixxme: not yet classified -->
332
333<!ELEMENT sp (#PCDATA)>
334<!ATTLIST sp
335          lines CDATA #IMPLIED>
336<!ELEMENT printindex (#PCDATA)>
337
Note: See TracBrowser for help on using the repository browser.