diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2013-05-12 13:04:34 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2013-05-12 13:04:34 (GMT) |
commit | 7b57ba3ce34b08841026da979dd9139f08033800 (patch) | |
tree | 97f0e23b93d45b7917d965e6d1bb70da6c61831a /src/latexdocvisitor.cpp | |
parent | 465c47b8d0e945f9911c579c0c93deaf87c20fd6 (diff) | |
download | Doxygen-7b57ba3ce34b08841026da979dd9139f08033800.zip Doxygen-7b57ba3ce34b08841026da979dd9139f08033800.tar.gz Doxygen-7b57ba3ce34b08841026da979dd9139f08033800.tar.bz2 |
Release-1.8.3.1-20130512
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r-- | src/latexdocvisitor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index ce20e0d..0a96530 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -257,7 +257,7 @@ void LatexDocVisitor::visit(DocSymbol *s) case DocSymbol::LeftFloor: m_t << "{$\\lfloor$}"; break; case DocSymbol::RightFloor: m_t << "{$\\rfloor$}"; break; default: - err("error: unknown symbol found\n"); + err("unknown symbol found\n"); } } @@ -424,10 +424,10 @@ void LatexDocVisitor::visit(DocVerbatim *s) void LatexDocVisitor::visit(DocAnchor *anc) { if (m_hide) return; - m_t << "\\label{" << anc->file() << "_" << anc->anchor() << "}%" << endl; + m_t << "\\label{" << stripPath(anc->file()) << "_" << anc->anchor() << "}%" << endl; if (!anc->file().isEmpty() && Config_getBool("PDF_HYPERLINKS")) { - m_t << "\\hypertarget{" << anc->file() << "_" << anc->anchor() + m_t << "\\hypertarget{" << stripPath(anc->file()) << "_" << anc->anchor() << "}{}%" << endl; } } @@ -798,11 +798,11 @@ void LatexDocVisitor::visitPre(DocSection *s) if (m_hide) return; if (Config_getBool("PDF_HYPERLINKS")) { - m_t << "\\hypertarget{" << s->file() << "_" << s->anchor() << "}{}"; + m_t << "\\hypertarget{" << stripPath(s->file()) << "_" << s->anchor() << "}{}"; } m_t << "\\" << getSectionName(s->level()) << "{"; filter(convertCharEntitiesToUTF8(s->title().data())); - m_t << "}\\label{" << s->file() << "_" << s->anchor() << "}" << endl; + m_t << "}\\label{" << stripPath(s->file()) << "_" << s->anchor() << "}" << endl; } void LatexDocVisitor::visitPost(DocSection *) |