diff --git a/README.md b/README.md index 37fe2e9..a9315cd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ Use pdflatex to compile. -To rebuild index you need to prepare your texindy installation: -* find the files `tex/inputenc/*.xdy`; -* convert, say, cp1251.xdy to utf with `iconv -f cp1251 -t utf8 cp1251.xdy | sudo tee utf8.xdy` or something like that. - -Now you have the correct utf8.xdy! Use `texindy -L russian --codepage utf8 algebra.idx` to rebuild index. +Use `texindy -L russian -C koi8-r -o algebra-koi.ind algebra.idx && iconv -f koi8-r -t utf-8 algebra-koi.ind > algebra.ind && rm algebra-koi.ind` to rebuild index.