summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-05-26 16:15:21 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-05-26 16:15:21 (GMT)
commit52c0b2e25fc3bb15be1d240d86701a5827630db0 (patch)
tree0bbf0b1b5a8a9f6954dea002857028064e0258bc /src/latexgen.cpp
parent63696c08425fc1662c5e76280e3cc74fb3769d80 (diff)
downloadDoxygen-52c0b2e25fc3bb15be1d240d86701a5827630db0.zip
Doxygen-52c0b2e25fc3bb15be1d240d86701a5827630db0.tar.gz
Doxygen-52c0b2e25fc3bb15be1d240d86701a5827630db0.tar.bz2
Bug 796355 - LaTeX: Class scrbook Error: undefined old font command `\tt'
- Replaced \tt by \texttt - Replaced the left over \bf by \textbf and taking care that { } still match.
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 7a2ea59..bbe4975 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1373,7 +1373,7 @@ void LatexGenerator::startHtmlLink(const char *url)
t << url;
t << "}";
}
- t << "{\\tt ";
+ t << "\\texttt{ ";
}
void LatexGenerator::endHtmlLink()
@@ -1389,7 +1389,7 @@ void LatexGenerator::endHtmlLink()
// t << url;
// t << "}";
// }
-// t << "{\\tt ";
+// t << "\\texttt{ ";
// docify(url);
// t << "}";
//}
@@ -1397,7 +1397,7 @@ void LatexGenerator::endHtmlLink()
void LatexGenerator::writeStartAnnoItem(const char *,const char *,
const char *path,const char *name)
{
- t << "\\item\\contentsline{section}{\\bf ";
+ t << "\\item\\contentsline{section}\\textbf{ ";
if (path) docify(path);
docify(name);
t << "} ";
@@ -1432,7 +1432,7 @@ void LatexGenerator::endIndexValue(const char *name,bool /*hasBrief*/)
//void LatexGenerator::writeClassLink(const char *,const char *,
// const char *,const char *name)
//{
-// t << "{\\bf ";
+// t << "\\textbf{ ";
// docify(name);
// t << "}";
//}