This question already has an answer here:
As also mentioned elsewhere, the
garamondx has been marked as obsolete in one of the last MikTeX updates.
However, when running
texlua.exe ./install-getnonfreefonts the script fails with the error (I'm using Windows 10):
./install-getnonfreefonts:890: attempt to concatenate global 'texdir' (a nil value)
The lines in the script around L890 are
kpse.set_program_name('texlua') texdir=kpse.var_value('SELFAUTOPARENT') bindir=kpse.var_value('SELFAUTODIR') exedir=kpse.var_value('SELFAUTOLOC') texmflocal=kpse.var_value('TEXMFLOCAL') if isdir(texdir .. '/texmf') then texmf_dir='/texmf' else texmf_dir='/texmf-dist' end
with L890 being the line starting with
However, I don't know enough about lua to be able to diagnose what is causing this problem. How can this be solved?