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] switch header.rule off chapter titlepage


On Sunday 04 June 2006 20:07, Jirka Kosek wrote:
> Sean Wheller wrote:
> > I have header.rule set to 1. As desired this give me a solid line in the
> > header of each page, but it also applies to the chapter titlepages, which
> > is undesired.
> >
> > How can the header.rule be 0 for chapter title pages while all other page
> > classes have header.rule 1?
>
> Try the following customization (it is untested, but it should work):
>
> <xsl:template name="head.sep.rule">
>    <xsl:param name="pageclass"/>
>    <xsl:param name="sequence"/>
>    <xsl:param name="gentext-key"/>
>
>    <xsl:if test="$header.rule != 0 and $pageclass != 'titlepage'">
>      <xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
>      <xsl:attribute name="border-bottom-style">solid</xsl:attribute>
>      <xsl:attribute name="border-bottom-color">black</xsl:attribute>
>    </xsl:if>
> </xsl:template>

I tried the above customization. It did not work. I still get a header rule on 
chapter title pages.

I also tried various alternatives like using a choose if when without avail.
-- 
Ask me about the Monkey.

Sean Wheller
Technical Author
sean@inwords.co.za
+27-84-854-9408
http://www.inwords.co.za


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