From a99c33838057acba20768ca32681e1f379f36ca0 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 1 Jan 2014 15:06:59 +0100 Subject: Bug 721302 - [Latex/PDF] Merging brief and detailed description in file section Not only for Man pages the extra returns are necessary but also for LaTeX output. The change in filedef.cpp is a direct consequence of t the bug report. The groupdef.cpp has been tested on propriety code and the namespacedef.cpp and dirdef.cpp directly follow from code similarity. --- src/dirdef.cpp | 1 + src/filedef.cpp | 1 + src/groupdef.cpp | 1 + src/namespacedef.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/src/dirdef.cpp b/src/dirdef.cpp index b7a2a92..ab4e5c2 100644 --- a/src/dirdef.cpp +++ b/src/dirdef.cpp @@ -150,6 +150,7 @@ void DirDef::writeDetailedDescription(OutputList &ol,const QCString &title) // ol.newParagraph(); // FIXME:PARA ol.enableAll(); ol.disableAllBut(OutputGenerator::Man); + ol.enable(OutputGenerator::Latex); ol.writeString("\n\n"); ol.popGeneratorState(); } diff --git a/src/filedef.cpp b/src/filedef.cpp index 543be1d..eb8fd35 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -209,6 +209,7 @@ void FileDef::writeDetailedDescription(OutputList &ol,const QCString &title) // ol.newParagraph(); // FIXME:PARA ol.enableAll(); ol.disableAllBut(OutputGenerator::Man); + ol.enable(OutputGenerator::Latex); ol.writeString("\n\n"); ol.popGeneratorState(); } diff --git a/src/groupdef.cpp b/src/groupdef.cpp index 0624892..77b3610 100644 --- a/src/groupdef.cpp +++ b/src/groupdef.cpp @@ -581,6 +581,7 @@ void GroupDef::writeDetailedDescription(OutputList &ol,const QCString &title) // ol.newParagraph(); // FIXME:PARA ol.enableAll(); ol.disableAllBut(OutputGenerator::Man); + ol.enable(OutputGenerator::Latex); ol.writeString("\n\n"); ol.popGeneratorState(); } diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp index c0d4389..146e8da 100644 --- a/src/namespacedef.cpp +++ b/src/namespacedef.cpp @@ -280,6 +280,7 @@ void NamespaceDef::writeDetailedDescription(OutputList &ol,const QCString &title //ol.newParagraph(); // FIXME:PARA ol.enableAll(); ol.disableAllBut(OutputGenerator::Man); + ol.enable(OutputGenerator::Latex); ol.writeString("\n\n"); ol.popGeneratorState(); } -- cgit v0.12