[dev-context] TeX on contextgarden disabled - \installprogram security

Patrick Gundlach patrick at gundla.ch
Thu Mar 29 11:02:34 CEST 2007


Hi,

>
>             def MyExtras::finalizer(logger)
> unless (ENV["CTX.TEXUTIL.EXTRAS"] =~ /^(no|off|false|0)$/io) ||
> (ENV["CTX_TEXUTIL_EXTRAS"] =~ /^(no|off|false|0)$/io) then
>                     @@programs.each do |p|
>                         cmd = @@programs[p.to_i]
>                         logger.report("running #{cmd}")
>                         system(cmd)
> end
>                 end
>             end


could we use something like "kpsexpand \$CTX_TEXUTIL_EXTRAS"? This way
I could set this in texmf.cnf and on the command line.


Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net


More information about the dev-context mailing list