# [NTG-context] \typefile with a file in \usepath fails

nico nicolas.marsgui at libertysurf.fr
Sun Apr 30 14:23:05 CEST 2006

```On Sun, 30 Apr 2006 12:33:20 +0200, Hans Hagen <pragma at wxs.nl> wrote:

> nico wrote:
>> Hello,
>>
>> \typefile does not output a file not in the current directory but
>> available from a path defined by \usepath. It sounds like a bug since
>> the
>> file is actually found; if not, a message telling that the file does not
>> exist would be printed.
>>
>> Example:
>> \usepath[/path/to/my/file]
>> \typefile{filebasename}
>>
>>
> what version of context do you run? i though that i added support for
> that some time ago

Version 2006.04.27.

\dodotypefile checks where the file is, but a following call to