Halt ConTeXt on Certain Warnings/Errors
Hi all, Is there are way I can have ConTeXt halt on particular warnings or errors? In particular, I like it to spit the dummy when it finds an unknown reference. Otherwise, I end up with the unknown references in the document that I sometimes don't find until much later. At the moment I grep for "reference" when I run context, as in context *.tex | grep reference ...but I thought there might be some more elegant way to do this. Thank you, Malte. -- “The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.” ― Douglas Adams, Dirk Gently's Holistic Detective Agency
On 6/17/2013 2:05 PM, Malte Stien wrote:
Hi all,
Is there are way I can have ConTeXt halt on particular warnings or errors? In particular, I like it to spit the dummy when it finds an unknown reference. Otherwise, I end up with the unknown references in the document that I sometimes don't find until much later.
At the moment I grep for "reference" when I run context, as in
context *.tex | grep reference
...but I thought there might be some more elegant way to do this.
That's not built in. Keep in mind that often multiple passes are used to resolve references so it would be rather fuzzy too. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Malte Stien