The sources are available, so maybe one can get a hint from there. /Lars Madsen Institut for Matematik / Department of Mathematics Aarhus Universitet / Aarhus University Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf
________________________________________ From: [email protected] [[email protected]] on behalf of Lars Madsen [[email protected]] Sent: 05 February 2015 10:55 To: Mosè Giordano Cc: auctex; Tassilo Horn Subject: Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs) Interesting, just tested with TS 2.6 on linux. Works there too. Would you mind doing us all a favor, and figuring out how this works and add it to Emacs, preferably Emacs + Evince as that is the compo I use. Cannot have others having features not present in Emacs :-) Might be an idea to check what actually is in the synctex file. And what exactly is getting back from the previewer (I've never sat down and looked at it). /Lars Madsen Institut for Matematik / Department of Mathematics Aarhus Universitet / Aarhus University Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf ________________________________________ From: Mosè Giordano [[email protected]] Sent: 05 February 2015 10:45 To: Lars Madsen Cc: Tassilo Horn; auctex Subject: Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs) Hi Tassilo & Lars, 2015-02-05 8:06 GMT+01:00 Tassilo Horn <[email protected]>: > Mosè Giordano <[email protected]> writes: >> When using forward/backward search in TeXstudio with its embedded >> viewer, you are direct to the exact word selected, not just the line. >> I wonder if it's possible to implement such a feature also for AUCTeX >> and pdf-tools. > > 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 there's some SyncTeX setting you need to enable to make it record > column numbers, too? I don't have a clue, as far as I know SyncTeX only potentially supports column numbers, but actually always return a not-really-useful number, as you pointed out. 2015-02-05 9:43 GMT+01:00 Lars Madsen <[email protected]>: > Mosè, exactly which version of TeXStudio has the feature to direct you to the > exact word? I have TeXstudio 2.8.0, but this feature is mentioned already in ChangeLog for version 2.3: http://texstudio.sourceforge.net/manual/current/usermanual_en.html#SECTIONNEW23 Bye, Mosè _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
