summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/xecyr/bin/xecyr/rumakeindexx.bat
blob: 230f9f97e4a6cb50ee6e3b584bda0d56bc4b0411 (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 -o %1.ind
iconv -f CP1251 -t UTF-8 %1.ind > tmp.tmp
copy /b tmp.tmp %1.ind
del tmp.tmp