
Patrick Gundlach wrote:
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.
each kpse call slows down processing; it would be easier in mkiv where we have more control, so for mkii we need to stick to setting this in the env Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------