summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-07-21 13:17:41 (GMT)
committerGitHub <noreply@github.com>2018-07-21 13:17:41 (GMT)
commitf3447698e529f2e212855be2ed5023b6f54786ae (patch)
treecb10ca3ceb96b3165a3f4b5eddac0b784317bcac /src/latexgen.cpp
parent2850192287a17ff069564a9c0f24f70fe5081804 (diff)
parent52c0b2e25fc3bb15be1d240d86701a5827630db0 (diff)
downloadDoxygen-f3447698e529f2e212855be2ed5023b6f54786ae.zip
Doxygen-f3447698e529f2e212855be2ed5023b6f54786ae.tar.gz
Doxygen-f3447698e529f2e212855be2ed5023b6f54786ae.tar.bz2
Merge pull request #743 from albert-github/feature/bug_796355
Bug 796355 - LaTeX: Class scrbook Error: undefined old font command `\tt'
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 d1580b8..d5514ab 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1350,7 +1350,7 @@ void LatexGenerator::startHtmlLink(const char *url)
t << url;
t << "}";
}
- t << "{\\tt ";
+ t << "\\texttt{ ";
}
void LatexGenerator::endHtmlLink()
@@ -1366,7 +1366,7 @@ void LatexGenerator::endHtmlLink()
// t << url;
// t << "}";
// }
-// t << "{\\tt ";
+// t << "\\texttt{ ";
// docify(url);
// t << "}";
//}
@@ -1374,7 +1374,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 << "} ";
@@ -1409,7 +1409,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 << "}";
//}