735 number.roman.content = xsd:token {pattern = "[MCLXVI]+"} |
735 number.roman.content = xsd:token {pattern = "[MCLXVI]+"} |
736 |
736 |
737 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ math ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
737 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ math ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
738 |
738 |
739 math = element math { |
739 math = element math { |
740 ( attribute notation {"tex"}, math.attributes, math.tex.content ) |
740 ( attribute notation {"latex"}, math.latex.attributes, math.latex.content ) |
741 | ( math.attributes, math.content) |
741 | ( math.attributes, math.content ) |
742 } |
742 } |
743 |
743 |
744 math.attributes = |
744 math.attributes = |
745 math.mode.attribute? |
745 math.mode.attribute? |
746 math.mode.attribute = attribute mode { "wide" | "equation" } |
746 math.latex.attributes = |
|
747 math.latex.mode.attribute? |
|
748 math.mode.attribute = attribute mode { |
|
749 "wide" | "numbered" | "box" | "numbered-box" } |
|
750 math.latex.mode.attribute = attribute mode { |
|
751 "wide" | "numbered" | "box" | "numbered-box" |
|
752 | "plain" | "plain-wide" | "numbered-plain" | "plain-box" |
|
753 | "numbered-plain-box" } |
747 |
754 |
748 math.content = mixed { sup* & sub* & var* & warning* } |
755 math.content = mixed { sup* & sub* & var* & warning* } |
749 math.tex.content = text |
756 math.latex.content = text |
750 |
757 |
751 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ date ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
758 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ date ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
752 |
759 |
753 date = element date { date.attributes, date.content } |
760 date = element date { date.attributes, date.content } |
754 |
761 |