summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-08-01 18:08:50 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-08-01 18:08:50 (GMT)
commitecb8f53e30524a6eca3c28db4d1a1d708a5a0976 (patch)
treedd7f0f7dd0875046b1426a541b00547a8af08af1 /src/latexgen.cpp
parent7703ff62ed5e27d32af03d4a613f16e8a3320eb1 (diff)
downloadDoxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.zip
Doxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.tar.gz
Doxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.tar.bz2
Release-1.2.9
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 3031384..fb7777e 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -606,9 +606,13 @@ void LatexGenerator::endIndexSection(IndexSections is)
}
break;
case isMainPage:
- t << "}\n\\label{index}";
- if (Config_getBool("PDF_HYPERLINKS")) t << "\\hypertarget{index}{}";
- t << "\\input{index}\n";
+ {
+ QCString indexName="index";
+ if (Config_getBool("GENERATE_TREEVIEW")) indexName="main";
+ t << "}\n\\label{index}";
+ if (Config_getBool("PDF_HYPERLINKS")) t << "\\hypertarget{index}{}";
+ t << "\\input{" << indexName << "}\n";
+ }
break;
case isPackageIndex:
t << "}\n\\input{packages}\n";