Commit 37ea04c3 authored by albert-github's avatar albert-github

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.
parent 200b828e
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment