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] Programmlisting Tab->Space and Tiny Spaces

You might also experiment with fo:character with treat-as-word-space set to false. e.g. ;-)

z.<fo:character character=" " font-size=".5pt" treat-as-word-space="false"/>B.


You'd have to use a PI or some other hack to have the xsls add it to the desired place. For a similar problem, I add <?sbr?> in long filenames and have the xsls put in a <fo:character character=" " font-size=".01pt" treat-as-word-space="true"/> to create hyphenless linebreaks. Warning: Don't use font-size="0pt". The pdf will look fine, but some printers get confused.


-----Original Message-----
From: Bob Stayton [mailto:bobs@sco.com]
Sent: Thursday, September 04, 2003 11:17 AM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] Programmlisting Tab->Space and Tiny Spaces


> - In abbrevations such as the german z. B. it can happen that the produced
>   fo output inserts a line break just between the z. and the B. which looks
>   extremely ugly.
>   I'd also like to make the space between a little tinier if possible.
>   Now I tried &x2009; and &x200A; which - as I understand from the
> Definitive
>   DB Guide - should be Thin or Hair spaces. Both resulted in a normal Space
>   in FO which does not prevent line breaking.

It is possible that your FO processor does not format
thin space characters as thin spaces.  I suspect in either
case that they are not treated as non-breaking spaces.
think you could use &nbsp; to 
at least prevent the line from breaking.

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.

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