Loading gentran



Hello,

I'm using Maxima 5.27.0 with CMUCL 20c on Linux and I'm trying to use
the gentran package from a Maxima batch script. Unfortunately, just
using load("local.gtload.lisp") works only from the contrib/gentran
directory. I came up with the following work-around, but is there a
better way?

cd(dir) := ?xchdir(dir);
:lisp (setq $orig_wd (maxima-getenv "PWD"))
gentran_loader: "local.gtload.lisp"$
gentran_loader_dir: pathname_directory(file_search(gentran_loader))$

cd(gentran_loader_dir)$
load(gentran_loader);
cd(orig_wd)$

Thanks in advance,
Hal

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory