Permalink
Browse files

Bug ?? for page numbers in the latex indices

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 37ea04c317f9e1e8a09e5944b8c6c2c2ef35b1f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/latexgen.cpp
@@ -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;
}
}

0 comments on commit 37ea04c

Please sign in to comment.