26 Dec
2021
26 Dec
'21
2:48 p.m.
On Thu, 18 Nov 2021 19:27:25 +0100
Marco Patzer via ntg-context
Is there a way to return failure if *any* error is encountered or do they need to be enabled each individually?
A solution is to use patterns (supported in the upcoming upload): \enabledirectives [logs.errors=*] Alternatively use a compile-time switch: context --errors='*' <file> This will make the return value reflect the presence of an error. Further reading: https://wiki.contextgarden.net/Running_ConTeXt#--errors Marco