diff options
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index f927059..7c32d86 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -195,7 +195,11 @@ void LatexGenerator::startIndexSection(IndexSections is) { if (theTranslator->latexBabelPackage()=="russian") { - t << "\\usepackage{inputenc}\n"; +#if defined(_WIN32) + t << "\\usepackage[cp1251]{inputenc}\n"; +#else + t << "\\usepackage[koi8-r]{inputenc}\n"; +#endif } t << "\\usepackage[" << theTranslator->latexBabelPackage() << "]{babel}\n"; } |