summaryrefslogtreecommitdiff
path: root/docs/ref/docutils.dtd
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2015-04-20 10:55:19 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2015-04-20 10:55:19 +0000
commit6d4514fd3ee36f31b151ac070f64655ac1a4fc08 (patch)
tree9801a513df5d2103285c8f953abf87ab89de20e9 /docs/ref/docutils.dtd
parent7865f76b8e008152945560c52d88e01442f3574e (diff)
downloaddocutils-6d4514fd3ee36f31b151ac070f64655ac1a4fc08.tar.gz
Add "math" and "math_block" to Docutils DTD.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7882 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/ref/docutils.dtd')
-rw-r--r--docs/ref/docutils.dtd16
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/ref/docutils.dtd b/docs/ref/docutils.dtd
index 6ad0f24bb..1d57f1938 100644
--- a/docs/ref/docutils.dtd
+++ b/docs/ref/docutils.dtd
@@ -125,7 +125,7 @@ resolve to either an internal or external reference.
<!ENTITY % additional.body.elements "">
<!ENTITY % body.elements
" paragraph | compound | container | literal_block | doctest_block
- | line_block | block_quote
+ | math_block | line_block | block_quote
| table | figure | image | footnote | citation | rubric
| bullet_list | enumerated_list | definition_list | field_list
| option_list
@@ -137,7 +137,7 @@ resolve to either an internal or external reference.
<!ENTITY % additional.inline.elements "">
<!ENTITY % inline.elements
- " emphasis | strong | literal
+ " emphasis | strong | literal | math
| reference | footnote_reference | citation_reference
| substitution_reference | title_reference
| abbreviation | acronym | subscript | superscript
@@ -394,6 +394,13 @@ or " ") or the text between option arguments (typically either "," or
%basic.atts;
%fixedspace.att;>
+<!--
+`math_block` contains a block of text in "LaTeX math format"
+that is typeset as mathematical notation (display formula).
+-->
+<!ELEMENT math_block (#PCDATA)>
+<!ATTLIST math_block %basic.atts;>
+
<!ELEMENT line_block (line | line_block)+>
<!ATTLIST line_block %basic.atts;>
@@ -537,7 +544,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>, and <image> do not support nesting.
+ <literal>, <math>, and <image> do not support nesting.
-->
<!ELEMENT emphasis %text.model;>
@@ -549,6 +556,9 @@ following caveats:
<!ELEMENT literal (#PCDATA)>
<!ATTLIST literal %basic.atts;>
+<!ELEMENT math (#PCDATA)>
+<!ATTLIST math %basic.atts;>
+
<!-- Can also be a body element, when it contains an "image" element. -->
<!ELEMENT reference %text.model;>
<!ATTLIST reference