[NTG-context] mtx-context - extraordinarily quiet mode

2013-09-28 Thread Thangalin
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
___


Re: [NTG-context] mtx-context - extraordinarily quiet mode

2013-09-28 Thread Aditya Mahajan

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
___


[NTG-context] Bugfix in strc-doc

2013-09-28 Thread Aditya Mahajan

\somenameheadnumber{whatever}{last}

gives an error if the head 'whatever' hasn't been used. This can be 
avoided using


-if data then
+if data and data.references then

in line 772 of strc-doc.lua.

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
___


Re: [NTG-context] mtx-context - extraordinarily quiet mode

2013-09-28 Thread Thangalin
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
___


[NTG-context] PDF Transparency and ConTeXt

2013-09-28 Thread Thangalin
Hi,

I have written up a question on TeX.SE:
http://tex.stackexchange.com/questions/135543/pdf-colour-space-and-context

Aditya mentioned that the problem with transparencies is that it is
likely a known bug with Adobe Acrobat Reader: I remember similar
questions being asked in the past, and the conclusion was that it was
a known bug in Adobe Reader.

Has anyone else come across this issue and found a way to resolve it in ConTeXt?

I ran into what I think is a similar issue with LaTeX and was able to
resolve it using the following command in the preamble:

  \pdfpageattr{/Group  /S /Transparency /I true /CS /DeviceRGB}

I have not yet tried to reproduce the problem in either LuaLaTeX or LaTeX.

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
___