Permalink
Browse files

Bug 742427 - latex compilation: \backmatter incompatible with COMPACT…

…_LATEX=YES

Removed \backmatter in case of COMPACT_LATEX
  • Loading branch information...
albert-github committed Jan 6, 2015
1 parent d49604f commit c9067c5bb9a1868e0963dc210cf3b7152c4aa79a
Showing with 7 additions and 3 deletions.
  1. +7 −3 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"

0 comments on commit c9067c5

Please sign in to comment.