[tex-k] Re: first steps with libkpathsea

Taco Hoekwater taco at elvenkind.com
Mon Jun 13 20:20:55 CEST 2005


Patrick Gundlach wrote:

> So currently I call 'kpse_set_program_name("kpsewhich",myprog);' to fake
> the name of the program. Which is of course sort of strange, but as
> far as I can see there is no other way to achieve the desired
> behaviour. 

Why don't you add a binding for kpse_set_program_name() and let your
users worry about it themselves?

> Is there any side effect of doing so? 

Well, if you want to find the stuff that, say, 'pdfetex' would find,
than it will definately not help you to pretend to be 'kpsewhich':
you may have false positives and false negatives as well as "normal"
false matches.

Taco



More information about the tex-k mailing list