[NTG-context] \typefile not including file and returning success

Hans Hagen j.hagen at freedom.nl
Wed Dec 21 13:17:15 CET 2022


On 12/17/2022 6:27 PM, Marco via ntg-context wrote:
> On Sat, 17 Dec 2022 17:43:48 +0100
> Otared Kavian <otared at gmail.com> wrote:
> 
> Thanks for your quick reply.
> 
>> It seems that one can fool ConTeXt into typing a file without suffix
>> by giving the path to that file…
> 
> That works, I can confirm.
> 
>> \typefile{/Users/kavian/Context/essais/mkiv/bar-bis}
> 
> Hard-coded absolute paths in TeX files are something I avoid, but I
> assume that's just for demonstration here.
> 
>> \typefile{./bar-bis}
> 
> That works as well. It's a workaround at least.
> 
> But context returning success when it clearly doesn't include the
> file is unfortunate. The missing file might go completely unnoticed.
> I'd expect an error there.
The next upload will have:

\adddefaultsuffix[foo,{},crap]
\adddefaultsuffix[{}]

\typefile{./crapcrap}
\typefile{crapcrap}

which someone has to document on the wiki

Hans

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



More information about the ntg-context mailing list