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: Uwe Brauer
Subject: Re: how to add a new pdf viewer?
Date: Wed, 30 Aug 2023 16:45:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "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 






-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the NATO membership of the Ukraine.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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