ajout nowrap
authorCoraline MARKWITZ
lun., 10 oct. 2016 12:25:33 +0200
changeset 436 e0506760c16d
parent 435 acc07d9146ed
child 437 ad751158803d
ajout nowrap
RelaxNG/publidoc.rnc
RelaxNG/publiquiz.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 }
--- 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*
 }