RelaxNG/publidoc.rnc
changeset 272 4fc445e33c22
parent 269 701ab1a98bd9
child 274 70ae719226b1
--- a/RelaxNG/publidoc.rnc	dim. déc. 08 15:22:14 2013 +0100
+++ b/RelaxNG/publidoc.rnc	dim. déc. 15 23:42:58 2013 +0100
@@ -737,16 +737,23 @@
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ math ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 math = element math {
-   ( attribute notation {"tex"}, math.attributes, math.tex.content )
- | ( math.attributes, math.content)
+   ( attribute notation {"latex"}, math.latex.attributes, math.latex.content )
+ | ( math.attributes, math.content )
 }
 
 math.attributes =
    math.mode.attribute?
-math.mode.attribute = attribute mode { "wide" | "equation" }
+math.latex.attributes =
+   math.latex.mode.attribute?
+math.mode.attribute = attribute mode {
+   "wide" | "numbered" | "box"  | "numbered-box" }
+math.latex.mode.attribute = attribute mode {
+   "wide" | "numbered" | "box"  | "numbered-box"
+ | "plain" | "plain-wide" | "numbered-plain" | "plain-box"
+ | "numbered-plain-box" }
 
 math.content = mixed { sup* & sub* & var* & warning* }
-math.tex.content = text
+math.latex.content = text
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ date ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~