* ConTeXt Minimals and TEXMFCACHE
@ 2010-08-26 19:03 Nicola
2010-08-26 21:27 ` Hans Hagen
2010-08-27 8:04 ` Mojca Miklavec
0 siblings, 2 replies; 10+ messages in thread
From: Nicola @ 2010-08-26 19:03 UTC (permalink / raw)
To: ntg-context
Hi,
according to the wiki “ConTeXt minimals does not touch anything outside
its installation folder”, but if TEXMFCACHE is not set by setuptex,
actually many files may be written outside the ConTeXt minimals folder,
and (as in my case) they may conflict with the files written by ConTeXt
from TeX Live in the same cache folder.
Is there any reason why exporting TEXMFCACHE is commented out in
setuptex?
Nicola
___________________________________________________________________________________
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] 10+ messages in thread
* Re: ConTeXt Minimals and TEXMFCACHE
2010-08-26 19:03 ConTeXt Minimals and TEXMFCACHE Nicola
@ 2010-08-26 21:27 ` Hans Hagen
2010-08-27 8:38 ` Nicola
2010-08-27 8:04 ` Mojca Miklavec
1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2010-08-26 21:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 26-8-2010 9:03, Nicola wrote:
> Hi,
> according to the wiki “ConTeXt minimals does not touch anything outside
> its installation folder”, but if TEXMFCACHE is not set by setuptex,
> actually many files may be written outside the ConTeXt minimals folder,
> and (as in my case) they may conflict with the files written by ConTeXt
> from TeX Live in the same cache folder.
>
> Is there any reason why exporting TEXMFCACHE is commented out in
> setuptex?
You can set it up in a texmfcnf.lua file in your texmf-local/web2c tree.
Anyway, it is unlike to conflict as I hash the path so one cache can
serve many trees.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread
* Re: ConTeXt Minimals and TEXMFCACHE
2010-08-26 19:03 ConTeXt Minimals and TEXMFCACHE Nicola
2010-08-26 21:27 ` Hans Hagen
@ 2010-08-27 8:04 ` Mojca Miklavec
2010-08-27 8:54 ` Nicola
1 sibling, 1 reply; 10+ messages in thread
From: Mojca Miklavec @ 2010-08-27 8:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Thu, Aug 26, 2010 at 21:03, Nicola <nvitacolonna@gmail.com> wrote:
> Hi,
> according to the wiki “ConTeXt minimals does not touch anything outside
> its installation folder”, but if TEXMFCACHE is not set by setuptex,
> actually many files may be written outside the ConTeXt minimals folder,
> and (as in my case) they may conflict with the files written by ConTeXt
> from TeX Live in the same cache folder.
>
> Is there any reason why exporting TEXMFCACHE is commented out in
> setuptex?
The variable TEXMFCACHE is set in
tex/texmf/web2c/texmfcnf.lua
and that one should do the job. Under usual circumstances at least.
If that one is not being respected, something might be wrong. Do you
have any other texmfcnf.lua file somewhere else?
(Note that you are also free to rename setuptex and modify it
according to your own needs, but it makes sense to debug this first.)
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] 10+ messages in thread
* Re: ConTeXt Minimals and TEXMFCACHE
2010-08-27 8:04 ` Mojca Miklavec
@ 2010-08-27 8:54 ` Nicola
2010-08-27 9:24 ` Mojca Miklavec
2010-08-27 12:25 ` Peter Schorsch
0 siblings, 2 replies; 10+ messages in thread
From: Nicola @ 2010-08-27 8:54 UTC (permalink / raw)
To: ntg-context
In article
<AANLkTim8p_nsU=qF8R9OJvbd=bpziTWd_Baov+EXH-J3@mail.gmail.com>,
Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> The variable TEXMFCACHE is set in
> tex/texmf/web2c/texmfcnf.lua
> and that one should do the job. Under usual circumstances at least.
>
> If that one is not being respected, something might be wrong. Do you
> have any other texmfcnf.lua file somewhere else?
No, I export TEXMFCACHE in my .profile, because I want the cache to be
inside my home folder. After running setuptex, ConTeXt minimals uses
that rather than the path specified in texmfcnf.lua. Since now I know
that luatex-cache can be shared, for me this is perfectly fine. I just
had to adjust the TeXShop engines (I am on Mac OS X) by explicitly
setting TEXMFCACHE for XeTeX and MKII, besides MKIV.
So, if I get it right, the value in texmfcnf.lua is used unless
TEXMFCACHE is set.
Nicola
___________________________________________________________________________________
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] 10+ messages in thread
* Re: ConTeXt Minimals and TEXMFCACHE
2010-08-27 8:54 ` Nicola
@ 2010-08-27 9:24 ` Mojca Miklavec
2010-08-27 18:17 ` Nicola
2010-08-27 12:25 ` Peter Schorsch
1 sibling, 1 reply; 10+ messages in thread
From: Mojca Miklavec @ 2010-08-27 9:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, Aug 27, 2010 at 10:54, Nicola wrote:
> In article
> <AANLkTim8p_nsU=qF8R9OJvbd=bpziTWd_Baov+EXH-J3@mail.gmail.com>,
> Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
>
>> The variable TEXMFCACHE is set in
>> tex/texmf/web2c/texmfcnf.lua
>> and that one should do the job. Under usual circumstances at least.
>>
>> If that one is not being respected, something might be wrong. Do you
>> have any other texmfcnf.lua file somewhere else?
>
> No, I export TEXMFCACHE in my .profile, because I want the cache to be
> inside my home folder.
Oh, that's another story then.
> After running setuptex, ConTeXt minimals uses
> that rather than the path specified in texmfcnf.lua. Since now I know
> that luatex-cache can be shared, for me this is perfectly fine.
> I just
> had to adjust the TeXShop engines (I am on Mac OS X) by explicitly
> setting TEXMFCACHE for XeTeX and MKII, besides MKIV.
TEXMFCACHE is not used by MKII (neither in pdfTeX nor in XeTeX).
> So, if I get it right, the value in texmfcnf.lua is used unless
> TEXMFCACHE is set.
True.
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] 10+ messages in thread
* Re: ConTeXt Minimals and TEXMFCACHE
2010-08-27 9:24 ` Mojca Miklavec
@ 2010-08-27 18:17 ` Nicola
2010-08-27 21:24 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: Nicola @ 2010-08-27 18:17 UTC (permalink / raw)
To: ntg-context
In article
<AANLkTimbrXN-YhfA9bqYREjmCfuyEhqXr-+iX6Ne5DFu@mail.gmail.com>,
Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> TEXMFCACHE is not used by MKII (neither in pdfTeX nor in XeTeX).
Right. I have tried
unset TEXMFCACHE
texexec hello.tex
in the command line and it just runs texexec (as expected).
But from TeXShop (using the engines for MKII and XeTeX described at
http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation), for
some reason mtxrun is run before texexec on the first compilation, which
creates the cache in the location specified by texmfcnf.lua (unless I
set TEXMFCACHE). And sourcing setuptex doesn't change anything. Maybe
some other environment variable should be set in those engines?
Nicola
___________________________________________________________________________________
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] 10+ messages in thread
* Re: ConTeXt Minimals and TEXMFCACHE
2010-08-27 18:17 ` Nicola
@ 2010-08-27 21:24 ` Hans Hagen
2010-08-28 6:23 ` Nicola
0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2010-08-27 21:24 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Nicola
On 27-8-2010 8:17, Nicola wrote:
> In article
> <AANLkTimbrXN-YhfA9bqYREjmCfuyEhqXr-+iX6Ne5DFu@mail.gmail.com>,
> Mojca Miklavec<mojca.miklavec.lists@gmail.com> wrote:
>
>> TEXMFCACHE is not used by MKII (neither in pdfTeX nor in XeTeX).
>
> Right. I have tried
>
> unset TEXMFCACHE
> texexec hello.tex
>
> in the command line and it just runs texexec (as expected).
>
> But from TeXShop (using the engines for MKII and XeTeX described at
> http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation), for
> some reason mtxrun is run before texexec on the first compilation, which
> creates the cache in the location specified by texmfcnf.lua (unless I
> set TEXMFCACHE). And sourcing setuptex doesn't change anything. Maybe
> some other environment variable should be set in those engines?
we used to have texmfstart as script runner (all scripts are located and
started by a runner which is faster than using some kpse locator esp
when having nested runs as with metafun in mkii)
so, texexec used to be
texmfstart texexec
however, nowadays mtxrun is the runner and it replaces texmfstart for
mkii as well and in order to do this, it needs the file database and
that one ends up in the cache so even for mkii there is a cache needed
(when I'm in the mood I'll check the lua texutil variant in which case
we can also kick out ruby which is currently only needed for mkii)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread
* Re: ConTeXt Minimals and TEXMFCACHE
2010-08-27 21:24 ` Hans Hagen
@ 2010-08-28 6:23 ` Nicola
0 siblings, 0 replies; 10+ messages in thread
From: Nicola @ 2010-08-28 6:23 UTC (permalink / raw)
To: ntg-context
In article <4C782D26.6040905@wxs.nl>, Hans Hagen <pragma@wxs.nl> wrote:
> On 27-8-2010 8:17, Nicola wrote:
> > In article
> > <AANLkTimbrXN-YhfA9bqYREjmCfuyEhqXr-+iX6Ne5DFu@mail.gmail.com>,
> > Mojca Miklavec<mojca.miklavec.lists@gmail.com> wrote:
> >
> >> TEXMFCACHE is not used by MKII (neither in pdfTeX nor in XeTeX).
> >
> > Right. I have tried
> >
> > unset TEXMFCACHE
> > texexec hello.tex
> >
> > in the command line and it just runs texexec (as expected).
Sorry, my mistake. If I unset TEXMFCACHE, then mtxrun is run also from
the command line and the behaviour is consistent with what happens from
TeXShop - which, in turn, is consistent with what Hans explains below.
> we used to have texmfstart as script runner (all scripts are located and
> started by a runner which is faster than using some kpse locator esp
> when having nested runs as with metafun in mkii)
>
> so, texexec used to be
>
> texmfstart texexec
>
> however, nowadays mtxrun is the runner and it replaces texmfstart for
> mkii as well and in order to do this, it needs the file database and
> that one ends up in the cache so even for mkii there is a cache needed
> (when I'm in the mood I'll check the lua texutil variant in which case
> we can also kick out ruby which is currently only needed for mkii)
>
> Hans
Everything is clear now. Thank you!
Nicola
___________________________________________________________________________________
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] 10+ messages in thread
* Re: ConTeXt Minimals and TEXMFCACHE
2010-08-27 8:54 ` Nicola
2010-08-27 9:24 ` Mojca Miklavec
@ 2010-08-27 12:25 ` Peter Schorsch
1 sibling, 0 replies; 10+ messages in thread
From: Peter Schorsch @ 2010-08-27 12:25 UTC (permalink / raw)
To: ntg-context
I summarized this small discussion in the wiki as I also made a systemwide
installation (http://wiki.contextgarden.net/ConTeXt_Minimals#Cache)
Nicola wrote:
> In article
> <AANLkTim8p_nsU=qF8R9OJvbd=bpziTWd_Baov+EXH-J3@mail.gmail.com>,
> Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
>
>> The variable TEXMFCACHE is set in
>> tex/texmf/web2c/texmfcnf.lua
>> and that one should do the job. Under usual circumstances at least.
>>
>> If that one is not being respected, something might be wrong. Do you
>> have any other texmfcnf.lua file somewhere else?
>
> No, I export TEXMFCACHE in my .profile, because I want the cache to be
> inside my home folder. After running setuptex, ConTeXt minimals uses
> that rather than the path specified in texmfcnf.lua. Since now I know
> that luatex-cache can be shared, for me this is perfectly fine. I just
> had to adjust the TeXShop engines (I am on Mac OS X) by explicitly
> setting TEXMFCACHE for XeTeX and MKII, besides MKIV.
>
> So, if I get it right, the value in texmfcnf.lua is used unless
> TEXMFCACHE is set.
>
> Nicola
>
>
___________________________________________________________________________________
> 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
>
___________________________________________________________________________________
___________________________________________________________________________________
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] 10+ messages in thread
end of thread, other threads:[~2010-08-28 6:23 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26 19:03 ConTeXt Minimals and TEXMFCACHE Nicola
2010-08-26 21:27 ` Hans Hagen
2010-08-27 8:38 ` Nicola
2010-08-27 8:04 ` Mojca Miklavec
2010-08-27 8:54 ` Nicola
2010-08-27 9:24 ` Mojca Miklavec
2010-08-27 18:17 ` Nicola
2010-08-27 21:24 ` Hans Hagen
2010-08-28 6:23 ` Nicola
2010-08-27 12:25 ` Peter Schorsch
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).