[XeTeX] Greek Hyphenation (monotoniko)
Yves Codet
ycodet at club-internet.fr
Tue Jan 10 12:38:35 CET 2006
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
:)
Best wishes,
Yves
More information about the XeTeX
mailing list