summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-05-12 17:38:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-05-12 17:38:45 (GMT)
commitbcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88 (patch)
tree2f87712e9d2e8da7138ca908bf03c9937ba71bdb /src/latexgen.cpp
parent758291b1be0c43c13088389b0cfbb560efe00c1f (diff)
downloadDoxygen-bcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88.zip
Doxygen-bcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88.tar.gz
Doxygen-bcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88.tar.bz2
Release-1.2.15-20020512
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp96
1 files changed, 52 insertions, 44 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 4ecc4d1..6665d1f 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -473,10 +473,10 @@ void LatexGenerator::startIndexSection(IndexSections is)
if (compactLatex) t << "\\section"; else t << "\\chapter";
t << "{"; //Introduction}\n"
break;
- case isPackageIndex:
- if (compactLatex) t << "\\section"; else t << "\\chapter";
- t << "{"; //Package Index}\n"
- break;
+ //case isPackageIndex:
+ // if (compactLatex) t << "\\section"; else t << "\\chapter";
+ // t << "{"; //Package Index}\n"
+ // break;
case isModuleIndex:
if (compactLatex) t << "\\section"; else t << "\\chapter";
t << "{"; //Module Index}\n"
@@ -501,21 +501,21 @@ void LatexGenerator::startIndexSection(IndexSections is)
if (compactLatex) t << "\\section"; else t << "\\chapter";
t << "{"; //Annotated Page Index}\n"
break;
- case isPackageDocumentation:
- {
- PackageSDict::Iterator pdi(Doxygen::packageDict);
- PackageDef *pd=pdi.toFirst();
- bool found=FALSE;
- while (pd && !found)
- {
- if (compactLatex) t << "\\section"; else t << "\\chapter";
- t << "{";
- found=TRUE;
- ++pdi;
- pd=pdi.current();
- }
- }
- break;
+// case isPackageDocumentation:
+// {
+// PackageSDict::Iterator pdi(Doxygen::packageDict);
+// PackageDef *pd=pdi.toFirst();
+// bool found=FALSE;
+// while (pd && !found)
+// {
+// if (compactLatex) t << "\\section"; else t << "\\chapter";
+// t << "{";
+// found=TRUE;
+// ++pdi;
+// pd=pdi.current();
+// }
+// }
+// break;
case isModuleDocumentation:
{
GroupSDict::Iterator gli(Doxygen::groupSDict);
@@ -629,9 +629,9 @@ void LatexGenerator::endIndexSection(IndexSections is)
t << "\\input{" << indexName << "}\n";
}
break;
- case isPackageIndex:
- t << "}\n\\input{packages}\n";
- break;
+ //case isPackageIndex:
+ // t << "}\n\\input{packages}\n";
+ // break;
case isModuleIndex:
t << "}\n\\input{modules}\n";
break;
@@ -650,27 +650,27 @@ void LatexGenerator::endIndexSection(IndexSections is)
case isPageIndex:
t << "}\n\\input{pages}\n";
break;
- case isPackageDocumentation:
- {
- PackageSDict::Iterator pdi(Doxygen::packageDict);
- PackageDef *pd=pdi.toFirst();
- bool found=FALSE;
- while (pd && !found)
- {
- t << "}\n\\input{" << pd->getOutputFileBase() << "}\n";
- found=TRUE;
- ++pdi;
- pd=pdi.current();
- }
- while (pd)
- {
- if (compactLatex) t << "\\input"; else t << "\\include";
- t << "{" << pd->getOutputFileBase() << "}\n";
- ++pdi;
- pd=pdi.current();
- }
- }
- break;
+ //case isPackageDocumentation:
+ // {
+ // PackageSDict::Iterator pdi(Doxygen::packageDict);
+ // PackageDef *pd=pdi.toFirst();
+ // bool found=FALSE;
+ // while (pd && !found)
+ // {
+ // t << "}\n\\input{" << pd->getOutputFileBase() << "}\n";
+ // found=TRUE;
+ // ++pdi;
+ // pd=pdi.current();
+ // }
+ // while (pd)
+ // {
+ // if (compactLatex) t << "\\input"; else t << "\\include";
+ // t << "{" << pd->getOutputFileBase() << "}\n";
+ // ++pdi;
+ // pd=pdi.current();
+ // }
+ // }
+ // break;
case isModuleDocumentation:
{
GroupSDict::Iterator gli(Doxygen::groupSDict);
@@ -1761,7 +1761,15 @@ void LatexGenerator::startDotFile(const char *name,bool hasCaption)
else
t << "\\mbox{";
t << "\\includegraphics";
- t << "{" << baseName << ".eps}";
+ if( Config_getBool("USE_PDFLATEX") )
+ {
+ t << "{" << baseName << ".pdf}";
+ }
+ else
+ {
+ t << "{" << baseName << ".eps}";
+ }
+
if (hasCaption)
t << "\\caption{";
else