bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] TeX-evince-sync-view


From: Tassilo Horn
Subject: Re: [Bug-AUCTeX] TeX-evince-sync-view
Date: Fri, 30 Aug 2013 09:48:11 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Evince will likely need to be able to call emacsclient or something.

No, with TeX-evince-sync-view it talks to emacs (and vice versa) using
DBUS.  That feature is only activated if emacs is built with DBUS
support, and evince exposes the correct signatures to DBUS.  That seems
to be the case with the OP, and since there are no error messages, it's
a bit hard to debug.

To use the normal cmd line invocation of evince, just put

(setq TeX-view-program-list
      `(("Evince" ("evince"
                   (mode-io-correlate
                    ,(if (string-match "--page-index"
                                       (shell-command-to-string "evince 
--help"))
                         " -i %(outpage)"
                       " -p %(outpage)")) " %o"))))

in your ~/.emacs.  (That's what would have been used if Emacs hadn't
been built with DBUS support or the Evince version is too old.)

Bye,
Tassilo




reply via email to

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