[XeTeX] no hyphenation with fontspec
Pablo Rodríguez
oinos at web.de
Thu Dec 21 23:38:11 CET 2006
Jonathan Kew wrote:
> You mean where there's a (Unicode) en-dash or em-dash? (Either in the
> original input text, or as a result of a font mapping.)
>
> If so, you may want to set the parameter
>
> \XeTeXdashbreakstate = 1
>
> I'm not sure if either of the parts of the compound word will be
> eligible for hyphenation in this situation; normally, if there's an
> explicit hyphen/dash, TeX does not attempt to further hyphenate the
> two parts. If you want to allow that, you probably need some
> additional code to introduce some (possibly zero-width) glue.
It worked the way you said.
I want to further hyphenate the two parts with explicit en/em dashes
(not with explicit hyphens).
How should I include the glue into my code to do this? (I have no idea
of how this should be implemented.)
Thanks,
Pablo
More information about the XeTeX
mailing list