On 11 Aug 2008, at 9:56 PM, Maxwell, Adam R wrote: > > > > On 08/11/08 12:40, "Christiaan Hofman" <[EMAIL PROTECTED]> wrote: > >> >> On 11 Aug 2008, at 9:15 PM, Maxwell, Adam R wrote: >> >>> On 08/11/08 11:01, "Charilaos Skiadas" <[EMAIL PROTECTED]> wrote: >>> >>>> On Aug 11, 2008, at 1:01 PM, Christiaan Hofman wrote: >>>> >>>>> I think I know what the problem is, and already have committed a >>>>> fix. >>>>> I can't test it ATM as I don't have a tex distribution with >>>>> synctex >>>>> support at present (I've got gwTeX). >>>> >>>>> You could try and build Skim from >>>>> source and test if it works. >>>> >>>> I will give that a try, though it has been a while since I compiled >>>> anything ;) >>> >>> It still doesn't work correctly using the latest TextMate and >>> bundles from >>> svn along with Skim from svn. Skim does not select the correct >>> region. >>> Using iTeXMac2 with the same synctex file works great, so the >>> error is >>> either in TextMate or Skim (and I've no time to figure out which). >>> >> >> Does it find the right page? > > If it highlights anything, it seems to be on the right page, but off > by a > paragraph or two. > >> I'm assuming it's using the same >> coordinates pdfsync does. That's also what another app using synctex >> is doing. Strangely I have not been able to find any reference >> whatsoever to synctex in the iTeXMac2 source. > > Looks like it's on a branch: > > http://itexmac.svn.sourceforge.net/viewvc/itexmac/itexmac2/branches/536%2B/i > TM2PDFKit/iTM2PDFKit.m?revision=729&view=markup > > -- > Adam
Yea, I just found it. Then find the right stuff, his setup makes it extremely hard to find anything. Wonder if he did that on purpose? Seems synctex uses a completely different coordinate system (same scale as PDF but inverted, while pdfsync's is scaled by 65536 and is not inverted). Moreover the lines are apparently offset by one. Think it should be fixed now. Christiaan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
