Re: Apache FOP: keep-together in fo:inline elements isn't working

I'm using 0.94... guess that explains the problems i'm having...

Tomorrow I'll give 0.95beta a shot... maybe it resolves the external graphic
performance issues too (readme says it does...).

Thanks for your help!


Jeremias Maerki-2 wrote:
> 
> 
> You didn't say which FOP version you're using. inline-level
> keep-together support is only available in Apache FOP 0.95beta or later.
> 
> HTH
> 
> On 29.07.2008 16:33:52 Klaus Gradinger wrote:
>> 
>> 
>> Hello.
>> 
>> My xsl file looks something like this:
>> 
>> <fo:block>
>>   text text
>>   <xsl:if> text </xsl:if>
>>   <xsl:if> more text </xsl:if>
>>   return within 14 days
>> </fo:block>
>> 
>> The problem is: In some cases (if the if condition is satisfied) the "14
>> days" get split up, leaving the "14" behind on the last line.
>> 
>> I tried to fix this with an inline element:
>> 
>> <fo:block>
>>   text text
>>   <xsl:if> text </xsl:if>
>>   <xsl:if> more text </xsl:if>
>>   return within <fo:inline keep-together.within-line="always">14
>> days</fo:inline>
>> </fo:block>
>> 
>> it seems as if the apache fo processor is just ignoring the whole
>> keep-together tag... i checked on the compliance page and there is no
>> sign
>> of an incompatiblity (it says partial, stating that the integer value
>> isn't
>> supported)
>> 
>> Have i made a mistake somewhere? Can i work around this somehow (last way
>> out would be a checking if the if conditions are true and making the line
>> break myself..)
>> 
>> Thanks,
>> Klaus
>> -- 
>> View this message in context:
>> http://www.nabble.com/Apache-FOP%3A-keep-together-in-fo%3Ainline-elements-isn%27t-working-tp18713602p18713602.html
>> Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
>> 
> 
> 
> 
> 
> Best regards,
> Jeremias Märki
> _________________________________________________________
> Jeremias Märki, Software-Development and Consulting
> Contact Information: http://www.jeremias-maerki.ch/contact.html
> Blog: http://www.jeremias-maerki.ch/blog/
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Apache-FOP%3A-keep-together-in-fo%3Ainline-elements-isn%27t-working-tp18713602p18721570.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.

Received on Tuesday, 29 July 2008 21:21:53 UTC