Re: [xep-support] Hyphenation tip

From: Dave Pawson <dave.pawson@gmail.com>
Date: Wed May 06 2009 - 07:15:29 PDT

2009/5/6 Jan Tošovský <j.tosovsky@gmc.net>:
> Hello Everyone,
>
> could somebody help me to hyphenate the following text correctly?
>
> <fo:block>Set the name under which the server will be visible. For example http://www.server3.com can be named http://www.whatever.com</fo:block>
>
> I am getting this (hyphenated protocol):
> Set the name under which the server will be visible. For example ht-
> tp://www.server3.com can be named http://www.whatever.com
>
> but I would suppose this (line break just at space before URL):
> Set the name under which the server will be visible. For example
> http://www.server3.com can be named http://www.whatever.com

Not sure its what you wanted to hear, but wrap the 'offending'
phrase in fo:inline and use the keep-together.within-line property
to stop the hyphenation or line breaking.

HTH

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed May 6 07:43:51 2009

This archive was generated by hypermail 2.1.8 : Wed May 06 2009 - 07:43:58 PDT