Hi all,
The good news is i got it to work and it works great now! - but here is what
the problem was:
Since this is the first anyone has heard of this I decided to play
around with is. I tried it on another file and it worked ok so I tried
to find the problem with the document I was currently using. The
problem is pretty weird especially considering the fact it worked with
PDFview and Texniscope.
basically I have a directory that is all capitalized and if I descend
into that directory without using the right commands it won't work
because the pwd and the actual one are different - basically here are
the ways I can reproduce the problem:
The correct file directory is ~/TEMP (capitalized!) and the file is pbc.tex
- now do the following:
THIS CAUSES THE PROBLEM:
:~ hurstj$ cd temp
:~/temp hurstj$ /Applications/Skim.app/Contents/SharedSupport/displayline 200
pbc.pdf pbc.tex
:~/temp hurstj$ /Applications/Skim.app/Contents/SharedSupport/displayline 100
pbc.pdf pbc.tex
This will work for the first command - but no other subsequent ones -
noticed that the actual directory is ~/TEMP but somehow it sill allowed
me to go into ~/temp (which does not exist) and run commands in this
directory that does not exist!
THIS IS WHAT WORKS:
:~ hurstj$ cd TEMP
:~/TEMP hurstj$ /Applications/Skim.app/Contents/SharedSupport/displayline 200
pbc.pdf pbc.tex
:~/TEMP hurstj$ /Applications/Skim.app/Contents/SharedSupport/displayline 100
pbc.pdf pbc.tex
because of course we are in the actual capitalized directory that actually
exists!
Its just weird that the OS allows you to go into the lower case
directory that doesn't even exist and that PDFview and TeXniscope
worked with the wrong (lowercase) directory.
So in summary everything works good - you just have to use caution that
your OS is actually descending in a directory that actually exists!
Here is my system information in case anyone cares to investigate:
I'm using 10.4.11 Tiger. I used PDFview and have no problems,
TeXniscope too. I even tried the old (2004) and the newer 2007
versions of psfsync. On the latex end I use pdfeTeX, Version
3.141592-1.30.4-2.2 (Web2C 7.5.5).
> From: [EMAIL PROTECTED]
> Date: Mon, 10 Dec 2007 23:45:03 +0100
> To: [email protected]
> Subject: Re: [Skim-app-users] forward searching: must close current Skim
> window
>
> Are you using Leopard or Tiger? I have no problem with this on Tiger.
>
> Christiaan
>
> On 10 Dec 2007, at 11:06 PM, Joshua Hurst wrote:
>
> > The displayline script works fine - it opens Skim to the right place.
> > But if I issue the command a second time the current Skim window will
> > not readjust its position - it says right where it is. But if I close
> > the window and issue the command again it open another Skim window in
> > the right place.
> >
> > How can I make it so that it will automatically readjust the window
> > position when I use the displayline command without having to close
> > each
> > window?
> >
> > In other words I would like to issue these commands:
> >
> > /Applications/Skim.app/Contents/SharedSupport/displayline 1 pbc.pdf
> > pbc.tex
> > /Applications/Skim.app/Contents/SharedSupport/displayline 100
> > pbc.pdf
> > pbc.tex
> > /Applications/Skim.app/Contents/SharedSupport/displayline 200 pbc.pdf
> > pbc.tex
> >
> > one after another and watch the current window adjust its position
> > accordingly without having to close the current window and issue the
> > command again.
> >
> > Let me know if this is an easy fix or perhaps a known problem.
> >
> > Thanks,
> >
> > Josh
>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Skim-app-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skim-app-users
_________________________________________________________________
You keep typing, we keep giving. Download Messenger and join the i’m Initiative
now.
http://im.live.com/messenger/im/home/?source=TAGLM
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users