[tex-live] kpse don't find files under $TEXMF/scripts
khaledhosny at eglug.org
Sun Mar 28 15:10:28 CEST 2010
On Sun, Mar 28, 2010 at 09:34:30AM +0200, Reinhard Kotucha wrote:
> On 28 March 2010 Khaled Hosny wrote:
> > The lua_altopt module installed under texmf-dist/scripts/ is not seen by
> > kpse, and since luatex's "require()" use kpse to find files, I can't
> > require the texlive installed module.
> > If this is the expected behaviour, then we either need to special case
> > lua modules (e.g. have a searchable scripts/lua/ subdir) or move lua
> > modules somewhere else.
> Please try this:
> AFAIK require() expects a name without an extension but kpathsea needs
> the full name, of course. Thus, you could also try
> but using dofile() looks more straightforward to me.
> I assume that you got lua_altopt.lua by running tlmgr update,
> otherwise you shouldn't forget to run texhash.
Neither worked (the actual filename is alt_getopt.lua, but it doesn't
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the tex-live