Thank you.

I've added this:

    (add-hook 'LaTeX-mode-hook (lambda ()
                                  (add-to-list 'TeX-expand-list
                                               '("%q" skim-make-url))

                                  (defun skim-make-url () (concat

(TeX-current-line)
                                                           " "
                                                           (expand-file-name
(funcall file (TeX-output-extension) t)

(file-name-directory (TeX-master-file)))
                                                           " "

(buffer-file-name)))

                                  (setq TeX-view-program-list
                                        '(("Skim"

"/Applications/Skim.app/Contents/SharedSupport/displayline %q")))

                                  (setq TeX-view-program-selection
'((output-pdf "Skim")))
                                  ))

which works well (credit in the comments). This also allows for SyncTeX too.

I'm just a little surprised that I didn't get a default 'out of box' program
of `open`, instead getting evince.

Perhaps this code will be useful, anyway.

Thanks.

On Wed, Oct 20, 2010 at 7:54 PM, Ralf Angeli <[email protected]> wrote:

> * Chris Poole (2010-10-20) writes:
>
> > I've just grabbed AUCTeX 11.86, and all works well.
> >
> > However, `C-c C-c view` gives the command `evince file.pdf`, and it
> should
> > be `open file.pdf`.
> >
> > So, it doesn't seem to be listening to TeX-output-view-style any more.
> > Anyone know why?
>
> Check the CHANGES file.
>
> --
> Ralf
>
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to