[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Html: suppressing separate titlepage for book/article
Donna Robinson <donna@terpsichore.ws> writes: > I'm sure this Q has been asked before, but I've failed to find anything. > > I have a set of books: > book_1 > book_2 > book_3 > ... ... > > Book 3 is just a 'wrapper' around an article. > I want to have it be all on one page: > -------------------------------------------- > Book Title > BookInfo stuff > ... ... > > <start of qandaset> > ... ... > <end of qandaset> > -------------------------------------------- > > rather than have a separate titlepage, as book 3 looks pretty silly - see > here: http://www.valgrind.org/docs/manual/FAQ.html > > Chunking is set to chapter level: > <xsl:param name="chunk.section.depth" select="'0'"/> > > I hope someone can help - trying to figure this out is driving me nuts. The stylesheets are hard-coded to always generate a separate chunk for each Article element -- there are no parameters for overriding that behavior (chunk.section.depth only affects handling of Section elements). The only ways to change that behavior are to either add some template overrides to your XSL stylesheet customization layer, or to edit the source for the stylesheets directly. If you can edit the stylesheets directly, you only need to make a one-line change: Index: chunk-code.xsl =================================================================== RCS file: /cvsroot/docbook/xsl/html/chunk-code.xsl,v retrieving revision 1.14 diff -u -r1.14 chunk-code.xsl --- chunk-code.xsl 4 Aug 2005 07:03:47 -0000 1.14 +++ chunk-code.xsl 1 Dec 2005 10:12:55 -0000 @@ -543,7 +543,6 @@ <!-- ====================================================================== --> <xsl:template match="set|book|part|preface|chapter|appendix - |article |reference|refentry |book/glossary|article/glossary|part/glossary |book/bibliography|article/bibliography|part/bibliography -- Michael Smith http://sideshowbarker.net/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]