Blame doxygen-bz#1198355.patch
|
Than Ngo |
fa6f4f |
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
|
|
Than Ngo |
fa6f4f |
index d4d8fae..de2ed22 100644
|
|
Than Ngo |
fa6f4f |
--- a/src/latexgen.cpp
|
|
Than Ngo |
fa6f4f |
+++ b/src/latexgen.cpp
|
|
Than Ngo |
fa6f4f |
@@ -535,14 +535,18 @@ static void writeDefaultFooter(FTextStream &t)
|
|
Than Ngo |
fa6f4f |
Doxygen::citeDict->writeLatexBibliography(t);
|
|
Than Ngo |
fa6f4f |
|
|
Than Ngo |
fa6f4f |
// Index
|
|
Than Ngo |
fa6f4f |
+ t << "% Index\n";
|
|
Than Ngo |
fa6f4f |
QCString unit;
|
|
Than Ngo |
fa6f4f |
if (Config_getBool("COMPACT_LATEX"))
|
|
Than Ngo |
fa6f4f |
+ {
|
|
Than Ngo |
fa6f4f |
unit = "section";
|
|
Than Ngo |
fa6f4f |
+ }
|
|
Than Ngo |
fa6f4f |
else
|
|
Than Ngo |
fa6f4f |
+ {
|
|
Than Ngo |
fa6f4f |
unit = "chapter";
|
|
Than Ngo |
fa6f4f |
- t << "% Index\n"
|
|
Than Ngo |
fa6f4f |
- "\\backmatter\n"
|
|
Than Ngo |
fa6f4f |
- "\\newpage\n"
|
|
Than Ngo |
fa6f4f |
+ t << "\\backmatter\n";
|
|
Than Ngo |
fa6f4f |
+ }
|
|
Than Ngo |
fa6f4f |
+ t << "\\newpage\n"
|
|
Than Ngo |
fa6f4f |
"\\phantomsection\n"
|
|
Than Ngo |
fa6f4f |
"\\clearemptydoublepage\n"
|
|
Than Ngo |
fa6f4f |
"\\addcontentsline{toc}{" << unit << "}{" << theTranslator->trRTFGeneralIndex() << "}\n"
|