* luatex-cache setup
@ 2011-04-12 15:14 Ernesto Posse
2011-04-12 15:29 ` Marco
0 siblings, 1 reply; 4+ messages in thread
From: Ernesto Posse @ 2011-04-12 15:14 UTC (permalink / raw)
To: ntg-context
Hello. I use a few tools from ConTeXt such as mptopdf, and whenever I
run them they generate a 'luatex-cache' folder directly under my user
folder, but this luatex-cache folder is not hidden. How can I
configure ConTeXt or luatex to tell it where the cache folder should
be? (I looked up the archives and docs but I didn't find anything
about this.)
Thanks
--
Ernesto Posse
Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada
___________________________________________________________________________________
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] 4+ messages in thread
* Re: luatex-cache setup
2011-04-12 15:14 luatex-cache setup Ernesto Posse
@ 2011-04-12 15:29 ` Marco
2011-04-12 16:15 ` Ernesto Posse
0 siblings, 1 reply; 4+ messages in thread
From: Marco @ 2011-04-12 15:29 UTC (permalink / raw)
To: ntg-context
On 2011-04-12 Ernesto Posse <eposse@cs.queensu.ca> wrote:
> Hello. I use a few tools from ConTeXt such as mptopdf, and whenever I
> run them they generate a 'luatex-cache' folder directly under my user
> folder, but this luatex-cache folder is not hidden. How can I
> configure ConTeXt or luatex to tell it where the cache folder should
> be? (I looked up the archives and docs but I didn't find anything
> about this.)
Point the environment variable TEXMFCACHE to a directory
where the user has write access to.
Marco
___________________________________________________________________________________
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] 4+ messages in thread
* Re: luatex-cache setup
2011-04-12 15:29 ` Marco
@ 2011-04-12 16:15 ` Ernesto Posse
2011-04-12 16:46 ` Marco
0 siblings, 1 reply; 4+ messages in thread
From: Ernesto Posse @ 2011-04-12 16:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
I'm confused. my /etc/texmf.cnf file contains:
TEXMFCACHE = /var/tex/cache
and this directory exists but it is empty. Why is this being ignored?
If I don't have a user-specific environment variable with that name,
shouldn't the one from texmf.cnf be used?
Furthermore, when I run
kpsewhich -var-value TEXMFCACHE
it shows that directory, but when I run texconfig, TEXMFCACHE does not
appear under kpathsea variables. What is the problem?
PS: I'm running context 2009.11.26-2, luatex 0.60.1-1build2,
texlive-luatex 2009-10 on ubuntu 10.10.
On Tue, Apr 12, 2011 at 11:29 AM, Marco <netuse@lavabit.com> wrote:
> On 2011-04-12 Ernesto Posse <eposse@cs.queensu.ca> wrote:
>
>> Hello. I use a few tools from ConTeXt such as mptopdf, and whenever I
>> run them they generate a 'luatex-cache' folder directly under my user
>> folder, but this luatex-cache folder is not hidden. How can I
>> configure ConTeXt or luatex to tell it where the cache folder should
>> be? (I looked up the archives and docs but I didn't find anything
>> about this.)
>
> Point the environment variable TEXMFCACHE to a directory
> where the user has write access to.
>
>
> Marco
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
--
Ernesto Posse
Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada
___________________________________________________________________________________
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] 4+ messages in thread
* Re: luatex-cache setup
2011-04-12 16:15 ` Ernesto Posse
@ 2011-04-12 16:46 ` Marco
0 siblings, 0 replies; 4+ messages in thread
From: Marco @ 2011-04-12 16:46 UTC (permalink / raw)
To: ntg-context
On 2011-04-12 Ernesto Posse <eposse@gmail.com> wrote:
> I'm confused. my /etc/texmf.cnf file contains:
>
> TEXMFCACHE = /var/tex/cache
>
> and this directory exists but it is empty. Why is this being ignored?
What are the permissions of this directory?
> If I don't have a user-specific environment variable with that name,
> shouldn't the one from texmf.cnf be used?
In the minimals distribution this is the case, I think the
same goes for texlive.
>
> Furthermore, when I run
>
> kpsewhich -var-value TEXMFCACHE
>
> it shows that directory,
MkIV doesn't use kpsewhich, but this shows that the value
from your texmf.cnf is read.
> but when I run texconfig,
I don't know what texconfig is for.
> TEXMFCACHE does not
> appear under kpathsea variables. What is the problem?
I don't use texlive, I can only speak for the minimals
distribution. But you can try the following (as a normal
user):
1) Create a cache directory somewhere
2) set TEXMFCACHE to this directory and export it
3) Run mtxrun --generate
4) Run context --make
5) Run context on a simple hello world file
The generated formats should be placed in the new cache
directory.
> PS: I'm running context 2009.11.26-2, luatex 0.60.1-1build2,
> texlive-luatex 2009-10 on ubuntu 10.10.
If you have troubles or want a more up-to-date system you
should consider installing the minimals.
Marco
___________________________________________________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2011-04-12 16:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-12 15:14 luatex-cache setup Ernesto Posse
2011-04-12 15:29 ` Marco
2011-04-12 16:15 ` Ernesto Posse
2011-04-12 16:46 ` Marco
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).