<!-- $Id: odd.dtd,v 1.3 1997/01/24 22:56:43 cmsmcq Exp $ -->
<!-- $Log: odd.dtd,v $
# Revision 1.3  1997/01/24  22:56:43  cmsmcq
# lowercase file identifiers!
#
# Revision 1.2  1994/03/28  18:32:46  msmcq
# add figure
# -->
<!-- Odd.DTD:  DTD for defining tag sets and making DTDs.     -->
<!-- Draft 1, CMSMcQ, 25 November 1991 (from DTDweb.DTD)      -->
<!-- This file defines elements needed for ODD documents not  -->
<!-- included in Tiny.DTD (the prose base).                   -->
 
<!-- Revisions:                                               -->
<!-- 26 Mar 94 : MSM : add figure                             -->
<!--  1 Apr 93 : MSM : add PE, GE, and FILE elements in prose -->
<!--                   allow CLASS in prose too               -->
<!--                   add COMPL=FULL|PARTIAL att to TAG      -->
<!--  3 Nov 92 : MSM : change model for NOTE, ITEM using      -->
<!--                   'specialPara' model from TEI ED A28.   -->
<!-- 18 Mar 92 : MSM : correct:  drop gedoc/pedoc, add entdoc -->
<!--      to x.crys                                           -->
<!--  8 Jan 92 : MSM : add ADLIST to x.list                   -->
<!--  3 Jan 92 : LB, MSM : fix ambiguous model in ITEM.       -->
<!-- 12 Dec 91 : MSM : copy mod to LIST, ITEM from P2X.dtd.   -->
<!--  6 Dec 91 : MSM : change names for external entities.    -->
<!-- 26 Nov 91 : MSM : redefine f.misc, p.float, f.edit to    -->
<!--      get under the 240-character, 32-token limits        -->
<!-- 25 Nov 91 : MSM : made file                              -->
 
<!-- N.B. this file is designed to be embedded in a DTD       -->
<!-- subset when the SYSTEM DTD called is tiny.dtd.           -->
<!-- It may need to be revised when tei2.dtd is used instead. -->
 
<!-- 1 Glue to add the additional elements to base.           -->
<!-- with these, our new tags can appear in broth and soup.   -->
<!ENTITY % p.float 'epigraph'                                   >
<!ENTITY % f.edit 'sic'                                         >
<!ENTITY % f.misc 'tag | att | gi | ident | code | figure'      >
<!ENTITY % x.list 'tagList | adList |'                          >
<!ENTITY % x.crys 'dtdFrag | tagDoc | entDoc | classDoc | eg |' >
 
<!-- Now define global classes etc., and suppress later redef -->
<!ENTITY % xents  SYSTEM 'tinyents.dtd'                         >
%xents;
<!ENTITY % tinents ''                                           >
 
<!-- 1c Now define any local modifications to standard defs.  -->
<!-- redefine list so its TYPE attribute can accept GLOSS val -->
<!-- also redefine content model to allow head for labels if  -->
<!-- and only if labels are actually used in the list.        -->
<!ENTITY  % list 'IGNORE'>
<!ELEMENT list          - -  (head?,
                             ( (item*) |
                             (head.lab?, head.it?,
                             (label, item)+)))                  >
<!ATTLIST list               %global;
          type               (ordered | bullets | noorder
                             | simple | gloss)   simple         >
 
<!-- redefine list items so they can include lists even if    -->
<!-- the item is not a paragraph sequence.                    -->
<!ENTITY  % item 'IGNORE'>
<!ELEMENT item          - O  ((%soup) |
                             ((p | %p.float), (%p.seq)))        >
<!ATTLIST item          %global;                                >
 
<!-- Previous version of item model was:                      -->
<!--      ((p, %p.seq;) | (list | %broth;)*)                  -->
 
<!-- redefine notes so they work right (test of ED A28 style) -->
<!-- A note can either be a paragraph (soup) or contain a     -->
<!-- series of paragraphs and chunks.  In the latter case, it -->
<!-- *must* begin with a p or a float.                        -->
<!ENTITY  % note 'IGNORE'>
<!ELEMENT note          - O  ((%soup) |
                             ((p | %p.float), (%p.seq)))        >
<!ATTLIST note               %global;
          type               CDATA               #IMPLIED
          source             ( comp | trans
                             | auth | ed)        auth
          place              ( foot | end
                             | app1 | app2
                             | left | right
                             | inline | display) display
          anchored           ( Y | N )           Y
          ed                 CDATA               #IMPLIED       >
 
<!-- 2 Elements for documenting tags, to make alpha list with -->
<!ENTITY  % oddref  SYSTEM 'oddref.dtd'                         >
%oddref;
 
<!-- 3 Special elements for embedding in prose, for tag lists -->
<!ENTITY  % oddadd  SYSTEM 'oddadd.dtd'                         >
%oddadd;
 
