auctex-devel
[Top][All Lists]
Advanced

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

Re: how to add a new pdf viewer?


From: Tassilo Horn
Subject: Re: how to add a new pdf viewer?
Date: Wed, 30 Aug 2023 16:56:49 +0200 (GMT+02:00)

Does /snap/evince/current/usr/libexec/evinced
actually work or exit with error? And if so, is the evince demon accessible via 
DBUS? You can check using d-feet.

Bye,
Tassilo

30.08.2023 16:46:15 Uwe Brauer <oub@mat.ucm.es>:

>>>> "TH" == Tassilo Horn <tsdh@gnu.org> writes:
> 
>> Uwe Brauer <oub@mat.ucm.es> writes:
>>> Any ideas?
> 
>> Not really, I cannot follow what you are doing.  In theory, you should
>> only have to change who provides the evince demon service, most probably
>> by enabling/disabling the systemd services you already found, i.e.,
>> disable the old and enable the new.  You don't need to mess with AUCTeX
>> settings.
> 
> Sorry for having explained this badly. I do not mess with Auctex
> setting. I only set the viewer to evince.
> 
> 
> Then
> 
>     1. Scenario 1:
>        C-c C-c View
>        shows TeX-evince-sync-view
>        and that
>        indeed starts the old evince, using forward search, ie the page
>        displayed correspdonds to the cursor in the latex file.
> 
>     2. Scenario 2: I replace
> 
> ,----
> | [D-BUS Service]
> | Name=org.gnome.evince.Daemon
> | Exec=/usr/lib/evince/evinced
> | SystemdService=evince.service
> `----
> 
> 
> By
> ,----
> | [D-BUS Service]
> | Name=org.gnome.evince.Daemon
> | Exec=/snap/evince/current/usr/libexec/evinced
> | SystemdService=evince.service
> `----
> 
> 
> I restart my system (that seems necessary for SystemdService.
> 
> I start emacs and again use C-c C-c View, but now the minibuffer shows
> me:
> 
> 
> evince -i 1 
> build/Rodnianski_Speck_Stability_of_Irrotational_Euler-Einstein.pdf
> 
> And I am very very puzzled.
> 
> The explanation is that the replaced file is not correct but why on
> earth uses emacs (auctex) now the
> 
> -i 1
> 
> Option?
> 
> Uwe
> 
> 
> 
> 
> 
> 



reply via email to

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