* mtx-context - extraordinarily quiet mode
@ 2013-09-28 20:21 Thangalin
2013-09-29 0:43 ` Aditya Mahajan
0 siblings, 1 reply; 5+ messages in thread
From: Thangalin @ 2013-09-28 20:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
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.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mtx-context - extraordinarily quiet mode
2013-09-28 20:21 mtx-context - extraordinarily quiet mode Thangalin
@ 2013-09-29 0:43 ` Aditya Mahajan
2013-09-29 4:15 ` Thangalin
2013-09-29 7:38 ` Hans Hagen
0 siblings, 2 replies; 5+ messages in thread
From: Aditya Mahajan @ 2013-09-29 0:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mtx-context - extraordinarily quiet mode
2013-09-29 0:43 ` Aditya Mahajan
@ 2013-09-29 4:15 ` Thangalin
2013-09-29 7:42 ` Hans Hagen
2013-09-29 7:38 ` Hans Hagen
1 sibling, 1 reply; 5+ messages in thread
From: Thangalin @ 2013-09-29 4:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
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.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mtx-context - extraordinarily quiet mode
2013-09-29 0:43 ` Aditya Mahajan
2013-09-29 4:15 ` Thangalin
@ 2013-09-29 7:38 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2013-09-29 7:38 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mtx-context - extraordinarily quiet mode
2013-09-29 4:15 ` Thangalin
@ 2013-09-29 7:42 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2013-09-29 7:42 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-09-29 7:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-28 20:21 mtx-context - extraordinarily quiet mode Thangalin
2013-09-29 0:43 ` Aditya Mahajan
2013-09-29 4:15 ` Thangalin
2013-09-29 7:42 ` Hans Hagen
2013-09-29 7:38 ` Hans Hagen
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).