ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Portable Context
@ 2011-03-12  9:32 Siep Kroonenberg
  2011-03-12  9:44 ` luigi scarso
  0 siblings, 1 reply; 5+ messages in thread
From: Siep Kroonenberg @ 2011-03-12  9:32 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Portable Context
  2011-03-12  9:32 Portable Context Siep Kroonenberg
@ 2011-03-12  9:44 ` luigi scarso
  2011-03-12  9:53   ` Siep Kroonenberg
  0 siblings, 1 reply; 5+ messages in thread
From: luigi scarso @ 2011-03-12  9:44 UTC (permalink / raw)
  To: Siep Kroonenberg, mailing list for ConTeXt users

On Sat, Mar 12, 2011 at 10:32 AM, Siep Kroonenberg <siepo@cybercomm.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Portable Context
  2011-03-12  9:44 ` luigi scarso
@ 2011-03-12  9:53   ` Siep Kroonenberg
  2011-03-12 14:03     ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Siep Kroonenberg @ 2011-03-12  9:53 UTC (permalink / raw)
  To: ntg-context

On Sat, Mar 12, 2011 at 10:44:49AM +0100, luigi scarso wrote:
> On Sat, Mar 12, 2011 at 10:32 AM, Siep Kroonenberg <siepo@cybercomm.nl> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Portable Context
  2011-03-12  9:53   ` Siep Kroonenberg
@ 2011-03-12 14:03     ` Mojca Miklavec
  2011-03-12 21:12       ` Siep Kroonenberg
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2011-03-12 14:03 UTC (permalink / raw)
  To: Siep Kroonenberg, mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Portable Context
  2011-03-12 14:03     ` Mojca Miklavec
@ 2011-03-12 21:12       ` Siep Kroonenberg
  0 siblings, 0 replies; 5+ messages in thread
From: Siep Kroonenberg @ 2011-03-12 21:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-12 21:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-12  9:32 Portable Context Siep Kroonenberg
2011-03-12  9:44 ` luigi scarso
2011-03-12  9:53   ` Siep Kroonenberg
2011-03-12 14:03     ` Mojca Miklavec
2011-03-12 21:12       ` Siep Kroonenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).