Alexander wrote:

Hello. What the best way to use commands "--- and others (works in
babel with Russian language) in XeTeX with polyglossia?


Hi Alexander:

If you use a preamble with something like this:


%\usepackage[no-math]{fontspec}  %%  un-comment if you don't use math stuff
\usepackage{xltxtra}   %%%  this loads fontspec and xunicode also
\usepackage[nolocalmarks]{polyglossia} %%% [nolocalmarks] helps if you have custom headers \setdefaultlanguage[variant=american]{english} \defaultfontfeatures{Mapping=tex-text}


The last command ( \defaultfontfeatures ) is what enables fontspec to use --- and " as the standard (La)TeX does. However, with Xe(La)TeX, you can enter — and “ (or ” ) directly since that's part of the genius of XeTeX.

HTH.


--
United in adoration of Jesus,


fr. michael gilmary, mma

Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725

www.MaroniteMonks.org






--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to