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

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

Allow 'entrytbl' tags to have a 'frame' attribute in the same way as 'table'.

  • Property svn:eol-style set to native
File size: 2.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<!ATTLIST entrytbl frame (%tbl.frame.attval;) #IMPLIED >
58
59<!-- do not chunk sections in appendixes by default -->
60<!ATTLIST appendix chunked (0|1) "0" >
61
62<!--Start tag and end tag for guibutton -->
63<!ENTITY % gbStart  "<guibutton>">
64<!ENTITY % gbEnd  "</guibutton>">
65<!-- Most used buttons in BASE2 -->
66<!ENTITY gbBrowse     "%gbStart;Browse%gbEnd;">
67<!ENTITY gbCancel     "%gbStart;Cancel%gbEnd;">
68<!ENTITY gbClose      "%gbStart;Close%gbEnd;">
69<!ENTITY gbDelete     "%gbStart;Delete%gbEnd;">
70<!ENTITY gbExport     "%gbStart;Export%gbEnd;">
71<!ENTITY gbEdit       "%gbStart;Edit&hellip;%gbEnd;">
72<!ENTITY gbFinish     "%gbStart;Finish%gbEnd;">
73<!ENTITY gbImport     "%gbStart;Import%gbEnd;">
74<!ENTITY gbNew        "%gbStart;New&hellip;%gbEnd;">
75<!ENTITY gbNext       "%gbStart;Next%gbEnd;">
76<!ENTITY gbOk       "%gbStart;Ok%gbEnd;">
77<!ENTITY gbPool       "%gbStart;Pool&hellip;%gbEnd;">
78<!ENTITY gbPredefined   "%gbStart;Predefined%gbEnd;">
79<!ENTITY gbRemove     "%gbStart;Remove%gbEnd;">
80<!ENTITY gbRestore      "%gbStart;Restore%gbEnd;">
81<!ENTITY gbSave       "%gbStart;Save%gbEnd;">
82<!ENTITY gbShare      "%gbStart;Share&hellip;%gbEnd;">
Note: See TracBrowser for help on using the repository browser.