summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorJürgen Hunold <jhunold@gmx.eu>2016-11-10 17:17:13 (GMT)
committerJürgen Hunold <jhunold@gmx.eu>2016-11-10 17:17:36 (GMT)
commit1d85e00dd1238f74babf0a1d7eeeaf3e2ba659f2 (patch)
tree26f48052944d7c0cc2e3af461b1416848b317f2a /src/latexgen.cpp
parent5f01f783e2387a5d44ad70fbff5365aa0e5df938 (diff)
downloadDoxygen-1d85e00dd1238f74babf0a1d7eeeaf3e2ba659f2.zip
Doxygen-1d85e00dd1238f74babf0a1d7eeeaf3e2ba659f2.tar.gz
Doxygen-1d85e00dd1238f74babf0a1d7eeeaf3e2ba659f2.tar.bz2
Fix: replace deprecated {\bf with \textbf{ in LaTeX generator
The newest version of scrbook (from Ubuntu 16.10) otherwise bails out with "scrbook Error: undefined old font command `\bf'"
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 37eacdb..33b8e49 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1379,7 +1379,7 @@ void LatexGenerator::startTextLink(const char *f,const char *anchor)
}
else
{
- t << "{\\bf ";
+ t << "\\textbf{ ";
}
}
@@ -1404,7 +1404,7 @@ void LatexGenerator::writeObjectLink(const char *ref, const char *f,
}
else
{
- t << "{\\bf ";
+ t << "\\textbf{ ";
docify(text);
t << "}";
}
@@ -1907,7 +1907,7 @@ void LatexGenerator::endMemberList()
void LatexGenerator::startMemberGroupHeader(bool hasHeader)
{
if (hasHeader) t << "\\begin{Indent}";
- t << "{\\bf ";
+ t << "\\textbf{ ";
// changed back to rev 756 due to bug 660501
//if (Config_getBool(COMPACT_LATEX))
//{