[OS X TeX] Sync with ConTeXt

Steffen Wolfrum osxtex_2 at st.estfiles.de
Sat Sep 17 18:08:32 CEST 2005


Am 16.09.2005 um 23:59 schrieb Herbert Schulz:

>
> On Sep 16, 2005, at 10:30 AM, Steffen Wolfrum wrote:
>
>
>> Hi,
>>
>> using TeXShop 2.03 I was very glad that syncing seems to work even  
>> with ConTeXt's project structure.
>>
>> But unfortunately it "only" works from source to pdf (well,  
>> already quite useful):
>> Clicking in the pdf has no effect (although my component file  
>> starts with
>> %!TEX TS-program = context
>> %!TEX root = ../main.tex
>>
>> Is syncing with ConTeXt not yet fully supported -
>> or is there a work-around for the pdf->source jump  that I don't  
>> know?
>>
>> Thanks,
>> Steffen
>>
>
> Howdy,
>
> I hope I'm not asking a silly question here but... is ../main.tex  
> really the relative path from the ``chapter'' file to the root  
> file? If the root file is named george.tex and is in the same  
> directory as the chapter files the line would be
>
> %!TEX root = george.tex
>
> If it was one directory above the chapter file it would be
>
> %!TEX root = ../george.tex
>
> where the ../ meanws go up one directory in the hierarchy.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)



I wouldn't call it a silly question … but, yes:
../main.tex is really the relative path from the ``chapter'' file to  
the root file. That's OK.

When I open a chapter file and typeset, then TeXShop opens the root  
file for typesetting and shows the resulting PDF.
Back to one of the chapter files I can command-click and jump to the  
corresponding place in the PDF.
This works great.
The other way round doesn't show any effect.

Steffen------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the Macostex-archives mailing list