summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 7cf2c26..18f129a 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -217,7 +217,8 @@ void LatexGenerator::startIndexSection(IndexSections is)
}
else
{
- t << fileToString(Config::latexHeaderFile);
+ QCString header = fileToString(Config::latexHeaderFile);
+ t << substituteKeywords(header,0);
}
}
break;
@@ -657,7 +658,9 @@ void LatexGenerator::writeIndexItem(const char *ref,const char *fn,
void LatexGenerator::writeHtmlLink(const char *url,const char *text)
{
+ t << "{\\tt ";
docify(text);
+ t << "}";
if (url)
{
// t << " {\\tt (";
@@ -666,6 +669,13 @@ void LatexGenerator::writeHtmlLink(const char *url,const char *text)
}
}
+void LatexGenerator::writeMailLink(const char *url)
+{
+ t << "{\\tt ";
+ docify(url);
+ t << "}";
+}
+
void LatexGenerator::writeStartAnnoItem(const char *,const char *,
const char *path,const char *name)
{