diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-07-21 13:17:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 13:17:41 (GMT) |
commit | f3447698e529f2e212855be2ed5023b6f54786ae (patch) | |
tree | cb10ca3ceb96b3165a3f4b5eddac0b784317bcac /src/latexdocvisitor.cpp | |
parent | 2850192287a17ff069564a9c0f24f70fe5081804 (diff) | |
parent | 52c0b2e25fc3bb15be1d240d86701a5827630db0 (diff) | |
download | Doxygen-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/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index 7fd27bb..d2c4c5d 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -219,7 +219,7 @@ void LatexDocVisitor::visit(DocURL *u) if (u->isEmail()) m_t << "mailto:"; m_t << u->url() << "}"; } - m_t << "{\\tt "; + m_t << "\\texttt{ "; filter(u->url()); m_t << "}"; } @@ -1249,7 +1249,7 @@ void LatexDocVisitor::visitPre(DocHRef *href) m_t << href->url(); m_t << "}"; } - m_t << "{\\tt "; + m_t << "\\texttt{ "; } void LatexDocVisitor::visitPost(DocHRef *) @@ -1496,7 +1496,7 @@ void LatexDocVisitor::visitPre(DocParamList *pl) { if (pl->direction()!=DocParamSect::Unspecified) { - m_t << "\\mbox{\\tt "; + m_t << "\\mbox{\\texttt{ "; if (pl->direction()==DocParamSect::In) { m_t << "in"; @@ -1509,7 +1509,7 @@ void LatexDocVisitor::visitPre(DocParamList *pl) { m_t << "in,out"; } - m_t << "} "; + m_t << "}} "; } if (useTable) m_t << " & "; } |