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 ----------------------- 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 -----------------------------------------------------------------