Re: Using Preview with carbon emacs on os x
Daniel Wright <[email protected]> Sun, 13 Mar 2005 21:51:02 +0100
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
David Arnold wrote:
> Daniel et al,
>
> Thanks. On the G5 PowerMac, I used the customize menu and wound up with:
>
> ("^pdf$" "." "/Applications/Preview.app/Contents/MacOS/Preview %o")
>
> in my .emacs amongst a whole list of stuff. What would be the proper way
> to make just this setting in my .emacs file?
Hi!
I guess this is something custom wrote to your .emacs? Something
starting with (custom-set-variables ...?
I'm new to emacs, so I don't know which is the "proper" way. If you do
it without customize, you could add it to the TeX-command-list with
something like:
(add-to-list 'TeX-command-list (list "View"
"/Applications/Preview.app/Contents/MacOS/Preview %o" 'TeX-run-discard t
t :help "Run Viewer"))
You may want to tweak this to run your Preview program with the
inverse-search facility, if Preview supports this. If you're not sure
what I mean have a look at
<URL:http://xdvi.sourceforge.net/inverse-search.html>
and "7.2.1 Forward and inverse search" in the AucTeX manual.
Daniel.