[NTG-context] usepath?

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Sep 29 19:18:24 CEST 2011


Am 29.09.2011 um 18:54 schrieb Meer, H. van der:

> This didn't work for me. I guess it has to do with some misunderstanding about the directory from where projects start reckoning. The directory structure is:
> 
> directory-project
> directory-project/product (context runs from here)
> directory-project/product/component-a-subfiles
> directory-project/product/component-b-subfiles
> 
> Code in directory-project/product/component-a-subfile does \input but cannot find files in directories below or in directories alongside. My question is "from what directory starts the search tree?

When you process the product it starts from the directory where the product is (directory-project/product) and when you process a component it starts from the directory where the component files is (“directory-project/product/component-a-subfiles” or “directory-project/product/component-b-subfiles”). You problem could be that you use \input to load the components but you need the \component command.

Wolfgang


More information about the ntg-context mailing list