For a usb stick install, it would be nice if there were no hard-coded paths anywhere. A texmfcnf.lua with content return { TEXMFCACHE = kpse.var_value('TEXMFSYSVAR') } appears to be read but ignored. Moreover, the fndb lua files under luatex-cache/context/xxx/trees contain hard-coded paths. Is there any way to avoid hard-coded paths? -- Siep Kroonenberg
On Sat, Mar 12, 2011 at 10:32 AM, Siep Kroonenberg
For a usb stick install, it would be nice if there were no hard-coded paths anywhere. A texmfcnf.lua with content
return { TEXMFCACHE = kpse.var_value('TEXMFSYSVAR') }
appears to be read but ignored. Moreover, the fndb lua files under luatex-cache/context/xxx/trees contain hard-coded paths.
Is there any way to avoid hard-coded paths? Isn't minimals path-aware ? With setuptex I can put context wherever I want. -- luigi
On Sat, Mar 12, 2011 at 10:44:49AM +0100, luigi scarso wrote:
On Sat, Mar 12, 2011 at 10:32 AM, Siep Kroonenberg
wrote: For a usb stick install, it would be nice if there were no hard-coded paths anywhere. A texmfcnf.lua with content
return { TEXMFCACHE = kpse.var_value('TEXMFSYSVAR') }
appears to be read but ignored. Moreover, the fndb lua files under luatex-cache/context/xxx/trees contain hard-coded paths.
Is there any way to avoid hard-coded paths? Isn't minimals path-aware ? With setuptex I can put context wherever I want.
This is in the context of TeX Live. But I'll have a look at how minimals does it. -- Siep Kroonenberg
On Sat, Mar 12, 2011 at 10:53, Siep Kroonenberg wrote:
Is there any way to avoid hard-coded paths? Isn't minimals path-aware ? With setuptex I can put context wherever I want.
This is in the context of TeX Live. But I'll have a look at how minimals does it.
This has been changed after the version of ConTeXt for TeX Live has been frozen. So you would probably have to take a recent enough version of ConTeXt (most probably even the version on tlcontrib is too old, but at least it should not be too difficult to take the most recent version just for testing). You can have a look at http://minimals.contextgarden.net/current/misc/web2c/texmfcnf.lua, but you need a recent mtxrun for that. Mojca
On Sat, Mar 12, 2011 at 03:03:34PM +0100, Mojca Miklavec wrote:
On Sat, Mar 12, 2011 at 10:53, Siep Kroonenberg wrote:
Is there any way to avoid hard-coded paths? Isn't minimals path-aware ? With setuptex I can put context wherever I want.
This is in the context of TeX Live. But I'll have a look at how minimals does it.
This has been changed after the version of ConTeXt for TeX Live has been frozen. So you would probably have to take a recent enough version of ConTeXt (most probably even the version on tlcontrib is too old, but at least it should not be too difficult to take the most recent version just for testing).
You can have a look at http://minimals.contextgarden.net/current/misc/web2c/texmfcnf.lua, but you need a recent mtxrun for that.
Thanks for this information. I installed instead the minimals, which do indeed avoid hard-coded paths. I'll try to fix portability for Context in the next TeX Live once this new version has become part of TeX Live. -- Siep Kroonenberg
participants (3)
-
luigi scarso
-
Mojca Miklavec
-
Siep Kroonenberg