Next in thread → Next in month →

Re: [docbook-apps] page break help

From
Kari Bourgeois <>
Date
2007-02-16T13:15:20+00:00
ID
Thread
Re: [docbook-apps] page break help
Wanted to follow up with the resolution.

The reason why this customization wasn't working for me was that I had 
another customization that was overriding this one. I changed the "role" 
in this customization to "condition" and its working fine now.

Thanks for the help

Kari

Bob Stayton wrote:
> Hi Kari,
> This customization works for me.  What processor are you using?  Any 
> other customizations that might affect it?
> Profiling?  Any error messages?
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> 
>
>
> ----- Original Message ----- From: "Kari Bourgeois" <>
> To: "docbook-apps" <>
> Sent: Wednesday, February 14, 2007 12:00 PM
> Subject: [docbook-apps] page break help
>
>
>> Hi
>>
>> Trying to do a page break on only certain sect2's.
>>
>> I've added the following to my customization layer:
>>
>>    <xsl:attribute-set name="section.level2.properties">
>>        <xsl:attribute name="break-before">
>>            <xsl:choose>
>>                <xsl:when test="@role='break-before'">page</xsl:when>
>>                <xsl:otherwise>auto</xsl:otherwise>
>>               </xsl:choose></xsl:attribute>
>>        </xsl:attribute-set>
>>
>> (Thanks David C for that) but its causing the sect2's the role is 
>> placed on to disappear. Any other suggestions or info on what I'm 
>> doing wrong?
>>
>> thanks
>> Kari
>>
>> -- 
>> Kari Bourgeois
>> Technical Writer
>> Pyxis Technology
>> 512-637-0519
>> 
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: 
>> For additional commands, e-mail: 
>>
>>
>>
>
>

-- 
Kari Bourgeois
Technical Writer
Pyxis Technology
512-637-0519
Next in thread → Next in month →