summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-11-22 18:50:07 (GMT)
committerGitHub <noreply@github.com>2016-11-22 18:50:07 (GMT)
commitd7524450cac6878f84db155aa6578fa43f53bec3 (patch)
tree4b4052a833a82f8a8a61083d1c8fcb7d7834f066 /src
parent71d7a9399db016cba83ccd63c6ba7e0fac1cd44d (diff)
parent1d85e00dd1238f74babf0a1d7eeeaf3e2ba659f2 (diff)
downloadDoxygen-d7524450cac6878f84db155aa6578fa43f53bec3.zip
Doxygen-d7524450cac6878f84db155aa6578fa43f53bec3.tar.gz
Doxygen-d7524450cac6878f84db155aa6578fa43f53bec3.tar.bz2
Merge pull request #543 from jhunold/textbf
Fix: replace deprecated {\bf with \textbf{ in LaTeX generator
Diffstat (limited to 'src')
-rw-r--r--src/context.cpp2
-rw-r--r--src/latexdocvisitor.cpp6
-rw-r--r--src/latexgen.cpp6
3 files changed, 7 insertions, 7 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 << "}";
}
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{ ";
}
}
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))
//{