Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)

2015-02-06 Thread Andreas Politz
Tassilo Horn writes: > Ah, good to know I'm probably right. I wouldn't object if you do > something similar in PDF Tools. ;-) I started a branch on this called `precise-sync'. It works already pretty well (on this one file I'm constantly trying it on ...) Maybe you want to give it a shot and

Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)

2015-02-06 Thread Andreas Politz
Tassilo Horn writes: > Well, I can change it whenever I want to. ;-) That's good to know. > [...] Or you can just do it yourself, and I'll adapt the AUCTeX side > as soon as you give me a go. I just did that. I called the hook `pdf-sync-backward-redirect-functions', which made more sense to m

Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)

2015-02-06 Thread Andreas Politz
Tassilo Horn writes: > Andreas Politz writes: > >>>> Sounds good, but I don't know if a regexp is sufficient. [...] >>> >>> Then the AUCTeX region-file to real-file translation we've discussed in >>> >>> https://github.com/poli

Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)

2015-02-06 Thread Andreas Politz
Tassilo Horn writes: > Andreas Politz writes: > [...] >> Sounds good, but I don't know if a regexp is sufficient. [...] > > Then the AUCTeX region-file to real-file translation we've discussed in > > https://github.com/politza/pdf-tools/issues/36 > >

Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)

2015-02-05 Thread Andreas Politz
Tassilo Horn writes: > Andreas Politz writes: > > Hi Andreas, Hey. > [...] I wouldn't object if you do something similar in PDF Tools. ;-) > > E.g., `pdf-sync-correlate-pdf' would return a list (file line column > search-regex) where the latter would only be u

Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)

2015-02-05 Thread Andreas Politz
Tassilo Horn writes: > Maybe it additionally extracts the word at the click position and then > searches forward after having jumped to the synctex-provided line. Most likely: http://tex.stackexchange.com/questions/39678/forward-inverse-search-using-synctex-with-the-precison-of-a-single-word -