Re: [docbook-apps] How to avoid a line break in a <phrase>

From
Dave Pawson <>
Date
2007-02-08T19:25:28+00:00
ID
Thread
Re: [docbook-apps] How to avoid a line break in a <phrase>
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>?)
> 
> Is there a way to do this?

Override the template for that phrase/@role, then do a replace(' ', &#xA0;)

or some other non breaking space character from around the 2000 mark
in the Unicode character set.

HTH




regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk