# HG changeset patch # User Patrick PIERRE # Date 1474708258 -7200 # Node ID acc07d9146ed4e3fefdf993daff61897cfbba747 # Parent 8a0af445525a046d5cc2b1b0277c81b7fd07ad10 Attribut type pour diff -r 8a0af445525a -r acc07d9146ed Data/Topics/maths.xml --- a/Data/Topics/maths.xml mer. août 17 17:29:13 2016 +0200 +++ b/Data/Topics/maths.xml sam. sept. 24 11:10:58 2016 +0200 @@ -36,7 +36,7 @@

On rappelle que la moyenne de X est - le nombre : \overline X = + le nombre : \overline X = \frac{1}{n}\left( {n_1 x_1 + n_2 x_2 + \dots + n_p x_p } \right).

diff -r 8a0af445525a -r acc07d9146ed RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc mer. août 17 17:29:13 2016 +0200 +++ b/RelaxNG/publidoc.rnc sam. sept. 24 11:10:58 2016 +0200 @@ -968,8 +968,10 @@ math.attributes = xmlid.attribute? & math.display.attribute? + & math.type.attribute? math.display.attribute = attribute display { "wide" | "numbered" | "box" | "numbered-box" } +math.type.attribute = attribute type { xsd:NCName } math.content = mixed { sup* & sub* & var* & warning* }