[tex-live] texdoc error

Hartmut Henkel hartmut_henkel at gmx.de
Mon Sep 1 20:38:51 CEST 2008


On Mon, 1 Sep 2008, Philip TAYLOR wrote:

> Hmmm, well, ... I can't replicate it !
>
> I have written my first-ever Lua program,
> which reads
>
> 	os.spawn ("texlua",  "texlua", "d:/TeX/Live/2008/texmf/scripts/texlive/texdoc.tlu", "minitoc")

this seems to be invalid, as os.spawn() expects exactly one argument,
and it gives back a 2nd return value on error, see:

a,b = os.spawn ("texlua",  "texlua", "d:/TeX/Live/2008/texmf/scripts/texlive/texdoc.tlu", "minitoc")
print(a, b)

Regards, Hartmut


More information about the tex-live mailing list