diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-03-16 22:09:59 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-03-16 22:09:59 (GMT) |
commit | f630007a569f8342ada7b2ecf06692353ddbce3c (patch) | |
tree | 087be77a871260c8a278c994394567a146fb25b8 /src/latexgen.cpp | |
parent | fb91b752942b81dac21be5ad18bcb09fbafa711b (diff) | |
download | Doxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.zip Doxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.tar.gz Doxygen-f630007a569f8342ada7b2ecf06692353ddbce3c.tar.bz2 |
Release-1.5.5-20080316
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 4dd4e06..7dd48f9 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -236,7 +236,7 @@ static void writeDefaultHeaderPart1(QTextStream &t) s=extraPackages.next(); } t << "\\makeindex\n" - "\\setcounter{tocdepth}{1}\n" + "\\setcounter{tocdepth}{3}\n" "\\renewcommand{\\footrulewidth}{0.4pt}\n" "\\begin{document}\n"; if (theTranslator->idLanguage()=="greek") t << "\\selectlanguage{greek}\n"; @@ -585,6 +585,8 @@ void LatexGenerator::startIndexSection(IndexSections is) t << "{"; //Page Documentation}\n"; } break; + case isPageDocumentation2: + break; case isEndIndex: break; } @@ -793,6 +795,8 @@ void LatexGenerator::endIndexSection(IndexSections is) #endif } break; + case isPageDocumentation2: + break; case isEndIndex: t << "\\printindex\n"; t << "\\end{document}\n"; @@ -1104,7 +1108,7 @@ void LatexGenerator::endMemberHeader() void LatexGenerator::startMemberDoc(const char *clname, const char *memname, const char *, - const char *) + const char *title) { if (memname && memname[0]!='@') { @@ -1141,6 +1145,9 @@ void LatexGenerator::startMemberDoc(const char *clname, // escapeMakeIndexChars(this,t,memname); // t << "]"; //} + t << "["; + escapeMakeIndexChars(title); + t << "]"; t << "{\\setlength{\\rightskip}{0pt plus 5cm}"; disableLinks=TRUE; } @@ -1181,9 +1188,16 @@ void LatexGenerator::writeAnchor(const char *fName,const char *name) { //printf("LatexGenerator::writeAnchor(%s,%s)\n",fName,name); t << "\\label{" << name << "}" << endl; - if (fName && Config_getBool("PDF_HYPERLINKS")) + if (Config_getBool("PDF_HYPERLINKS")) { - t << "\\hypertarget{" << stripPath(fName) << "_" << name << "}{}" << endl; + if (fName) + { + t << "\\hypertarget{" << stripPath(fName) << "_" << name << "}{}" << endl; + } + else + { + t << "\\hypertarget{" << name << "}{}" << endl; + } } } |