# [OS X TeX] TexShop: problem switching preview and source

Berend Hasselman bhh at xs4all.nl
Sat Mar 24 16:29:30 EDT 2007

```I apologise for being such a bother.
I've managed to get it working by reorganising the folder structure
into something like this

X/main.tex
X/base/.....

And inserting the TEX root=... lines and setting a project root.
And using pdfsync.sty since my \input's are nested deeply.

Now I can jump back and forth between the pdf window and the source
file windows to my hearts content.
The first time I did the switching was with a single .tex file, I
realise now.

I'll just have to live with the different folder setup.

By going to the TexShop site and looking around in the Extra's
section, it was obvious that what I wanted should be possible.

Berend

On 24 Mar 2007, at 20:27, Berend Hasselman wrote:

>
> On 24 Mar 2007, at 19:36, Christian Burk wrote:
>
>>
>> Am 24.03.2007 um 16:53 schrieb Berend Hasselman:
>>
>>>
>>>
>>> I am using TexShop 2.10beta8 and the latest TexLive 2007.
>>>
>>> I am no longer able to switch between the Preview and Source
>>> windows by Command clicking on a word or phrase.
>>> This did work in a previous release of TexShop.
>>
>> Some user reported that deleting the plist file under Application
>> Support helped to get back the expected behaviour.
>>
>
> I didn't find anything in Application Support concerning TexShop.
> didn't help.
>
> I have tried pdfsync and that seems to work, up to a point.
>
> The folder setup for this project is as follows
>
> X/base/...  containing .tex files to be included
> X/var1/main.tex
> X/var2/main.tex
>
> The main.tex files \input files from ../base and  use different
> font packages.
>
> Using pdfsync I can jump to a .tex file from the preview window.
> The other way round seems impossible. I have tried setting project
> Root and using a %!TEX root=.. lines (temporarily since the main
> file is variable and not located in the same relative place).
>
> I have also noticed that for a project as in this case you must
> have the window containing the root file active for executing a
> typeset.
> Otherwise TexShop will typeset the wrong file and you'll get LaTeX
> errors.
>
> Berend
>
>
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>
>