auctex-devel
[Top][All Lists]
Advanced

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

Re: MacOS 10.15 how to add Skim as a viewe


From: Uwe Brauer
Subject: Re: MacOS 10.15 how to add Skim as a viewe
Date: Tue, 01 Jun 2021 11:44:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

>>> "AE" == Arash Esbati <arash@gnu.org> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>>>>> "AE" == Arash Esbati <arash@gnu.org> writes:
>> 
>>> Uwe Brauer <oub@mat.ucm.es> writes:
>> 
>>> I tried the follwowing setting, since I cannot use customize  (skim is
>>> not among the offered viewers)
>>> 
>>> (setq TeX-view-program-list
>>> '(("PDF Viewer" "/Applications/Skim.app/Contents/SharedSupport/displayline 
>>> -b -g %n %o %b")))
>>> 
>>> But it seems not to work anybody has an idea?
>> 
>>> AUCTeX has support for Skim on macOS[1].  In theory, it should work out
>>> of the box with something like this in your init file:
>> 
>>> (setq TeX-view-program-selection '((output-pdf "Skim")))
>> 
>>> I'm not on macOS, so I can't test it and I can't tell if the entry
>> 
>>> ("Skim" "open -a Skim.app %o" "open")
>> 
>> I see but when I use customise-option, skip did not pop up

> You should see Skim when you try to customize
> `TeX-view-program-selection', when you hit Value Menu:

>     INS DEL Choice: Value Menu Single predicate: Value Menu output-pdf
>                :
>                Viewer: Value Menu
>                        ^^^^^^^^^^


Very strange now it does indeed, but I swear yesterday after copying all
my Ubuntu files to the Mac (including the emacs setting) starting emacs
(28 master) that menu *did not* pop up, 


>> Also it seems that the recommend approach I found, allows backward and
>> forward search in pdf files, while it not clear to me that the one you
>> point point out does this.

> I did a quick search and here[1], the recommended entry looks different
> from what AUCTeX does.  `TeX-output-view-style' is depracted, but we can
> tweak the "/Applications/Skim.app/..." string if it works.

Interesting, that recommendatation seems a bit different from the
setting I use. Mine works. I will try to test this tomorrow, but I think
the syntax in the relevant auctex files should be upgraded.

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


reply via email to

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