Permalink
Browse files

Bug 710611 - Missing Page References in the Index Chapters of the LaT…

…ex/PDF output

In a pagref the path should not be present.
  • Loading branch information...
albert-github committed Aug 22, 2016
1 parent cd6a8d3 commit efd49dacfbae1ad55d7922a748e2c1d60068b014
Showing with 3 additions and 3 deletions.
  1. +3 −3 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 *,

0 comments on commit efd49da

Please sign in to comment.