2015-02-05 10:59 GMT+01:00 Tassilo Horn <t...@gnu.org>: > Mosè Giordano <m...@gnu.org> writes: > >>> I just edebugged the relevant function `pdf-sync-correlate-tex', and >>> it returns a list (file line column), so the answer is yes. However, >>> column is always -1. I have the same with the Evince backward >>> search. >> >> I also did the same test and can't understand how TeXstudio can >> achieve that level of precision. > > Maybe it additionally extracts the word at the click position and then > searches forward after having jumped to the synctex-provided line.
That's an interesting guess. pdf-tools is able to perform search in the PDF file, so it should theoretically possible to implement this also there. The SyncTeX file I'm using for backward search with TeXstudio is the one created by compilation in AUCTeX, so TeXstudio doesn't add anything more to that file. Bye, Mosè _______________________________________________ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex