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) >> >> ) >> )</home/adityam/media/opt/context-minimals/texmf-fonts/fonts/opentype/public/lm/lmroman12-regular.otf> >> > > 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 ___________________________________________________________________________________