From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86706 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Re: suppressing console output Date: Wed, 19 Mar 2014 11:37:40 -0400 Message-ID: <5329B9C4.4090301@sil.org> References: <5329A6E9.7060608@sil.org> <5329B31D.9040806@wxs.nl> <5329B8CA.4060709@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1395243470 23652 80.91.229.3 (19 Mar 2014 15:37:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2014 15:37:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 19 16:38:00 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WQIZ5-0004yw-1s for gctc-ntg-context-518@m.gmane.org; Wed, 19 Mar 2014 16:37:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B95FC10221; Wed, 19 Mar 2014 16:37:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FNFX342tOoli; Wed, 19 Mar 2014 16:37:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DFEB2101FD; Wed, 19 Mar 2014 16:37:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B23E2101FD for ; Wed, 19 Mar 2014 16:37:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IlSZkJGlB6h9 for ; Wed, 19 Mar 2014 16:37:53 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id D51CB101F0 for ; Wed, 19 Mar 2014 16:37:43 +0100 (CET) Original-Received: from mail-yh0-f53.google.com (mail-yh0-f53.google.com [209.85.213.53]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2JFbf1q011489 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 19 Mar 2014 16:37:42 +0100 Original-Received: by mail-yh0-f53.google.com with SMTP id v1so8751818yhn.12 for ; Wed, 19 Mar 2014 08:37:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=08fNcE/Rze4W0y8KNcGxAlTfcNLAag/RMeYhHagaoZ8=; b=C10XdTiXvWOWKN/b7bLySs4H0+IgtdcR7k3x01HTxElKZ20ncZIzPjInmQLdd6dvyN qmR1JqNoW0Gg/Y3POhDh1i+SFvLx7H/+KIXgV3LiUK/AVpdvy4wmzCsI0iWpiB0R8q28 Iatxlt6jCO+b+VEokvYahOZZmghOy3HW3+fZZh3y1iAtT28e7JwODS3cYZ3ngJU0x5e7 zXAYIVASy2J50EMOla7HTMOcGzbvwSUPtPOTMWaqGIWI/k2ypAKcHHaxthR4IwANGOpE M0R0GaB/PYB1GWxOX5vgXJqpoSn3KRcs4DtAqHZ2Zxz54MHXdPz41HN4Xlj9nKTZ1HUy U2ZQ== X-Gm-Message-State: ALoCoQljxds+gN1CWmBOPzWST4IKhnPizdS36OAbhrpDqTgzCmbNNkOLrXSrCrpHt05kw8YATdL6 X-Received: by 10.236.129.227 with SMTP id h63mr2475935yhi.148.1395243461214; Wed, 19 Mar 2014 08:37:41 -0700 (PDT) Original-Received: from [172.22.10.178] ([162.40.29.3]) by mx.google.com with ESMTPSA id b7sm44064338yhm.18.2014.03.19.08.37.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Mar 2014 08:37:40 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: <5329B8CA.4060709@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=209.85.213.53; country=US; region=California; city=Mountain View; latitude=37.4192; longitude=-122.0574; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06LDrBGDn - a6ee486aec41 - 20140319 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86706 Archived-At: On 3/19/2014 11:33 AM, Hans Hagen wrote: > On 3/19/2014 4:15 PM, Aditya Mahajan wrote: >> On Wed, 19 Mar 2014, Hans Hagen wrote: >> >>> On 3/19/2014 4:03 PM, Aditya Mahajan wrote: >>>> On Wed, 19 Mar 2014, Lars Huttar wrote: >>>> >>>>> Can anyone tell me how to suppress non-critical messages from >>>>> context as >>>>> it runs? >>>> >>>> There are two types of messages that ConTeXt generates: Messages that >>>> come from TeX engine and messages that come from ConTeXt macro >>>> code. If >>>> you use >>>> >>>> context --noconsole filename >>>> >>>> the messages from ConTeXt are suppressed. I don't know of a way to >>>> suppress messages that originate from TeX engine. >>> >>> \dontcomplain >> >> And what about these messages: >> >> context --noconsole test >> >> mtx-context | warning: no (local) file './test', proceeding >> mtx-context | run 1: luatex >> --fmt="/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" >> >> --jobname="test" >> --lua="/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" >> >> --no-parse-first-line --c:currentrun=1 --c:directives="logs.target=file" >> --c:fulljobname="./test" --c:input="./test" --c:kindofrun=1 >> --c:maxnofruns=8 --c:noconsole "cont-yes.mkiv" >> This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) >> \write18 enabled. >> (/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-yes.mkiv >> >> >> >> ConTeXt ver: 2013.12.24 17:52 MKIV beta fmt: 2013.12.24 int: >> english/english >> >> (/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv) >> >> (/tmp/test.tex{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/pdftex/context/mkiv-base.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-math.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-rm.map} >> >> (/home/adityam/media/opt/context-minimals/texmf-context/tex/context/sample/knuth.tex) >> >> ) >> ) >> > > currently there is no callback for open/close file message but at some > point we can also intercept these (low priority, to be done when the > luatex io is cleaned up) > > Hans > Thanks. In our case these amount to pages and pages of output, because our document consists of many many files that reference each other (including images). So I would vote a big +1 for that change. 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 ___________________________________________________________________________________