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

From
Ron Catterall <>
Date
2007-02-08T22:24:28+00:00
ID
p06240817c1f151dd472b@[192.168.1.65]
Thread
Re: [docbook-apps] How to avoid a line break in a <phrase>
Thanks Dave, that should do it.
Chris - I didn't phrase my query very well at all, what was worrying 
me was a split word and hyphenation - what I was seeing was "ht- 
<line feed> tp" in the PDF output - not very elegant.
Ron

>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


-- 
Ron Catterall, Phd, DSc			       	email: 
Prolongacion de Hidalgo 140				http://catterall.net/
San Felipe del Agua					tel: +52 951 520 1821
Oaxaca      68020	Mexico				fax: +1 530 348 8309