[XeTeX] hyphenation problem
mehdioa at gmail.com
Fri Sep 26 20:20:20 CEST 2008
Jonathan Kew <jonathan at ...> writes:
> To fix this, you can set its \lccode before trying to give
> \hyphenation entries that require this character:
The above declaration worked perfect. I have now hyphenation in the
> I'm a little surprised that you'd want this, actually; most Persian
> users I have known insist on keeping these kind of prefixes and
> suffixes attached to the root word, not allowing a line break.
People sometimes write میبینم as می بینم with a real space between
می ans بینم
which is not correct (maybe because their
keyboard have no zero-width character or ZWNJ).
By saying "keep prefixes attached to their root" people mean not to
break as above. But it is not bad to break the line after می.
> you do want hyphenation here, it should work once you set the \lccode
> of the ZWNJ character appropriately.
1- How can I set the \lccode of the ZWNJ appropriately?
More information about the XeTeX