[NTG-context] \input behaves different

Hans Hagen pragma at wxs.nl
Wed Dec 24 20:17:17 CET 2008

Taco Hoekwater wrote:
> Hans van der Meer wrote:
>> MKii and MKiv differ in their behaviour of \input with respect to the 
>> .tex suffix.
>> Consider the following program:
>>   \starttext
>>   reading file1.tex: \input file1\par
>>   reading file1a: \input file1a\par
>>   \stoptext
>> Processing with mkii reads both files, but mkiv chokes on the second 
>> \input:
>> ! I can't find file `file1a'.
>> <to be read again>
>>                    \par
>> l.3 reading file1a: \input file1a\par
>> This seems a very nasty difference to me, because it will necessitate 
>> me to rename a great many files. Is this behaviour intended?
> I would advise against using filenames without an extension, but
> nevertheless it would be nice if aux.find_file (I hope I got the
> function name right) would at least test for the existance of
>   ./<filename>
> Hans (Hagen), is that OK with you?

it's indeed in that function but i need to check it careful because i 
don't want to mess up. I guess that i can do it just before here

                 if not done and doscan then
                     -- todo: slow path scanning


                                           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