diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2016-11-29 12:03:44 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2016-11-29 12:03:44 +0000 |
| commit | c365afcbac2642549b158a5e5f0cf0003827978b (patch) | |
| tree | c4e9ef77d9c230bf78b65b983addedcfaaf6b727 /docs/ref/docutils.dtd | |
| parent | cf9d5efb44a694ed7d2cc3af29607c999f9940de (diff) | |
| download | docutils-c365afcbac2642549b158a5e5f0cf0003827978b.tar.gz | |
Docutils Generic DTD: some corrections after test with xlmlint.
More work to do, many documents still do not validate.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7978 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/ref/docutils.dtd')
| -rw-r--r-- | docs/ref/docutils.dtd | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/ref/docutils.dtd b/docs/ref/docutils.dtd index 1d57f1938..2ae4b9f8c 100644 --- a/docs/ref/docutils.dtd +++ b/docs/ref/docutils.dtd @@ -48,9 +48,9 @@ Attributes shared by all elements in this DTD: - `id` is a unique identifier, typically assigned by the system. - `name` is an identifier assigned in the markup. -- `dupname` is the same as `name`, used when it's a duplicate. +- `dupnames` is the same as `name`, used when it's a duplicate. - `source` is the name of the source of this document or fragment. -- `class` is used to transmit individuality information forward. +- `classes` is used to transmit individuality information forward. --> <!ENTITY % basic.atts " ids NMTOKENS #IMPLIED @@ -185,6 +185,7 @@ http://www.oasis-open.org/html/tm9901.htm). <!ENTITY % tbl.entry.mdl " (%body.elements;)* "> <!ENTITY % tbl.entry.att " %basic.atts; + %align-h.att; morecols %number; #IMPLIED "> <!-- @@ -490,7 +491,7 @@ that is typeset as mathematical notation (display formula). <!ATTLIST figure %basic.atts; %align-h.att; - width %number; #IMPLIED> + width %measure; #IMPLIED> <!-- Also an inline element. --> <!ELEMENT image EMPTY> @@ -544,7 +545,7 @@ following caveats: - Nested inline elements may or may not be supported by individual applications using this DTD. - The inline elements <footnote_reference>, <citation_reference>, - <literal>, <math>, and <image> do not support nesting. + <math>, and <image> do not support nesting. --> <!ELEMENT emphasis %text.model;> @@ -553,7 +554,7 @@ following caveats: <!ELEMENT strong %text.model;> <!ATTLIST strong %basic.atts;> -<!ELEMENT literal (#PCDATA)> +<!ELEMENT literal %text.model;> <!ATTLIST literal %basic.atts;> <!ELEMENT math (#PCDATA)> |
