# HG changeset patch # User Coraline MARKWITZ # Date 1476095133 -7200 # Node ID e0506760c16dae249371577bba4c6d9c893814c3 # Parent acc07d9146ed4e3fefdf993daff61897cfbba747 ajout nowrap diff -r acc07d9146ed -r e0506760c16d RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc sam. sept. 24 11:10:58 2016 +0200 +++ b/RelaxNG/publidoc.rnc lun. oct. 10 12:25:33 2016 +0200 @@ -855,6 +855,8 @@ & image* & audio* & smil* + + & nowrap* } # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub, sup, var ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1067,6 +1069,12 @@ smil.content = inlines +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nowrap ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +nowrap = element nowrap { nowrap.content } + +nowrap.content = inlines + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning = element warning { warning.attributes, warning.content } diff -r acc07d9146ed -r e0506760c16d RelaxNG/publiquiz.rnc --- a/RelaxNG/publiquiz.rnc sam. sept. 24 11:10:58 2016 +0200 +++ b/RelaxNG/publiquiz.rnc lun. oct. 10 12:25:33 2016 +0200 @@ -12,6 +12,9 @@ division.head?, front?, (division | topic | quiz)+ + + nowrap.content = + inlines | blanks.inlines | blanks-m.inlines | pointing.inlines } @@ -699,6 +702,7 @@ & image* & audio* & smil* + & nowrap* & blank* } @@ -730,6 +734,7 @@ & image* & audio* & smil* + & nowrap* & blank-m* } @@ -761,6 +766,7 @@ & image* & audio* & smil* + & nowrap* & point* }