[XeTeX] Avoiding hyphenation before a combining diacritical mark

Arthur Reutenauer arthur.reutenauer at normalesup.org
Tue Nov 16 08:50:33 CET 2010


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

	Arthkr



More information about the XeTeX mailing list