OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] How to suppress from printing titlepage and tocfrom a book in aset


Try this (untested):

<xsl:template match="book[1]" mode="toc">
</xsl:template>

This is an empty template for the first book in the mode that generates its
TOC entries.
Let me know if that doesn't work.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Gerd Pokorra" <pokorra@uni-siegen.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, May 31, 2005 4:04 AM
Subject: Re: [docbook-apps] How to suppress from printing titlepage and
tocfrom a book in aset


> Thanks Bob the template works fine.
>
>   <xsl:template match="book[1]">
>     <xsl:variable name="content"
>                   select="*[not(self::title or self::subtitle or
>                                 self::titleabbrev or self::bookinfo)]"/>
>     <xsl:apply-templates select="$content"/>
>   </xsl:template>
>
>
> In the set TOC if would be nice not to have the entry of the title from
> the first book.
> Is it possible to extend the template to do that also.
>
>
> ---------------------------------------------------------------------
> 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]