On Mon, 6 Oct 2008, Mahn-Soo Choi wrote:

>> Hi,
>>
>> On Mon, 29 Sep 2008, Alex Hamann wrote:
>>
>>> Also note
>>> that pdfsync is deprecated. Use all new SyncTeX instead - maybe this
>>> will work even with spaces.
>>
>> Does SyncTeX work with Emacs, in aprticular Carbon Emacs? If yes, what
>> should be done to get it working?
>>
>> Roussanka
>
> It works in Carbon Emacs (2008 Summer Edition) + MacTeX 2008
> (MacTeX 2007 was missing the SyncTeX support).

I have the latest Carbon Emacs (2008 Summer Edition) + MacTeX 2008, very 
recently installed after clean reinstalling of OS X v.10.5.5.
I do not have any .tex files with spaces in their names.
But Emacs <-> Skim Sync jumping works only if I have the line
\usepackage{pdfsync} in the tex file, i.e., by pdfsync. If I take away 
this line the Emacs <-> Skim Sync jumping does not work.

What I am supposed to have in  ~/.emacs file?
I have what is said on the wiki (if I take this away, Sync still does not 
work):

;; Starts the Emacs server
(server-start)
;; The following provides only works with AUCTeX loaded
(require 'tex-site)
(add-hook 'TeX-mode-hook
          (lambda ()
            (add-to-list 'TeX-output-view-style
                         '("^pdf$" "."

"/Applications/Skim.app/Contents/SharedSupport/displayline %n %o %b")))
          )

In Skim Preferences -> Sync -> PDF-TeX Sync support:
Preset: Emacs
Command: emacsclient
Arguments: --no-wait +%line "%file"

Roussanka

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to