Cmd+L-klick in pdf-prieviw marks position in .toc-file

The official TeXShop Support Forum.

Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby sowatt » Sun Apr 15, 2012 12:46 pm

I make extensive use of this feature:
Cmd + left klick in the pdf-prieview window, marking the corresponding position in the .tex-file.

Sometimes, however, for no apparent reason, the corresponding position in the .toc-file is marked, not in the .tex-file. Then after a while, everything works again, and the position in the .tex-file is marked.

I have no explanation for this behavior.

What can I do, that ALWAYS the position in the .tex-file is marked?

Thanks!
sowatt
 
Posts: 9
Joined: Sun Apr 15, 2012 12:25 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby Herbert Schulz » Sun Apr 15, 2012 1:52 pm

Howdy,

This has to do with the way synctex works rather than TeXShop. I assume that the item you are Cmd-Clicking on an item that appears in the TOC so the synctex reference points directly the file that is read into the document, the .toc file.

Also, what engine are you using to typeset the document? It is know that xe(la)tex in TeX Live 2011 (from MacTeX-2011) has an incorrect offset and doesn't reference sync positions correctly.
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby sowatt » Mon Apr 16, 2012 8:32 am

To my shame I must confess I can't do anything with terms like 'offest', 'engine', 'synctex reference point', etc.

I am just a total LaTex noob, who has to work in the basics very(!) quickly, and who is thankful for such a great pice of software like TexShop.

I have seen that it if Cmd + Mouse-L in preview window mark the corresponding position in the TOC file, then it doesn't matter which item I click on, it always marks the position in the TOC file.

Meanwhile I have figured out, however, that as soon as I left click (+cmd) in the source file, markin the position in the preview window, everything works again.

As already mentioned, this seems very strange to me :)
sowatt
 
Posts: 9
Joined: Sun Apr 15, 2012 12:25 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby Herbert Schulz » Mon Apr 16, 2012 1:20 pm

Howdy,

Could you provide a small but complete file that can be compiled that shows this behavior?
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby sowatt » Mon Apr 16, 2012 3:24 pm

This can happen with every file.

Nevermind! As already mentioned, as soon as I use this feature in the other direction (cmd + left klick in the source code) everything works fine again!

Thanks!

Roman
sowatt
 
Posts: 9
Joined: Sun Apr 15, 2012 12:25 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby Herbert Schulz » Mon Apr 16, 2012 4:14 pm

Howdy,

Well, it can't happen if there is not .toc file produced. I can't get it to happen at this end with a file that has a toc file produced. so it can't happen with every file. I'd really like to be able to find out what is going on so I'd appreciate it if you could produce a simple example and explain exactly what you are doing so I can reproduce it on my system.
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby sowatt » Mon Apr 16, 2012 4:34 pm

Seriously, I am not crazy and I am not giving you the run-around :) :

The problem doesn't happen anymore. I made an update now. Maybe it has to do with this. I tried to reproduce the problem again.

I can only tell you how it happend step by step:

cmd+L ........ cmd-key + left mouse

1.)
I cmd+L in the preview window
--> corresponding position in the toc-file is marked

2.)
Tried it again, at different items, always the same:
--> corresponding position in the toc-file is marked

3.)
I cmd+L in the source file (at least once).
--> corresponding position in the preview-window is marked

4.)
I tried again to cmd+L in the preview window
--> corresponding position in the source-file is marked
sowatt
 
Posts: 9
Joined: Sun Apr 15, 2012 12:25 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby Herbert Schulz » Mon Apr 16, 2012 6:21 pm

Howdy,

What did you update?
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby sowatt » Tue Apr 17, 2012 12:22 pm

I updated MacOS X to 10.6.8
sowatt
 
Posts: 9
Joined: Sun Apr 15, 2012 12:25 pm

Re: Cmd+L-klick in pdf-prieviw marks position in .toc-file

Postby Herbert Schulz » Tue Apr 17, 2012 12:50 pm

Howdy,

I don't see how that could change anything as far as TeXShop's or synctex's behavior is concerned.

What version of TeXshop are you using? What version of MacTeX (TeX Live) is installed on your system?
Good Luck,
Herb Schulz
Herbert Schulz
 
Posts: 1489
Joined: Thu May 12, 2005 2:31 pm

Next

Return to TeXShop (engl.)

Who is online

Users browsing this forum: No registered users and 1 guest

cron