[tex-live] texdoc error

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Mon Sep 1 22:34:19 CEST 2008

Hmmm, this is no better :

> command = {}
> command[0] = 'texlua'
> command[1] = '"texlua"'
> command[2] = '"C:/Documents and Settings/Administrator/Program.tlu"'
> -- kpse.set_program_name (arg[-1], "texdoc")
> ret=os.spawn(command)
> os.exit(ret)

Can you remember why you proposed "arg[-1], ", Manuel
(apart from the fact that worked for the case
 you were discussing) ?  This was your comment
at the time, but it still doesn't seem to help here ...

> Yes, I almost forgot. This is indeed the right way (unless you want to
> achieve *very* special effects). Moreover, not using arg[-1] as the first
> argument breaks also on GNU platforms with newer versions of kpse (while it
> used to break only on non-GNU platforms before...)

** Phil.

More information about the tex-live mailing list