jsinglet / latex-preview-pane

Makes LaTeX editing less painful by providing a updatable preview pane
130 stars 24 forks source link

Feature Request: On preview update jump to the "proper" page #18

Open zakkak opened 9 years ago

zakkak commented 9 years ago

When using an external viewer (e.g. evince) auctex is able to take me to the page containing the rendered LaTeX under my cursor with C-c C-v.

How hard would it be for LPP to provide something similar? That is, after reverting the doc-view-buffer change to the appropriate page if not there already.

My configuration for evince looks like this:

(add-to-list 'TeX-view-program-list
             '("Evince" "evince --page-index=%(outpage) %o"))
jsinglet commented 9 years ago

Certainly possible -- I'll add it to the list of things to implement for the next release!

zakkak commented 9 years ago

You might also be interested in pdf-tools.

jsinglet commented 9 years ago

That looks great! The only negative I see is that LPP currently doesn't depend on external Emacs packages (just the default set Emacs comes with). I'll take a look though!

zakkak commented 9 years ago

That's true! However, it's nice that you can install it from melpa and compile the external tool with (pdf-tools-install)!