[tex-live] Lua module installation

Heiko Oberdiek oberdiek at uni-freiburg.de
Wed Dec 12 10:23:30 CET 2007


On Tue, Dec 11, 2007 at 07:36:29PM -0600, Karl Berry wrote:

>     TDS:scripts/oberdiek/abc/hello.lua
>     TDS:scripts/oberdiek/foobar/hello.lua
> 
> You've introduced another subdir level.  Can you keep the files under
> oberdiek unique, since they're all under your control?  (And then
> --engine will work?)

No, --engine is not intended for this purpose:
* It is not available everywhere, especially, $(engine) needs
  to be introduced in TEXMFSCRIPTS.
  TeX Live 2007 defines it as follows:
    TEXMFSCRIPTS = $TEXMF/scripts/{$engine,$progname,}//
  Thus it controls the directory level below TDS:scripts.
  I am looking for the opposite, something like
    $TEXMF/scripts//$engine
* The number of subdirs isn't limited in Lua's module system.
  For very small projects, there is probably no need, but
  who wants to get limited in his programming efforts? ;-)
  Maintenance issues are important not only for large projects.
  Also someone might want to use third party stuff without
  control of the module names.

> It would be a new thing to have to specify full subdir paths.

I read this as unlikely to happen.

Another solution could be to use a modified output of --show-path,
I will have to investigate.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>


More information about the tex-live mailing list