From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: context command behaviour
Date: Wed, 26 Jun 2013 08:05:10 +0000 [thread overview]
Message-ID: <1F08E0B8-31A2-4EC0-A38D-3A8AC85F5DB3@uva.nl> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 3123 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 4584 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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 other threads:[~2013-06-26 8:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1F08E0B8-31A2-4EC0-A38D-3A8AC85F5DB3@uva.nl \
--to=h.vandermeer@uva.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).