FOP has limited support for keep-together. Version 0.93 now supports it
for fo:block elements, but not for fo:inline.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From: "Keith Fahlgren" <>
To: <>
Sent: Thursday, February 08, 2007 5:48 PM
Subject: Re: [docbook-apps] How to avoid a line break in a <phrase>
> On 2/8/07, Keith Fahlgren <> wrote:
>> On 2/8/07, Ron Catterall <> wrote:
>> > I want to use the role attribute on <phrase> to do something like
>> >
>> > <para>Some content <phrase role="keeptogether">qwerty asdf
>> > zxcvbn</phrase> some more content</para>
>> >
>> > to avoid any line-breaks being generated in the <phrase> content when
>> > I produce a PDF file. (A sort in in-line equivalent of
>> > <literallayout>?)
>>
>> To the folks who didn't use this:
>> Couldn't you use fo:keep-together.within-line="true"
>> http://www.w3.org/TR/xsl/#keep-together
>
> errr... ="always"
>
> I often have a hard time with http://www.w3.org/TR/xsl/#keepbreak,
> that's why I'm asking.
>
>
> Thanks,
> Keith
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>
>