[XeTeX] Problem with Mapping=tex-text

Chaiwat Jidogang jidogang at gmail.com
Fri Oct 19 06:36:14 CEST 2007


Hi,

Thank you for every reply.

I need xelatex because I want to include parts of Thai text in my doc
(so I'll define Thai font for that somewhere else), but I prefer the
default TeX fonts and tex-text mapping for the rest.


Using [cm-default] option solves my problem.
\usepackage[cm-default]{fontspec}

Thanks.
--
Chaiwat


On 10/19/07, Jonathan Kew <jonathan_kew at sil.org> wrote:
>
> If you just want the CM fonts, you don't need the fontspec package at
> all; you could just remove the lines
>
> > \usepackage{fontspec}
> > \defaultfontfeatures{Mapping=tex-text}
>
> from your document. (But then, why use XeTeX at all? Standard TeX or
> pdfTeX would work just as well.)
>
> If you do want fontspec, perhaps to define some fonts elsewhere in
> your document, you can use the [cm-default] option to ensure it loads
> the CM fonts. Otherwise, it will load OpenType Latin Modern fonts by
> default, and apparently doesn't apply the tex-text mapping. (With CM,
> you don't need this as it's implemented in the old TFM files.)
>
> The \defaultfontfeatures command sets defaults for any fonts *later*
> defined with fontspec, but it won't add features to the fonts that
> were already set.
>
> JK
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>


More information about the XeTeX mailing list