summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-17 18:56:38 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-17 18:56:38 (GMT)
commitf000dd870b772ed6bc26ea383a8657301eb5ef17 (patch)
tree05e55417a750c1275c9139b7952de6941db168dd /src/pagedef.cpp
parentb00ec8923dcf911a38323429f1744048b20a35a7 (diff)
downloadDoxygen-f000dd870b772ed6bc26ea383a8657301eb5ef17.zip
Doxygen-f000dd870b772ed6bc26ea383a8657301eb5ef17.tar.gz
Doxygen-f000dd870b772ed6bc26ea383a8657301eb5ef17.tar.bz2
Release-1.5.4-20080101
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index 3859640..c159283 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -60,13 +60,16 @@ void PageDef::writeDocumentation(OutputList &ol)
else
pageName=name().lower();
- startFile(ol,pageName,pageName,title());
+ startFile(ol,pageName,pageName,title(),HLI_None,TRUE);
if (getOuterScope()!=Doxygen::globalScope && !Config_getBool("DISABLE_INDEX"))
{
getOuterScope()->writeNavigationPath(ol);
}
+ ol.endQuickIndices();
+ ol.startContents();
+
// save old generator state and write title only to Man generator
ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Man);
@@ -74,6 +77,9 @@ void PageDef::writeDocumentation(OutputList &ol)
ol.endTitleHead(pageName, pageName);
ol.popGeneratorState();
+ // for Latex the section is already generated as a chapter in the index!
+ ol.pushGeneratorState();
+ ol.disable(OutputGenerator::Latex);
SectionInfo *si=0;
if (!title().isEmpty() && !name().isEmpty() &&
(si=Doxygen::sectionDict.find(pageName))!=0)
@@ -85,6 +91,8 @@ void PageDef::writeDocumentation(OutputList &ol)
si->title);
ol.endSection(si->label,si->type);
}
+ ol.popGeneratorState();
+
ol.startTextBlock();
ol.parseDoc(docFile(), // fileName
docLine(), // startLine