[XeTeX] hyphenating words with a hyphen

Will Robertson wspr81 at gmail.com
Sun Nov 5 22:27:59 CET 2006

On 06/11/2006, at 5:28 , Ricard Roca wrote:

> Also, TeX doesn't hyphenate words with apostrophes, but you can write
> \lccode`\'=`\'
> somewhere (in the preamble, etc.) and
> 2'2

It sounds like you'd be able to get around your problem by using a  
different character for the "hyphenation hyphen" than the ascii one.  
I don't really know this stuff, but marking up your text with the  
unicode char "2010 (‐) would seem to fix the conundrum above.


I don't think it's relevant, but you can also change the hyphenchar  
in the font (I don't know how in ConTeXt) you're using which may (but  
I doubt) allow you to using an ascii hyphen in your text.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2361 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20061106/24d97f69/attachment.bin 

More information about the XeTeX mailing list