Permalink
Browse files

Allow topic in chapter and appendix (as an alternative to narrative c…

…ontent) per May 2010 TC meeting
  • Loading branch information...
ndw committed Jul 28, 2010
1 parent 0ac541b commit 4ed6c92defe4d2282bbcccf0fe9edd633651240d
Showing with 14 additions and 2 deletions.
  1. +10 −2 relaxng/docbook/src/hier.rnc
  2. +4 −0 relaxng/docbook/src/topic.rnc
@@ -235,6 +235,10 @@ div {
# ======================================================================
db.appendix.contentmodel = db.component.contentmodel
# ======================================================================
[
db:refname [ "appendix" ]
db:refpurpose [ "An appendix in a book or article" ]
@@ -258,12 +262,16 @@ div {
element appendix {
db.appendix.attlist,
db.appendix.info,
db.component.contentmodel
db.appendix.contentmodel
}
}
# ======================================================================
db.chapter.contentmodel = db.component.contentmodel
# ======================================================================
[
db:refname [ "chapter" ]
db:refpurpose [ "A chapter, as of a book" ]
@@ -287,7 +295,7 @@ div {
element chapter {
db.chapter.attlist,
db.chapter.info,
db.component.contentmodel
db.chapter.contentmodel
}
}
@@ -36,6 +36,10 @@ default namespace = "http://docbook.org/ns/docbook"
start |= db.topic
db.book.components |= db.topic*
db.part.contentmodel |= db.topic+
db.chapter.contentmodel |= db.topic+
db.appendix.contentmodel |= db.topic+
# ======================================================================
[
db:refname [ "topic" ]

0 comments on commit 4ed6c92

Please sign in to comment.