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

Last change on this file was 4642, checked in by Martin Svensson, 14 years ago

Fixes #1176 Version number should be included in title

  • Property svn:eol-style set to native
File size: 2.6 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<!ATTLIST classname docapi CDATA #IMPLIED>
31
32<!ATTLIST interfacename docapi CDATA #IMPLIED>
33
34<!ELEMENT baseversion ANY>
35
36<!-- help text element -->
37
38<!ELEMENT helptext ANY>
39<!ATTLIST helptext external_id CDATA #REQUIRED>
40<!ATTLIST helptext title CDATA #REQUIRED>
41<!ATTLIST helptext webonly (0|1) "0">
42
43<!ELEMENT nohelp ANY>
44
45<!ELEMENT seeother (other*)>
46<!ELEMENT other (#PCDATA)>
47<!ATTLIST other external_id CDATA #REQUIRED>
48
49<!ELEMENT pasteFigure ANY>
50<!ATTLIST pasteFigure src   CDATA #REQUIRED >
51<!-- if not present, it will equal the name of the file (src),
52     without the file format extension -->
53<!ATTLIST pasteFigure id    CDATA #IMPLIED > 
54<!ATTLIST pasteFigure width CDATA #IMPLIED > 
55
56<!-- allow some chapters to be non-chunked -->
57<!ATTLIST chapter chunked (0|1) "1">
58
59<!-- allow some sect2 to be chunked -->
60<!ATTLIST sect1 chunked (0|1) "0" >
61
62<!ATTLIST entrytbl frame (%tbl.frame.attval;) #IMPLIED >
63
64<!-- do not chunk sections in appendixes by default -->
65<!ATTLIST appendix chunked (0|1) "0" >
66
67<!--Start tag and end tag for guibutton -->
68<!ENTITY % gbStart  "<guibutton>">
69<!ENTITY % gbEnd  "</guibutton>">
70<!-- Most used buttons in BASE -->
71<!ENTITY gbBrowse     "%gbStart;Browse%gbEnd;">
72<!ENTITY gbCancel     "%gbStart;Cancel%gbEnd;">
73<!ENTITY gbClose      "%gbStart;Close%gbEnd;">
74<!ENTITY gbDelete     "%gbStart;Delete%gbEnd;">
75<!ENTITY gbExport     "%gbStart;Export%gbEnd;">
76<!ENTITY gbEdit       "%gbStart;Edit&hellip;%gbEnd;">
77<!ENTITY gbFinish     "%gbStart;Finish%gbEnd;">
78<!ENTITY gbImport     "%gbStart;Import%gbEnd;">
79<!ENTITY gbNew        "%gbStart;New&hellip;%gbEnd;">
80<!ENTITY gbNext       "%gbStart;Next%gbEnd;">
81<!ENTITY gbOk       "%gbStart;Ok%gbEnd;">
82<!ENTITY gbPool       "%gbStart;Pool&hellip;%gbEnd;">
83<!ENTITY gbPredefined   "%gbStart;Predefined%gbEnd;">
84<!ENTITY gbRemove     "%gbStart;Remove%gbEnd;">
85<!ENTITY gbRestore      "%gbStart;Restore%gbEnd;">
86<!ENTITY gbSave       "%gbStart;Save%gbEnd;">
87<!ENTITY gbShare      "%gbStart;Share&hellip;%gbEnd;">
Note: See TracBrowser for help on using the repository browser.