From 63d7b19df11eb55a30e4af8fa492ee464ff353f5 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 29 Nov 2020 13:52:50 +0100 Subject: Remove duplicate pages for classes inside inline namespaces (LaTeX/RTF/DocBook) --- src/docbookgen.cpp | 6 ++++-- src/latexgen.cpp | 9 ++++++--- src/rtfgen.cpp | 9 ++++++--- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/docbookgen.cpp b/src/docbookgen.cpp index 3615ad5..7656b9e 100644 --- a/src/docbookgen.cpp +++ b/src/docbookgen.cpp @@ -564,7 +564,8 @@ DB_GEN_C2("IndexSections " << is) { if (cd->isLinkableInProject() && cd->templateMaster()==0 && - !cd->isEmbeddedInOuterScope() + !cd->isEmbeddedInOuterScope() && + !cd->isAlias() ) { t << " getOutputFileBase() << ".xml\" xmlns:xi=\"http://www.w3.org/2001/XInclude\"/>" << endl; @@ -575,7 +576,8 @@ DB_GEN_C2("IndexSections " << is) { if (cd->isLinkableInProject() && cd->templateMaster()==0 && - !cd->isEmbeddedInOuterScope() + !cd->isEmbeddedInOuterScope() && + !cd->isAlias() ) { t << " getOutputFileBase() << ".xml\" xmlns:xi=\"http://www.w3.org/2001/XInclude\"/>" << endl; diff --git a/src/latexgen.cpp b/src/latexgen.cpp index e9f8fd7..05141a9 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -1053,7 +1053,8 @@ void LatexGenerator::startIndexSection(IndexSections is) { if (cd->isLinkableInProject() && cd->templateMaster()==0 && - !cd->isEmbeddedInOuterScope() + !cd->isEmbeddedInOuterScope() && + !cd->isAlias() ) { if (compactLatex) t << "\\doxysection"; else t << "\\chapter"; @@ -1231,7 +1232,8 @@ void LatexGenerator::endIndexSection(IndexSections is) { if (cd->isLinkableInProject() && cd->templateMaster()==0 && - !cd->isEmbeddedInOuterScope() + !cd->isEmbeddedInOuterScope() && + !cd->isAlias() ) { t << "}\n\\input{" << cd->getOutputFileBase() << "}\n"; @@ -1242,7 +1244,8 @@ void LatexGenerator::endIndexSection(IndexSections is) { if (cd->isLinkableInProject() && cd->templateMaster()==0 && - !cd->isEmbeddedInOuterScope() + !cd->isEmbeddedInOuterScope() && + !cd->isAlias() ) { //if (compactLatex) t << "\\input"; else t << "\\include"; diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 2665d38..8fd50ef 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -526,7 +526,8 @@ void RTFGenerator::startIndexSection(IndexSections is) { if (cd->isLinkableInProject() && cd->templateMaster()==0 && - !cd->isEmbeddedInOuterScope() + !cd->isEmbeddedInOuterScope() && + !cd->isAlias() ) { beginRTFChapter(); @@ -823,7 +824,8 @@ void RTFGenerator::endIndexSection(IndexSections is) { if (cd->isLinkableInProject() && cd->templateMaster()==0 && - !cd->isEmbeddedInOuterScope() + !cd->isEmbeddedInOuterScope() && + !cd->isAlias() ) { t << "\\par " << rtf_Style_Reset << endl; @@ -837,7 +839,8 @@ void RTFGenerator::endIndexSection(IndexSections is) { if (cd->isLinkableInProject() && cd->templateMaster()==0 && - !cd->isEmbeddedInOuterScope() + !cd->isEmbeddedInOuterScope() && + !cd->isAlias() ) { t << "\\par " << rtf_Style_Reset << endl; -- cgit v0.12