[luatex] tlluatex-dev TeX Live Manager repository

Bruno Voisin bvoisin at me.com
Tue Mar 14 01:52:39 CET 2017


> On 13 Mar 2017, at 23:18, Norbert Preining <preining at logic.at> wrote:
> 
> You have an outdated format dump hanging around somewhere in your TEXMFVAR (~/.texlive2016/texmf-var)
> 
> This was fixed in LaTeX kernel long time ago.

There really is no .fmt file in TEXMFVAR:

  $ kpsewhich -all -engine=/ lualatex.fmt
  /usr/local/texlive/2016/texmf-var/web2c/luatex/lualatex.fmt
  $ kpsewhich -all -engine=/ lualatex1.fmt
  /usr/local/texlive/2016/texmf-var/web2c/luatex/lualatex1.fmt

lualatex.fmt was built today using "sudo fmtutil-sys --byengine luatex", and lualatex1.fmt by running the instructions in your message of last night:

	tlmgr repository add http://www.preining.info/tlluatex-dev luatex-dev
	tlmgr pinning add luatex-dev '*'
	tlmgr install luatex-dev

So I compared to the two lualatex.log and lualatex1.log from TEXMFSYSVAR. The differences were interesting:

- From lualatex.log

  (/usr/local/texlive/2016/texmf-dist/tex/latex/base/fonttext.cfg
  File: fonttext.cfg 2016/12/03 v3.0a LaTeX Kernel (Uncustomised text font setup)

- From lualatex1.log

  (/usr/local/texlive/2016/texmf-dist/tex/cslatex/base/fonttext.cfg
  File: fonttext.cfg 1997/08/20 CSLaTeX

After looking desperately for an explanation for 20 minutes or so, here it is:

  $ kpsewhich -progname=luatex fonttext.cfg
  /usr/local/texlive/2016/texmf-dist/tex/cslatex/base/fonttext.cfg

  $ kpsewhich -progname=lualatex fonttext.cfg
  /usr/local/texlive/2016/texmf-dist/tex/latex/base/fonttext.cfg

Accordingly, when compiling lualatex.fmt the LaTeX search path was used, but when compiling lualatex1.fmt it was the default (plain TeX) path.

After looking for 10 more minutes for an explanation and a fix, here's one that seems to work: add to texmf.cnf

  % LuaTeX-dev
  TEXINPUTS.luatex1        = .;$TEXMF/tex/{luatex,plain,generic,}//
  TEXINPUTS.luajittex1     = .;$TEXMF/tex/{luatex,plain,generic,}//
  TEXINPUTS.dviluatex1     = .;$TEXMF/tex/{luatex,plain,generic,}//
  TEXINPUTS.lualatex1      = .;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
  TEXINPUTS.luajitlatex1   = .;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
  TEXINPUTS.dvilualatex1   = .;$TEXMF/tex/{lualatex,latex,luatex,generic,}//

I put this in a texmf.cnf in the same bin directory as luatex-dev, but that should probably be written in the main texmf.cnf, same as for fmtutil.cnf.

Bruno


More information about the luatex mailing list