summaryrefslogtreecommitdiffstats
path: root/src/context.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/context.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/context.cpp')
-rw-r--r--src/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.cpp b/src/context.cpp
index 2d4200e..f45a9b5 100644
--- a/src/context.cpp
+++ b/src/context.cpp
@@ -3813,7 +3813,7 @@ class TextGeneratorLatex : public TextGeneratorIntf
}
else
{
- m_ts << "{\\bf ";
+ m_ts << "\\textbf{ ";
filterLatexString(m_ts,text);
m_ts << "}";
}