summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-04-18 13:59:11 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-04-18 13:59:11 (GMT)
commitadff8506a1c654db63ef362bbc90cddf7c156dd7 (patch)
tree5a45c08fe6f9334d87e18a8b8271d2c8cbb71e93 /src/latexgen.cpp
parenteb1cb68e11a3b24222a49ed254f8f7aea2f73bae (diff)
downloadDoxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.zip
Doxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.tar.gz
Doxygen-adff8506a1c654db63ef362bbc90cddf7c156dd7.tar.bz2
Release-1.6.3-20100418
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp28
1 files changed, 19 insertions, 9 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 6cd986e..3f72ff4 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -914,7 +914,8 @@ void LatexGenerator::endIndexSection(IndexSections is)
{
if (!gd->isReference())
{
- if (compactLatex) t << "\\input"; else t << "\\include";
+ //if (compactLatex) t << "\\input"; else t << "\\include";
+ t << "\\input";
t << "{" << gd->getOutputFileBase() << "}\n";
}
}
@@ -937,7 +938,8 @@ void LatexGenerator::endIndexSection(IndexSections is)
{
if (dd->isLinkableInProject())
{
- if (compactLatex) t << "\\input"; else t << "\\include";
+ //if (compactLatex) t << "\\input"; else t << "\\include";
+ t << "\\input";
t << "{" << dd->getOutputFileBase() << "}\n";
}
}
@@ -960,7 +962,8 @@ void LatexGenerator::endIndexSection(IndexSections is)
{
if (nd->isLinkableInProject())
{
- if (compactLatex) t << "\\input"; else t << "\\include";
+ //if (compactLatex) t << "\\input"; else t << "\\include";
+ t << "\\input";
t << "{" << nd->getOutputFileBase() << "}\n";
}
++nli;
@@ -984,7 +987,8 @@ void LatexGenerator::endIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() && cd->templateMaster()==0)
{
- if (compactLatex) t << "\\input"; else t << "\\include";
+ //if (compactLatex) t << "\\input"; else t << "\\include";
+ t << "\\input";
t << "{" << cd->getOutputFileBase() << "}\n";
}
}
@@ -1006,17 +1010,20 @@ void LatexGenerator::endIndexSection(IndexSections is)
t << "}\n\\input{" << fd->getOutputFileBase() << "}\n";
if (sourceBrowser && m_prettyCode && fd->generateSourceFile())
{
- t << "\\include{" << fd->getSourceFileBase() << "}\n";
+ //t << "\\include{" << fd->getSourceFileBase() << "}\n";
+ t << "\\input{" << fd->getSourceFileBase() << "}\n";
}
isFirst=FALSE;
}
else
{
- if (compactLatex) t << "\\input" ; else t << "\\include";
+ //if (compactLatex) t << "\\input" ; else t << "\\include";
+ t << "\\input" ;
t << "{" << fd->getOutputFileBase() << "}\n";
if (sourceBrowser && m_prettyCode && fd->generateSourceFile())
{
- t << "\\include{" << fd->getSourceFileBase() << "}\n";
+ //t << "\\include{" << fd->getSourceFileBase() << "}\n";
+ t << "\\input{" << fd->getSourceFileBase() << "}\n";
}
}
}
@@ -1037,7 +1044,8 @@ void LatexGenerator::endIndexSection(IndexSections is)
}
for (++pdi;(pd=pdi.current());++pdi)
{
- if (compactLatex) t << "\\input" ; else t << "\\include";
+ //if (compactLatex) t << "\\input" ; else t << "\\include";
+ t << "\\input";
t << "{" << pd->getOutputFileBase() << "}\n";
}
}
@@ -1077,7 +1085,9 @@ void LatexGenerator::endIndexSection(IndexSections is)
void LatexGenerator::writePageLink(const char *name, bool first)
{
bool &compactLatex = Config_getBool("COMPACT_LATEX");
- if (compactLatex || first) t << "\\input" ; else t << "\\include";
+ // next is remove for bug615957
+ //if (compactLatex || first) t << "\\input" ; else t << "\\include";
+ t << "\\input" ;
t << "{" << name << "}\n";
}