summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-08-22 09:38:39 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-08-22 09:38:39 (GMT)
commitefd49dacfbae1ad55d7922a748e2c1d60068b014 (patch)
treea37630029a0190333690f76c0f6a573cd2bef9bc /src/latexgen.cpp
parentcd6a8d34708c40da3e568fdb689b59e7a3d8bdbc (diff)
downloadDoxygen-efd49dacfbae1ad55d7922a748e2c1d60068b014.zip
Doxygen-efd49dacfbae1ad55d7922a748e2c1d60068b014.tar.gz
Doxygen-efd49dacfbae1ad55d7922a748e2c1d60068b014.tar.bz2
Bug 710611 - Missing Page References in the Index Chapters of the LaTex/PDF output
In a pagref the path should not be present.
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 4877599..54f45c3 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1292,7 +1292,7 @@ void LatexGenerator::endIndexItem(const char *ref,const char *fn)
//{
// t << "\\item\\contentsline{section}{";
// docify(text);
-// t << "}{\\pageref{" << text << "}}" << endl;
+// t << "}{\\pageref{" << stripPath(text) << "}}" << endl;
//}
@@ -1336,7 +1336,7 @@ void LatexGenerator::writeStartAnnoItem(const char *,const char *,
void LatexGenerator::writeEndAnnoItem(const char *name)
{
- t << "}{\\pageref{" << name << "}}{}" << endl;
+ t << "}{\\pageref{" << stripPath(name) << "}}{}" << endl;
}
void LatexGenerator::startIndexKey()
@@ -1357,7 +1357,7 @@ void LatexGenerator::startIndexValue(bool hasBrief)
void LatexGenerator::endIndexValue(const char *name,bool /*hasBrief*/)
{
//if (hasBrief) t << ")";
- t << "}{\\pageref{" << name << "}}{}" << endl;
+ t << "}{\\pageref{" << stripPath(name) << "}}{}" << endl;
}
//void LatexGenerator::writeClassLink(const char *,const char *,