diff options
author | albert-github <albert.tests@gmail.com> | 2018-05-21 09:37:42 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-05-21 09:37:42 (GMT) |
commit | ba30b13cfd4910a5913f080a039fc429ec8a7e3f (patch) | |
tree | 21a3f69741314fdb29dc076c11b83d9e1e27788d /src/doxygen.cpp | |
parent | df0d9c3df44dbce633c38e99d33be4de06706f7b (diff) | |
download | Doxygen-ba30b13cfd4910a5913f080a039fc429ec8a7e3f.zip Doxygen-ba30b13cfd4910a5913f080a039fc429ec8a7e3f.tar.gz Doxygen-ba30b13cfd4910a5913f080a039fc429ec8a7e3f.tar.bz2 |
Enable in page table of contents for LaTeX
currently the \tableofcontents command is only supported for HTML.
In this patch:
- enable in page table of contents for LaTeX: \tableofcontents['{'[option][,option]*'}']
where option can be 'HTML, and 'LaTeX'
(side effect: possibility to have options with, nearly, all commands.)
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 263b59f..f0140e0 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -605,7 +605,7 @@ static void addRelatedPage(EntryNav *rootNav) { pd->setBriefDescription(root->brief,root->briefFile,root->briefLine); pd->addSectionsToDefinition(root->anchors); - pd->setShowToc(root->stat); + pd->setShowToc(root->localToc); addPageToContext(pd,rootNav); } } @@ -8712,7 +8712,7 @@ static void findMainPage(EntryNav *rootNav) //setFileNameForSections(root->anchors,"index",Doxygen::mainPage); Doxygen::mainPage->setBriefDescription(root->brief,root->briefFile,root->briefLine); Doxygen::mainPage->setFileName(indexName); - Doxygen::mainPage->setShowToc(root->stat); + Doxygen::mainPage->setShowToc(root->localToc); addPageToContext(Doxygen::mainPage,rootNav); SectionInfo *si = Doxygen::sectionDict->find(Doxygen::mainPage->name()); |