[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>
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(' ',  ) > >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: ron@catterall.net Prolongacion de Hidalgo 140 http://catterall.net/ San Felipe del Agua tel: +52 951 520 1821 Oaxaca 68020 Mexico fax: +1 530 348 8309
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]