Mercurial > hg > lib > markup
view xml/doc.dtd @ 13:1cd5c7952aaa default tip
fix failure to read first line of Air/Lava,
keep me from swimming in Lava, again!
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sun, 30 Jan 2022 14:49:33 -0500 |
parents | 2b399c612a3e |
children |
line wrap: on
line source
<!--* DTD for my XML documents *--> <!ELEMENT doc (head?,body)> <!ATTLIST doc style CDATA #IMPLIED> <!ENTITY % bits 'emph|code|name|link|term'> <!ENTITY % chunks 'p|list|display|note|image|table|figure'> <!ELEMENT head (title+,author+,(date|note)*,style?)> <!ELEMENT title (#PCDATA|%bits;)*> <!ELEMENT author (#PCDATA|%bits;)*> <!ELEMENT date (#PCDATA)> <!ELEMENT style (#PCDATA)> <!ELEMENT body (div+)> <!ELEMENT div (title,(div|%chunks;)+)> <!ATTLIST div id ID #IMPLIED> <!ELEMENT p (#PCDATA|%bits;)*> <!ELEMENT display (#PCDATA|%bits;)*> <!ELEMENT note (#PCDATA|%bits;)*> <!ELEMENT list ((note|item)+)> <!ATTLIST list type (normal|enum|defn|1defn|naked|tdefn|2col|ndivs) 'normal' term-width CDATA "30pt" term-align (left|center|right|justify|char) "right" indent CDATA #IMPLIED> <!ELEMENT emph (#PCDATA|name)*> <!ATTLIST emph color CDATA #IMPLIED> <!ELEMENT code (#PCDATA|%bits;)*> <!ELEMENT name (#PCDATA)> <!ELEMENT term EMPTY> <!ATTLIST term def NMTOKENS #REQUIRED> <!ELEMENT item (#PCDATA|%chunks;|%bits;)*> <!ATTLIST item term CDATA #IMPLIED> <!ELEMENT link (#PCDATA|%bits;)*> <!ATTLIST link href CDATA #IMPLIED target CDATA #IMPLIED name CDATA #IMPLIED> <!ELEMENT image (#PCDATA)> <!ATTLIST image source CDATA #REQUIRED> <!ELEMENT figure (%chunks;|caption)*> <!ELEMENT caption (#PCDATA|%bits;)*> <!-- Why was this here????? <!ENTITY lt '&#60;'>--> <!ENTITY mdash "—"> <!ENTITY ndash "–"> <!ENTITY rsquo "’"> <!ENTITY lsquo "‘"> <!ENTITY rdquo "”"> <!ENTITY ldquo "“"> <!ENTITY ccedil "ç" > <!ENTITY aacute "á" > <!ENTITY eacute "é" > <!ENTITY egrave "è" > <!ENTITY ouml "ö" > <!ENTITY uuml "ü" > <!ENTITY copy "©" > <!-- allow for table under control of withTables entity. Either use -i withTables when invoking doxt or nsgmlx to enable, or put <!ENTITY % withTables 'INCLUDE'> in your internal subset --> <!ENTITY % withTables 'IGNORE'> <![%withTables;[ <!ENTITY % tableDTD SYSTEM 'html-table.dtd'> %tableDTD; ]]>