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

Hans Hagen pragma at wxs.nl
Sun Apr 30 15:22:49 CEST 2006


nico wrote:
> 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  
> \makelocreadfilename seems to set improperly \readfilename, but I'm not  
> sure to understand correctly the code.
>   
\tracefilestrue

-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list