Re: [NTG-context] Portable Context

2011-03-12 Thread Siep Kroonenberg
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Portable Context

2011-03-12 Thread Mojca Miklavec
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Portable Context

2011-03-12 Thread Siep Kroonenberg
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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Portable Context

2011-03-12 Thread luigi scarso
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.
-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Portable Context

2011-03-12 Thread 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?

-- 
Siep Kroonenberg
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___