On Fri, 25 Jan 2008, Christiaan Hofman wrote: > I think you misunderstand. Cmd-shift-click is to go from Skim to the > tex source. To go to Skim you just activate the view command from the > menu.
How do I do that? Whose View command, Skim's or Emacs'? Most likely, Emacs' C-c C-v? If so, it does work. Skim is indeed very beautiful. Now the next thing that turmoils me is that it doesn't work with simpdftex because I have quite many tex files that depend on dvips. Some advise? (For using PDFview with simpdftex, I have a workaround.) Roussanka > > Christiaan > > On 25 Jan 2008, at 1:56 AM, Roussanka Loukanova wrote: > >> 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 ------------------------------------------------------------------------- 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