- From: Jeremias Maerki <dev@jeremias-maerki.ch>
- Date: Tue, 29 Jul 2008 22:46:28 +0200
- To: www-xsl-fo@w3.org
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/
Received on Tuesday, 29 July 2008 20:47:02 UTC