[XeTeX] Avoiding hyphenation before a combining diacritical mark
Aleksandar Zec
zealeksanman at gmail.com
Tue Nov 16 09:29:14 CET 2010
2010/11/16 Arthur Reutenauer <arthur.reutenauer at normalesup.org>:
>> No, \XeTeXinputnormalization is not what I am looking for. In my
>> example, Greek language, alpha and combining acute are there just for
>> the sake of simplicity. In the real material, I have more complex
>> pairs that certainly do not have precomposed variants.
>
> You should use XeTeX interchar token mechanism:
>
> \XeTeXinterchartokenstate=1
> \newXeTeXintercharclass\combiningchar
> \XeTeXcharclass"0301=\combiningchar
> \XeTeXinterchartoks 0 \combiningchar = {\penalty10000}
>
> This works as expected on my machine.
>
> Explanations later, gotta go.
Parfait! Thank you very much, this works. (Of course, I'm looking for
your explanation :) ...)
However...... This mechanism doesn't work if the input is combined
with Mapping and a corresponding teckit definition. Since this might
have been even a bug, I'll start a new thread.
Alex
More information about the XeTeX
mailing list