Tobias Schoel wrote: > So would it be wise to make for example u2009 (narrow space) and u202f > (narrow no break space) active and map it to {\,} or {\nolinebreak\,} > respectively? > > ciao > > Toscho > > Am 22.02.2011 23:00, schrieb enrico.grego...@univr.it: > [...] > > See my message<http://tug.org/pipermail/xetex/2011- > February/020100.html>> concerning U+00A0 (NO BREAK SPACE).
In (Xe)LaTeX, \, inserts a kern and TeX won't break a line at a kern unless it's followed by glue (a normal space, usually). Thus you can get what you want by \newunicodechar{<U+2009>}{\,\hspace{0pt}} \newunicodechar{<U+202F>}{\,} (with the real characters, of course). The newunicodechar package was designed primarily in order to free the user from the need to consult long code pages. Maybe I'll add the possibility to specify a character by code point (in XeLaTeX, as with LaTeX there's already \DeclareUnicodeCharacter). 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