I already noticed that it was not 100% accurate. But it is good enough. Better than the "goto first word in paragraph" as seen in TeXMaker, which use very long lines in the .tex file.
/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: Tassilo Horn [[email protected]] Sent: 05 February 2015 11:15 To: Mosè Giordano Cc: Lars Madsen; auctex Subject: Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs) Mosè Giordano <[email protected]> writes: >> 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. Although it's flaky. E.g., if the word is "the", then the chances are high there are multiple occurences in a line. Maybe taking the current word at click-position + the next N words (and then searching so that space also matches \n) might work. But that will fail in situations where the click-pos is "hello world" but the actual tex text is "hello \texttt{world}". If you want, you can play with those suggestions in TeXStudio to see if it uses such a trick... > pdf-tools is able to perform search in the PDF file, so it should > theoretically possible to implement this also there. Yes. Bye, Tassilo _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
