OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]