[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609600: context: ConTeXt does not execute MetaPost



Hi,

I might be wrong, but IMHO there are three problems in the following order:

1) MTXrun | resolvers: warning: no lua configuration files found
The "--verbose" option reveals, that mtxrun defined the lua configuration (resolvers.luacnfname) with texmfcnf.lua, whereas we only have contextcnf.lua.

2) The TEXMFCACHE ="$SELFAUTOPARENT/texmf-cache" but according to /etc/texmf/texmf.cnf it is looked at $HOME/.texmf-var.

3) The TEXMFHOME = "$HOME/texmf" inside contextcnf.lua looks for the texmf tree in the home folder.

Solutions:
Regarding 1, we can either rename contextcnf.lua to texmfcnf.lua or make a symbolic link.
Regarding 2, either the user creates a link to texmf-cache in his home folder or tex-common has to be patched or we can change temporarily the TEXMFCACHE variable.
Regarding 3, the user can make a symbolic link in his home folder to the texmf tree (non-systemwide solution) or we can append the systemwide texmf tree to the TEXMFHOME variable.

I have a deb package for the current beta, feel free to have look at my patch (fix-contextcnf) at https://launchpad.net/~reviczky/+archive/ppa or wait for Taco, what he has to say on this.

Best wishes,
Adam Reviczky



Reply to: