Skip to content

Commit

Permalink
Bug 710611 - Missing Page References in the Index Chapters of the LaT…
Browse files Browse the repository at this point in the history
…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 efd49da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/latexgen.cpp
Expand Up @@ -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;
//}


Expand Down Expand Up @@ -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()
Expand All @@ -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 *,
Expand Down

0 comments on commit efd49da

Please sign in to comment.