diff options
author | Jürgen Hunold <jhunold@gmx.eu> | 2016-11-10 17:17:13 (GMT) |
---|---|---|
committer | Jürgen Hunold <jhunold@gmx.eu> | 2016-11-10 17:17:36 (GMT) |
commit | 1d85e00dd1238f74babf0a1d7eeeaf3e2ba659f2 (patch) | |
tree | 26f48052944d7c0cc2e3af461b1416848b317f2a /src/latexdocvisitor.cpp | |
parent | 5f01f783e2387a5d44ad70fbff5365aa0e5df938 (diff) | |
download | Doxygen-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/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index 048deb7..9016c25 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -1169,7 +1169,7 @@ void LatexDocVisitor::visitPre(DocHtmlCell *c) } if (c->isHeading()) { - m_t << "{\\bf "; + m_t << "\\textbf{ "; } if (cs>1) { @@ -1566,7 +1566,7 @@ void LatexDocVisitor::visitPre(DocXRefItem *x) } else { - m_t << "{\\bf "; + m_t << "\\textbf{ "; } m_insideItem=TRUE; filter(x->title()); @@ -1674,7 +1674,7 @@ void LatexDocVisitor::startLink(const QCString &ref,const QCString &file,const Q } else // external link { - m_t << "{\\bf "; + m_t << "\\textbf{ "; } } |