As also mentioned elsewhere, the garamondx has been marked as obsolete in one of the last MikTeX updates.
As suggested in various questions (here, or here) and also on the garamondx README, I tried to get back garamondx using the getnonfreefonts script, following the instructions found here.
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 if isdir(...).
However, I don't know enough about lua to be able to diagnose what is causing this problem. How can this be solved?
miktex? Onlytexliveis mentioned on its website. – daleif May 22 '17 at 10:05