On Fri, 16 Feb 2007, Aditya Mahajan wrote:
On Fri, 16 Feb 2007, Vyatcheslav Yatskovsky wrote:
\executesystemcommand{some_external_program ...}
When I try something like
\starttext Hello \executesystemcommand{1.rb} \stoptext
I get
systems : system commands are disabled (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (E:\MiKTeX\tex\context\base\sort-def.tex) (E:\MiKTeX\tex\context\base\sort-lan.tex) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) systems : begin file cd-mus at line 1 system(1.rb)...disabled.
Also see http://wiki.contextgarden.net/Executesystemcommand on how to integrate the output of your program back into ConTeXt. Aditya