[yelp] yelp-docbook-document: Change which elements are chunked



commit 662225843b57b7892e9b8bf3d2a76d896e1b34e1
Author: Shaun McCance <shaunm gnome org>
Date:   Sun Jun 19 20:04:06 2011 -0400

    yelp-docbook-document: Change which elements are chunked
    
    I changed the rules in yelp-xsl at some point. This change matches.

 libyelp/yelp-docbook-document.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/libyelp/yelp-docbook-document.c b/libyelp/yelp-docbook-document.c
index 7b8dc68..479597b 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 *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]