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] rules for different classes


Bob Stayton wrote:
> Thomas Gier wrote:
> > Guy Worthington wrote:

> > > [How do I turn off header rule on the
> > >  first page of a chapter?]

> > [Working solution provided]

> If you look at the bottom of the header.table
> template, you will find a xsl:choose statement
> that provides an opportunity to output the candidate
> table or not.  If you want to suppress the header
> on certain page classes or sequences, you can add
> xsl:when statements for additional cases.  That can
> be used to suppress the entire header table,
> including its content and rule.

This is useful.  Currently in my "footer.content"
template I've exhaustive lists of empty elements
such as:

<xsl:when test="$sequence = 'odd' and $position = 'left'" />
<xsl:when test="$sequence = 'odd' and $position = 'center'" />
<xsl:when test="$sequence = 'odd' and $position = 'right'" />
<xsl:when test="$sequence = 'even' and $position = 'left'" />
<xsl:when test="$sequence = 'even' and $position = 'center'" />
<xsl:when test="$sequence = 'even' and $position = 'right'" />

which is tedious and error prone.  I much prefer
to just turn off my footer.


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