[xep-support] Hyphenation tip

Dave Pawson dave.pawson at gmail.com
Wed May 6 12:39:25 PDT 2009


2009/5/6 Michael Sulyaev <msulyaev at renderx.com>:
> Hello Jan,
>
> If you have language="en" you are using the hyphen/ukhyphen.tex rules file
> which is for English (UK). See xep.xml, the last section on languages. This
> file allows "ht-tp".

> You may also forbid hyphenation of "http" in UK rules:
>
> $ diff -ubBr hyphen/ukhyphen.tex.orig hyphen/ukhyphen.tex
> --- hyphen/ukhyphen.tex.orig    2009-05-06 19:13:46.000000000 +0400
> +++ hyphen/ukhyphen.tex 2009-05-06 19:14:07.000000000 +0400
> @@ -8576,4 +8576,5 @@
>  ma-nu-scripts
>  re-ci-pro-city
>  through-out
> -some-thing}
> +some-thing
> +http}
>
>
> Obviously, you may disable hyphenation for the URLs in the source FO:
>
> For example <fo:inline hyphenate="false">http://www.server3.com</fo:inline>
> can be named <fo:inline
> hyphenate="false">http://www.whatever.com</fo:inline>

I think your suggestions are better Michael!
1. Use the hyphenation dictionary for the language in use
2. use the hyphenate='false' property!

Thanks.

DaveP


>
> or, as Jirka Kosek and Dave Pawson say, add a keep-together="always".
>
> Regards,
> Michael Sulyaev
> RenderX
>
> -------------------
> (*) 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
>



-- 
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