Re: error in using texdoc

Harald Koenig <[email protected]> Sat, 7 Mar 2026 16:29:17 +0100
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
Hi Andreas,

"works for me" on opensuse tumbleweed!
I get the same output as Markus showed.

which OS and distro are you using?

texdoc seems to be quite stable, so likely not a new issue?!
this is from my TL26 installation:

$ texdoc --version
Texdoc 4.1.1 (2025-02-11)

Harald

On Mar 07, Andreas Eder wrote:

> Hi,
> 
> if I do
> ~>texdoc latex-first-aid
> I get the following error:
> 
> ..exlive/2026/texmf-dist/scripts/texdoc/texdoclib-view.tlu:24: attempt to index a nil value (local 'docfile')
> stack traceback:
>     ...exlive/2026/texmf-dist/scripts/texdoc/texdoclib-view.tlu:24: in upvalue 'view_doc'
>     ...exlive/2026/texmf-dist/scripts/texdoc/texdoclib-view.tlu:334: in function 'texdoclib-view.deliver_results'
>     ...texlive/2026/texmf-dist/scripts/texdoc/texdoclib-cli.tlu:187: in upvalue 'do_texdoc'
>     ...texlive/2026/texmf-dist/scripts/texdoc/texdoclib-cli.tlu:215: in function 'texdoclib-cli.exec'
>     /usr/local/texlive/2026/bin/x86_64-linux/texdoc:45: in main chunk
> 
> Thanks for having a look at that.
> 
> 'Andreas
> 
> -- 
> ceterum censeo redmondinem esse delendam


Harald
-- 
"I hope to die                                      ___       _____
before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen.        <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
                                                       \/\/\/\/\/\/\/\/\/
Harald Koenig                                           //  /     \\  \
[email protected]                              ^^^^^       ^^^^^