diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-05-12 13:04:34 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-05-12 13:04:34 (GMT) |
commit | 8dc4ff6dd22b1603f33537ff03994cc63e658768 (patch) | |
tree | 97f0e23b93d45b7917d965e6d1bb70da6c61831a /src/latexdocvisitor.cpp | |
parent | ebf4b3641c9149eaf4468aa8df64e1c7517e5f0c (diff) | |
download | Doxygen-8dc4ff6dd22b1603f33537ff03994cc63e658768.zip Doxygen-8dc4ff6dd22b1603f33537ff03994cc63e658768.tar.gz Doxygen-8dc4ff6dd22b1603f33537ff03994cc63e658768.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 *) |