Re: error in using texdoc

Markus Kohm <[email protected]> Sat, 07 Mar 2026 16:09:50 +0100
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
Am Samstag, 7. März 2026, 15:23 schrieb Andreas Eder:
> 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

With a fresh installation I get:

| Unfortunately, there are no good matches for "latex-first-aid".
|
| There may be online documentation available for "latex-first-aid" at
|     https://texdoc.org/serve/latex-first-aid/0
| This documentation may be for a different version than you have installed.
|
| Would you like to search online? (y/N) 

which is the same as with TL25.

Grüße 
Markus