Re: [NTG-context] piping output from external command

2011-01-30 Thread Hans Hagen

On 30-1-2011 11:19, Peter Münster wrote:


But I suppose that there is already a nice command in the core... ;)



os.resultof(...)

-
  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
___


Re: [NTG-context] piping output from external command

2011-01-30 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes:

 On 30-1-2011 11:19, Peter Münster wrote:

 But I suppose that there is already a nice command in the core... ;)


 os.resultof(...)

Thanks!

No tex-command...?
(not important, \ctxlua{context(os.resultof...)} is ok)

-- 
   Peter
___
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] piping output from external command

2011-01-30 Thread Hans Hagen

On 30-1-2011 11:43, Peter Münster wrote:

Hans Hagenpra...@wxs.nl  writes:


On 30-1-2011 11:19, Peter Münster wrote:


But I suppose that there is already a nice command in the core... ;)



os.resultof(...)


Thanks!

No tex-command...?


never needed it but there is

\cldcontext{os.resultof(...)}

if you want to save keystrokes


(not important, \ctxlua{context(os.resultof...)} is ok)




-
  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
___