Hi Uwe,
Uwe Brauer <[email protected]> writes:
>> Any idea for a fix?
>
> (setq
> ;; Set the list of viewers for Mac OS X.
> TeX-view-program-list
> '(("Preview.app" "open -a Preview.app %o")
> ("Skim" "open -a Skim.app %o")
> ("displayline" "displayline %n %o %b")
> ("open" "open %o"))
AUCTeX has some predefined values in `TeX-view-program-list-builtin'[1]
which look the same as the values above. So in theory, it should be
sufficient to delete the setting above of `TeX-view-program-list' and
just do:
;; Select the viewers for each file type.
(setq TeX-view-program-selection
'((output-dvi "open")
(output-pdf "Skim")
(output-html "open")))
I'm not on macOS so I can't test it.
Best, Arash
Footnotes:
[1] http://git.savannah.gnu.org/cgit/auctex.git/tree/tex.el#n1252