summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/xecyr/bin/xecyr/rumakeindexx2.bat
blob: a1b302fb07d500b5eb71f3bce820d97b5692b226 (plain)
1
2
3
4
5
6
7
8
@echo off
iconv -f UTF-8 -t CP1251 %1.idx > tmp.tmp
copy /b tmp.tmp %1.idx
del tmp.tmp
makeindex %1.idx -t %1.ilg  -s %2.ist -o %1.ind
iconv -f CP1251 -t UTF-8 %1.ind > tmp.tmp
copy /b tmp.tmp %1.ind
del tmp.tmp