Skip to content

Commit

Permalink
Bug ?? for page numbers in the latex indices
Browse files Browse the repository at this point in the history
Due to the fact that the path was not stripped from the file name in case CREATE_SUBDIRS was set to YES there was a reference to a non existing page reference. In the corresponding hypertarget and label the path was already stripped.
  • Loading branch information
albert-github committed Nov 29, 2014
1 parent 200b828 commit 37ea04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/latexgen.cpp
Expand Up @@ -1065,7 +1065,7 @@ void LatexGenerator::endIndexItem(const char *ref,const char *fn)
{
if (!ref && fn)
{
t << "}{\\pageref{" << fn << "}}{}" << endl;
t << "}{\\pageref{" << stripPath(fn) << "}}{}" << endl;
}
}

Expand Down

0 comments on commit 37ea04c

Please sign in to comment.