[luatex] Finding user-specific Lua binary packages

luigi scarso luigi.scarso at gmail.com
Mon Mar 16 09:04:45 CET 2015


On Mon, Mar 16, 2015 at 8:33 AM, Dirk Laurie <dirk.laurie at gmail.com> wrote:

> I'm using luatex as installed by Ubuntu 14.04 LTS.
>
> A Lua script loaded by `luatex` inside`\directlua' does not consult
> package.path and package.cpath. It examines package.preload, and
> then tries the kpse lua searcher and the kpse C searcher.
>
> `kpsepath lua` and `kpsepath so` are not valid pathtypes, but I have
> discovered that I can put Lua scripts in $HOME/texmf/scripts/lua and
> `require` inside `\directlua` will find them with no need to `texhash`.
>
> However, packages provided as shared objects are not found if put
> there, and I have not discovered where in $HOME/texmf I can put them.
> The manual says they are looked for in
>
>     CLUAINPUTS=.:$SELFAUTOLOC/lib/{$progname,$engine,}/lua//
>
> but this path seems not to provide for $HOME/texmf. I could put
> a symbolic link to the .so files in `.` every time, but that really defeats
> the purpose of kpse.
>

here
$ kpsewhere core.so
/opt/luatex/standalone-mkiv-new/tex/texmf-linux-64/bin/lib/luatex/lua/swiglib/qpdf/5.0.1/core.so


-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20150316/8ac505c1/attachment.html>


More information about the luatex mailing list