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

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

Added option to not include <helptext> sections in the HTML or PDF documentation.

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