[XeTeX] Hyphenation of "--" with tex-text mapping on
Bruno Voisin
bvoisin at mac.com
Fri Nov 4 15:44:04 CET 2005
I've just noticed a strange thing, which after all might be normal:
using the Optima font with tex-text mapping, through the fontpec
package and:
\setromanfont[Mapping=tex-text]{Optima Regular}
then inputting en-dashes in traditional TeX form as --, it turns out
the en-dash may be hyphenated in the middle, yielding the following
output (the input is CNRS--INRA--INSERM--Couperin):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 1.png
Type: image/png
Size: 22520 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20051104/cc7beb70/Image1-0001.png
-------------- next part --------------
(note the hyphenation at the end of the first line). If now the en-
dash is input directly as a Unicode character (so that the input is
CNRS?INRA--INSERM--Couperin), then it isn't hyphenated:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 2.png
Type: image/png
Size: 23405 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20051104/cc7beb70/Image2-0001.png
-------------- next part --------------
Is this normal TeX behaviour, or a feature of the font mapping in
TECkit? I would prefer to stick with traditional TeX input as much as
possible, so that if something goes wrong in a XeTeX document and I'm
in a rush (read: last-minute panic), I can still revert to pdfTeX
with minimal editing.
Bruno Voisin
More information about the XeTeX
mailing list