]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix content model of equation and informalequation wrt alt
authorNorman Walsh <ndw@nwalsh.com>
Wed, 14 Dec 2005 11:35:51 +0000 (11:35 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 14 Dec 2005 11:35:51 +0000 (11:35 +0000)
docbook/relaxng/docbook/src/math.rnc

index 6fd78df75b3689c38cdd30a388f342be6c608fc1..9fa8cc08c9977ed847ef9d1efae5dce23bc56992 100644 (file)
@@ -47,7 +47,7 @@ db.nopara.blocks |= db.math.blocks
 
 # ======================================================================
 
-db.equation.content = db.alt?, (db.mediaobject+ | db.mathphrase+)
+db.equation.content = db.mediaobject+ | db.mathphrase+
 
 # ======================================================================
 
@@ -74,6 +74,7 @@ div {
       element equation {
          db.equation.attlist,
          db.equation.info,
+         db.alt?,
          db.equation.content,
          db.caption?
       }
@@ -100,6 +101,7 @@ div {
       element informalequation {
          db.informalequation.attlist,
          db.informalequation.info,
+         db.alt?,
          db.equation.content,
          db.caption?
       }
@@ -123,6 +125,7 @@ div {
    db.inlineequation =
       element inlineequation {
          db.inlineequation.attlist,
+         db.alt?,
          db.equation.content
       }
 }