summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-04-20 13:52:24 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-04-20 13:52:24 (GMT)
commit790000b90944646702ddd3a183ec166669c18f51 (patch)
tree4b2fcab02eb66f69a11d7e7245af5ece3fb3bc57 /src/latexgen.cpp
parent6dae72421aa759624212773983cb7e17c60100f8 (diff)
downloadDoxygen-790000b90944646702ddd3a183ec166669c18f51.zip
Doxygen-790000b90944646702ddd3a183ec166669c18f51.tar.gz
Doxygen-790000b90944646702ddd3a183ec166669c18f51.tar.bz2
Bug 172072 - $title doesn't work in LateX header
In case $title is used in the latex header or footer it is now replaced with the empty string (it was left inside, resulting in non translatable LaTeX code), the documentation has been updated too. See also: Bug 668004 - LATEX_HEADER should share common information with HTML_HEADER Bug 401327 - LATEX_HEADER: $title does not get expanded
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 90591c5..a714539 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -623,7 +623,7 @@ void LatexGenerator::startIndexSection(IndexSections is)
else
{
QCString header = fileToString(latexHeader);
- t << substituteKeywords(header,0,
+ t << substituteKeywords(header,"",
convertToLaTeX(Config_getString("PROJECT_NAME")),
convertToLaTeX(Config_getString("PROJECT_NUMBER")),
convertToLaTeX(Config_getString("PROJECT_BRIEF")));
@@ -1021,7 +1021,7 @@ void LatexGenerator::endIndexSection(IndexSections is)
else
{
QCString footer = fileToString(latexFooter);
- t << substituteKeywords(footer,0,
+ t << substituteKeywords(footer,"",
convertToLaTeX(Config_getString("PROJECT_NAME")),
convertToLaTeX(Config_getString("PROJECT_NUMBER")),
convertToLaTeX(Config_getString("PROJECT_BRIEF")));