summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-04-30 17:13:40 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-04-30 17:13:40 (GMT)
commit3b8b750f05f52572bc72e6e3538345a51d51844a (patch)
treee8fc87186141ebce1c8547a44d7adcd0ec122e14 /src/latexgen.cpp
parenta790b4aefe37b616ec4563877e01aa5f99447c85 (diff)
downloadDoxygen-3b8b750f05f52572bc72e6e3538345a51d51844a.zip
Doxygen-3b8b750f05f52572bc72e6e3538345a51d51844a.tar.gz
Doxygen-3b8b750f05f52572bc72e6e3538345a51d51844a.tar.bz2
Release-1.1.2-20000430
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp6
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";
}