Re: [NTG-context] components and figure search paths

2006-05-10 Thread Hans Hagen
Sanjoy Mahajan wrote: Using components (e.g. book chapters), with each component in its own directory, say I have \startproduct onebook \project manybooks \component 1/chap \component 2/chap \stopproduct with this 1/chap.tex: \startcomponent 1/chap \product onebook \project manybooks

Re: [NTG-context] components and figure search paths

2006-05-10 Thread Sanjoy Mahajan
Is the idea to use \currentcomponentpath in the directory={...}? I put indeed I've just tried the version below, but abc-1.eps cannot be found (I also tried \noexpand\currentcomponentpath): % file: chap/1/c_ch1.tex \startcomponent c_ch1 \product onebook \project project_books

Re: [NTG-context] components and figure search paths

2006-05-10 Thread Hans Hagen
Sanjoy Mahajan wrote: Is the idea to use \currentcomponentpath in the directory={...}? I put indeed I've just tried the version below, but abc-1.eps cannot be found (I also tried \noexpand\currentcomponentpath): % file: chap/1/c_ch1.tex \startcomponent c_ch1 \product

Re: [NTG-context] components and figure search paths

2006-05-10 Thread Sanjoy Mahajan
so how is this component, when run on itself, supposed to locate itself, Not sure I completely understand your question. But if I run one component, I change to its directory first: cd chap/1 texexec c_ch1.tex Or is the canonical method: texexec chap/1/c_ch1.tex ? I've been in the

Re: [NTG-context] components and figure search paths

2006-05-10 Thread David Arnold
Hans and Sanjoy, I am doing something similar, so I am following this discussion closely. On my machine, the main directory is ~/Documents/IntAlgText/trunk. The main directory contains my environment files and book.tex (the project). Then I have these directories.

Re: [NTG-context] components and figure search paths

2006-05-10 Thread Sanjoy Mahajan
And the beginning lines in section1.tex look like this: \startcomponent section1 \project book \product chapter0/chapter0 Does it matter what you put after the \startcomponent? I'm always trying to figure out whether to use the full relative path or just the last piece of it. Would

Re: [NTG-context] components and figure search paths

2006-05-10 Thread Aditya Mahajan
On Thu, 11 May 2006, Sanjoy Mahajan wrote: I haven't tried to compile book.tex (too big), so I don't know if that works. It might work, though I remember reading on the list sometime that one isn't supposed to compile the project file -- only the components or the products. I had

[NTG-context] components and figure search paths

2006-05-09 Thread Sanjoy Mahajan
Using components (e.g. book chapters), with each component in its own directory, say I have \startproduct onebook \project manybooks \component 1/chap \component 2/chap \stopproduct with this 1/chap.tex: \startcomponent 1/chap \product onebook \project manybooks \title{One} An essential