Commit a99c3383 authored by albert-github's avatar albert-github

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.
parent d5fb6973
...@@ -150,6 +150,7 @@ void DirDef::writeDetailedDescription(OutputList &ol,const QCString &title) ...@@ -150,6 +150,7 @@ void DirDef::writeDetailedDescription(OutputList &ol,const QCString &title)
// ol.newParagraph(); // FIXME:PARA // ol.newParagraph(); // FIXME:PARA
ol.enableAll(); ol.enableAll();
ol.disableAllBut(OutputGenerator::Man); ol.disableAllBut(OutputGenerator::Man);
ol.enable(OutputGenerator::Latex);
ol.writeString("\n\n"); ol.writeString("\n\n");
ol.popGeneratorState(); ol.popGeneratorState();
} }
......
...@@ -209,6 +209,7 @@ void FileDef::writeDetailedDescription(OutputList &ol,const QCString &title) ...@@ -209,6 +209,7 @@ void FileDef::writeDetailedDescription(OutputList &ol,const QCString &title)
// ol.newParagraph(); // FIXME:PARA // ol.newParagraph(); // FIXME:PARA
ol.enableAll(); ol.enableAll();
ol.disableAllBut(OutputGenerator::Man); ol.disableAllBut(OutputGenerator::Man);
ol.enable(OutputGenerator::Latex);
ol.writeString("\n\n"); ol.writeString("\n\n");
ol.popGeneratorState(); ol.popGeneratorState();
} }
......
...@@ -581,6 +581,7 @@ void GroupDef::writeDetailedDescription(OutputList &ol,const QCString &title) ...@@ -581,6 +581,7 @@ void GroupDef::writeDetailedDescription(OutputList &ol,const QCString &title)
// ol.newParagraph(); // FIXME:PARA // ol.newParagraph(); // FIXME:PARA
ol.enableAll(); ol.enableAll();
ol.disableAllBut(OutputGenerator::Man); ol.disableAllBut(OutputGenerator::Man);
ol.enable(OutputGenerator::Latex);
ol.writeString("\n\n"); ol.writeString("\n\n");
ol.popGeneratorState(); ol.popGeneratorState();
} }
......
...@@ -280,6 +280,7 @@ void NamespaceDef::writeDetailedDescription(OutputList &ol,const QCString &title ...@@ -280,6 +280,7 @@ void NamespaceDef::writeDetailedDescription(OutputList &ol,const QCString &title
//ol.newParagraph(); // FIXME:PARA //ol.newParagraph(); // FIXME:PARA
ol.enableAll(); ol.enableAll();
ol.disableAllBut(OutputGenerator::Man); ol.disableAllBut(OutputGenerator::Man);
ol.enable(OutputGenerator::Latex);
ol.writeString("\n\n"); ol.writeString("\n\n");
ol.popGeneratorState(); ol.popGeneratorState();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment