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
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
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
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
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.
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
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
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