[NTG-context] finding project files in parent dirs automatically

2006-04-08 Thread Sanjoy Mahajan
I'm learning how to use projects/products/components, and have got reasonably far. However, I'm confused about far upwards context searches for the configuration files (product/project/environment files). Here's a directory structure that worked fine: double/chap/1/c_ch1.tex double/prd_oom.tex d

Re: [NTG-context] finding project files in parent dirs automatically

2006-04-08 Thread Taco Hoekwater
Sanjoy Mahajan wrote: > So the project and environment files got read in. By the way, why isn't > the product file loaded? Is it not needed when making just one > component? But it could modify the environment. It could modify the environment, but it shouldnt. So I guess Hans never considered l

Re: [NTG-context] finding project files in parent dirs automatically

2006-04-08 Thread Sanjoy Mahajan
From:Taco Hoekwater <[EMAIL PROTECTED]> > > Is there a hardcoded limit on how far up context searches? > > Like you just discovered, it searches three levels (current, parent, > grandparent). The max level is defined in this macro: > >\def\maxreadlevel{3} > > You can simply redefine the

Re: [NTG-context] finding project files in parent dirs automatically

2006-04-09 Thread Hans Hagen
Sanjoy Mahajan wrote: > From:Taco Hoekwater <[EMAIL PROTECTED]> > >>> Is there a hardcoded limit on how far up context searches? >>> >> Like you just discovered, it searches three levels (current, parent, >> grandparent). The max level is defined in this macro: >> >>\def\maxreadle

Re: [NTG-context] finding project files in parent dirs automatically

2006-04-10 Thread Sanjoy Mahajan
Taco Hoekwater <[EMAIL PROTECTED]> wrote: > [the product file] could modify the environment, but it shouldnt. That ability might be useful. For example, a project with a textbook, teacher's guide, and solutions manual as the products might want different papersizes for each product. Or some prod