[XeTeX] emdash and endash

David Carlisle d.p.carlisle at gmail.com
Sat Feb 18 11:32:42 CET 2017


On 18 February 2017 at 09:45, Zdenek Wagner <zdenek.wagner at gmail.com> wrote:
> No, -- and --- are handled by tfm in traditional TeX, in XeTeX it is handled
> by the teckit mapping. The keywords are either Mapping=tex-text or
> Ligatures=TeX. I have not examined the packages in depth but it may be added
> automaticaly. The mapping is defined in file
> texmf-dist/fonts/misc/xetex/fontmapping/base/tex-text.map (*.map is compiled
> to *.tec by teckit-compile).
>
>

As I said, it is handled by the mapping file (which is applied by
default if the font is loaded via fontspec)
but if classic fonts are being used then this is a feature of the tfm
(even in xetex, not just in traditional tex)
so it depends what fonts the OP is using in the document.

David


More information about the XeTeX mailing list