[XeTeX] Greek Hyphenation (monotoniko)

Jonathan Kew jonathan_kew at sil.org
Tue Jan 10 14:18:24 CET 2006

On 10 Jan 2006, at 11:38 am, Yves Codet wrote:

> Le 10 janv. 06, à 11:47, Jonathan Kew a écrit :
>>> I am not sure my rules about diacritics are right. What I meant  
>>> to do is, for instance, this:
>>> 	(1) 2<smooth breathing>1
>>> 	(2) 2<acute>1
>>> In a sequence like <a><smooth breathing><xyz>, rule (1) allows a  
>>> break after <smooth breathing>. In <a><smooth  
>>> breathing><acute><xyz>, rule (2) cancels rule (1), allowing a  
>>> break after <acute> but not before. Is it correct?
>> Yes, this sounds correct. Where multiple patterns match, the  
>> higher digit at any given position takes precedence, so the "2"  
>> from rule (2) overrides the "1" from rule (1).
> It does not work with decomposed characters though: no break occurs  
> after an accented vowel. Maybe it is a matter of precedence. There  
> are for instance these rules:
> 	(1) 1<s>
> 	(2) 2<acute>1
> <a><acute><s> should be broken as <a><acute>-<s> but it is not.  
> Perhaps rule (1) should be 3<s> or rule (2) 2<acute>3. I am a  
> little at a loss :)

Are you sure it doesn't work? It seems to in my testing.

Note that I've just realized that the \showhyphens macro from Plain  
TeX isn't useful when working with Unicode fonts in XeTeX; it won't  
show you the hyphens that would be found. Could that be misleading you?


More information about the XeTeX mailing list