On Mar 1, 2011, at 16:01, Artemio González López wrote:
> 
> I have been using the latest Skim (1.3.12) with the just released Lion 
> Developer Preview for a couple of days with no problems at all, except for an 
> annoying glitch. Namely, although inverse search works well, forward search 
> (i.e. displayline) just takes you to the first page of the corresponding pdf 
> file, regardless of where you are in the tex file. I am using emacs.app and 
> auctex, but I think the problem definitely lies with displayline (and Lion), 
> since if I execute
> 
> displayline 1000 foo.pdf foo.tex
> 
> from the Terminal I get exactly the same behavior (jump to foo.pdf's first 
> page, not to line 1000).
> 
> Does anybody have any idea of what's going on, or suggestions on how to fix 
> this?
> 
> Cheers,
> 
> Artemio
> 
> On Mar 2, 2011, at 10:04, Christiaan Hofman wrote:
> 
>> No idea, I don't have Lion so I cannot check this. It could be AppleScript, 
>> have you tried testing that? Or perhaps it's a timing issue, does it matter 
>> whether the file was already open or not? And do you see any console logs? 
>> If you want to answers you should try testing yourself, start with the 
>> AppleScript, testing out the pieces.
>> 
>> Christiaan

Christiaan,

I don't think it's a timing issue, since i) the problem happens when the pdf 
file is open, and ii) Skim is activated and the cursor goes to the 
corresponding pdf window, but it doesn't move to the correct line. So I agree 
with you, it's probably an AppleScript problem.I would be more than glad to 
test this thing and let you know what the problem is (if I find out;.). Do you 
have any suggestions as to the possible things to try? (For instance, I tried 
to execute the displayline script directly from the Terminal, to discard any 
possible problems with Emacs/auctex, and the behavior was exactly the same).

Thanks for your help,

Artemio
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to