CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
2
C The File bibxmlext.dtd
3
4
For easier reference we repeat here the complete content of the file
5
bibxmlext.dtd which is explained in 7.2.
6
7
 bibxmlext.dtd 
8
<?xml version="1.0" encoding="UTF-8"?>
9
<!--
10
 - (C) Frank Lübeck (http://www.math.rwth-aachen.de/~Frank.Luebeck)
11
 -
12
 - The BibXMLext data format.
13
 - 
14
 - This DTD expresses XML markup similar to the BibTeX language
15
 - specified for LaTeX, or actually its content model.
16
 -
17
 - It is a variation of a file bibxml.dtd developed by the project
18
 - http://bibtexml.sf.net/
19
 - 
20
 - For documentation on BibTeX, see
21
 - http://www.ctan.org/tex-archive/biblio/bibtex/distribs/doc/
22
 -
23
 - A previous version of the code originally developed by
24
 - Vidar Bronken Gundersen, http://bibtexml.sf.net/
25
 - Reuse and repurposing is approved as long as this
26
 - notification appears with the code.
27
 -
28
-->
29

30
<!-- ..................................................................... -->
31
<!-- Main structure -->
32

33
<!-- key-value pairs as in BibTeX @string entries are put in empty elements
34
 (but here they can be used for parts of an entry field as well) -->
35
<!ELEMENT string EMPTY>
36
<!ATTLIST string
37
 key CDATA #REQUIRED 
38
 value CDATA #REQUIRED >
39
 
40
<!-- entry may contain one of the bibliographic types. -->
41
<!ELEMENT entry ( article | book | booklet |
42
 manual | techreport |
43
 mastersthesis | phdthesis |
44
 inbook | incollection |
45
 proceedings | inproceedings |
46
 conference |
47
 unpublished | misc ) >
48
<!ATTLIST entry
49
 id CDATA #REQUIRED >
50

51
<!-- file is the documents top element. -->
52
<!ELEMENT file ( string | entry )* >
53

54

55
<!-- ..................................................................... -->
56
<!-- Parameter entities -->
57

58
<!-- these are additional elements often used, but not included in the
59
 standard BibTeX distribution, these must be added to the
60
 bibliography styles, otherwise these fields will be omitted by
61
 the formatter, we allow an arbitrary number of 'other' elements
62
 to specify any further information -->
63

64
<!ENTITY % n.user " abstract?, affiliation?,
65
 contents?, copyright?,
66
 (isbn | issn)?, 
67
 keywords?, language?, lccn?, 
68
 location?, mrnumber?, mrclass?, mrreviewer?,
69
 price?, size?, url?, category?, other* ">
70

71
<!ENTITY % n.common "key?, annotate?, crossref?,
72
 %n.user;">
73

74
<!-- content model used more than once -->
75

76
<!ENTITY % n.InProceedings "author, title, booktitle,
77
 year, editor?, 
78
 (volume | number)?,
79
 series?, pages?, address?, 
80
 month?, organization?, publisher?,
81
 note?, %n.common;">
82

83
<!ENTITY % n.PHDThesis "author, title, school,
84
 year, type?, address?, month?,
85
 note?, %n.common;">
86

87
<!-- ..................................................................... -->
88
<!-- Entries in the BibTeX database -->
89

90
<!-- [article] An article from a journal or magazine.
91
 - Required fields: author, title, journal, year.
92
 - Optional fields: volume, number, pages, month, note. -->
93
<!ELEMENT article (author, title, journal,
94
 year, volume?, number?, pages?,
95
 month?, note?, %n.common;)
96
>
97

98
<!-- [book] A book with an explicit publisher. 
99
 - Required fields: author or editor, title, publisher, year.
100
 - Optional fields: volume or number, series, address,
101
 - edition, month, note. -->
102
<!ELEMENT book ((author | editor), title,
103
 publisher, year, (volume | number)?,
104
 series?, address?, edition?, month?,
105
 note?, %n.common;)
106
>
107
 
108
<!-- [booklet] A work that is printed and bound, but without a named
109
 - publisher or sponsoring institution 
110
 - Required field: title.
111
 - Optional fields: author, howpublished, address, month, year, note. -->
112
<!ELEMENT booklet (author?, title,
113
 howpublished?, address?, month?, 
114
 year?, note?, %n.common;)
115
>
116

117
<!-- [conference] The same as INPROCEEDINGS,
118
 - included for Scribe compatibility. -->
119
<!ELEMENT conference (%n.InProceedings;)
120
>
121

122
<!-- [inbook] A part of a book, which may be a chapter (or section or
123
 - whatever) and/or a range of pages. 
124
 - Required fields: author or editor, title, chapter and/or pages,
125
 - publisher, year.
126
 - Optional fields: volume or number, series, type, address,
127
 - edition, month, note. -->
128
<!ELEMENT inbook ((author | editor), title,
129
 ((chapter, pages?) | pages),
130
 publisher, year, (volume |
131
 number)?, series?, type?,
132
 address?, edition?, month?, 
133
 note?, %n.common;)
134
>
135

136
<!--
137
 - > I want to express that the elements a and/or b are legal that is one
138
 - > of them or both must be present in the document instance (see the
139
 - > element content for BibTeX entry `InBook').
140
 - > How do I specify this in my DTD?
141
 - 
142
 - Dave Peterson:
143
 - in content model: ((a , b?) | b) if order matters
144
 - ((a , b?) | (b , a?)) otherwise
145
-->
146

147
<!-- [incollection] A part of a book having its own title.
148
 - Required fields: author, title, booktitle, publisher, year.
149
 - Optional fields: editor, volume or number, series, type,
150
 - chapter, pages, address, edition, month, note. -->
151
<!ELEMENT incollection (author, title,
152
 booktitle, publisher, year,
153
 editor?, (volume | number)?,
154
 series?, type?, chapter?, 
155
 pages?, address?, edition?, 
156
 month?, note?,
157
 %n.common;)
158
>
159

160
<!-- [inproceedings] An article in a conference proceedings.
161
 - Required fields: author, title, booktitle, year.
162
 - Optional fields: editor, volume or number, series, pages,
163
 - address, month, organization, publisher, note. -->
164
<!ELEMENT inproceedings (%n.InProceedings;)
165
>
166

167
<!-- [manual] Technical documentation 
168
 - Required field: title.
169
 - Optional fields: author, organization, address,
170
 - edition, month, year, note. -->
171
<!ELEMENT manual (author?, title,
172
 organization?, address?, edition?,
173
 month?, year?, note?, %n.common;)
174
>
175

176
<!-- [mastersthesis] A Master's thesis. 
177
 - Required fields: author, title, school, year.
178
 - Optional fields: type, address, month, note. -->
179
<!ELEMENT mastersthesis (%n.PHDThesis;)
180
>
181

182
<!-- [misc] Use this type when nothing else fits. 
183
 - Required fields: none.
184
 - Optional fields: author, title, howpublished, month, year, note. -->
185
<!ELEMENT misc (author?, title?,
186
 howpublished?, month?, year?, note?,
187
 %n.common;)
188
>
189

190
<!-- [phdthesis] A PhD thesis. 
191
 - Required fields: author, title, school, year.
192
 - Optional fields: type, address, month, note. -->
193
<!ELEMENT phdthesis (%n.PHDThesis;)
194
>
195

196
<!-- [proceedings] The proceedings of a conference. 
197
 - Required fields: title, year.
198
 - Optional fields: editor, volume or number, series,
199
 - address, month, organization, publisher, note. -->
200
<!ELEMENT proceedings (editor?, title, year,
201
 (volume | number)?, series?, 
202
 address?, month?, organization?, 
203
 publisher?, note?, %n.common;)
204
>
205

206
<!-- [techreport] A report published by a school or other institution,
207
 - usually numbered within a series. 
208
 - Required fields: author, title, institution, year.
209
 - Optional fields: type, number, address, month, note. -->
210
<!ELEMENT techreport (author, title,
211
 institution, year, type?, number?,
212
 address?, month?, note?, %n.common;)
213
>
214

215
<!-- [unpublished] A document having an author and title, but not
216
 - formally published. 
217
 - Required fields: author, title, note.
218
 - Optional fields: month, year. -->
219
<!ELEMENT unpublished (author, title, note,
220
 month?, year?, %n.common;)
221
>
222

223
<!-- ..................................................................... -->
224
<!-- Fields from the standard bibliography styles -->
225

226
<!--
227
 - Below is a description of all fields recognized by the standard
228
 - bibliography styles. An entry can also contain other fields, which
229
 - are ignored by those styles.
230
 - 
231
 - [address] Usually the address of the publisher or other type of
232
 - institution For major publishing houses, van~Leunen recommends
233
 - omitting the information entirely. For small publishers, on the other
234
 - hand, you can help the reader by giving the complete address.
235
 - 
236
 - [annote] An annotation It is not used by the standard bibliography
237
 - styles, but may be used by others that produce an annotated
238
 - bibliography.
239
 - 
240
 - [author] The name(s) of the author(s), here *not* in the format 
241
 - described in the LaTeX book. Contains elements <name> which in turn
242
 - contains elements <first>, <last> for the first name (or first names,
243
 - fully written or as initials, and including middle initials) and
244
 - the last name.
245
 - 
246
 - [booktitle] Title of a book, part of which is being cited. See the
247
 - LaTeX book for how to type titles. For book entries, use the title
248
 - field instead.
249
 - 
250
 - [chapter] A chapter (or section or whatever) number.
251
 - 
252
 - [crossref] The database key of the entry being cross referenced.
253
 - 
254
 - [edition] The edition of a book-for example, ``Second''. This
255
 - should be an ordinal, and should have the first letter capitalized, as
256
 - shown here; the standard styles convert to lower case when necessary.
257
 - 
258
 - [editor] Name(s) of editor(s), typed as indicated in the LaTeX book.
259
 - If there is also an author field, then the editor field gives the
260
 - editor of the book or collection in which the reference appears.
261
 - 
262
 - [howpublished] How something strange has been published. The first
263
 - word should be capitalized.
264
 - 
265
 - [institution] The sponsoring institution of a technical report.
266
 - 
267
 - [journal] A journal name. Abbreviations are provided for many
268
 - journals; see the Local Guide.
269
 - 
270
 - [key] Used for alphabetizing, cross referencing, and creating a label
271
 - when the ``author'' information (described in Section [ref: ] is
272
 - missing. This field should not be confused with the key that appears
273
 - in the \cite command and at the beginning of the database entry.
274
 - 
275
 - [month] The month in which the work was published or, for an
276
 - unpublished work, in which it was written. You should use the
277
 - standard three-letter abbreviation, as described in Appendix B.1.3 of
278
 - the LaTeX book.
279
 - 
280
 - [note] Any additional information that can help the reader. The first
281
 - word should be capitalized.
282
 - 
283
 - [number] The number of a journal, magazine, technical report, or of a
284
 - work in a series. An issue of a journal or magazine is usually
285
 - identified by its volume and number; the organization that issues a
286
 - technical report usually gives it a number; and sometimes books are
287
 - given numbers in a named series.
288
 - 
289
 - [organization] The organization that sponsors a conference or that
290
 - publishes a manual.
291
 - 
292
 - [pages] One or more page numbers or range of numbers, such as 42-111
293
 - or 7,41,73-97 or 43+ (the `+' in this last example indicates pages
294
 - following that don't form a simple range). To make it easier to
295
 - maintain Scribe-compatible databases, the standard styles convert a
296
 - single dash (as in 7-33) to the double dash used in TeX to denote
297
 - number ranges (as in 7-33). Here, we suggest to use the entity
298
 - &ndash; for a dash in page ranges.
299
 - 
300
 - [publisher] The publisher's name.
301
 - 
302
 - [school] The name of the school where a thesis was written.
303
 - 
304
 - [series] The name of a series or set of books. When citing an entire
305
 - book, the the title field gives its title and an optional series field
306
 - gives the name of a series or multi-volume set in which the book is
307
 - published.
308
 - 
309
 - [title] The work's title. For mathematical formulae use the <M> or
310
 - <Math> elements explained below (and LaTeX code in the content, without
311
 - surrounding '$').
312
 - 
313
 - [type] The type of a technical report-for example, ``Research
314
 - Note''.
315
 - 
316
 - [volume] The volume of a journal or multivolume book.
317
 - 
318
 - [year] The year of publication or, for an unpublished work, the year
319
 - it was written. Generally it should consist of four numerals, such as
320
 - 1984, although the standard styles can handle any year whose last four
321
 - nonpunctuation characters are numerals, such as `(about 1984)'.
322
-->
323

324
<!-- Here is the main extension compared to the original BibXML definition
325
 from which is DTD is derived: We want to allow more markup in some 
326
 elements such that we can use the bibliography for high quality 
327
 output in other formats than LaTeX. 
328
 
329
 - <M> and <Math>, mathematical formulae: Specify LaTeX code for "simple" 
330
 formulae as content of <M> elements; "simple" means that they can be
331
 translated to a fairly readable ASCII representation as explained in
332
 the GAPDoc documentation on "<M>". 
333
 More complicated formulae are given as content of <Math> elements.
334
 (Think about an <Alt> alternative for text or HTML representations.)
335
 
336
 - <URL>: use these elements to specify URLs, they can be properly
337
 converted to links if possible in an output format (in that case 
338
 the Text attribute is used for the visible text).
339

340
 - <value key="..."/>: substituted by the value-attribute specified
341
 in a <string key="..." value="..."/> element. Can be used anywhere,
342
 not only for complete fields as in BibTeX.
343

344
 - <C> protect case changes: should be used instead of {}'s which are
345
 used in BibTeX title fields to protect the case of letters from
346
 changes. 
347

348
 - <Alt Only="...">, <Alt Not="...">, alternatives for different 
349
 output formats: Use this to specify alternatives, the GAPDoc
350
 utilities will do some special handling for "Text", "HTML",
351
 and "BibTeX" as output type.
352

353
 - <Wrap Name="...">, generic wrapper for other markup:
354
 Use this for any other type of markup you are interested in. The
355
 GAPDoc utilities will ignore the markup, but provide a hook
356
 to do install handler functions for them.
357
-->
358
<!ELEMENT M (#PCDATA | Alt)* > <!-- math with simple text
359
 representation, in LaTeX -->
360
<!ELEMENT Math (#PCDATA | Alt)* > <!-- other math in LaTeX -->
361
<!ELEMENT URL (#PCDATA | Alt | Link | LinkText)* > <!-- an URL -->
362
<!ATTLIST URL Text CDATA #IMPLIED> <!-- text to be printed 
363
 (default is content) -->
364
<!ELEMENT value EMPTY > <!-- placeholder for value given .. -->
365
<!ATTLIST value key CDATA #REQUIRED > <!-- .. by key, defined in a string
366
 element -->
367
<!ELEMENT C (#PCDATA | value | Alt |
368
 M | Math | Wrap | URL)* > <!-- protect from case changes -->
369
<!ELEMENT Alt (#PCDATA | value | C | Alt | 
370
 M | Math | Wrap | URL)* > <!-- specify alternatives for 
371
 various types of output -->
372
<!ATTLIST Alt Only CDATA #IMPLIED
373
 Not CDATA #IMPLIED > <!-- specify output types in comma and 
374
 whitespace separated list (use exactly one of Only or Not) -->
375

376
<!ENTITY % withMURL "(#PCDATA | value | M | Math | Wrap | URL | C | Alt )*" >
377

378
<!ELEMENT Wrap %withMURL; > <!-- a generic wrapper -->
379
<!ATTLIST Wrap Name CDATA #REQUIRED > <!-- needs a 'Name' attribute -->
380

381
<!ELEMENT address %withMURL; >
382
<!-- here we don't want the complicated definition from the LaTeX book,
383
 use markup for first/last name(s): a <name> element for each
384
 author which contains <first> (optional), <last> elements: -->
385
<!ELEMENT author (name)* >
386
<!ELEMENT name (first?, last) >
387
<!ELEMENT first (#PCDATA) >
388
<!ELEMENT last (#PCDATA) >
389

390
<!ELEMENT booktitle %withMURL; >
391
<!ELEMENT chapter %withMURL; >
392
<!ELEMENT edition %withMURL; >
393
<!-- same as for author field -->
394
<!ELEMENT editor (name)* >
395
<!ELEMENT howpublished %withMURL; >
396
<!ELEMENT institution %withMURL; >
397
<!ELEMENT journal %withMURL; >
398
<!ELEMENT month %withMURL; >
399
<!ELEMENT note %withMURL; >
400
<!ELEMENT number %withMURL; >
401
<!ELEMENT organization %withMURL; >
402
<!ELEMENT pages %withMURL; >
403
<!ELEMENT publisher %withMURL; >
404
<!ELEMENT school %withMURL; >
405
<!ELEMENT series %withMURL; >
406
<!ELEMENT title %withMURL; >
407
<!ELEMENT type %withMURL; >
408
<!ELEMENT volume %withMURL; >
409
<!ELEMENT year (#PCDATA) >
410

411
<!-- These were not listed in the documentation for entry content, but
412
 - appeared in the list of fields in the BibTeX documentation -->
413

414
<!ELEMENT annotate %withMURL; >
415
<!ELEMENT crossref %withMURL; >
416
<!ELEMENT key (#PCDATA) >
417

418

419
<!-- ..................................................................... -->
420
<!-- Other popular fields
421
 - 
422
 - From: http://www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html
423
 - BibTeX is extremely popular, and many people have used it to store
424
 - information. Here is a list of some of the more common fields:
425
 - 
426
 - [affiliation] The authors affiliation. 
427
 - [abstract] An abstract of the work. 
428
 - [contents] A Table of Contents 
429
 - [copyright] Copyright information. 
430
 - [ISBN] The International Standard Book Number. 
431
 - [ISSN] The International Standard Serial Number. 
432
 - Used to identify a journal. 
433
 - [keywords] Key words used for searching or possibly for annotation. 
434
 - [language] The language the document is in. 
435
 - [location] A location associated with the entry,
436
 - such as the city in which a conference took place.
437
 - [LCCN] The Library of Congress Call Number.
438
 - I've also seen this as lib-congress. 
439
 - [mrnumber] The Mathematical Reviews number. 
440
 - [mrclass] The Mathematical Reviews class. 
441
 - [mrreviewer] The Mathematical Reviews reviewer. 
442
 - [price] The price of the document. 
443
 - [size] The physical dimensions of a work. 
444
 - [URL] The WWW Universal Resource Locator that points to the item being
445
 - referenced. This often is used for technical reports to point to the
446
 - ftp site where the postscript source of the report is located.
447
 - 
448
 - When using BibTeX with LaTeX you need
449
 - BibTeX style files to print these data.
450
-->
451

452
<!ELEMENT abstract %withMURL; >
453
<!ELEMENT affiliation %withMURL; >
454
<!ELEMENT contents %withMURL; >
455
<!ELEMENT copyright %withMURL; >
456
<!ELEMENT isbn (#PCDATA) >
457
<!ELEMENT issn (#PCDATA) >
458
<!ELEMENT keywords %withMURL; >
459
<!ELEMENT language %withMURL; >
460
<!ELEMENT lccn (#PCDATA) >
461
<!ELEMENT location %withMURL; >
462
<!ELEMENT mrnumber %withMURL; >
463
<!ELEMENT mrclass %withMURL; >
464
<!ELEMENT mrreviewer %withMURL; >
465
<!ELEMENT price %withMURL; >
466
<!ELEMENT size %withMURL; >
467
<!ELEMENT url %withMURL; >
468

469

470
<!-- Added by Zeger W. Hendrikse
471
 - [category] Category of this bibitem
472
-->
473
<!ELEMENT category %withMURL; >
474

475
<!-- A container element [other] for any further information, a description 
476
 - of the type of data must be given in the attribute 'type' 
477
-->
478
<!ELEMENT other %withMURL; >
479
<!ATTLIST other
480
 type CDATA #REQUIRED >
481

482

483
<!-- ..................................................................... -->
484
<!-- Predefined/reserved character entities -->
485

486
<!ENTITY amp "&#38;#38;">
487
<!ENTITY lt "&#38;#60;">
488
<!ENTITY gt "&#62;">
489
<!ENTITY apos "&#39;">
490
<!ENTITY quot "&#34;">
491

492

493
<!-- Some more generally useful entities -->
494
<!ENTITY nbsp "&#160;">
495
<!ENTITY copyright "&#169;">
496
<!ENTITY ndash "&#x2013;">
497
 
498

499
<!-- ..................................................................... -->
500
<!-- End of BibXMLext dtd -->
501

502

503
504
505