mtx-context - extraordinarily quiet mode
Hi, I ran the following: context --noconsole --batchmode --nonstopmode filename.tex This wrote information to the console: This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) \write18 enabled. Underfull \hbox (badness 2401) in paragraph at lines 464--464 ... lots more output ... system | total runtime: 1.962 How do you prevent ConTeXt from writing anything whatsoever to the console? Kind regards.
On Sat, 28 Sep 2013, Thangalin wrote:
Hi,
I ran the following:
context --noconsole --batchmode --nonstopmode filename.tex
This wrote information to the console:
This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) \write18 enabled. Underfull \hbox (badness 2401) in paragraph at lines 464--464 ... lots more output ... system | total runtime: 1.962
How do you prevent ConTeXt from writing anything whatsoever to the console?
context --batchmode filename > /dev/null :-) Aditya
Thank you, Aditya. I should have mentioned that I was thinking about it in terms of optimization. Sometimes when a program's debug/logging mode is disabled, the program executes faster. (In the old days just writing to standard out was enough to make a program grind to a crawl.) I could not find a wiki page on optimizing the compiler -- are there any other tricks to making compiles faster? Kindest regards.
On 9/29/2013 6:15 AM, Thangalin wrote:
Thank you, Aditya.
I should have mentioned that I was thinking about it in terms of optimization. Sometimes when a program's debug/logging mode is disabled, the program executes faster. (In the old days just writing to standard out was enough to make a program grind to a crawl.)
I could not find a wiki page on optimizing the compiler -- are there any other tricks to making compiles faster?
batchmode can make run tex a bit faster logging itself is already quite efficient in context (the speed of consoles / terminals is a factor but normally one can set up that bit to be efficient as well - refresh delays and such) 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 -----------------------------------------------------------------
On 9/29/2013 2:43 AM, Aditya Mahajan wrote:
On Sat, 28 Sep 2013, Thangalin wrote:
Hi,
I ran the following:
context --noconsole --batchmode --nonstopmode filename.tex
This wrote information to the console:
This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) \write18 enabled. Underfull \hbox (badness 2401) in paragraph at lines 464--464 ... lots more output ... system | total runtime: 1.962
How do you prevent ConTeXt from writing anything whatsoever to the console?
context --batchmode filename > /dev/null
:-)
\dontcomplain also helps ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Thangalin