[tex-k] Patch for a bug in mktexlsr.pl
Reinhard Kotucha
reinhard.kotucha at gmx.de
Wed Jun 26 22:38:17 CEST 2024
On 2024-06-26 at 11:54:17 +0900, Norbert Preining wrote:
> On Wed, 26 Jun 2024, Reinhard Kotucha via tex-k wrote:
> > All Gentoo maintainers have to do is to instruct the TeX Live
> > installer to install programs at /usr/bin instead of the default
> > directory /usr/local/texlive/<year>/bin/<platform>.
>
> Probably not, since then the location of the texmf trees would be in /,
> which is not good. Recompilation is necessary.
Hi Norbert,
you can try yourself:
cp -p /usr/local/texlive/2024/bin/x86_64-linux/tex /usr/bin/
/usr/bin/tex \\bye 2>&1 | tr : \\n
This lists all directories where kpathsea looks for texmf.cnf.
It searches many directories, among them are the most appropriate for
Linux distros,
/usr/share/texmf-dist/web2c
/usr/share/texmf/web2c
The file texmf.cnf must only be adapted if there is no <platform>
directory. With these default search paths many use cases are covered
without recompilation.
Regards,
Reinhard
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at gmx.de
------------------------------------------------------------------
More information about the tex-k
mailing list.