>>> "UB" == Uwe Brauer <[email protected]> writes:

> I am pretty sure that this is not a stupid method 

> I am using the following setting in my custom-init.el
> (custom-set-variables
>  '(TeX-view-program-list
>    '(("PDF Viewer" "/Applications/Skim.app/Contents/SharedSupport/displayline 
> -b -g %n %o %b")))
>  '(TeX-view-program-selection '((output-pdf "PDF Viewer"))))

> However when running C-c C-v or 
> C-c C-c select view, the skim view does not pop up but needs to be clicked on

> What is the reason?
> 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"))
 ;; Select the viewers for each file type.
 TeX-view-program-selection
 '((output-dvi "open")
   (output-pdf "Skim")
   (output-html "open")))

Seems to do the trick


Reply via email to