On Wed, Oct 6, 2010 at 13:21, Hans Hagen wrote:
> On 6-10-2010 12:50, Mojca Miklavec wrote:
>
>>     return { TEXMFCACHE = '~/Library/texlive/2010/texmf-var' }
>> that has probably been created for MacTeX only. Any idea how to best
>> circumvent this? Should we ask Dick to fix texmfcnf.lua to handle both
>> old and new ConTeXt? But most important of all - why doesn't ConTeXt
>> handle that already? (Why doesn't it find several versions of
>> configuration file and just overloads the important bits?)
>
> why not just take the latest texmfcnf.lua; you can either change the cache
> path there or you can have an extra texmfcnf.lua with only the vars that
> need to be adapted and put that in texmf-local or so

I have now changed
    /usr/local/texlive/2010/texmfcnf.lua
that now includes:

return {
  content = {
    TEXMFCACHE = '~/Library/texlive/2010/texmf-var'
    TEXMFHOME  = '~/Library/texmf'
  }
  TEXMFCACHE = '~/Library/texlive/2010/texmf-var'
}

and this seems to work at least. Well, kind of works. Since it reports

MTXrun | resolvers: category 'files', cachename
'/usr/local/texlive/2010/texmf' saved in
'/var/folders/M4/M4ltQCbqFY8X0ixvLEMsQE+++TI/-Tmp-/luatex-cache/context/210a81d6dcb1059dc80fab3f5470ab7a/trees/1240e363db2f4c53de58379d2b0c6f6b.lua'

and that is not really the desired location. Also when I run context it says:

MTXrun | resolvers: skipping configuration file
'/usr/local/texlive/2010/texmfcnf.lua'
MTXrun | resolvers: loading configuration file
'/usr/local/texlive/2010/texmf/web2c/texmfcnf.lua'

Hans, what exactly does it mean "skipping configuration"?

Mojca
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to