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

2023-02-21 Thread Marco Patzer via ntg-context
On Wed, 21 Dec 2022 13:17:15 +0100 Hans Hagen via ntg-context wrote: > The next upload will have: > > \adddefaultsuffix[foo,{},crap] > \adddefaultsuffix[{}] > > \typefile{./crapcrap} > \typefile{crapcrap} > > which someone has to document on the wiki Apologies for taking so long. But I just

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

2022-12-21 Thread Marco Patzer via ntg-context
On Wed, 21 Dec 2022 13:17:15 +0100 Hans Hagen via ntg-context wrote: > > 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: > >

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

2022-12-21 Thread Hans Hagen via ntg-context
On 12/17/2022 6:27 PM, Marco via ntg-context wrote: On Sat, 17 Dec 2022 17:43:48 +0100 Otared Kavian 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.

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

2022-12-17 Thread Marco Patzer via ntg-context
On Sat, 17 Dec 2022 10:41:11 -0800 skyhorse--- via ntg-context wrote: > The context wiki says: > "When no file extension is specified the extension .tex is assumed." It's not on the page for typefile: https://wiki.contextgarden.net/Command/typefile And that surely makes sense for TeX

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

2022-12-17 Thread skyhorse--- via ntg-context
The context wiki says: "When no file extension is specified the extension .tex is assumed." Yes an error message should be displayed. By chance, do you have a file named "bar.tex" that would prevent this from being an error? skyhorse - Otared Kavian via ntg-context wrote: > Hi

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

2022-12-17 Thread Marco via ntg-context
On Sat, 17 Dec 2022 17:43:48 +0100 Otared Kavian 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

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

2022-12-17 Thread Marco Patzer via ntg-context
On Sat, 17 Dec 2022 16:25:01 +0100 Otared Kavian via ntg-context wrote: > If I create a file named « bar.txt » then > > \starttext > Nothing to say\dots > > \typefile{bar.txt} > > \stoptext > > gives the correct result. I can confirm that. > However ConTeXt seems to dislike \typefile{bar}

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

2022-12-17 Thread Otared Kavian via ntg-context
Hi Marco, If I create a file named « bar.txt » then \starttext Nothing to say\dots \typefile{bar.txt} \stoptext gives the correct result. However ConTeXt seems to dislike \typefile{bar} when the filename has no suffix. Best regards : Otared > On 17 Dec 2022, at 16:06, Marco Patzer via

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

2022-12-17 Thread Marco Patzer via ntg-context
Hi! In the following example the file “bar” is not included: # create file “bar” echo Bar > bar # t.tex \starttext Foo \typefile{bar} \stoptext Then run context --errors='*' t.tex The text “bar” is not included in the PDF, only Foo is. The log file shows: verbatims > file