2 Dec
2009
2 Dec
'09
11:37 a.m.
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