# [NTG-context] relative file locations when compiling from different folders (in projects)

Hans Hagen pragma at wxs.nl
Fri Oct 3 20:15:04 CEST 2008

```Mojca Miklavec wrote:
> Hello Hans,
>
> On Wed, Oct 1, 2008 at 12:49 PM, Hans Hagen wrote:
>> Mojca Miklavec wrote:
>>> Hello,
>>>
>>> I'm just wondering if there's some recipe about how to simplify the
>>> work when icluding other files and images in projects, when one is
>>> compiling from different folders.
>> \usepath[..]
>> \usesubpath[...] (on top of paths)
>> \setupexternalfigures[directory={.....}]
>
> Great!
>
> I knew that there must be some secret to do it in some more elegant
> way than I was trying to cook up.

you don't want to know how old these features are

Hans

-----------------------------------------------------------------