From 31225e25f8a97e955b0f63a7862a202c993c70c2 Mon Sep 17 00:00:00 2001 From: Alexander Luzgarev Date: Fri, 10 Jun 2016 22:12:40 +0300 Subject: [PATCH] Describe a better way to rebuild index --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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.