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"><<a href="mailto:lomov.vl@gmail.com">lomov.vl@gmail.com</a>></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>
> Hello. What the best way to use commands "--- and others (works in<br>
> babel with Russian language) in XeTeX with polyglossia?<br>
</div>xe(la)tex is Unicode-aware tex engine so you don'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 'babelshorthands' but<br>
Russian doesn't have shorthands support.<br>
<br>
If you in hurry you could take<br>
'polyglossia.sty' and 'gloss-russian.ldf' 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 'alph_unif' 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's gawky vice?<br>
Guy fed by work, quiz Jove'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>