Hi,

I am trying Skim as the pdf viewer from Carbon Emacs (of 2008-01-18) by 
Seiji Zenitani. I have put in my ~/.emacs file the code from wiki.

I have problems:

- Emacs is not able to jump to the relevant page in the PDF document by 
Command-Shift-Clicking on a point in the file.tex in Emacs. I get:
<M-S-mouse-1> is undefined.

the code in ~/.emacs is:

;; Starts the Emacs server
(server-start)

;; Auto-raise Emacs on activation
(defun raise-emacs-on-aqua()
   (shell-command "osascript -e 'tell application \"Emacs\" to activate' &"))
;;  (do-applescript "tell application \"Emacs\" to activate"))
;; the option with & above splits emacs window and opens *Async Shell Command*

;; Show TeX line in PDFView or Skim
(add-hook 'server-switch-hook 'raise-emacs-on-aqua)

;; The following 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")))
          )


-- 
Roussanka
------------------------------------------------
Roussanka Loukanova
Computational Linguistics
Dept. of Linguistics and Philology
Uppsala University
P.Box 635, Uppsala 751 26, Sweden
--------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to