auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars Madsen
Subject: Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)
Date: Thu, 5 Feb 2015 10:00:24 +0000

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/address@hidden / More information: 
http://au.dk/en/address@hidden


________________________________________
From: address@hidden address@hidden on behalf of Lars Madsen address@hidden
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/address@hidden / More information: 
http://au.dk/en/address@hidden


________________________________________
From: Mosè Giordano address@hidden
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 <address@hidden>:
> Mosè Giordano <address@hidden> 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 <address@hidden>:
> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/auctex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]