
29 Mar
2007
29 Mar
'07
11:02 a.m.
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