[Dev-luatex] procedural vs. object interface to kpathsea

Taco Hoekwater taco at elvenkind.com
Wed Dec 2 12:37:33 CET 2009


T T wrote:
> Hi,
> 
> Is there any reason to prefer object interface to kpathsea over the
> procedural one? I'm asking in particular in the context of
> dofile(arbitrary_script), where arbitrary_script may also use kpathsea
> (either through procedural or object interface).

The object interface gives you a kpse object that is totally
separate from luatex, the procedural interface reuses the kpse
that luatex itself uses for its own lookups.

Whether the distinction matters to you depends on what you want
to do.

Best wishes,
Taco


More information about the dev-luatex mailing list