Vladimir,<br><br>You know, that Russian babel short-hands do slightly more than just insert a glyph from the font: they adjust the spacing around the em-dash (and the length of the dash, too), and allow hyphenation of <span class="translation">adjacent words (in case of hyphens).  So even in the case of Unicode input we need some macros to do this job.<br>
<br>Vadim<br></span><br><div class="gmail_quote">On Mon, May 31, 2010 at 2:18 PM, Vladimir Lomov <span dir="ltr">&lt;<a href="mailto:lomov.vl@gmail.com">lomov.vl@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
** Alexander [2010-05-29 10:57:05 +0900]:<br>
<div class="im"><br>
&gt; Hello. What the best way to use commands &quot;--- and others (works in<br>
&gt; babel with Russian language) in XeTeX with polyglossia?<br>
</div>xe(la)tex is Unicode-aware tex engine so you don&#39;t<br>
need any special package or command to insert dashes. So just insert<br>
them into document which you should edit in utf8 encoding (e.g.<br>
texworks, vim or emacs).<br>
<br>
<br>
P.S.<br>
There is a problem how to process old (read: written for babel)<br>
documents using xelatex. The answer would be: use &#39;babelshorthands&#39; but<br>
Russian doesn&#39;t have shorthands support.<br>
<br>
If you in hurry you could take<br>
&#39;polyglossia.sty&#39; and &#39;gloss-russian.ldf&#39; from <a href="http://github.com" target="_blank">github.com</a><br>
(<a href="http://github.com/vp1981/polyglossia" target="_blank">github.com/vp1981/polyglossia</a>, use branch &#39;alph_unif&#39; and take these<br>
files from there) and put them into directory with such documents.<br>
<br>
---<br>
WBW, Vladimir Lomov<br>
<font color="#888888"><br>
--<br>
        To A Quick Young Fox<br>
Why jog exquisite bulk, fond crazy vamp,<br>
Daft buxom jonquil, zephyr&#39;s gawky vice?<br>
Guy fed by work, quiz Jove&#39;s xanthic lamp--<br>
Zow! Qualms by deja vu gyp fox-kin thrice.<br>
                -- Lazy Dog<br>
</font><div><div></div><div class="h5"><br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br>