This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Re: Soft line breaks in XSL:FO output
- From: David Tolpin <dvd at davidashen dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 10 Oct 2003 18:03:28 +0500 (AMST)
- Subject: Re: [docbook-apps] Re: Soft line breaks in XSL:FO output
> I tried inserting Èb at the points where I wanted the URLs to be
> broken, but that didn't give me the desired results. I got
>
> http:// some-
> machine/path/to/somewhere
>
> when the result I was hoping for, was:
>
> http://
> somemachine/path/to/somewhere
>
> (I didn't spot the bit about turning hyphenation off, in your message.
> Perhaps that would have fixed it?)
>
The question is FOP-specific, and will probably find it's answer on a FOP list.
This is a bug in FOP, treating zero-width space as a non-zero-width space. With
regard to hyphenation, I don't know how to do it in DocBook, but there is XSL FO
attribute 'hyphenate' that should be used to switch it off. But again, I suspect
that won't affect the way FOP handles dashes and zero-width spaces.
David Tolpin
http://davidashen.net/
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.