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

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

Added option to stop the chunking of each sect1 in chapters and to chunk each sect2 inside sect1.

  • Property svn:eol-style set to native
File size: 1.4 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
37<!ELEMENT seeother (other*)>
38<!ELEMENT other (#PCDATA)>
39<!ATTLIST other external_id CDATA #REQUIRED>
40
41<!ELEMENT pasteFigure ANY>
42<!ATTLIST pasteFigure src   CDATA #REQUIRED >
43<!-- if not present, it will equal the name of the file (src),
44     without the file format extension -->
45<!ATTLIST pasteFigure id    CDATA #IMPLIED > 
46<!ATTLIST pasteFigure width CDATA #IMPLIED > 
47
48<!-- allow some chapters to be non-chunked -->
49<!ATTLIST chapter chunked (0|1) "1">
50
51<!-- allow some sect2 to be chunked -->
52<!ATTLIST sect1 chunked (0|1) "0" >
Note: See TracBrowser for help on using the repository browser.