[xep-support] Hyphenation tip

Dave Pawson dave.pawson at gmail.com
Wed May 6 07:15:29 PDT 2009


2009/5/6 Jan Tošovský <j.tosovsky at 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 at 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



More information about the Xep-support mailing list