RelaxNG/publiset.rnc
changeset 52 cb9addc3d98a
parent 48 136c5977c215
child 66 29c53c3d676e
--- a/RelaxNG/publiset.rnc	dim. oct. 23 18:42:06 2011 +0200
+++ b/RelaxNG/publiset.rnc	ven. oct. 28 10:41:08 2011 +0200
@@ -79,6 +79,7 @@
  & copyright?
  & author*
  & publisher?
+ & abstract?
  & cover?
 division.head.content =
    (title, subtitle?)?
@@ -159,6 +160,13 @@
 
 label.content = inlines
 
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ abstract ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+abstract = element abstract { abstract.content }
+
+abstract.content =
+   p+
+
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cover ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 cover = element cover { cover.content }
@@ -224,6 +232,18 @@
 
 
 # =============================================================================
+#                                 BLOCK LEVEL
+# =============================================================================
+
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+p = element p { p.content }
+
+p.content =
+   inlines
+
+
+# =============================================================================
 #                                 INLINE LEVEL
 # =============================================================================