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

2015-02-05 Thread Tassilo Horn
Andreas Politz poli...@hochschule-trier.de writes: Hi Andreas, Maybe it additionally extracts the word at the click position and then searches forward after having jumped to the synctex-provided line. Most likely:

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

2015-02-05 Thread Tassilo Horn
Mosè Giordano m...@gnu.org 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

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

2015-02-05 Thread Tassilo Horn
Tassilo Horn t...@gnu.org writes: What we also need it support for viewing _region_.pdf with proper SyncTeX support. Right now, when double-clicking in _region_.pdf, you jump to the correct location in _region_.tex. It would be nice if you jumped to the location in the real source tex file.

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

2015-02-05 Thread Lars Madsen
Mosè, exactly which version of TeXStudio has the feature to direct you to the exact word? I'll like to see that. AFAIK pdfsync only looks at line numbers, thus TeXMaker and TeXStudio usually have a problem in the backwards sync because they tend to use soft line breaks (I think) and not the

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 5276f35d9dc7b37cfb0881ddcaf11c05783aac15

2015-02-05 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project GNU AUCTeX. The branch, master has been updated via 5276f35d9dc7b37cfb0881ddcaf11c05783aac15 (commit) from

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 5276f35d9dc7b37cfb0881ddcaf11c05783aac15

2015-02-05 Thread Tassilo Horn
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project GNU AUCTeX. The branch, master has been updated via 5276f35d9dc7b37cfb0881ddcaf11c05783aac15 (commit) from

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

2015-02-05 Thread Jorge A. Alfaro-Murillo
Tassilo Horn writes: E.g., `pdf-sync-correlate-pdf' would return a list (file line column search-regex) where the latter would only be used by `pdf-sync-goto-tex' if column is -1 (in the hope that some future SyncTeX version will eventually provide correct line numbers). According to the

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

2015-02-05 Thread Jorge A. Alfaro-Murillo
Tassilo Horn writes: I've just added it to `TeX-view-program-list-builtin' in AUCTeX git. It calls a new command `TeX-pdf-tools-sync-view'. Excellent, thank you very much. -- Jorge. ___ auctex mailing list auctex@gnu.org

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

2015-02-05 Thread David Kastrup
Tassilo Horn t...@gnu.org writes: jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: E.g., `pdf-sync-correlate-pdf' would return a list (file line column search-regex) where the latter would only be used by `pdf-sync-goto-tex' if column is -1 (in the hope that some future

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

2015-02-05 Thread Lars Madsen
texstudio is independent of the LaTeX installation so they have no control over the generated .synctex file. Why not just ask the developer? While you are talking to him, tell him about reftexs label features. TeXStudio really need to up their game in relation to labels in multiple file

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

2015-02-05 Thread Mosè Giordano
Hi Tassilo Lars, 2015-02-05 8:06 GMT+01:00 Tassilo Horn t...@gnu.org: Mosè Giordano m...@gnu.org 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

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

2015-02-05 Thread Tassilo Horn
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

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

2015-02-05 Thread Mosè Giordano
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

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

2015-02-05 Thread Tassilo Horn
Lars Madsen dal...@math.au.dk writes: 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. Both the Evince and PDF Tools AUCTeX viewers already support that provided that SyncTeX would return a sensible

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

2015-02-05 Thread Lars Madsen
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

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

2015-02-05 Thread Lars Madsen
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:

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

2015-02-05 Thread Andreas Politz
Tassilo Horn t...@gnu.org writes: Andreas Politz poli...@hochschule-trier.de 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

Re: [AUCTeX] Is it possible to use the buffer-file-name in a local variable ?

2015-02-05 Thread Denis Bitouzé
Le 05/02/15 à 17h52, Nicolas Richard theonewiththeevill...@yahoo.fr a écrit : I deprecated \includeonly in favor of TeX-command-region, and I now do collaborative editing through auto-synchronisation of files (owncloud, dropbox) instead of sending files around. So I'm now a happy

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

2015-02-05 Thread Lars Madsen
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