Skip to content

Commit

Permalink
issue #6727 SHOW_NAMESPACES = NO breaks latex PDF
Browse files Browse the repository at this point in the history
Only write the namespace index file reference (i.e. namespaces.tex , namespaces.rtf) to the overall file (i.e. refman.tex. refman.rtf) in case SHOW_NAMESPACES is set and there are namespaces.
  • Loading branch information
albert-github committed Jan 5, 2019
1 parent 3b4b75a commit a0be73d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4670,7 +4670,7 @@ static void writeIndex(OutputList &ol)
ol.parseText(/*projPrefix+*/ theTranslator->trModuleIndex());
ol.endIndexSection(isModuleIndex);
}
if (documentedNamespaces>0)
if (Config_getBool(SHOW_NAMESPACES) && (documentedNamespaces>0))
{
ol.startIndexSection(isNamespaceIndex);
ol.parseText(/*projPrefix+*/(fortranOpt?theTranslator->trModulesIndex():theTranslator->trNamespaceIndex()));
Expand Down

0 comments on commit a0be73d

Please sign in to comment.