Only thing you have to do is to copy the script in Skim.app/Contents/ 
SharedSupport/displayline, edit it by removing the 'activate' line,  
save it somewhere and call that script instead.

Christiaan

On 25 Jan 2008, at 2:38 AM, Roussanka Loukanova wrote:

> Thanks a lot for the quick response. I'll see if I can dare to try the
> patching of sympdftex in the coming days. I think the best would be a
> professional to get that directly in Skim :-)
>
> Roussanka
>
> On Fri, 25 Jan 2008, Christiaan Hofman wrote:
>
>>
>> On 25 Jan 2008, at 2:15 AM, Roussanka Loukanova wrote:
>>
>>> 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.
>>>
>>
>> It's in Emacs, yes.
>>
>>> 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
>>>
>>
>> You need to patch simpdftex or use an alternative command or script.
>> There's a patched version available from one of our users: <http://
>> phaseportrait.blogspot.com/2007/07/skim-automatic-refreshes-and-
>> simpdftex.html>.
>>
>> Christiaan
>>
>>>>
>>>> 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


-------------------------------------------------------------------------
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