source: trunk/lib/docbook/preprocess/dweiss-docbook-extensions.dtd @ 3334

Last change on this file since 3334 was 3334, checked in by Nicklas Nordborg, 14 years ago

Addded some more appendixes to docbook

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1<!--
2    -//Dawid Weiss//DTD DocBook V3.1-Based Extension for XML and graphics inclusion//EN
3  -->
4
5
6
7<!-- Add 'include' element to be on the same level as chapter or section class. -->
8
9<!ENTITY % local.chapter.class "|include|ifdefined">
10<!ENTITY % local.section.class "|include|ifdefined">
11<!ENTITY % local.info.class    "|include|ifdefined">
12<!ENTITY % local.para.class    "|pasteFigure|ifdefined|helptext">
13
14<!-- load DocBook -->
15
16<!ENTITY % docbook-dtd PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "../docbook/dtd/docbookx.dtd">
17%docbook-dtd;
18
19
20
21<!-- define new elements -->
22
23<!ELEMENT ifdefined ANY>
24<!ATTLIST ifdefined value CDATA #REQUIRED >
25
26
27<!ELEMENT include EMPTY>
28<!ATTLIST include file CDATA #REQUIRED>
29
30
31<!-- help text element -->
32
33<!ELEMENT helptext ANY>
34<!ATTLIST helptext external_id CDATA #REQUIRED>
35<!ATTLIST helptext title CDATA #REQUIRED>
36<!ATTLIST helptext webonly (0|1) "0">
37
38<!ELEMENT nohelp ANY>
39
40<!ELEMENT seeother (other*)>
41<!ELEMENT other (#PCDATA)>
42<!ATTLIST other external_id CDATA #REQUIRED>
43
44<!ELEMENT pasteFigure ANY>
45<!ATTLIST pasteFigure src   CDATA #REQUIRED >
46<!-- if not present, it will equal the name of the file (src),
47     without the file format extension -->
48<!ATTLIST pasteFigure id    CDATA #IMPLIED > 
49<!ATTLIST pasteFigure width CDATA #IMPLIED > 
50
51<!-- allow some chapters to be non-chunked -->
52<!ATTLIST chapter chunked (0|1) "1">
53
54<!-- allow some sect2 to be chunked -->
55<!ATTLIST sect1 chunked (0|1) "0" >
56
57<!-- do not chunk sections in appendixes by default -->
58<!ATTLIST appendix chunked (0|1) "0" >
59
Note: See TracBrowser for help on using the repository browser.