Describe a better way to rebuild index

This commit is contained in:
Alexander Luzgarev 2016-06-10 22:12:40 +03:00
parent e7621550d7
commit 31225e25f8

View File

@ -1,7 +1,3 @@
Use pdflatex to compile. Use pdflatex to compile.
To rebuild index you need to prepare your texindy installation:
* find the files `tex/inputenc/*.xdy`; 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.
* 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.