summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-08-28 09:57:43 (GMT)
committerGitHub <noreply@github.com>2016-08-28 09:57:43 (GMT)
commitbfd595634240bbc2ee1a2ead27fee4d072fab5b0 (patch)
tree6a4e47a963f60c22b8cecb570acf69040abc1229
parentefed3d412e641b9615a00cae9ab8b4626df64249 (diff)
parentefd49dacfbae1ad55d7922a748e2c1d60068b014 (diff)
downloadDoxygen-bfd595634240bbc2ee1a2ead27fee4d072fab5b0.zip
Doxygen-bfd595634240bbc2ee1a2ead27fee4d072fab5b0.tar.gz
Doxygen-bfd595634240bbc2ee1a2ead27fee4d072fab5b0.tar.bz2
Merge pull request #504 from albert-github/feature/bug_710611
Bug 710611 - Missing Page References in the Index Chapters of the LaTex/PDF output
-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 *,