
<!--     **************************************************                -->
<!--          WG8 Committee Paper DTD           6/6//95                  -->
<!--     **************************************************                -->


<!-- typical invocation 
<!DOCTYPE WG8 PUBLIC "-//ISO IEC JTC1 SC18 WG8//DTD Committee Paper//EN" [ ]> 
-->

<!ENTITY convenor "Convenor: Dr. James D. Mason,
Integrated Information Management and Dissemination Systems, 
Information Management Services,
Oak Ridge National Laboratory,
Bldg. 2506, M.S. 6302, P.O. Box 2008,
Oak Ridge, Tennessee 37831-6302 U.S.A.,
Telephone, +1 615 574 6973; Fax, +1 615 574 6983; E-mail, masonjd@ornl.gov">

<!--Character entity sets.--> 

<!ENTITY % ISOgrk1 PUBLIC "ISO 8879-1986//ENTITIES Greek Letters//EN"  >
<!ENTITY % ISOnum PUBLIC "ISO 8879-1986//ENTITIES Numeric and Special Graphic//EN"  >
<!ENTITY % ISOdia PUBLIC "ISO 8879-1986//ENTITIES Diacritical Marks//EN" >
<!ENTITY % ISOpub PUBLIC "ISO 8879-1986//ENTITIES Publishing//EN"  >
<!ENTITY % ISOtech PUBLIC "ISO 8879-1986//ENTITIES General Technical//EN"  >
<!ENTITY % ISOamso PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Ordinary//EN" >
<!ENTITY % ISOamsb PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Binary Operators//EN"  >
<!ENTITY % ISOamsr PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Relations//EN" >
<!ENTITY % ISOamsn PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Negated Relations//EN"  >
<!ENTITY % ISOamsa PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Arrow Relations//EN" >
<!ENTITY % ISOamsc PUBLIC "ISO 8879-1986//ENTITIES Added Math Symbols: Delimiters//EN"  >
<!ENTITY % ISOgrk3 PUBLIC "ISO 8879-1986//ENTITIES Greek Symbols//EN">
<!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN">
<!ENTITY % ISOlat2 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 2//EN">

%ISOgrk1; %ISOnum; %ISOdia; %ISOpub; %ISOtech; %ISOamso; %ISOamsb; %ISOamsr; %ISOamsn;
%ISOamsa; %ISOamsc; %ISOgrk3; %ISOlat1; %ISOlat2;



<!-- DTD-building files -->

<!ENTITY % ent   PUBLIC "-//ISO IEC JTC1 SC18 WG8//DTD Entities//EN">  
<!ENTITY % genelem  PUBLIC "-//ISO IEC JTC1 SC18 WG8//DTD General Elements//EN"> 
<!ENTITY % sections PUBLIC  "-//ISO IEC JTC1 SC18 WG8//DTD Sections//EN">
<!ENTITY % lists    PUBLIC  "-//ISO IEC JTC1 SC18 WG8//DTD Lists//EN"> 
<!ENTITY % math     PUBLIC  "-//ISO IEC JTC1 SC18 WG8//DTD Math//EN"> 
<!ENTITY % chem     PUBLIC  "-//ISO IEC JTC1 SC18 WG8//DTD Chemistry//EN">
<!ENTITY % tables   PUBLIC  "-//ISO IEC JTC1 SC18 WG8//DTD Tables//EN">
<!ENTITY % steps    PUBLIC  "-//ISO IEC JTC1 SC18 WG8//DTD Procedural Steps//EN">


<!ENTITY % titles "(title)">


<!-- Content Modeling Entities -->

<!-- These entities can be redefined to tailor the DTD for another document type, 
      or modify the front or back matter. -->


<!ENTITY % doctype "WG8" >

<!ENTITY % titleblock  "docnum , revision? , 
                        title , source , project , projedit , status , action , summary?, date , 
                        distrib , referto? , supersed? , replyto?" >

<!ENTITY % frontmatter  "titleblk , ((acknowl? & abstract? & (preface |
                         foreword)? &
                         (execsum | summary)? & recommen?))?" >


<!ENTITY % backmatter   "(acknowl? & appendix* & attach* & glossary? &
                         (referenc | bibliog)?) , distrib ">



<!-- TeX Notation may be used for equations -->

<!NOTATION TeX       SYSTEM >


<!--     *******************************************************************     -->
<!--        DOCUMENT ELEMENT                                                     -->
<!--     *******************************************************************     -->
%ent;

<!ELEMENT %doctype;        - -  (front, body, back?) +(editor-comment) >
<!ATTLIST %doctype;        
           status     (draft | final)     #IMPLIED>


%genelem; %sections; %lists; %math; %chem; %steps; 

<!-- Added for benefit of CALS tables, SQ style -->
<!ENTITY % paracon "(%paratxt;)" >
%tables;


<!--     *******************************************************************    -->
<!--        FRONT ELEMENTS                                                      -->
<!--     *******************************************************************    -->



<!ELEMENT front     - -  (%frontmatter;) >

<!ELEMENT titleblk  - -  (%titleblock;)   +(notice)>

<!ELEMENT (abstract | acknowl | execsum | foreword | preface | recommen | summary) - -  (p+) >


           
<!--     *******************************************************************    -->
<!--        BODY ELEMENTS                                                       -->
<!--     *******************************************************************    -->

<!-- Body can be short form:
     optional title, followed by text
     or long form:
     optional title, optional abstract, optional text, body sections
-->

<!ELEMENT body      - -  (title? , abstract?, 
                          p* , sect1*
                         )
-- WEK: Fixed ambiguous content model. -- >

<!-- Body elements from:
        WG8GEN.DTD
        SECTIONS
        LISTS
        MATH
        CHEM
        CALSTAB    -->


<!ELEMENT category    - -   (#PCDATA) >

<!ELEMENT notice      - -   (#PCDATA) >
<!ATTLIST notice
            text      ENTITY    #CONREF >

<!--     *******************************************************************    -->
<!--        Reference Materials                                                       -->
<!--     *******************************************************************    -->

<!ELEMENT (bibliog,
           referenc)  - -  (title? , refer+)>


<!ELEMENT (refer,
           seealso,
           ibid)      - -   (author | book | communication | comment |
                            date | docnum | edition | note |
                            editor | part | pgno | procedur |
                            publcatn | publshr | revision |
                            section | series | submitto | supplmnt |
                            textbook | title | vol | journal | issue |
                            confproc | thesis | dissert | rept | 
                            article | seealso | ibid | status)+ >

<!ATTLIST refer       id   ID          #REQUIRED>

     
<!ELEMENT (book,         
           textbook)  - -  (author | comment |date | docnum | 
                            edition | note |
                            editor | part | pgno |
                            publshr | revision |
                            series | submitto | supplmnt |
                            title | vol |
                            seealso | status)+ >


<!ELEMENT (edition,editor,
           part,issue,
           pgno,publshr,
           series,vol)       - -  (#PCDATA) >

<!ELEMENT (article,comment,communication, 
           confproc,dissert,
           journal,procedur, 
           publcatn,rept,
           section,submitto, 
           supplmnt,thesis)    - -  (%text;) >

<!--     *******************************************************************    -->
<!--        Mathematics                                                       -->
<!--     *******************************************************************    -->


<!--  Mathematics:

      Equations may be SGML-tagged using the ISO Math DTD

          <f>  for in-line equations or 
          <df> for displayed equations

      or use TeX notation, 

          <eqn> for equations or
          <math> for equation(s) with a where list -->

<!ELEMENT eqn         - -  CDATA     -- equations -- >
<!ATTLIST eqn  type NOTATION (TeX) TeX
               id   ID       #IMPLIED >

<!ELEMENT math        - -  (eqn+ , where?) >
<!ATTLIST math id   ID       #IMPLIED >

<!ELEMENT where       - -  (%paratxt;) >




<!--     *******************************************************************    -->
<!--        BACK ELEMENTS                                                       -->
<!--     *******************************************************************    -->

<!ELEMENT back        - -  (%backmatter;) >


<!ELEMENT (appendix,
           attach)    - -  (title? , ((p+ , sect2*) | sect2+)) >

<!ATTLIST (appendix,
           attach)     ID     ID      #IMPLIED >

<!ELEMENT glossary    - -  ((term , def) , (term, def)+) >


<!ELEMENT internal    - -  (name+) >

<!ATTLIST name        copies      NUMBER       #IMPLIED >


<!ELEMENT external    - -  ((name , address)+)>

<!ATTLIST external        copies      NUMBER       #IMPLIED >



