ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* suppressing console output
@ 2014-03-19 14:17 Lars Huttar
  2014-03-19 15:03 ` Aditya Mahajan
  0 siblings, 1 reply; 15+ messages in thread
From: Lars Huttar @ 2014-03-19 14:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

I'm running context mkiv, version: 2013.05.28 00:36 (from the 2013 TeX
Live CD).
We're getting floods of output from context, including lots of Underfull
hboxes, and the names of .tex files that are being opened and closed.
This is all within a build script that does several other things besides
running context.
I'd like to suppress non-critical output from context so that other
important output from the script doesn't get so easily lost.
I'm already logging that output to a file, but I'd like to be able to
take advantage of the console as well.

I've tried the following command-line options to context, as suggested
by context --help:
--batchmode
--silent
--silent=typesetting
--noconsole

but none of these seem to have any effect on the output!
I could just have the script discard stdout from context; I'm not sure
how much of the output that would get rid of, but it may be good enough.
However it's not ideal.
(When an error occurs, as sometimes happens, I don't want the error
message and its context to be hidden while the console waits for the
user to respond blindly. I assume that would be on stderr anyway though...)

Can anyone tell me how to suppress non-critical messages from context as
it runs?

Thanks,
Lars

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-03-19 19:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-19 14:17 suppressing console output Lars Huttar
2014-03-19 15:03 ` Aditya Mahajan
2014-03-19 15:09   ` Hans Hagen
2014-03-19 15:15     ` Aditya Mahajan
2014-03-19 15:33       ` Hans Hagen
2014-03-19 15:37         ` Lars Huttar
2014-03-19 15:45           ` Hans Hagen
2014-03-19 16:37             ` Lars Huttar
2014-03-19 19:56               ` Hans Hagen
2014-03-19 15:29     ` Lars Huttar
2014-03-19 15:36       ` Hans Hagen
2014-03-19 15:46         ` Lars Huttar
2014-03-19 15:50           ` Wolfgang Schuster
2014-03-19 15:52           ` Aditya Mahajan
2014-03-19 15:54           ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).