[OS X TeX] is terminal sufficient?

Herbert Schulz herbs at wideopenwest.com
Thu Jun 30 15:38:09 CEST 2005


On Jun 30, 2005, at 7:59 AM, Jérôme Laurens wrote:

> Le 30 juin 05, à 01:38, Herbert Schulz a écrit :
>
>
>>
>> On Jun 29, 2005, at 5:24 PM, Gerben Wierda wrote:
>>
>>
>>>
>>> Does it work with multiple source files in various directories?
>>>
>>> G
>>>
>>>
>>>
>>
>> Howdy,
>>
>> I just played around with it bit and it seemed to work. Using  
>> \include{} with absolute paths didn't seem to compile; at least  
>> with \include{/Users/myname/Desktop/testf1/test1}. As long as I  
>> stayed with relative paths I was able to go two deep in two  
>> different directories off of the Desktop where the test.tex root  
>> file was located. I made sure that each of the included files had  
>> a line like
>>
>> %!TEX root = (relative path back to root)
>>
>> and was able to go sync in either direction between the .pdf and  
>> proper .tex file.
>>
>> Certainly a simple test and not exhaustive.
>>
>
> Were the source files already open in TeXShop?
>
>

Howdy,

No, they weren't already open; I assume they were opened by TeXShop  
from the \include{} reference.

I was careful about getting the ``%!TEX root = (rel/path/to/root)''  
line in each one correct but I don't see how that really means  
anything except when compiling from the included file's source window.

I did have problems compiling if the \include{} referenced a full  
path rather than a relative path from the root. Maybe that is because  
the full paths went through my /Users/myname/Desktop/ directory. At  
the time I wanted to test out the syncing and not the compiling.

Again, it was a fairly simple case with the root file and two folders  
on the Desktop and included files inside each of those folders as  
well as inside a folder inside one of those folders.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)


--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list