Class taken in account: in TEXMFHOME with pdflatex and in TEXMFDIST with lualatex

Denis Bitouzé denis.bitouze at univ-littoral.fr
Thu May 19 15:19:03 CEST 2022


Hi,

Context
-------

- Linux Mageia 8.
- (Up to date) TeX Live 2022 distribution (vanilla installation as the non
  admin user `bitouze`).
- TEXMHOME:
  ┌────
  │ $ kpsewhich --var-value TEXMFHOME
  │ /home/bitouze/texmf
  └────
- TEXMFDIST:
  ┌────
  │ $ kpsewhich --var-value TEXMFDIST
  │ /home/bitouze/texlive/2022/texmf-dist  
  └────

Issue
-----
Both `pdflatex` and `lualatex` executables come from TL 2022: 

  ┌────
  │ $ which pdflatex 
  │ /home/bitouze/texlive/2022/bin/x86_64-linux/pdflatex
  │ $ which lualatex 
  │ /home/bitouze/texlive/2022/bin/x86_64-linux/lualatex
  └────

but, for the `letgut` class I'm working on, the `letgut.cls` file taken
in account is the one in:

- TEXMFHOME with `pdflatex`,
- TEXMFDIST with `lualatex`.

Indeed, the `.log` file deriving from the compilation of the following
MCE:

  ┌────
  │ \documentclass{letgut}
  │ \begin{document}
  │ Foo
  │ \end{document}
  └────

contains:

- with `pdflatex`:
  ┌────
  │ /home/bitouze/texmf/tex/latex/letgut/letgut.cls
  └────
- with `lualatex`:
  ┌────
  │ /home/bitouze/texlive/2022/texmf-dist/tex/lualatex/letgut/letgut.cls
  └────

Weird, isn't it?
-- 
Denis



More information about the tex-live mailing list.