This file is indexed.

/usr/share/sgml/dtd/linuxdoc97.dtd is in linuxdoc-tools 0.9.69-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
<!-- This is a DTD, but will be read as -*- sgml -*-   -->
<!-- ================================================= -->
<!-- $Id: linuxdoc97.dtd,v 1.1.1.1 2001/05/24 15:57:41 sano Exp $ 

     This is LINUXDOC97 STRICT DTD for SGML-Tools.

     It is based on the original LINUXDOC DTD, which
     was in turn derived from QWERTZ DTD.
     Look at those DTD's for the respective authors
     and revision history.

     Initial revision May 1st, 1997, by B. Kreimeier

     $Log: linuxdoc97.dtd,v $
     Revision 1.1.1.1  2001/05/24 15:57:41  sano
     linuxdoc-tools 0.96
     This is re-imported because of cvs repository is lost
     due to HDD trouble

     Revision 0.1.0.1  2000/05/13 14:59:57  sano
     Initial release of Linuxdoc-Tools

     Revision 1.5  1998/06/26 19:41:11  cg
     * Add (La)TeX logos. (NJ)

     Revision 1.4  1998/03/22 10:39:09  cg
     * Corrected "isoent" entity reference in DTD. (CdG)

     Revision 1.3  1997/11/27 21:07:41  cg
     * Fix comment buglet. (CdG)

     Revision 1.2  1997/11/23 21:04:38  cg
     * Added <file> tag to all DTDs and documented it (ESR)

     * Added <idx> and <cdx> to linuxdoc97 and sgmltool DTDs (ESR)

     * Arrange for <htmlurl> to call \url in the LaTeX back end (ESR)

     Revision 1.1  1997/07/09 13:27:21  cg
     * Completely new DTD setup by Bernd (BK).


                                                       -->
<!-- ================================================= -->
<!-- Revision Comments                                 -->

<!-- ESR/97/11/17: Added file, idx, cdx tags.          -->
<!-- BK/97/05/01: I removed all elements not used in
     guide.sgml and example.sgml. I removed newline,
     was used once in guide, but not documented.
     Removed sl,sf,it, these  were mentioned in example,
     but use was discouraged in guide. Removed everal
     occurences of qtag and qendtag that have been
     commented out earlier on.                         -->
<!-- BK/97/05/16: removed font highlighting,
     these are now in the system entity "deprecated96" -->
<!-- BK/97/05/18: moved quote and code back from
     "common", as I want to modify them (caption)      -->
<!-- BK/97/06/06: finally applied changes proposed by
     Ken MacLeod to dtd/catalog (PUBLIC). Changed
     the linuxdoc97 element name to linuxdoc.          -->
<!-- BK/97/06/22: installed 0.99.12, applied changes
     made for new entity mapping.                      -->
<!-- ================================================= -->



<!-- ================================================= -->
<!-- Contents:
      - general purpose character definitions
      - usemap shortrefs
      - parameter/group entities
      - top-down list of elements                      -->
<!-- ================================================= -->


<!-- ================================================= -->
<!-- GENERAL PURPOSE CHARACTER definitions             -->
<!-- BK: general was included for refnam/urlnam.
     Is this really the right way to do it?            -->
<!-- KWM: `general' entity replaced with ISO entities  -->
<!-- ================================================= -->


<!-- `general' entity replaced with ISO entities - kwm -->
<!entity % isoent system "isoent">
%isoent;

<!entity urlnam sdata "urlnam" >
<!entity refnam sdata "refnam" >

<!entity tex	sdata "[tex   ]" >
<!entity latex	sdata "[latex ]" >
<!entity latexe	sdata "[latexe]" >
<!entity tm     sdata "[trade ]" >
<!entity dquot  sdata "[quot  ]" >
<!entity ero    sdata "[amp   ]" >
<!entity etago '</' >

<!entity   Ae  '&Auml;' >
<!entity   ae  '&auml;' >
<!entity   Oe  '&Ouml;' >
<!entity   oe  '&ouml;' >
<!entity   Ue  '&Uuml;' >
<!entity   ue  '&uuml;' >
<!entity   sz  '&szlig;' >


<!entity space " ">
<!entity null "">
<!-- entity ptag '<p>' -->
<!-- entity psplit '</p><p>' -->


<!-- ================================================= -->
<!-- SHORTREF maps                                     -->
<!-- Referenced in "usemap" statements                 -->
<!-- BK: are some of these redundant?                  -->
<!-- ================================================= -->


<!shortref global
      "&#RS;B" null  -- delete leading blanks -->


<!shortref oneline
     "B&#RE;" space
     "&#RS;&#RE;" null 
     "&#RS;B&#RE;" null >


<!shortref ttmap     -- also on one-line --
        "B&#RE;" space
        "&#RS;&#RE;" null 
        "&#RS;B&#RE;" null
      	"&#RS;B" null >


<!-- MDW: What a mess.
     The following desmap is here to clean up problems
      with paragraph breaks in a descrip.
     I can think of cases where this might break,
      but it seems to work.                          -->

<!shortref desmap
        "&#RS;B" null
        -- "&#RS;B&#RE;" ptag
        "&#RS;&#RE;" ptag -- >


<!shortref pmap
	"&#RS;B" null 
	-- "&#RS;B&#RE;" psplit
	"&#RS;&#RE;" psplit -->





<!-- ================================================= -->
<!-- PARAMETER or group ENTITIES                       -->
<!-- SGML requires us to set up the parameter entities
      referenced in elements first.                    -->
<!-- ================================================= -->



<!-- ================================================= -->
<!-- HIGHLIGHTING                                      -->
<!-- Group of all highlighting elements.               -->
<!-- The actual elements have to be defined below,
      as the inline entity is referenced there.        -->
<!-- BK: deprecated,
      but unfortunately part of Linuxdoc               -->
<!-- ================================================= -->

<!entity % emph 
	" em | bf | tt " >

<!-- ================================================= -->
<!-- INDEXING                                          -->
<!-- All elements having to do with generating indices -->
<!-- ================================================= -->

<!entity % index "idx|cdx" >

<!element idx - - (#pcdata)>
<!element cdx - - (#pcdata)>

<!-- ================================================= -->
<!-- XREF                                              -->
<!-- Group of references of all kind                   -->
<!-- HG: url added                                     -->
<!-- ESR: htmlurl added                                -->
<!-- BK: the Label/Ref pair is conceptually different,
      perhaps it should be treated differently?        -->
<!-- ================================================= -->

<!entity % xref
	" label|ref|url|htmlurl " >

<!-- ================================================= -->
<!-- LISTS - itemize, enum, descrip                    -->
<!-- Group of all list elements                        -->
<!-- BK: the descrip glossary is conceptually
      different, perhaps it should be treated
      differently?                                     -->
<!-- ================================================= -->

<!entity % list 
        " itemize | enum | descrip " >

<!-- ================================================= -->
<!-- PARagraph                                         -->
<!-- Group of all elements that are text blocks        -->
<!-- Includes literal programming and figures.         -->
<!-- ================================================= -->

<!entity % par 	
	"  %list; | quote | tscreen " >

<!entity % litprog 
  " code | verb " >

<!entity % sectpar 
  " %par; | figure | %litprog; ">

<!-- ================================================= -->
<!-- INLINE - all simple text                          -->
<!-- ================================================= -->

<!entity % inline 
	" (#pcdata | %emph; | %xref | %index | file )* " >


<!-- ================================================= -->
<!-- TOP-DOWN (more or less) ELEMENTS                  -->
<!-- This section gives the actual structure
      of the document.                                 -->
<!-- ================================================= -->



<!-- ================================================= -->
<!-- LINUXDOC - top level definition                   -->
<!-- ================================================= -->

<!-- BK: forced article. sect does not work, removed.  -->
<!element linuxdoc o o ( article ) >
<!usemap global linuxdoc>



<!-- ================================================= -->
<!-- ARTICLE                                           -->
<!-- MDW: hacked, abstract now part of titlepag        -->
<!-- ================================================= -->

<!element article - -
      (titlepag, header?, toc?, p*, sect* ) >

<!attlist article
        opts cdata "null">

<!-- ================================================= -->
<!-- COMMON definitions.                               -->
<!-- These are used by multiple DTD's.                 -->
<!-- ================================================= -->

<!entity % common system 
                   -- definitions common to SGML Tools -->
%common;


<!-- ================================================= -->
<!-- LIST - descrip and tag element                    -->
<!-- BK: it seems that using the item element here
      would be straightforward (empty entries,
      paragraph handling), at the prize of loosing
      the shorthand omission                           -->
<!-- ================================================= -->

<!element descrip - - (tag?, p+)+ >
<!element tag - o (%inline)>

<!usemap desmap descrip>
<!usemap oneline tag>


<!-- ================================================= -->
<!-- CODE, QUOTE: paragraph elements                   -->
<!-- ================================================= -->

<!element quote  - - ( quotep ) >

<!-- quote paragraph only used internally -->
<!element quotep o o ((%inline; | %sectpar;)*, p*)+ >

<!element code - - rcdata>

<!-- ================================================= -->
<!-- REFERENCES - cross references                     -->
<!-- HG: ref modified to have an optional name field   -->
<!-- ================================================= -->

<!-- REF needed to state destination                   -->
<!element ref - o empty>
<!attlist ref   
        id cdata #required
        name cdata "&refnam">

<!-- LABEL needed to mark destination                  -->
<!element label - o empty>
<!attlist label id cdata #required>


<!-- ================================================= -->
<!-- REFERENCES - URL links                            -->
<!-- HG: url entity added 
      to have direct url references                    -->
<!-- ESR: htmlurl entity added
      to have quieter url references                   -->
<!-- BK: the htmlurl/url elements seem to confuse
      annotated bookmark vs. direct hidden link?       -->
<!-- ================================================= -->

<!element url - o empty>
<!attlist url   
        url cdata #required
        name cdata "&urlnam" >

<!element htmlurl - o empty>
<!attlist htmlurl   
        url cdata #required
        name cdata "&urlnam" >



<!-- ================================================= -->
<!-- JUSTIFICATION CONTROL                             -->
<!-- ================================================= -->

<!element file - - (#pcdata)>

<!-- ================================================= -->
<!-- DEPRECATED definitions.                           -->
<!-- These are deprecated Linuxdoc96 DTD elements,
      provided only for backward compatibility.        -->
<!-- ================================================= -->

<!entity % deprec96 system 
                              -- deprecated Linuxdoc96 -->
%deprec96;


<!-- ================================================= -->
<!-- end of LINUXDOC STRICT DTD                        -->
<!--
     Local Variables:
     mode: sgml
     End:                                              -->
<!-- ================================================= -->