[Top][All Lists]

[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: Tassilo Horn
Subject: Re: [AUCTeX] OT: Have a look at PDF Tools (new PDF viewer for Emacs)
Date: Thu, 05 Feb 2015 11:08:27 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Lars Madsen <address@hidden> 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 column number which it
sadly doesn't.

> Might be an idea to check what actually is in the synctex file.

I've looked at it and didn't understand it.  But even if I did, that
wouldn't help us because we need to use the information provided by the
viewer.  And that's (file line column) where column is always -1.

> And what exactly is getting back from the previewer (I've never sat
> down and looked at it).

See above.  And I'm pretty sure that both Evince and PDF Tools query the
synctex info from the PDF.

So my guess is that either TeXStudio hacked up SyncTeX to supply correct
column numbers, or they use a dirty trick like their previewer returns
not only the line information but also the word at click position which
they then can search after jumping to the right line.

Well, in both cases, we're out of luck since we cannot (nor want to)
provide a better SyncTeX, nor are we able to change what viewers like
Evince supply when backward searching.


reply via email to

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