summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-01-06 12:28:52 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-01-06 12:28:52 (GMT)
commitc9067c5bb9a1868e0963dc210cf3b7152c4aa79a (patch)
tree8da4598b5f33ce467500d636496e65b1d80c7f72 /src
parentd49604f814ceb22f81571d8ca99540e62cfa979a (diff)
downloadDoxygen-c9067c5bb9a1868e0963dc210cf3b7152c4aa79a.zip
Doxygen-c9067c5bb9a1868e0963dc210cf3b7152c4aa79a.tar.gz
Doxygen-c9067c5bb9a1868e0963dc210cf3b7152c4aa79a.tar.bz2
Bug 742427 - latex compilation: \backmatter incompatible with COMPACT_LATEX=YES
Removed \backmatter in case of COMPACT_LATEX
Diffstat (limited to 'src')
-rw-r--r--src/latexgen.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index d4d8fae..de2ed22 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -535,14 +535,18 @@ static void writeDefaultFooter(FTextStream &t)
Doxygen::citeDict->writeLatexBibliography(t);
// Index
+ t << "% Index\n";
QCString unit;
if (Config_getBool("COMPACT_LATEX"))
+ {
unit = "section";
+ }
else
+ {
unit = "chapter";
- t << "% Index\n"
- "\\backmatter\n"
- "\\newpage\n"
+ t << "\\backmatter\n";
+ }
+ t << "\\newpage\n"
"\\phantomsection\n"
"\\clearemptydoublepage\n"
"\\addcontentsline{toc}{" << unit << "}{" << theTranslator->trRTFGeneralIndex() << "}\n"