Hi, Vladimir, I'me using rather old TeX live, and I took the fresh polyglossia from CTAN (it is v.1.1.1). So I replaced the gloss-russian.ldf from github (it differs from the CTAN distribution) and now it works fine, thank you!
Yours, Vadim On Tue, Jun 29, 2010 at 4:46 PM, Vladimir Lomov <lomov...@gmail.com> wrote: > ** Vadim Radionov [2010-06-29 15:30:12 +0400]: > > > Dear all, > > > > What is the right way to change Russian numerals produced by > > \alph{subsection} to latin? I'm trying to do it with > > \setdefaultlanguage[numerals=latin]{russian} with no effect. This option > is > > not mentioned in the manual, but there's some code in gloss-russian.ldf > that > > is probably assumed to do the job. > > > > Yours, > > Vadim > > > > % ---------------- > > \documentclass{book} > > > > \usepackage{polyglossia} > > \setdefaultlanguage[numerals=latin]{russian} > > > > \def\russianfont{} > > \setmainfont{CharterITC} > > > > \begin{document} > > \makeatletter > > \...@alph{1}-\@alph{2...@alph{3} > > \end{document} > > What TeX distro do you use? MiKTeX or TeX Live? > Which version? > > Anyway, I tested your example with TeX Live 2010 with polyglossia v1.1.1 > dated 2010/03/23. The output numerals are in Russian. > > Then I tested with polyglossia files (polyglossia.sty and > gloss-russian.ldf) taken from git repo. The output is with latin numerals. > > Sorry, but you have to grab[1] these files from git repo to get desire > result. I don't know when François Charrette will release new version of > polyglossia. And actually you don't have to specify option > 'numerals=latin' as is it default in new polyglossia. > > > [1] Or you could use this approach: > ----------------------- 8< ------------------------- > \documentclass{book} > > \usepackage{polyglossia} > \makeatletter > \let\la...@alph\@alph > \makeatother > \setdefaultlanguage{russian} > > \setmainfont{DejaVu Serif} > > \begin{document} > \makeatletter > \la...@alph{1}-\latin@alph{2}-\la...@alph(3) > \makeatother > \end{document} > ----------------------- 8< ------------------------- > > P.S. Always use pair: '\makeatletter' - '\makeatother' ! > > -- > WBW, Vladimir Lomov > > -- > A little dog goes into a saloon in the Wild West, and beckons to > the bartender. "Hey, bartender, gimme a whiskey." > The bartender ignores him. > "Hey bartender, gimme a whiskey!" > Still ignored. > "HEY BARMAN!! GIMME A WHISKEY!!" > The bartender takes out his six-shooter and shoots the dog in the > leg, and the dog runs out the saloon, howling in pain. > Three years later, the wee dog appears again, wearing boots, > jeans, chaps, a Stetson, gun belt, and guns. He ambles slowly into the > saloon, goes up to the bar, leans over it, and says to the bartender, > "I'm here t'git the man that shot muh paw." >
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex