annotate etc/sgml/html-hj.dtd @ 186:24ac94803b48

Added tag r20-3b19 for changeset 3d6bfa290dbd
author cvs
date Mon, 13 Aug 2007 09:55:30 +0200
parents ac2d302a0011
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
2 html-hj.dtd
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
3
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
4 Document Type Definition for the HyperText Markup Language (HTML
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
5 DTD) for Sun Microsystems Corp. HotJava environment
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
6
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
7
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
8 Date: 24 Jul 95
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
9
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
10 Revisions made by: Mark Gaither (markg@hal.com)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
11 Original Author: Dave Raggett <dsr@hplb.hpl.hp.com>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
12
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
13 I have taken the HTML 3.0 DTD dated 16 Mar 95 and added the APP
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
14 element introduced by Sun Microsystems Corp. to accomodate their
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
15 Java/HotJava WWW application environment.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
16 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
17
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
18 <!ENTITY % HTML.Version
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
19 "-//Sun Micorsystems Corp.//DTD HotJava HTML//EN"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
20
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
21 -- Typical usage:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
22
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
23 <!DOCTYPE HTML PUBLIC "-//Sun Micorsystems Corp.//DTD HotJava HTML//EN">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
24 <html>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
25 ...
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
26 </html>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
27 --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
28 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
29
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
30 <!--================== Flags for Marked Sections ==========================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
31
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
32 <!ENTITY % HTML.Recommended "IGNORE"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
33 -- Certain features of the language are necessary for compatibility
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
34 with widespread usage, but they may compromise the structural
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
35 integrity of a document. This feature test entity enables
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
36 a more prescriptive document type definition that eliminates
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
37 the above features.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
38 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
39
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
40 <![ %HTML.Recommended [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
41 <!ENTITY % HTML.Deprecated "IGNORE">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
42 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
43
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
44 <!ENTITY % HTML.Deprecated "INCLUDE"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
45 -- Certain features of the language are necessary for compatibility
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
46 with earlier versions of the specification, but they tend
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
47 to be used an implemented inconsistently, and their use is
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
48 deprecated. This feature test entity enables a document type
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
49 definition that eliminates these features.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
50 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
51
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
52 <!ENTITY % HTML.Obsoleted "IGNORE"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
53 -- The XMP, LISTING and PLAINTEXT tags are incompatible with SGML
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
54 and derive from very early versions of HTML. They require non-
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
55 standard parsers and will cause problems for processing
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
56 documents with standard SGML tools.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
57 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
58
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
59 <!--================== Imported Names =====================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
60
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
61 <!ENTITY % Content-Type "CDATA"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
62 -- meaning a MIME content type, as per RFC1521
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
63 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
64
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
65 <!ENTITY % HTTP-Method "GET | POST"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
66 -- as per HTTP specification
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
67 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
68
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
69 <!ENTITY % URI "CDATA"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
70 -- The term URI means a CDATA attribute
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
71 whose value is a Uniform Resource Identifier,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
72 as defined by
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
73 "Uniform Resource Identifiers" by Tim Berners-Lee
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
74 aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
75 aka RFC 1630
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
76
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
77 Note that CDATA attributes are limited by the LITLEN
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
78 capacity (1024 in the current version of html.decl),
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
79 so that URIs in HTML have a bounded length.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
80
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
81 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
82
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
83 <!ENTITY % REAL "CDATA" -- real numbers (not in SGML) -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
84
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
85 <!ENTITY % SHAPE "CDATA"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
86 -- Shape of hotzone in image.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
87
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
88 All coordinates are assumed to be numbers in the range 0 to 1
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
89 and interpreted as fractional width/height and measured from
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
90 the top left corner of the associated image.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
91
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
92 The attribute value is a string taking one of the following forms:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
93
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
94 "default"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
95
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
96 Used to define a default link for the figure background.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
97
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
98 "circle x, y, r"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
99
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
100 (x, y) define the center and r the radius.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
101
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
102 "rect x, y, w, h"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
103
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
104 (x, y) defines upper left, and w and h the width and height.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
105
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
106 "polygon x1, y1, x2, y2, ..."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
107
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
108 Given n pairs of x, y coordinates, the polygon is closed by a
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
109 line linking the n'th point to the first. Intersecting polygons
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
110 use the non-zero winding number rule to determine if a point lies
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
111 inside the polygon.I
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
112 --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
113 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
114
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
115 <!-- 3.0 Parameter Entities -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
116
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
117 <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
118
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
119 <![ %HTML.Obsoleted [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
120 <!ENTITY % preformatted "PRE | XMP | LISTING">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
121 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
122
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
123
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
124 <![ %HTML.Deprecated [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
125 <!ENTITY % list "UL | OL | DIR | MENU">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
126 <!ENTITY % blockquote "BLOCKQUOTE | BQ">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
127 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
128
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
129 <!ENTITY % list "UL | OL">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
130
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
131 <!ENTITY % blockquote "BQ">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
132
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
133 <!ENTITY % preformatted "PRE">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
134
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
135
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
136 <!-- The CLASS attribute is used to subclass HTML elements for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
137 rendering purposes, when used with style sheets, e.g. DSSSL lite -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
138
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
139 <!ENTITY % attrs -- common attributes for elements --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
140 'id ID #IMPLIED -- as target for hrefs (link ends) --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
141 lang CDATA "en.us" -- ISO language, country code --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
142 class NAMES #IMPLIED -- for subclassing elements --'>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
143
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
144 <!-- SGML standard forces different NAMES for all attribute values
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
145 in the same element, regardless of the attribute name! As a result
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
146 CDATA is used for CLEAR attribute to avoid clash with ALIGN attribute.-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
147
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
148 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
149 When text flows around a figure or table in the margin, you sometimes want
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
150 to start an element like a header, paragraph or list below the figure rather
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
151 than alongside it. The CLEAR attribute allows you to move down unconditionally:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
152
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
153 clear=left move down until left margin is clear
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
154 clear=right move down until right margin is clear
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
155 clear=all move down until both margins are clear
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
156
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
157 Alternatively, you can decide to place the element alongside the figure just
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
158 so long as there is enough room. The minimum width needed is specified as:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
159
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
160 clear="40 en" move down until there is at least 40 en units free
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
161 clear="100 pixels" move down until there is at least 100 pixels free
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
162
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
163 The style sheet (or browser defaults) may provide default minimum widths for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
164 each class of block-like elements.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
165 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
166
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
167 <!ENTITY % needs -- Attributes for controlling text flow. Used in headers
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
168 and other elements to guarantee sufficient room --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
169 'clear CDATA #IMPLIED'>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
170
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
171 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
172 The following attribute may be included where ever a URL can be given:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
173
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
174 md message digest e.g. md="md5:jV2OfH+nnXHU8bnkPAad/mSQlTDZ"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
175 where the digest is base64 encoded and preceded by a prefix
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
176 denoting the algorithm (in this case MD5).
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
177 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
178
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
179 <!ENTITY % url.link -- Attributes associated with URL based links --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
180 "md CDATA #IMPLIED -- message digest for linked object --">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
181
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
182 <!--================ Character mnemonic entities ==========================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
183
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
184 <!-- The HTML list of Latin-1 entities includes the full range
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
185 of characters in widely available Latin-1 fonts, and as such
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
186 is a mixture of ISOlat1 and other ISO publishing symbols -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
187
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
188 <!ENTITY % HTMLlat1 PUBLIC
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
189 "-//IETF//ENTITIES Added Latin 1 for HTML//EN">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
190 %HTMLlat1;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
191
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
192 <!--================ Entities for special symbols =========================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
193
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
194 <!ENTITY emsp SDATA "[emsp ]" -- em space -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
195 <!ENTITY ensp SDATA "[ensp ]" -- en space (1/2-em) -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
196 <!ENTITY mdash SDATA "[ndash ]" -- em dash -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
197 <!ENTITY ndash SDATA "[ndash ]" -- en dash (1/2-em) -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
198 <!ENTITY nbsp SDATA "[nbsp ]" -- non breaking space -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
199 <!ENTITY shy SDATA "[shy ]" -- soft hyphen -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
200 <!ENTITY copy SDATA "[copy ]" -- copyright sign -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
201 <!ENTITY trade SDATA "[trade ]" -- trade mark sign -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
202 <!ENTITY reg SDATA "[reg ]" -- registered sign -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
203
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
204 <!--================ Entities for standard icons ==========================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
205
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
206 <!-- a range of standard icons such as &folder; for use
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
207 in speeding up display of directory listings etc. -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
208
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
209 <!ENTITY % HTMLicons PUBLIC
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
210 "-//IETF//ENTITIES icons for HTML//EN">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
211 %HTMLicons;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
212
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
213 <!--================ Entities for math symbols ============================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
214
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
215 <!-- ISO subset chosen for use with the widely available Adobe math font -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
216
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
217 <!ENTITY % HTMLmath PUBLIC
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
218 "-//IETF//ENTITIES Math and Greek for HTML//EN">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
219 %HTMLmath;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
220
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
221 <!--=================== Text Markup =======================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
222
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
223 <!ENTITY % font " U | S | TT | I | BIG | SMALL">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
224
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
225 <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
226
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
227 <!ENTITY % misc "Q | LANG | AU | DFN | PERSON | ACRONYM | ABBREV | INS | DEL">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
228
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
229 <!ENTITY % special "TAB | MATH | A | IMG | BR">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
230
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
231 <!ENTITY % notmath "%font | %phrase | %special | %misc">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
232
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
233 <!ENTITY % text "#PCDATA | SUB | SUP | B | %notmath">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
234
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
235
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
236 <!ENTITY % pre.exclusion "TAB|MATH|IMG|BIG|SMALL|SUB|SUP">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
237
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
238 <!ELEMENT (%font|B|%phrase|%misc) - - (%text)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
239 <!ATTLIST (%font|B|%phrase|%misc) %attrs;>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
240
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
241 <!-- Subscripts and superscripts. The ALIGN attribute is only used for math -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
242
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
243 <!ELEMENT (SUB|SUP) - - (%text)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
244 <!ATTLIST (SUB|SUP)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
245 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
246 align (left|center|right) #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
247 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
248
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
249 <!-- Forced line break -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
250
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
251 <!ELEMENT BR - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
252 <!ATTLIST BR
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
253 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
254 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
255 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
256
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
257 <!-- Named left, center and right tab stops (independent of '\t' char) -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
258
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
259 <!ELEMENT TAB - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
260 <!ATTLIST TAB
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
261 id ID #IMPLIED -- defines named tab stop --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
262 indent NUMBER 0 -- en units before new tab stop --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
263 to IDREF #IMPLIED -- jump to named tab stop --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
264 align (left|center|right|decimal) left
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
265 dp CDATA #IMPLIED -- decimal point e.g. dp="," --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
266 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
267
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
268 <!--================== Link Markup ========================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
269
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
270 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
271 With HTML 3.0 you can use ID attributes on most elements for named
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
272 link ends. The use of the NAME attribute on anchors is deprecated.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
273
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
274 Do we want to support arbitrary elements for link starts? This would
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
275 involve adding HREF and related attributes to most elements.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
276 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
277
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
278 <![ %HTML.Deprecated [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
279 <!ENTITY % linkName "name CDATA #IMPLIED -- named link end --">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
280 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
281
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
282 <!ENTITY % linkName "">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
283
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
284
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
285 <!ENTITY % ToolBar "home|toc|index|glossary|copyright|
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
286 up|previous|next|help|bookmark"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
287
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
288 -- LINK RELationship values which are used to create toolbar
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
289 buttons or menu items for navigation, where toc stands
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
290 for table of contents and bookmark provides for an open
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
291 ended set of links, i.e. you can use multiple bookmarks
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
292 for key entry points. Use the optional TITLE attribute
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
293 to override default names.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
294 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
295
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
296 <!ENTITY % linkType "NAME"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
297 -- A definitive list will be specified at a later date.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
298
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
299 They are used
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
300
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
301 a) by stylesheets to control how collections of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
302 html nodes are rendered into printed documents
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
303
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
304 b) for document specific toolbars/menus when used
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
305 with the LINK element in document head:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
306
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
307 "home|toc|index|glossary|copyright|
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
308 up|previous|next|help|bookmark"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
309
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
310 where toc stands for table of contents and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
311 bookmark provides for an open ended set of links,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
312 i.e. you can use several bookmarks for key entry
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
313 points. Use the optional TITLE attribute to
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
314 override default names.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
315
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
316 c) for hypertext paths or guided tours,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
317 with REL=NODE and REL=PATH.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
318
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
319 d) to make a link to a style sheet, e.g. rel=stylesheet
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
320 (used only with the LINK element).
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
321
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
322 e) to make a link to a separate banner, e.g. rel=banner
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
323 (used only with the LINK element).
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
324 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
325
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
326
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
327 <!ENTITY % linkExtraAttributes -- URN moved to %url.link --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
328 "rel %linkType #IMPLIED -- forward relationship type --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
329 rev %linkType #IMPLIED -- reversed relationship type
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
330 to referent data --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
331 title CDATA #IMPLIED -- advisory only --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
332 methods NAMES #IMPLIED -- supported public methods of the object:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
333 TEXTSEARCH, GET, HEAD, ... --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
334 ">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
335
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
336 <![ %HTML.Deprecated [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
337 <!ENTITY % A.content "(%heading|%text)+">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
338 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
339
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
340 <!ENTITY % A.content "(%text)+">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
341
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
342 <!ELEMENT A - - %A.content -(A)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
343
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
344 <!ATTLIST A
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
345 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
346 href %URI; #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
347 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
348 %linkName; -- name attribute is deprecated; use ID instead --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
349 shape %SHAPE; #IMPLIED -- for shaped hotzones in FIGs --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
350 %linkExtraAttributes;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
351 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
352
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
353 <!--=================== Images ============================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
354
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
355 <!-- Desired widths are used for negotiating image size
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
356 with the module responsible for painting the image.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
357 align=left or right cause image to float to margin
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
358 and for subsequent text to wrap around image -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
359
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
360 <!ELEMENT IMG - O EMPTY -- Embedded image -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
361 <!ATTLIST IMG
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
362 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
363 src %URI; #REQUIRED -- URI of image to embed --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
364 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
365 alt CDATA #IMPLIED -- for display in place of image --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
366 align (top|middle|bottom|left|right) top -- relative to baseline
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
367 -- width NUMBER #IMPLIED -- desired width in en's or pixels --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
368 height NUMBER #IMPLIED -- desired height in en's or pixels --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
369 units (en|pixels) pixels -- units for width and height --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
370 ismap (ismap) #IMPLIED -- pass clicks to server --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
371 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
372
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
373 <!--=================== Paragraphs=========================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
374
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
375 <!ELEMENT P - O (%text)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
376 <!ATTLIST P
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
377 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
378 align (left|center|right|justify) #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
379 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
380 nowrap (nowrap) #IMPLIED -- disable wordwrap --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
381 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
382
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
383 <!--=================== Headings, Titles, Sections ========================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
384
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
385 <!ELEMENT HR - O EMPTY -- customizable horizontal rule -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
386 <!ATTLIST HR
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
387 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
388 src %URI; #IMPLIED -- URI of custom rule graphic --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
389 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
390 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
391 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
392
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
393 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
394 Headers can be numbered, although this is a matter for style sheets.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
395 The style sheet controls the numbering style:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
396
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
397 a) whether the parent numbering is inherited, e.g. 5.i.c
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
398 where 5 is the current sequence number for H1 headers, and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
399 1 is the number for H2 headers and 3 for H3 headers.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
400
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
401 b) what style is used for current sequence number
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
402 e.g. arabic, upperalpha, loweralpha, upperroman, lowerroman
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
403 or a numbering scheme appropriate for the current language
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
404
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
405 The skip attribute is used to skip over sequence numbers for items
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
406 which have been left out of the list, e.g. skip=3 advances the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
407 sequence number past 3 omitted items. The seqnum sets the sequence
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
408 number to a specified value. Note that the style sheet may take
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
409 advantage of the sequence number for higher level headers.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
410
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
411 The dingbat or src attributes may be used to specify a bullet like
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
412 image to be placed adjacent to the header. Defining this in the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
413 header element simplifies the document markup and avoids the need
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
414 to use the clear or needs attribute in the following element to
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
415 prevent it flowing around this image.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
416 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
417
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
418 <!ELEMENT ( %heading ) - - (%text;)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
419 <!ATTLIST ( %heading )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
420 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
421 align (left|center|right|justify) #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
422 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
423 seqnum NUMBER #IMPLIED -- starting sequence number --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
424 skip NUMBER 0 -- skip seq nums for missing items --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
425 dingbat ENTITY #IMPLIED -- dingbat entity from HTMLicons --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
426 src (%URI;) #IMPLIED -- bullet defined by graphic --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
427 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
428 nowrap (nowrap) #IMPLIED -- disable wordwrap --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
429 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
430
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
431 <!ELEMENT TITLE - - (#PCDATA)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
432 -- The TITLE element is not considered part of the flow of text.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
433 It should be displayed, for example as the page header or
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
434 window title.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
435 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
436
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
437 <!--=================== Text Flows ========================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
438
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
439 <!ENTITY % block
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
440 "P | %list | DL
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
441 | %preformatted
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
442 | %blockquote
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
443 | FORM | ISINDEX | FN
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
444 | TABLE | FIG | NOTE">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
445
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
446 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
447 ((%block)* | (%text)*) would be much nicer as it would avoid the need
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
448 for a <P> tag when all you want is a few words of text. The problem
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
449 is that it also prevents: "<LI> <P>some text" since it forbids PCDATA
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
450 and hence the white space between the <LI> and the <P>.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
451 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
452
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
453 <![ %HTML.Recommended [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
454 <!ENTITY % flow "(%block)*">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
455 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
456
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
457 <!ENTITY % flow "(%text | %block)*">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
458
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
459 <!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
460
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
461 <!ATTLIST PRE
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
462 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
463 width NUMBER #implied
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
464 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
465 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
466
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
467 <![ %HTML.Obsoleted [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
468
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
469 <!ENTITY % literal "CDATA"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
470 -- special non-conforming parsing mode where
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
471 the only markup signal is the end tag
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
472 in full. This will cause problems for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
473 standard SGML tools!
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
474 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
475
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
476 <!ELEMENT XMP - - %literal>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
477 <!ELEMENT LISTING - - %literal>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
478 <!ELEMENT PLAINTEXT - O %literal>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
479
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
480 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
481
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
482 <!--=================== Lists =============================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
483
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
484 <!ELEMENT DL - - (LH?, (DT|DD)+) -- this is perhaps too lax? -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
485 <!ATTLIST DL
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
486 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
487 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
488 compact (compact) #IMPLIED -- more compact style --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
489 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
490
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
491 <!ELEMENT DT - O (%text)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
492 <!ELEMENT DD - O %flow;>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
493 <!ATTLIST (DT|DD)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
494 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
495 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
496 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
497
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
498
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
499 <!ELEMENT (OL|UL) - - (LH?, LI+) -- should we allow a list header ? -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
500
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
501 <!-- style sheet controls numbering style
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
502 a) whether the parent numbering is inherited, e.g. 5.1.c
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
503 b) what style is used for current sequence number
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
504 e.g. arabic, upperalpha, loweralpha, upperroman, lowerroman
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
505 or a numbering scheme for the current language
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
506 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
507 <!ATTLIST OL
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
508 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
509 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
510 continue (continue) #IMPLIED -- don't restart sequence number --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
511 seqnum NUMBER #IMPLIED -- starting sequence number --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
512 compact (compact) #IMPLIED -- reduced interitem spacing --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
513 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
514
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
515 <!-- Unordered lists:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
516
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
517 o single or multicolumn with
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
518 horizontal or vertical wrapping
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
519
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
520 o plain or bulletted list items
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
521
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
522 o bullets can be customised via:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
523 - entities (dingbats in HTMLicons)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
524 - external graphic via URL
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
525 - individual attributes on LI tags
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
526 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
527 <!ATTLIST UL
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
528 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
529 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
530 wrap (vert|horiz|none) none -- multicolumn list style --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
531 plain (plain) #IMPLIED -- suppress bullets --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
532 dingbat ENTITY #IMPLIED -- dingbat entity from HTMLicons --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
533 src (%URI;) #IMPLIED -- bullet defined by graphic --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
534 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
535 compact (compact) #IMPLIED -- reduced interitem spacing --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
536 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
537
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
538 <!ELEMENT LH - O (%text;)+ -- list header -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
539 <!ATTLIST LH %attrs;>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
540
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
541 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
542 For unordered lists, you can override the standard bullet with
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
543 a custom graphic specified via a URI e.g. src="splash.gif" or
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
544 a reference to one of the HTMLicons graphics e.g. dingbat=folder
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
545
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
546 The skip attribute is used with ordered lists to skip over sequence
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
547 numbers for items which have been left out of the list, e.g. skip=3
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
548 advances the sequence number past 3 omitted items.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
549 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
550
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
551 <!ELEMENT LI - O %flow; -- list item -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
552 <!ATTLIST LI
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
553 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
554 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
555 dingbat ENTITY #IMPLIED -- dingbat entity from HTMLicons --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
556 src (%URI;) #IMPLIED -- custom bullet graphic --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
557 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
558 skip NUMBER 0 -- skip seq nums for missing items --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
559 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
560
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
561 <!-- DIR and MENU are now subsumed by UL with type=plain. Use the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
562 wrap attribute to control wrapping style for multicolumn lists -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
563
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
564 <![ %HTML.Deprecated [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
565 <!ELEMENT (DIR|MENU) - - (LI)+ -(%block)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
566 <!ATTLIST (DIR|MENU)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
567 compact (compact) #IMPLIED>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
568 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
569
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
570 <!--=================== Document Body =====================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
571
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
572 <![ %HTML.Recommended [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
573 <!ENTITY % body.content "(DIV|%heading|%block|HR|ADDRESS|APP)*"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
574 -- <h1>Heading</h1>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
575 <p>Text ...
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
576 is preferred to
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
577 <h1>Heading</h1>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
578 Text ...
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
579 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
580 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
581
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
582 <!ENTITY % body.content "(DIV | %heading | %text | %block | HR | ADDRESS | APP)*">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
583
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
584 <!ELEMENT BODY O O (BANNER?, BODYTEXT) +(SPOT)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
585 <!ATTLIST BODY
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
586 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
587 background %URI; #IMPLIED -- texture tile for document background --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
588 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
589
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
590 <!ELEMENT BODYTEXT O O %body.content -- dummy element -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
591
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
592 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
593 The BANNER element is used for a banner section which appears at
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
594 the top of the window and doesn't scroll with window contents.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
595 This can be used for corporate logos, copyright statements and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
596 disclaimers, as well as customized navigation/search controls.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
597 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
598 <!ELEMENT BANNER - - %body.content>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
599 <!ATTLIST BANNER %attrs; >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
600
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
601 <!-- SPOT is used to insert IDs at arbitrary places
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
602 e.g. for end points of a marked range (see RANGE) -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
603 <!ELEMENT SPOT - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
604 <!ATTLIST SPOT id ID #REQUIRED>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
605
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
606 <!ELEMENT (%blockquote) - - (BODYTEXT, CREDIT?)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
607 <!ATTLIST (%blockquote)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
608 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
609 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
610 nowrap (nowrap) #IMPLIED -- disable wordwrap --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
611 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
612
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
613 <!ENTITY % address.content "((%text;)* | P*)">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
614
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
615 <!ELEMENT ADDRESS - - %address.content>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
616 <!ATTLIST ADDRESS
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
617 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
618 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
619 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
620
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
621 <!ELEMENT APP - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
622 <!ATTLIST APP
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
623 class CDATA #REQUIRED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
624 src %URI; #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
625 align (bottom|top|middle) #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
626 width NUMBER #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
627 height NUMBER #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
628 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
629
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
630 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
631 DIV can be used with the CLASS attribute to represent different
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
632 kinds of container, e.g. chapter, section, abstract, appendix.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
633 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
634
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
635 <!ELEMENT DIV - - %body.content>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
636 <!ATTLIST DIV
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
637 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
638 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
639 align (left|center|right) left -- alignment of following text --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
640 nowrap (nowrap) #IMPLIED -- disable wordwrap --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
641 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
642
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
643 <!--================ Forms ===============================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
644
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
645 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
646 As HTML 2.0 plus a few extensions:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
647
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
648 a) A RANGE control which varies between pair of values
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
649 specified with the size attribute, e.g. SIZE="1, 10"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
650
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
651 b) FILE widget for uploading one or more files to a server
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
652
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
653 c) SCRIBBLE on image widget that sends the "ink" to the server
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
654
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
655 d) SUBMIT/RESET buttons can now be customised with an image.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
656 This subsumes the IMAGE type which is now deprecated.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
657
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
658 e) Graphical SELECTion menus are now supported, using
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
659 the new SHAPE attribute on OPTION elements.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
660
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
661 Further extensions are in the pipeline (e.g. table entry,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
662 multiple data formats for textarea fields and client-side
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
663 scripts with custom widgets) but will have to wait until
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
664 the backlog of implementation work diminishes.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
665 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
666
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
667 <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
668 <!ATTLIST FORM
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
669 action %URI #REQUIRED -- server-side form handler --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
670 method (%HTTP-Method) GET -- see HTTP specification --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
671 enctype %Content-Type; "application/x-www-form-urlencoded"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
672 script %URI #IMPLIED -- link to client-side script --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
673 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
674
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
675 <![ %HTML.Deprecated [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
676 <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
677 | RESET | RANGE | FILE | SCRIBBLE | HIDDEN | IMAGE)">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
678 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
679
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
680 <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
681 | RESET | RANGE | FILE | SCRIBBLE | HIDDEN)">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
682
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
683 <!ELEMENT INPUT - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
684 <!ATTLIST INPUT
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
685 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
686 type %InputType TEXT
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
687 name NAME #IMPLIED -- required for all but submit and reset --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
688 value CDATA #IMPLIED -- required for radio buttons & checkboxes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
689 disabled (disabled) #IMPLIED -- read-only fields --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
690 error CDATA #IMPLIED -- why field is in error --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
691 checked (checked) #IMPLIED -- for radio buttons and check boxes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
692 size NUMBER #IMPLIED -- visible width of TEXT fields --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
693 maxlength NUMBER #IMPLIED -- max number of chars for TEXT fields --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
694 min %REAL #IMPLIED -- lower limit for RANGE fields --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
695 max %REAL #IMPLIED -- upper limit for RANGE fields --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
696 accept CDATA #IMPLIED -- list of MIME types for file fields --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
697 src %URI #IMPLIED -- for fields with background images --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
698 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
699 align (top|middle|bottom|left|right) top
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
700 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
701
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
702 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
703 SRC attribute added for graphical selection menus
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
704 The WIDTH, HEIGHT and UNITS attributes apply to the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
705 image specified by the SRC attribute.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
706 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
707
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
708 <!ELEMENT SELECT - - (OPTION+) -(INPUT|TEXTAREA|SELECT)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
709 <!ATTLIST SELECT
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
710 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
711 name CDATA #REQUIRED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
712 multiple (multiple) #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
713 disabled (disabled) #IMPLIED -- read-only menu --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
714 error CDATA #IMPLIED -- why selections are in error --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
715 src %URI #IMPLIED -- for graphical selection menus --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
716 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
717 width NUMBER #IMPLIED -- desired width of in en's or pixels --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
718 height NUMBER #IMPLIED -- desired height in en's or pixels --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
719 units (en|pixels) pixels -- units for width and height --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
720 align (top|middle|bottom|left|right) top
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
721 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
722
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
723 <!ELEMENT OPTION - O (#PCDATA)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
724 <!ATTLIST OPTION
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
725 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
726 selected (selected) #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
727 value CDATA #IMPLIED -- default to element content --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
728 shape %SHAPE; #IMPLIED -- for graphical selection menus --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
729 disabled (disabled) #IMPLIED -- unselectable option --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
730 error CDATA #IMPLIED -- why this choice is in error --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
731 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
732
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
733 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
734 Multi-line text input field. align=left or right
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
735 causes the field to float to margin and for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
736 subsequent text to wrap around the field.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
737 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
738
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
739 <!ELEMENT TEXTAREA - - (#PCDATA) -(INPUT|TEXTAREA|SELECT)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
740 <!ATTLIST TEXTAREA
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
741 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
742 name CDATA #REQUIRED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
743 rows NUMBER #REQUIRED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
744 cols NUMBER #REQUIRED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
745 disabled (disabled) #IMPLIED -- read-only field --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
746 error CDATA #IMPLIED -- why field is in error --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
747 align (top|middle|bottom|left|right) top
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
748 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
749
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
750 <!--======================= Captions ======================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
751
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
752 <!ELEMENT CAPTION - - (%text;)+ -- table or figure caption -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
753 <!ATTLIST CAPTION
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
754 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
755 align (top|bottom|left|right) #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
756 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
757 <!--======================= Tables ========================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
758
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
759 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
760 Tables and figures can be aligned in several ways:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
761
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
762 bleedleft flush left with the left (window) border
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
763 left flush left with the left text margin
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
764 center centered (text flow is disabled for this mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
765 right flush right with the right text margin
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
766 bleedright flush right with the right (window) border
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
767 justify when applicable the table/figure should stretch
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
768 to fill space between the text margins
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
769
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
770 Note: text will flow around the table or figure if the browser
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
771 judges there is enough room and the alignment is not centered
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
772 or justified. The table or figure may itself be part of the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
773 text flow around some earlier figure. You can in this case use
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
774 the clear or needs attributes to move the new table or figure
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
775 down the page beyond the obstructing earlier figure. Similarly,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
776 you can use the clear or needs attributes with other elements
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
777 such as headers and lists to move them further down the page.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
778 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
779
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
780 <!ENTITY % block.align
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
781 "align (bleedleft|left|center|right|bleedright|justify) center">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
782
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
783 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
784 The HTML 3.0 table model has been chosen for its simplicity
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
785 and the ease in writing filters from common DTP packages.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
786
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
787 By default the table is automatically sized according to the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
788 cell contents and the current window size. Specifying the columns
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
789 widths using the colspec attribute allows browsers to start
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
790 displaying the table without having to wait for last row.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
791
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
792 The colspec attribute is a list of column widths and alignment
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
793 specifications. The columns are listed from left to right with
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
794 a capital letter followed by a number, e.g. COLSPEC="L20 C8 L40".
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
795 The letter is L for left, C for center, R for right alignment of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
796 cell contents. J is for justification, when feasible, otherwise
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
797 this is treated in the same way as L for left alignment.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
798 Column entries are delimited by one or more space characters.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
799
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
800 The number specifies the width in en's, pixels or as a
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
801 fractional value of the table width, as according to the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
802 associated units attribute. This approach is more compact
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
803 than used with most SGML table models and chosen to simplify
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
804 hand entry. The width attribute allows you to specify the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
805 width of the table in pixels, en units or as a percentage
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
806 of the space between the current left and right margins.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
807
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
808 To assist with rendering to speech, row and column headers
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
809 can be given short names using the AXIS attribute. The AXES
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
810 attribute is used to explicitly specify the row and column
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
811 names for use with each cell. Otherwise browsers can follow
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
812 up columns and left along rows (right for some languages)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
813 to find the corresponding header cells.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
814
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
815 Table content model: Braille limits the width of tables,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
816 placing severe limits on column widths. User agents need
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
817 to render big cells by moving the content to a note placed
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
818 before the table. The cell is then rendered as a link to
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
819 the corresponding note.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
820
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
821 To assist with formatting tables to paged media, authors
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
822 can differentiate leading and trailing rows that are to
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
823 be duplicated when splitting tables across page boundaries.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
824 The recommended way is to subclass rows with the CLASS attribute
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
825 For example: <TR CLASS=Header>, <TR CLASS=Footer> are used for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
826 header and footer rows. Paged browsers insert footer rows at
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
827 the bottom of the current page and header rows at the top of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
828 the new page, followed by the remaining body rows.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
829 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
830
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
831 <!ELEMENT TABLE - - (CAPTION?, TR*) -- mixed headers and data -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
832 <!ATTLIST TABLE
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
833 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
834 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
835 border (border) #IMPLIED -- draw borders --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
836 colspec CDATA #IMPLIED -- column widths and alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
837 units (en|pixels|relative) en -- units for column widths --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
838 dp CDATA #IMPLIED -- decimal point e.g. dp="," --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
839 width NUMBER #IMPLIED -- absolute or percentage width --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
840 %block.align; -- horizontal alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
841 noflow (noflow) #IMPLIED -- noflow around table --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
842 nowrap (nowrap) #IMPLIED -- don't wrap words --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
843 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
844
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
845 <!ENTITY % cell "TH | TD">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
846 <!ENTITY % horiz.align "left|center|right|justify">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
847 <!ENTITY % vert.align "top|middle|bottom|baseline">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
848
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
849 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
850 Browsers should tolerate an omission of the first <TR>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
851 tag as it is implied by the context. Missing trailing
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
852 <TR>s implied by rowspans should be ignored.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
853
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
854 The alignment attributes act as defaults for rows
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
855 overriding the colspec attribute and being in turn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
856 overridden by alignment attributes on cell elements.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
857 Use valign=baseline when you want to ensure that text
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
858 in different cells on the same row is aligned on the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
859 same baseline regardless of fonts. It only applies
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
860 when the cells contain a single line of text.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
861 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
862
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
863 <!ELEMENT TR - O (%cell)* -- row container -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
864 <!ATTLIST TR
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
865 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
866 align (%horiz.align) #IMPLIED -- horizontal alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
867 valign (%vert.align) top -- vertical alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
868 dp CDATA #IMPLIED -- decimal point e.g. dp="," --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
869 nowrap (nowrap) #IMPLIED -- don't wrap words --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
870 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
871
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
872 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
873 Note that table cells can include nested tables.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
874 Missing cells are considered to be empty, while
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
875 missing rows should be ignored, i.e. if a cell
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
876 spans a row and there are no further TR elements
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
877 then the implied row should be ignored.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
878 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
879
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
880 <!ELEMENT (%cell) - O %body.content>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
881 <!ATTLIST (%cell)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
882 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
883 colspan NUMBER 1 -- columns spanned --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
884 rowspan NUMBER 1 -- rows spanned --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
885 align (%horiz.align) #IMPLIED -- horizontal alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
886 valign (%vert.align) top -- vertical alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
887 dp CDATA #IMPLIED -- decimal point e.g. dp="," --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
888 nowrap (nowrap) #IMPLIED -- don't wrap words --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
889 axis CDATA #IMPLIED -- axis name, defaults to element content --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
890 axes CDATA #IMPLIED -- comma separated list of axis names --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
891 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
892
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
893 <!--====================== Figures ========================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
894
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
895 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
896 The element contains text for use in non-graphical displays. Note that
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
897 you can use the shape attribute in anchors to specify hotzones on images.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
898 This provides for local processing of pointer clicks and a unified method
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
899 for dealing with graphical and non-graphical displays.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
900
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
901 Text is flowed around figures when the figure is left or right aligned.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
902 You can request the browser to move down until there is enough room for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
903 the next element, see the CLEAR and NEED attributes (in %needs)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
904
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
905 Figures offer a path towards embedding arbitrary information formats
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
906 via some kind of OLE/OpenDoc mechanism.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
907 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
908
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
909 <!ELEMENT FIG - - (OVERLAY*, CAPTION?, FIGTEXT, CREDIT?) -(FIG|IMG)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
910 <!ATTLIST FIG
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
911 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
912 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
913 src %URI; #REQUIRED -- URI of document to embed --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
914 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
915 %block.align; -- horizontal alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
916 noflow (noflow) #IMPLIED -- noflow around figure --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
917 width NUMBER #IMPLIED -- desired width in units --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
918 height NUMBER #IMPLIED -- desired height in units --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
919 units (en|pixels) pixels -- specifies units as en's or pixels --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
920 imagemap (%URI) #IMPLIED -- pass background clicks to server --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
921 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
922
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
923 <!ELEMENT FIGTEXT O O %body.content -- dummy element -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
924
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
925 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
926 Figure overlays. When combined with local caching, overlays
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
927 provide a cheap way of modifying a larger base image sent as
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
928 part of a previous page.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
929 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
930
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
931 <!ELEMENT OVERLAY - O EMPTY -- image overlay -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
932 <!ATTLIST OVERLAY
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
933 src %URI; #REQUIRED -- URI of image overlay --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
934 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
935 units (en|pixels) pixels -- specifies units as en's or pixels --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
936 x NUMBER 0 -- offset from left in units --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
937 y NUMBER 0 -- offset from top in units --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
938 width NUMBER #IMPLIED -- desired width in units --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
939 height NUMBER #IMPLIED -- desired height in units --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
940 imagemap (%URI) #IMPLIED -- pass background clicks to server --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
941 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
942
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
943 <!ELEMENT CREDIT - - (%text;)* -- source of image -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
944 <!ATTLIST CREDIT
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
945 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
946 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
947
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
948 <!--======================== Notes ========================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
949
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
950 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
951 The NOTE element is used for admonishments. The CLASS attribute
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
952 is used to differentiate NOTE's, e.g. Note, Caution or Warning.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
953 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
954
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
955 <!ELEMENT NOTE - - %body.content; -- admonishment -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
956 <!ATTLIST NOTE
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
957 %attrs;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
958 src %URI; #IMPLIED -- URI of custom graphic --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
959 %url.link; -- standard link attributes --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
960 %needs; -- for control of text flow --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
961 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
962
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
963 <!--======================== Footnotes ====================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
964
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
965 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
966 Typically rendered as popup note. These elements are referenced
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
967 by hypertext links specified with the anchor element.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
968 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
969 <!ELEMENT FN - - %body.content;>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
970 <!ATTLIST FN %attrs;>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
971
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
972 <!--======================== Math ========================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
973
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
974 <!-- Use &thinsp; &emsp; etc for greater control of spacing. -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
975
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
976 <!-- Subscripts and Superscripts
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
977
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
978 <SUB> and <SUP> are used for subscripts and superscripts.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
979
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
980 i j
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
981 X <SUP>i</SUP>Y<SUP>j</SUP> is X Y
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
982
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
983 i.e. the space following the X disambiguates the binding.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
984 The align attribute can be used for horizontal alignment,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
985 e.g. to explicitly place an index above an element:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
986 i
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
987 X<sup align=center>i</sup> produces X
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
988
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
989 Short references are defined for superscripts, subscripts and boxes
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
990 to save typing when manually editing HTML math, e.g.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
991
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
992 x^2^ is mapped to x<sup>2</sup>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
993 y_z_ is mapped to y<sub>z</sub>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
994 {a+b} is mapped to <box>a + b</box>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
995
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
996 Note that these only apply within the MATH element and can't be
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
997 used in normal text!
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
998 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
999 <!ENTITY REF1 STARTTAG "SUP">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1000 <!ENTITY REF2 ENDTAG "SUP">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1001 <!ENTITY REF3 STARTTAG "SUB">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1002 <!ENTITY REF4 ENDTAG "SUB">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1003 <!ENTITY REF5 STARTTAG "BOX">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1004 <!ENTITY REF6 ENDTAG "BOX">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1005
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1006 <!USEMAP MAP1 MATH>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1007 <!USEMAP MAP2 SUP>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1008 <!USEMAP MAP3 SUB>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1009 <!USEMAP MAP4 BOX>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1010
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1011 <!SHORTREF MAP1 "^" REF1
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1012 "_" REF3
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1013 "{" REF5 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1014
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1015 <!SHORTREF MAP2 "^" REF2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1016 "_" REF3
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1017 "{" REF5 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1018
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1019 <!SHORTREF MAP3 "_" REF4
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1020 "^" REF1
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1021 "{" REF5 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1022
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1023 <!SHORTREF MAP4 "}" REF6
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1024 "^" REF1
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1025 "_" REF3
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1026 "{" REF5 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1027
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1028 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1029 The inclusion of %math and exclusion of %notmath is used here
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1030 to alter the content model for the B, SUB and SUP elements,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1031 to limit them to formulae rather than general text elements.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1032 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1033
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1034 <!ENTITY % mathvec "VEC|BAR|DOT|DDOT|HAT|TILDE" -- common accents -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1035 <!ENTITY % mathface "B|T|BT" -- control of font face -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1036 <!ENTITY % math "BOX|ABOVE|BELOW|%mathvec|ROOT|SQRT|ARRAY|SUB|SUP|%mathface">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1037 <!ENTITY % formula "#PCDATA|%math">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1038
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1039 <!ELEMENT MATH - - (#PCDATA)* -(%notmath) +(%math)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1040 <!ATTLIST MATH
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1041 id ID #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1042 class NAMES #IMPLIED -- e.g. class=chem -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1043
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1044 <!-- The BOX element acts as brackets. Delimiters are optional and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1045 stretch to match the height of the box. The OVER element is used
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1046 when you want a line between numerator and denominator. This line
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1047 is suppressed with the alternative ATOP element. CHOOSE acts like
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1048 ATOP but adds enclosing round brackets as a convenience for binomial
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1049 coefficients. Note the use of { and } as shorthand for <BOX> and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1050 </BOX> respectively:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1051
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1052 1 + X
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1053 {1 + X<OVER>Y} is _______
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1054 Y
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1055
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1056 a + b
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1057 {a + b<ATOP>c - d} is
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1058 c - d
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1059
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1060 The delimiters are represented using the LEFT and RIGHT
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1061 elements as in:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1062
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1063 {[<LEFT>x + y<RIGHT>]} is [ x + y ]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1064 {(<LEFT>a<RIGHT>]} is (a]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1065 {||<LEFT>a<RIGHT>||} is || a ||
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1066
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1067 Use &lbrace; and &rbrace; for "{" and "}" respectively as
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1068 these symbols are used as shorthand for BOX, e.g.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1069
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1070 {&lbrace;<LEFT>a+b<RIGHT>&rbrace;} is {a+b}
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1071
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1072 You can stretch definite integrals to match the integrand, e.g.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1073
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1074 {&int;<SUB>a</SUB><SUP>b</SUP><LEFT>{f(x)<over>1+x} dx}
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1075
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1076 b
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1077 / f(x)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1078 | ----- dx
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1079 / 1 + x
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1080 a
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1081
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1082 Note the complex content model for BOX is a work around
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1083 for the absence of support for infix operators in SGML.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1084
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1085 You can get oversize delimiters with the SIZE attribute,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1086 for example <BOX SIZE=large>(<LEFT>...<RIGHT>)</BOX>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1087
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1088 Note that the names of common functions are recognized
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1089 by the parser without the need to use "&" and ";" around
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1090 them, e.g. int, sum, sin, cos, tan, ...
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1091 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1092
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1093 <!ELEMENT BOX - - ((%formula)*, (LEFT, (%formula)*)?,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1094 ((OVER|ATOP|CHOOSE), (%formula)*)?,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1095 (RIGHT, (%formula)*)?)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1096 <!ATTLIST BOX
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1097 size (normal|medium|large|huge) normal -- oversize delims -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1098
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1099 <!ELEMENT (OVER|ATOP|CHOOSE|LEFT|RIGHT) - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1100
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1101 <!-- Horizontal line drawn ABOVE contents
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1102 The symbol attribute allows authors to supply
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1103 an entity name for an accent, arrow symbol etc.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1104 Generalisation of LaTeX's overline command.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1105
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1106 e.g. <above sym=ssmile>x</above>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1107 places an upwardly turning curve above the "x"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1108 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1109
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1110 <!ELEMENT ABOVE - - (%formula)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1111 <!ATTLIST ABOVE sym ENTITY #IMPLIED>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1112
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1113 <!-- Horizontal line drawn BELOW contents
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1114 The symbol attribute allows authors to
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1115 supply an entity name for an arrow symbol etc.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1116 Generalisation of LaTeX's underline command.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1117 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1118
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1119 <!ELEMENT BELOW - - (%formula)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1120 <!ATTLIST BELOW sym ENTITY #IMPLIED>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1121
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1122 <!-- Convenience tags for common accents:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1123 vec, bar, dot, ddot, hat and tilde
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1124 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1125
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1126 <!ELEMENT (%mathvec) - - (%formula)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1127
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1128 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1129 T and BT are used to designate terms which should
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1130 be rendered in an upright font (& bold face for BT)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1131 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1132
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1133 <!ELEMENT (T|BT) - - (%formula)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1134 <!ATTLIST (T|BT) class NAMES #IMPLIED>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1135
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1136 <!-- Roots e.g. <ROOT>3<OF>1+x</ROOT> -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1137
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1138 <!ELEMENT ROOT - - ((%formula)+, OF, (%formula)+)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1139 <!ELEMENT OF - O (%formula)* -- what the root applies to -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1140
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1141 <!ELEMENT SQRT - - (%formula)* -- square root convenience tag -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1142
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1143 <!-- LaTeX like arrays. The COLDEF attribute specifies
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1144 a single capital letter for each column determining
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1145 how the column should be aligned, e.g. coldef="CCC"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1146
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1147 "L" left
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1148 "C" center
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1149 "R" right
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1150
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1151 An optional separator letter can occur between columns
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1152 and should be one of + - or =, e.g. "C+C+C+C=C".
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1153 Whitespace within coldef is ignored. By default, the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1154 columns are all centered.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1155
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1156 The ALIGN attribute alters the vertical position of the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1157 array as compared with preceding and following expressions.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1158
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1159 Use LDELIM and RDELIM attributes for delimiter entities.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1160 When the LABELS attribute is present, the array is
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1161 displayed with the first row and the first column as
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1162 labels displaced from the other elements. In this case,
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1163 the first element of the first row should normally be
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1164 left blank.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1165
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1166 Use &vdots; &cdots; and &ddots; for vertical, horizontal
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1167 and diagonal ellipsis dots. Use &dotfill; to fill an array
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1168 cell with horizontal dots (e.g. for a full row).
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1169 Note &ldots; places the dots on the baseline, while &cdots;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1170 places them higher up.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1171 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1172
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1173 <!ELEMENT ARRAY - - (ROW)+>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1174 <!ATTLIST ARRAY
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1175 align (top|middle|bottom) middle -- vertical alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1176 coldef CDATA #IMPLIED -- column alignment and separator --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1177 ldelim CDATA #IMPLIED -- stretchy left delimiter --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1178 rdelim CDATA #IMPLIED -- stretchy right delimiter --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1179 labels (labels) #IMPLIED -- TeX's \bordermatrix style -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1180
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1181 <!ELEMENT ROW - O (ITEM)*>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1182 <!ELEMENT ITEM - O (%formula)*>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1183 <!ATTLIST ITEM
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1184 align CDATA #IMPLIED -- override coldef alignment --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1185 colspan NUMBER 1 -- merge columns as per TABLE --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1186 rowspan NUMBER 1 -- merge rows as per TABLE -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1187
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1188 <!--================ Document Head ========================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1189
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1190 <![ %HTML.Deprecated [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1191 <!ENTITY % head.content "TITLE & ISINDEX? & BASE? & STYLE?
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1192 & META* & LINK* & RANGE* & NEXTID?">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1193 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1194
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1195 <!ENTITY % head.nextid "">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1196
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1197 <!ENTITY % head.content "TITLE & ISINDEX? & BASE? & STYLE?
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1198 & META* & LINK* & RANGE*">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1199
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1200 <!ELEMENT HEAD O O (%head.content)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1201
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1202 <!ELEMENT LINK - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1203 <!ATTLIST LINK
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1204 href %URI #REQUIRED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1205 %linkExtraAttributes; >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1206
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1207 <!ELEMENT RANGE - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1208 <!ATTLIST RANGE
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1209 id ID #IMPLIED -- for naming marked range --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1210 class NAMES #IMPLIED -- for subclassing --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1211 from IDREF #REQUIRED -- start of marked range --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1212 until IDREF #REQUIRED -- end of marked range --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1213 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1214
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1215 <!ELEMENT ISINDEX - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1216 <!ATTLIST ISINDEX
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1217 href %URI #IMPLIED -- server handling queries --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1218 prompt CDATA #IMPLIED -- prompt message -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1219
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1220 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1221 The BASE element gives the base URL for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1222 dereferencing relative URLs, e.g.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1223
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1224 <BASE href="http://foo.com/images">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1225 ...
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1226 <IMG SRC="bar.gif">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1227
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1228 The image is deferenced to
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1229
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1230 http://foo.com/images/bar.gif
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1231 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1232
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1233 <!ELEMENT BASE - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1234 <!ATTLIST BASE
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1235 id ID #IMPLIED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1236 href %URI; #REQUIRED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1237 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1238
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1239 <![ %HTML.Deprecated [
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1240 <!ELEMENT NEXTID - O EMPTY>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1241 <!ATTLIST NEXTID N CDATA #REQUIRED>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1242 ]]>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1243
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1244 <!ELEMENT META - O EMPTY -- Generic Metainformation -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1245 <!ATTLIST META
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1246 http-equiv NAME #IMPLIED -- HTTP response header name --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1247 name NAME #IMPLIED -- metainformation name --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1248 content CDATA #REQUIRED -- associated information --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1249 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1250
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1251 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1252 A style sheet can be associated with the document using the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1253 LINK element, e.g. <LINK rel=style href="housestyle.dsssl">.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1254 Style overrides can be placed in the document head using the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1255 STYLE element, e.g.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1256
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1257 <style notation=dsssl-lite>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1258 dsss-lite stuff
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1259 </style>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1260
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1261 Later on in the document you can use:
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1262
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1263 <h2 class=bigcaps>Header with bigger than normal capitals</h2>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1264 <p class=abstract>A paragraph with a unique style of its own
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1265 ...
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1266
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1267 Statements in the given style notation
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1268
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1269 The tag names, class and id attributes are used in the style sheet
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1270 notation to describe how to render matching elements.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1271 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1272
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1273 <!ENTITY % style-notations "dsssl-lite | w3c-style">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1274
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1275 <!--
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1276 <!NOTATION dsssl-lite PUBLIC
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1277 "ISO/IEC 10179:1995//NOTATION DSSSL Style Language//EN">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1278
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1279 <!NOTATION w3c-style PUBLIC "IETF/RFC nnn/W3C Style Language//EN">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1280 -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1281
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1282 <!ELEMENT STYLE - O (#PCDATA)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1283 <!ATTLIST STYLE
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1284 notation NOTATION (%style-notations;) #REQUIRED
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1285 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1286
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1287 <!--================ Document Structure ===================================-->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1288
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1289 <!ENTITY % html.content "HEAD, BODY">
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1290
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1291 <!ELEMENT HTML O O (%html.content)>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1292 <!ENTITY % version.attr 'VERSION CDATA #FIXED "%HTML.Version;"'>
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1293
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1294 <!-- suggested roles are: TOC, DOC, DOCPART, HITLIST, DIALOG -->
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1295
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1296 <!ATTLIST HTML
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1297 %version.attr; -- report DTD version to application --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1298 urn CDATA #IMPLIED -- universal resource name for this document --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1299 class NAMES #IMPLIED -- role of this document, eg table of contents --
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1300 >
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1301
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
1302 <!-- The END -->