1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
|
<!-- ============================================================= -->
<!-- MODULE: Math Element Classes -->
<!-- VERSION: 2.0 -->
<!-- DATE: August 2004 -->
<!-- -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!--
"-//NLM//DTD Archiving and Interchange DTD Suite Math Class Elements v2.0 20040830//EN"
Delivered as file "math.ent" -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- SYSTEM: Archiving and Interchange DTD Suite -->
<!-- -->
<!-- PURPOSE: Names all elements in the math classes -->
<!-- -->
<!-- CONTAINS: 1) Default definition of the math classes -->
<!-- 2) Inline formula <inline-formula> -->
<!-- 3) Display Formula <disp-formula> -->
<!-- 4) TeX Math Equation <tex-math> -->
<!-- -->
<!-- CREATED FOR: -->
<!-- Digital archives and publishers who wish to -->
<!-- create a custom XML DTD for original markup of -->
<!-- journal literature, books, and related material, -->
<!-- or for archiving and transferring such material -->
<!-- between archives. -->
<!-- -->
<!-- This DTD is in the public domain. An organization -->
<!-- that wishes to create its own DTD from the suite -->
<!-- may do so without permission from NLM. -->
<!-- -->
<!-- The suite has been set up to be extended using a -->
<!-- new DTD file and a new DTD-specific customization -->
<!-- module to redefine the many Parameter Entities. -->
<!-- Do not modify the suite directly or redistribute -->
<!-- modified versions of the suite. -->
<!-- -->
<!-- In the interest of maintaining consistency and -->
<!-- clarity for potential users, NLM requests: -->
<!-- -->
<!-- 1. If you create a DTD from the Archiving and -->
<!-- Interchange DTD Suite and intend to stay -->
<!-- compatible with the suite, then please include -->
<!-- the following statement as a comment in all of -->
<!-- your DTD modules: -->
<!-- "Created from, and fully compatible with, -->
<!-- the Archiving and Interchange DTD Suite." -->
<!-- -->
<!-- 2. If you alter one or more modules of the suite, -->
<!-- then please rename your version and all its -->
<!-- modules to avoid any confusion with the -->
<!-- original suite. Also, please include the -->
<!-- following statement as a comment in all your -->
<!-- DTD modules: -->
<!-- "Based in part on, but not fully compatible -->
<!-- with, the Archiving and Interchange DTD -->
<!-- Suite." -->
<!-- -->
<!-- Suggestions for refinements and enhancements to -->
<!-- the DTD suite should be sent in email to: -->
<!-- archive-dtd@ncbi.nlm.nih.gov -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- December 2002 -->
<!-- -->
<!-- CREATED BY: Jeff Beck (NCBI) -->
<!-- Deborah Lapeyre (Mulberry Technologies, Inc.) -->
<!-- Bruce Rosenblum (Inera Inc.) -->
<!-- -->
<!-- NLM thanks the Harvard University Libraries, both -->
<!-- for proposing that a draft archiving NLM DTD for -->
<!-- life sciences journals be extended to accommodate -->
<!-- journals in all disciplines and for sponsoring -->
<!-- Bruce Rosenblum's collaboration with other DTD -->
<!-- authors in completing Version 1.0. The Andrew W. -->
<!-- Mellon Foundation provided support for these -->
<!-- important contributions. -->
<!-- -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- DTD VERSION/CHANGE HISTORY -->
<!-- ============================================================= -->
<!--
=============================================================
Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
=============================================================
Version 2.0 (DAL/BTU) v2.0 (2004-08-30)
Major requirement changes led to the new release, producing
DTD version "2.0":
a) The splitting of the Archival and Interchange Tag Set
DTDs into three DTDs from two: an authoring DTD, an
archive regularization and interchange DTD (the
current Blue Publishing DTD), and a preservationist
archive DTD (the current Green Archiving and Interchange
DTD).
b) AIT Working Group suggestions from the June 04 meeting
and June/July 2004 followup discussions
c) Suite remodularization to meet new (and newly articulated)
modularization requirements
d) New or renamed classes and mixes to make modifications
easier and more consistent
7. INLINE FORMULA/DISPLAY FORMULA
### Customization Alert ###
a. Inline Formula
- Made the content model into a separate parameter entity
%inline-formula-model;, which uses the Parameter
Entity %inline-formula-elements;
- Changed the Parameter Entities and models to use the
OR-bar-first mechanism. In other words: Changed
"%all-phrase;" to "| %all-phrase;" and removed the
OR bar following #PCDATA in the content model to match.
- Added %inline-math.class; to the model
b. Display Formula - Similar changes made:
- added new content model PE %disp-formula-model;
- changed %disp-formula-elements; and %disp-formula-model;
to use the OR-bar-first
- Added %inline-math.class;
5. DEFAULT CLASSES - Were moved from this module to
%default-classes.ent;
4. %tex-math-atts; - Added the value "LaTeX" to the "notation"
attribute
3. Updated public identifier to "v2.0 20040830"
=============================================================
Version 1.1 (TRG) v1.1 (2003-11-01)
2. Added attribute "alternate-form-of" to:
- <disp-formula> (by modifying parameter entity
%disp-formula-atts;)
- <inline-formula>
- <tex-math> (by modifying parameter entity
%tex-math-atts;)
Rationale: Where multiple formats of an item (e.g., graphic
file, media object, chemical structure) are available, this
attribute indicates that a format is a secondary one and
provides a link to the primary format, so that only one
format of an item is displayed.
1. Added attribute "id" to element <inline-formula>
Rationale: To allow an <inline-formula> to be linked to,
especially by alternate forms of the same formula (which will
use the "alternate-form-of" attribute to link to the primary)
-->
<!-- ============================================================= -->
<!-- PARAMETER ENTITY DEPENDENCIES
Requires the following parameter entities
be defined before calling this module,
usually accomplished in the Customization
Module for the specific DTD:
%access.class;
%break.class;
%emphasis.class;
%inline-display.class;
%inline-formula-elements;
%label.class;
%math.class;
%simple-display.class;
%subsup.class;
-->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- PARAMETER ENTITIES FOR ATTRIBUTE LISTS -->
<!-- ============================================================= -->
<!-- DISPLAY FORMULA ATTRIBUTES -->
<!-- Attributes for the <disp-formula> element -->
<!-- alternate-form-of
Where multiple formats of an item (e.g.,
graphic file, media object, chemical
structure) are available, this attribute
indicates that a format is a secondary
one and provides a link to the primary
format, so that only one format of an
item is displayed.
id Unique identifier so the element may be
referenced -->
<!ENTITY % disp-formula-atts
"alternate-form-of
IDREF #IMPLIED
id ID #IMPLIED" >
<!-- TEX MATH ATTRIBUTES -->
<!-- Attributes for the <disp-formula> element -->
<!-- alternate-form-of
Where multiple formats of an item (e.g.,
graphic file, media object, chemical
structure) are available, this attribute
indicates that a format is a secondary
one and provides a link to the primary
format, so that only one format of an
item is displayed.
id Unique identifier so the element may be
referenced
version Which version of TeX used
notation Says that the content of this element will
be in TeX and needs to be surrounded by
a CDATA section. -->
<!ENTITY % tex-math-atts
"alternate-form-of
IDREF #IMPLIED
id CDATA #IMPLIED
notation NOTATION (LaTeX | tex | TEX | TeX)
#IMPLIED
version CDATA #IMPLIED" >
<!-- ============================================================= -->
<!-- MATH ELEMENTS (PARAGRAPH LEVEL) -->
<!-- ============================================================= -->
<!-- FORMULA, INLINE ELEMENTS -->
<!-- Elements for use in the <inline-formula>
element -->
<!ENTITY % inline-formula-elements
"| %emphasis.class; | %inline-display.class; |
%inline-math.class; |
%math.class; | %subsup.class;" >
<!-- FORMULA, INLINE MODEL -->
<!-- Content model for an <inline-formula> -->
<!ENTITY % inline-formula-model
"(#PCDATA %inline-formula-elements;)*" >
<!-- FORMULA, INLINE -->
<!-- Inline element for a mathematical
equation, expression, or formula -->
<!ELEMENT inline-formula
%inline-formula-model; >
<!-- alternate-form-of
Where multiple formats of an item (e.g.,
graphic file, media object, chemical
structure) are available, this attribute
indicates that a format is a secondary
one and provides a link to the primary
format, so that only one format of an
item is displayed.
id Unique identifier so an inline-formula
can be referenced -->
<!ATTLIST inline-formula
alternate-form-of
IDREF #IMPLIED
id ID #IMPLIED >
<!-- DISPLAY FORMULA ELEMENTS -->
<!-- Elements for use in the <disp-formula>
element -->
<!ENTITY % disp-formula-elements
"| %access.class; | %address-link.class; |
%break.class; | %emphasis.class; |
%inline-display.class; |
%inline-math.class; |
%label.class; | %math.class; |
%simple-display.class; | %subsup.class;" >
<!-- FORMULA, DISPLAY MODEL -->
<!-- Content model for an <disp-formula> -->
<!ENTITY % disp-formula-model
"(#PCDATA %disp-formula-elements;)*" >
<!-- FORMULA, DISPLAY -->
<!-- Block-level (callout) element for a
mathematical equation, expression, or
formula. The characters representing the
equation may be present, or the equation
could be a graphic. -->
<!ELEMENT disp-formula %disp-formula-model; >
<!-- alternate-form-of
Where multiple formats of an item (e.g.,
graphic file, media object, chemical
structure) are available, this attribute
indicates that a format is a secondary
one and provides a link to the primary
format, so that only one format of an
item is displayed.
id Unique identifier so the element may be
referenced -->
<!ATTLIST disp-formula
%disp-formula-atts; >
<!-- TEX MATH EQUATION -->
<!-- Used to hold encoded math, expressed in TeX-->
<!ELEMENT tex-math (#PCDATA) >
<!-- alternate-form-of
Where multiple formats of an item (e.g.,
graphic file, media object, chemical
structure) are available, this attribute
indicates that a format is a secondary
one and provides a link to the primary
format, so that only one format of an
item is displayed.
id Unique identifier so the element may be
referenced
version Which version of TeX or LaTeX used
notation Says that the content of this element will
be in TeX and needs to be surrounded by
a CDATA section. -->
<!ATTLIST tex-math
%tex-math-atts; >
<!-- ================== End List Class Module ==================== -->
|