[tex-live] texdoc in luatex

Frank Küster frank at kuesterei.ch
Tue Jun 26 19:37:57 CEST 2007

Reinhard Kotucha <reinhard.kotucha at web.de> wrote:

> Frank Küster writes:
>  > Frank Küster <frank at kuesterei.ch> wrote:
>  > - the shebang line is not yet fixed, since the Debian package doesn't
>  >   install /usr/bin/texlua yet.
> For TeXLive we need /usr/bin/env anyway.
> When I try texdoc -l vntex I get what I expect, but texdoc -s vntex does
> not work properly.  The path to the doc tree appears twice and the
> slash in front of doc/... is missing.

yes, I found that too - messed up in some reorganisation, and easily

>  >    -- TODO: We completely ignore trees without ls-R files.  Since I
>  >    -- don't know how to get the output of "find" without resorting to
>  >    -- temporary files, anyway, I don't care.
> You could use io.popen() in order to read from a pipe.  But do you
> want to give up platform independence?

No - I didn't think about find availability when I wrote that remark. 

> Assuming that in texmf trees which do not use an ls-R database the doc
> tree will either be empty or very small, you could probably better
> search the directory tree using some lua code.
> This is what I found among the lfs files:

Thank you, that looks good.

Regards, Frank
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

More information about the tex-live mailing list