summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2011-06-19 20:04:06 -0400
committerShaun McCance <shaunm@gnome.org>2011-06-19 20:04:06 -0400
commit662225843b57b7892e9b8bf3d2a76d896e1b34e1 (patch)
treea3286e9fbe0104a1cd276b04e62e5d9c48f2d668
parente6e1bfec226fd91decd4ef972637589f38dc5e4d (diff)
downloadyelp-662225843b57b7892e9b8bf3d2a76d896e1b34e1.tar.gz
yelp-docbook-document: Change which elements are chunked
I changed the rules in yelp-xsl at some point. This change matches.
-rw-r--r--libyelp/yelp-docbook-document.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libyelp/yelp-docbook-document.c b/libyelp/yelp-docbook-document.c
index 7b8dc68a..479597b9 100644
--- a/libyelp/yelp-docbook-document.c
+++ b/libyelp/yelp-docbook-document.c
@@ -619,18 +619,18 @@ docbook_walk_divisionQ (YelpDocbookDocument *docbook, xmlNodePtr node)
!xmlStrcmp (node->name, (const xmlChar *) "article") ||
!xmlStrcmp (node->name, (const xmlChar *) "book") ||
!xmlStrcmp (node->name, (const xmlChar *) "bibliography") ||
+ !xmlStrcmp (node->name, (const xmlChar *) "bibliodiv") ||
!xmlStrcmp (node->name, (const xmlChar *) "chapter") ||
!xmlStrcmp (node->name, (const xmlChar *) "colophon") ||
+ !xmlStrcmp (node->name, (const xmlChar *) "dedication") ||
!xmlStrcmp (node->name, (const xmlChar *) "glossary") ||
+ !xmlStrcmp (node->name, (const xmlChar *) "glossdiv") ||
+ !xmlStrcmp (node->name, (const xmlChar *) "lot") ||
!xmlStrcmp (node->name, (const xmlChar *) "index") ||
!xmlStrcmp (node->name, (const xmlChar *) "part") ||
!xmlStrcmp (node->name, (const xmlChar *) "preface") ||
!xmlStrcmp (node->name, (const xmlChar *) "reference") ||
!xmlStrcmp (node->name, (const xmlChar *) "refentry") ||
- !xmlStrcmp (node->name, (const xmlChar *) "refsect1") ||
- !xmlStrcmp (node->name, (const xmlChar *) "refsect2") ||
- !xmlStrcmp (node->name, (const xmlChar *) "refsect3") ||
- !xmlStrcmp (node->name, (const xmlChar *) "refsection") ||
!xmlStrcmp (node->name, (const xmlChar *) "sect1") ||
!xmlStrcmp (node->name, (const xmlChar *) "sect2") ||
!xmlStrcmp (node->name, (const xmlChar *) "sect3") ||
@@ -639,7 +639,8 @@ docbook_walk_divisionQ (YelpDocbookDocument *docbook, xmlNodePtr node)
!xmlStrcmp (node->name, (const xmlChar *) "section") ||
!xmlStrcmp (node->name, (const xmlChar *) "set") ||
!xmlStrcmp (node->name, (const xmlChar *) "setindex") ||
- !xmlStrcmp (node->name, (const xmlChar *) "simplesect") );
+ !xmlStrcmp (node->name, (const xmlChar *) "simplesect") ||
+ !xmlStrcmp (node->name, (const xmlChar *) "toc") );
}
static gchar *