LaTeX can't find any files
Markus Kohm
komascript at gmx.info
Wed Aug 2 09:53:08 CEST 2023
Am Dienstag, 1. August 2023, 22:27:48 CEST schrieb xigoi--- via tex-live:
> I've installed TeXLive on a quite new installation of Debian, but when I
> try to compile anything, it gives the following message:
>
> ! LaTeX Error: File `article.cls' not found.
>
> If I manually copy article.cls next to the file I'm compiling, it will
> complain that it can't find some other files that are part of the LaTeX
> installation. kpsewhich article.cls doesn't return anything.
Maybe you've a broken setting of, e.g., TEXINPUTS. Have a look into the result
of:
printenv TEXINPUTS
and
kpsewhich -var-value TEXINPUTS
The first one should be empty, the second one should contain the texmf-dist
directory of the TeX Live installation.
Other settings also could be broken. These are usually configured in the files
listed by
kpsewhich -a texmf.cnf
The problem could also be the result of missing or not updated ls-R files. You
can try
texhash
(or sudo texhash if the user is not allowed to write to the texmf directories)
to generate them. But this should not happen with two different installations.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://tug.org/pipermail/tex-live/attachments/20230802/195b2c87/attachment.sig>
More information about the tex-live
mailing list.