BPJ wrote: > I just realized that the solution to a problem I've had may lurk > here: I've been using interpuncts U+00B7 inside some words, and > XeTeX won't hyphenate those words. However it's not only that I > want them hyphenated -- I don't want them hyphenated too close > to the interpunct! Never closer than two ordinary letters and > preferably more if possible. When there are many of those words > it gets quite annoying to insert soft hyphens by hand.
You can try with \newunicodechar{·}{·\nobreak\hspace{0pt}} Thus the MIDDLE DOT will typeset itself, there will no line break after it and the \hspace{0pt} allows the following word to be hyphenated. You can't control the number of letters before the hyphen, but (Xe)TeX is generally not abundant with hyphens. Note that you can use the defined character in the second argument as itself, this is a felicitous consequence of the implementation of \newunicodechar. :) Ciao Enrico -- Enrico Gregorio + Dipartimento di Informatica + Tel: +39 045 8027937 enrico.grego...@univr.it + Università degli Studi di Verona + (grego...@math.unipd.it) + Strada le Grazie 15 / I-37134 Verona + Fax: +39 045 8027928 -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex