On Mon, Oct 28, 2024 at 01:19:31PM +0100, Bruno Haible via Bug reports for the GNU Texinfo documentation system wrote: > Hi, > > PDF readers, like HTML document viewers, have the ability to position > the canvas in such a way that any specified line is at the top. > (DVI viewers like 'xdvi' and PostScript viewers like 'ghostscript' > don't have this ability.) > > Texinfo-generated PDF files make use of this feature for hyperlinks > inside the document, generated from @xref or @ref. However, hyperlinks > inside the table-of-contents don't: they point to the start of the page. > This leads to reduced usability: After clicking on a link in the > table-of-contents, the user sees a page and then has to search through > the page: "where is the section that I wanted to read?"
You're right. The link from the entry text to the page was only added on 2022-12-03; before that, only the page number was linkized. I have attempted a fix (024a4e8bb3, 2024-10-28). I have tested it with a few manuals. However, with code as gnarly as this there is a good chance I have missed some corner case. Thanks for the report and please let us know if there any other problems.