[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: |
Mon, 02 Sep 2013 08:51:03 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Thomas Arildsen <address@hidden> writes:
Hi Thomas,
> It sounds like quite a project to try to sort out the problem with
> DBUS. I have no experience with it.
In your original report, you've said that TeX-evince-sync-view does not
work. What exactly doesn't work? Isn't there an evince window opened?
AUCTeX first does
(dbus-call-method
:session "org.gnome.evince.Daemon"
"/org/gnome/evince/Daemon"
"org.gnome.evince.Daemon"
"FindDocument"
"file:///home/horn/some.pdf" ;; replace with some existing PDF
t) ;; C-x C-x here
Does that work, i.e., open an evince window showing some.pdf?
You could also monitor the dbus communication of the two evince
interfaces that auctex uses like so:
$ dbus-monitor "interface=org.gnome.evince.Daemon" \
"interface=org.gnome.evince.Window"
That's what I get when I execute a View command in auctex.
--8<---------------cut here---------------start------------->8---
method call sender=:1.66 -> dest=org.gnome.evince.Daemon serial=14
path=/org/gnome/evince/Daemon; interface=org.gnome.evince.Daemon;
member=FindDocument
string "file:///home/horn/tmp/test/bar.dvi"
boolean true
method call sender=:1.66 -> dest=:1.80 serial=15
path=/org/gnome/evince/Window/0; interface=org.gnome.evince.Window;
member=SyncView
string "/home/horn/tmp/test/bar.tex"
struct {
int32 21
int32 2
}
uint32 0
--8<---------------cut here---------------end--------------->8---
The first call FindDocument ensures that the edited document is opened
in evince, and the second call SyncView sets the view according to the
synctex information.
What do you get?
Bye,
Tassilo
- Re: [Bug-AUCTeX] TeX-evince-sync-view,
Tassilo Horn <=
Re: [Bug-AUCTeX] TeX-evince-sync-view, Thomas Arildsen, 2013/09/11
Re: [Bug-AUCTeX] TeX-evince-sync-view, Thomas Arildsen, 2013/09/17