Skip to content

Commit 1e1e57c

Browse files
author
Dimitri van Heesch
committed
Merge pull request doxygen#443 from albert-github/feature/bug_latex_source_reference
Problem jumping to line number in source code due to wrong hypertarget name
2 parents dc2211b + ed87560 commit 1e1e57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/latexgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void LatexCodeGenerator::writeLineNumber(const char *ref,const char *fileName,co
199199
{
200200
QCString lineAnchor;
201201
lineAnchor.sprintf("_l%05d",l);
202-
lineAnchor.prepend(m_sourceFileName);
202+
lineAnchor.prepend(stripExtensionGeneral(m_sourceFileName, ".tex"));
203203
//if (!m_prettyCode) return;
204204
if (usePDFLatex && pdfHyperlinks)
205205
{

0 commit comments

Comments
 (0)