[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Columns in index of article, with docbook-xsl-ns
Hi, Multiple columns are specified in the page-master, so your index content must be removed from the main article page-sequence that uses the "body" page-master and put into a new page-sequence using the "index" page-master. You would have to customize the template with match="article" from fo/component.xsl. Near the end of the template, change: ... <xsl:apply-templates/> </fo:flow> </fo:page-sequence> to: ... <xsl:apply-templates select="*[not(self::index)]"/> </fo:flow> </fo:page-sequence> <xsl:call-template name="page.sequence"> <xsl:with-param name="master-reference">index</xsl:with-param> <xsl:with-param name="content"> <xsl:apply-templates select="index"/> </xsl:with-param> </xsl:call-template> Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Rasmus Kaj" <kaj@kth.se> To: <docbook-apps@lists.oasis-open.org> Sent: Wednesday, April 16, 2008 10:53 AM Subject: [docbook-apps] Columns in index of article, with docbook-xsl-ns > Hi! > > I'm trying, without success, to get a multi-column index in a DocBook > article. > > After a lot of searching I found that the index page-master isn't used > for an article. If I switch to a book it works, but then I get loads of > extra page breaks and empty pages that I don't want (and what I write > feels more like an article than a book). > > I do have the index on a page for itself. Can I specify a page-master > from my titlepages specification? Or can I specify a number of column > in some way that don't require the use of a page-master? > > > I'm using DocBook 5.0, docbook-xsl-ns-1.73.2, and fop 0.94. > > > -- > Rasmus Kaj <kaj@kth.se> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]