From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83195 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: context command behaviour Date: Wed, 26 Jun 2013 08:05:10 +0000 Message-ID: <1F08E0B8-31A2-4EC0-A38D-3A8AC85F5DB3@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1403514125==" X-Trace: ger.gmane.org 1372233934 26960 80.91.229.3 (26 Jun 2013 08:05:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2013 08:05:34 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 26 10:05:36 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UrkjO-0003Y2-1e for gctc-ntg-context-518@m.gmane.org; Wed, 26 Jun 2013 10:05:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 43337101F1; Wed, 26 Jun 2013 10:05:33 +0200 (CEST) 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 YH+t7u+DtwDJ; Wed, 26 Jun 2013 10:05:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E8486101E5; Wed, 26 Jun 2013 10:05:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3996101E5 for ; Wed, 26 Jun 2013 10:05:27 +0200 (CEST) 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 dCvDZHU5FM7P for ; Wed, 26 Jun 2013 10:05:22 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id B7AF6101E0 for ; Wed, 26 Jun 2013 10:05:12 +0200 (CEST) Original-Received: from HUB02.uva.nl (hub02.uva.nl [146.50.108.231]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5Q85CD3017584 for ; Wed, 26 Jun 2013 10:05:12 +0200 Original-Received: from MBX02.uva.nl ([169.254.2.218]) by HUB02.uva.nl ([::1]) with mapi id 14.03.0146.000; Wed, 26 Jun 2013 10:05:11 +0200 Thread-Topic: context command behaviour Thread-Index: AQHOckPhbwEzVHtqTU6CuL36lcAzVA== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.231; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NJQU5cX7 - ec6a2c4e450e - 20130626 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:83195 Archived-At: --===============1403514125== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_1F08E0B831A24EC0A38D3A8AC85F5DB3uvanl_" --_000_1F08E0B831A24EC0A38D3A8AC85F5DB3uvanl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The help (command "context") tells me: mtx-context | --noconsole disable logging to the console (lo= gfile only) mtx-context | --batchmode run without stopping and do not sh= ow 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 w= ould appreciate if this can be repaired. Hans van der Meer 105 videots: context --noconsole --once eng-dvb.tex mtx-context | run 1: luatex --fmt=3D"/Users/hansm/TeX/context-10/tex/te= xmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/lua= tex/cont-en" --jobname=3D"eng-dvb" --lua=3D"/Users/hansm/TeX/context-10/tex= /texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/= luatex/cont-en.lui" --no-parse-first-line --c:currentrun=3D1 --c:directives= =3D"logs.target=3Dfile" --c:fulljobname=3D"./eng-dvb.tex" --c:input=3D"./en= g-dvb.tex" --c:kindofrun=3D3 --c:maxnofruns=3D1 --c:noconsole --c:once "con= t-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.mk= iv ConTeXt ver: 2013.05.10 15:05 MKIV beta fmt: 2013.5.10 int: english/engl= ish (/Users/hansm/TeX/context-10/tex/texmf-context/tex/context/base/cont-new.mk= iv) (/Users/hansm/Projects/Lua/programs/videots/eng-dvb.tex{/Users/hansm/Te= X/context-10/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/hansm/TeX/con= text-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} ) ) system | total runtime: 6.930 106 videots: 106 videots: context --batchmode --once eng-dvb.tex mtx-context | run 1: luatex --fmt=3D"/Users/hansm/TeX/context-10/tex/te= xmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/lua= tex/cont-en" --interaction=3D"batchmode" --jobname=3D"eng-dvb" --lua=3D"/Us= ers/hansm/TeX/context-10/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781= ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:b= atchmode --c:currentrun=3D1 --c:fulljobname=3D"./eng-dvb.tex" --c:input=3D"= ./eng-dvb.tex" --c:kindofrun=3D3 --c:maxnofruns=3D1 --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 mkiv lua stats > luatex banner: this is luatex, version beta-0.76.0-201304= 0508 (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 pa= ges, 1.628 pages/second system | total runtime: 6.934 --_000_1F08E0B831A24EC0A38D3A8AC85F5DB3uvanl_ Content-Type: text/html; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable The help (command "context") tells me:

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

However, neither lives up to its promise. See the two sample runs belo= w. 
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 --on= ce eng-dvb.tex

mtx-context     | run 1: luatex --fmt=3D"/Users/hansm/T= eX/context-10/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb= 1556f32e/formats/luatex/cont-en" --jobname=3D"eng-dvb" --lua= =3D"/Users/hansm/TeX/context-10/tex/texmf-cache/luatex-cache/context/5= fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=3D1 --c:directives=3D"logs.targe= t=3Dfile" --c:fulljobname=3D"./eng-dvb.tex" --c:input=3D&quo= t;./eng-dvb.tex" --c:kindofrun=3D3 --c:maxnofruns=3D1 --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-y= es.mkiv

ConTeXt  ver: 2013.05.10 15:05 MKIV beta  fmt: 2013.5.10 &nb= sp;int: english/english

(/Users/hansm/TeX/context-10/tex/texmf-context/tex/context/base/cont-n= ew.mkiv) (/Users/hansm/Projects/Lua/programs/videots/eng-dvb.tex{/Users/han= sm/TeX/context-10/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/hansm/Te= X/context-10/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/Users/hansm/TeX/conte= xt-10/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} ) )</Users/hansm/TeX/context-10/tex/texmf/fonts/opentype/public/lm/lmro= man6-regular.otf></Users/hansm/TeX/context-10/tex/texmf/fonts/opentyp= e/public/lm/lmroman6-bold.otf>
system          | total runtime: 6.930
106 videots: 

106 videots: context --batchmode --on= ce eng-dvb.tex

mtx-context     | run 1: luatex --fmt=3D"/Users/hansm/T= eX/context-10/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb= 1556f32e/formats/luatex/cont-en" --interaction=3D"batchmode"= --jobname=3D"eng-dvb" --lua=3D"/Users/hansm/TeX/context-10/= tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/forma= ts/luatex/cont-en.lui" --no-parse-first-line --c:batchmode --c:currentrun=3D1 --c:fulljobname=3D&= quot;./eng-dvb.tex" --c:input=3D"./eng-dvb.tex" --c:kindofru= n=3D3 --c:maxnofruns=3D1 --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 n= ot 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 + 1000= 00
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




--_000_1F08E0B831A24EC0A38D3A8AC85F5DB3uvanl_-- --===============1403514125== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1403514125==--