summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-03-17 21:39:04 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-03-17 21:39:04 (GMT)
commitfc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea (patch)
treeeb947bb0b492c9a33c255c9ec3928913cbf938c7 /src/latexgen.cpp
parent91ac89e271d81507ce5d8bf5b821d80aedd6ec3e (diff)
downloadDoxygen-fc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea.zip
Doxygen-fc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea.tar.gz
Doxygen-fc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea.tar.bz2
Release-1.3-rc3-20030317
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp56
1 files changed, 18 insertions, 38 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 5bb5784..4fddb41 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -460,7 +460,6 @@ void LatexGenerator::startProjectNumber()
void LatexGenerator::startIndexSection(IndexSections is)
{
bool &compactLatex = Config_getBool("COMPACT_LATEX");
- bool &hideIndex = Config_getBool("LATEX_HIDE_INDICES");
QCString &latexHeader = Config_getString("LATEX_HEADER");
switch (is)
{
@@ -492,46 +491,28 @@ void LatexGenerator::startIndexSection(IndexSections is)
// t << "{"; //Package Index}\n"
// break;
case isModuleIndex:
- if (!hideIndex)
- {
- if (compactLatex) t << "\\section"; else t << "\\chapter";
- t << "{"; //Module Index}\n"
- }
+ if (compactLatex) t << "\\section"; else t << "\\chapter";
+ t << "{"; //Module Index}\n"
break;
case isNamespaceIndex:
- if (!hideIndex)
- {
- if (compactLatex) t << "\\section"; else t << "\\chapter";
- t << "{"; //Namespace Index}\"
- }
+ if (compactLatex) t << "\\section"; else t << "\\chapter";
+ t << "{"; //Namespace Index}\"
break;
case isClassHierarchyIndex:
- if (!hideIndex)
- {
- if (compactLatex) t << "\\section"; else t << "\\chapter";
- t << "{"; //Hierarchical Index}\n"
- }
+ if (compactLatex) t << "\\section"; else t << "\\chapter";
+ t << "{"; //Hierarchical Index}\n"
break;
case isCompoundIndex:
- if (!hideIndex)
- {
- if (compactLatex) t << "\\section"; else t << "\\chapter";
- t << "{"; //Annotated Compound Index}\n"
- }
+ if (compactLatex) t << "\\section"; else t << "\\chapter";
+ t << "{"; //Annotated Compound Index}\n"
break;
case isFileIndex:
- if (!hideIndex)
- {
- if (compactLatex) t << "\\section"; else t << "\\chapter";
- t << "{"; //Annotated File Index}\n"
- }
+ if (compactLatex) t << "\\section"; else t << "\\chapter";
+ t << "{"; //Annotated File Index}\n"
break;
case isPageIndex:
- if (!hideIndex)
- {
- if (compactLatex) t << "\\section"; else t << "\\chapter";
- t << "{"; //Annotated Page Index}\n"
- }
+ if (compactLatex) t << "\\section"; else t << "\\chapter";
+ t << "{"; //Annotated Page Index}\n"
break;
case isModuleDocumentation:
{
@@ -626,7 +607,6 @@ void LatexGenerator::startIndexSection(IndexSections is)
void LatexGenerator::endIndexSection(IndexSections is)
{
bool &compactLatex = Config_getBool("COMPACT_LATEX");
- bool &hideIndex = Config_getBool("LATEX_HIDE_INDICES");
QCString &latexHeader = Config_getString("LATEX_HEADER");
switch (is)
{
@@ -648,22 +628,22 @@ void LatexGenerator::endIndexSection(IndexSections is)
}
break;
case isModuleIndex:
- if (!hideIndex) t << "}\n\\input{modules}\n";
+ t << "}\n\\input{modules}\n";
break;
case isNamespaceIndex:
- if (!hideIndex) t << "}\n\\input{namespaces}\n";
+ t << "}\n\\input{namespaces}\n";
break;
case isClassHierarchyIndex:
- if (!hideIndex) t << "}\n\\input{hierarchy}\n";
+ t << "}\n\\input{hierarchy}\n";
break;
case isCompoundIndex:
- if (!hideIndex) t << "}\n\\input{annotated}\n";
+ t << "}\n\\input{annotated}\n";
break;
case isFileIndex:
- if (!hideIndex) t << "}\n\\input{files}\n";
+ t << "}\n\\input{files}\n";
break;
case isPageIndex:
- if (!hideIndex) t << "}\n\\input{pages}\n";
+ t << "}\n\\input{pages}\n";
break;
case isModuleDocumentation:
{