On 12 Aug 2008, at 6:24 PM, Maxwell, Adam R wrote:
> On 08/12/08 09:16, "Christiaan Hofman" <[EMAIL PROTECTED]> wrote:
>>
>> On 12 Aug 2008, at 5:22 PM, Maxwell, Adam R wrote:
>>
>>> On 08/12/08 01:55, "Christiaan Hofman" <[EMAIL PROTECTED]> wrote:
>>>
>>>> Could someone test synctex in both directions with the current
>>>> source?
>>>
>>> TextMate->Skim works, although lines might be off-by-one.
>>
>> This may be due to the offset of the line number (0-based or 1-
>> based).
>> Though Skim is making the same assumptions as every other pdfsync
>> implementation I have seen (TeXniscope, PDFView, iTeXMac, iTeXMac2,
>> TeXShop, auctex).
>
> Quite possible. TextMate's line numbers in the gutter start from 1,
> so
> presumably that's what gets passed to Skim.
I've changed it to 1-based, as at least some editors seem to expect
that, including apparently TextMate. It also makes more sense for
AppleScript. I don't think we can satisfy everybody, especially as
it's generic and involves many different apps.
>
>> About the abstract, what is the source file supposed to be? Is it
>> a .tex file?
>
> Yes. The entire manuscript is actually in a single .tex file to
> meet AGU
> requirements. I'll see if I can reproduce it with a simpler case,
> since
> posting this isn't an option.
>
> --
> Adam
This is what agutex.cls does:
* The 'abstract' environment is defined as setting the command
\theabstract to the content of the block.
* The command \article is defined to call, among other things,
\theabstract
* In latex, \begin{anything} is defined as calling the command
\anything plus some bookkeeping
This means that the actual typesetting of the abstract takes place
when \begin{article} is called. This is why synctex associates the
whole abstract with \begin{article}.
Now, iTeXMac2 can get it more precise because it sends along part of
the text and character index and searching a word at the other side.
Of course it can do that because it combines viewer and editor.
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