diff options
-rw-r--r-- | src/latexgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 874b485..e2c2a11 100644 --- a/src/latexgen.cpp +++ b/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; } } |