diff options
author | albert-github <albert.tests@gmail.com> | 2018-04-10 11:21:56 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-04-10 11:21:56 (GMT) |
commit | 84c791d75dd1e9026cbbc1a338316656b0c03896 (patch) | |
tree | 22d0fbf47e739264b6dcb0d81e66691f294eadb9 /src/latexgen.cpp | |
parent | 7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff) | |
download | Doxygen-84c791d75dd1e9026cbbc1a338316656b0c03896.zip Doxygen-84c791d75dd1e9026cbbc1a338316656b0c03896.tar.gz Doxygen-84c791d75dd1e9026cbbc1a338316656b0c03896.tar.bz2 |
Consistency of Index name in LaTeX output
The name of the index is used on a number of places, in the Contents and the Bookmarks the name as used in the \addcontentsline is used and in the chapter with the index the name as specified in the \indexname is used.
The \indexname is set by the language package and the name in the \addcontentsline the name as used in the doxygen translator is used, this can lead to inconsistencies (e.g. Slovak language Register versus Index).
The approach has be made uniform here by using \indexname on bot places.
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 1511dcb..9b07fe6 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -748,7 +748,7 @@ static void writeDefaultFooter(FTextStream &t) t << "\\newpage\n" "\\phantomsection\n" "\\clearemptydoublepage\n" - "\\addcontentsline{toc}{" << unit << "}{" << theTranslator->trRTFGeneralIndex() << "}\n" + "\\addcontentsline{toc}{" << unit << "}{\\indexname}\n" "\\printindex\n" "\n" "\\end{document}\n"; |