The help (command "context") tells me:

mtx-context     | --noconsole            disable logging to the console 
(logfile only)
mtx-context     | --batchmode            run without stopping and do not show 
messages on the console

However, neither lives up to its promise. See the two sample runs below.
Because I would like to run context silently from within a Lua program, I would 
appreciate if this can be repaired.

Hans van der Meer

105 videots: context --noconsole --once eng-dvb.tex

mtx-context     | run 1: luatex 
--fmt="/Users/hansm/TeX/context-10/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
 --jobname="eng-dvb" 
--lua="/Users/hansm/TeX/context-10/tex/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="./eng-dvb.tex" --c:input="./eng-dvb.tex" --c:kindofrun=3 
--c:maxnofruns=1 --c:noconsole --c:once "cont-yes.mkiv"
This is LuaTeX, Version beta-0.76.0-2013040508 (rev 4627)
 \write18 enabled.
(/Users/hansm/TeX/context-10/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.05.10 15:05 MKIV beta  fmt: 2013.5.10  int: english/english

(/Users/hansm/TeX/context-10/tex/texmf-context/tex/context/base/cont-new.mkiv) 
(/Users/hansm/Projects/Lua/programs/videots/eng-dvb.tex{/Users/hansm/TeX/context-10/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/hansm/TeX/context-10/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/Users/hansm/TeX/context-10/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
 ) 
)</Users/hansm/TeX/context-10/tex/texmf/fonts/opentype/public/lm/lmroman6-regular.otf></Users/hansm/TeX/context-10/tex/texmf/fonts/opentype/public/lm/lmroman6-bold.otf>
system          | total runtime: 6.930
106 videots:

106 videots: context --batchmode --once eng-dvb.tex

mtx-context     | run 1: luatex 
--fmt="/Users/hansm/TeX/context-10/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
 --interaction="batchmode" --jobname="eng-dvb" 
--lua="/Users/hansm/TeX/context-10/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
 --no-parse-first-line --c:batchmode --c:currentrun=1 
--c:fulljobname="./eng-dvb.tex" --c:input="./eng-dvb.tex" --c:kindofrun=3 
--c:maxnofruns=1 --c:once "cont-yes.mkiv"
This is LuaTeX, Version beta-0.76.0-2013040508 (rev 4627)
 \write18 enabled.
system          > 'cont-new.mkiv' loaded
system          > files > jobname 'eng-dvb', input './eng-dvb', result 'eng-dvb'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active

<LINES DELETED>

mkiv lua stats  > luatex banner: this is luatex, version beta-0.76.0-2013040508 
 (tex live 2013/dev)(rev 4627)
mkiv lua stats  > control sequences: 37310 of 65536 + 100000
mkiv lua stats  > current memory usage: 77 MB (ctx: 67 MB)
mkiv lua stats  > runtime: 6.755 seconds, 11 processed pages, 11 shipped pages, 
1.628 pages/second

system          | total runtime: 6.934




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

Reply via email to