sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.54k stars 1.72k forks source link

Suggestion: Highlight the jumping destination within PDF #1085

Open kaiwu-astro opened 6 years ago

kaiwu-astro commented 6 years ago

Hi :)

I use SumatraPDF a lot to read research literature. The papers usually have quantities of citations with hyperlink jumping within the PDF. I'm always confused when I click a bibliography citation (hyperlink) and it jumps to the end of the document, but there is too much bibliography there and I cannot find which one I want. Then I have to go back to see the name of the citation and jump again then I can locate it.

I would appreciate it if you can add a function to highlight the jumping destination when jumping within PDF. The highlight can be just like this --- when I use Sublime Text (with LatexTools) to compile a latex file, there will be a highlight on the PDF line in SumatraPDF corresponding to the position in the code.

Thanks!

GitHubRulesOK commented 5 years ago

The Highlight function to given line(s) via embedded Synctex parser library is separate to the internal hyper jumps to named-destination (a designated anchor rather than a specific line), Having said that it may be possible to redirect the internal jump to recall the file with a line number but would involve some significant recoding for the math to nominally select which line is to be highlighted. Unless someone can dedicate a considerable amount of time to link the two features reliably it is probably not an easy patch to achieve.