[tex-live] Lua module installation

Heiko Oberdiek oberdiek at uni-freiburg.de
Thu Dec 13 01:54:24 CET 2007

On Wed, Dec 12, 2007 at 05:17:17PM -0600, Karl Berry wrote:

> I can't exactly follow your reasoning, but never mind.  I was just
> looking for a quick fix.  What do you really want to specify?

I haven't found a quick fix neither.

> How about
>   kpsewhich --format=texmfscripts --subdir=oberdiek/bar hello.lua
> to find scripts/oberdiek/bar/hello.lua?
> Actually, once the functionality is there, I suppose
>   kpsewhich --format=texmfscripts oberdiek/bar/hello.lua
> could be automatically transformed into that so the option wouldn't be
> necessary.

Both ways would solve the problem in principle.
What I have is the module name "oberdiek.bar.hello"
The dots are replaced by the dirctory separator and
the file name extension is appended:
  file = "oberdiek/bar/hello.lua"
or with splitting the subdir part:
  subdir = "oberdiek/bar"
  file   = "hello.lua"
Assuming "/" as directory separator can be used for
*all* supported operating systems. Otherwise I would
just have to know the correct separator string.

The file is installed somewhere under:
  TDS:scripts/ <zero or more dirs inbetween> /oberdiek/bar/hello.lua
Thus I want to search for
instead of

> I am not sure how feasible this is, but I'm at least willing to look.


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

More information about the tex-live mailing list