On Sun, 30 Apr 2006 18:59:53 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote:

> nico wrote:
>> On Sun, 30 Apr 2006 15:22:49 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote:
>>>>> 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.
> it's
> \makelocreadfilename{#3}%
> that does the search

With the following patch it works: the \filepath found is used to expand  
the filename. \makelocreadfilename is still used, but i don't understand  
its role.

      \donetrue % sets \readfilename
         {\donetrue\def\readfilename{\pathplusfile{\filepath}{#3}}} % here  
the filename is absolute
      \startpacked % includes \bgroup
       % still use this macro, but applied to \readfilename instead of #3

Now it can wait a real fix :-)

ntg-context mailing list

Reply via email to