[OS X TeX] ConTeXt issues

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Sep 10 11:01:04 EDT 2011


On 09/09/2011 15:48, Joseph Wright wrote:
> Hello all,
> 
> I'm trying to get ConTeXT MkIV working with MacTeX 2011. My system seems
> to be up to date, but running 'context' from the Terminal (MAc OS
> 10.6.8) gives:
> 
> mtxrun          | forcing cache reload
> resolvers       | resolving | configuration files already identified
> resolvers       | resolving | skipping configuration file
> 'selfautoparent:/texmfcnf.lua' (no content)
> resolvers       | resolving | no texmf paths are defined (using TEXMF)
> resolvers       | resolving |
> mtxrun          | the resolver databases are not present or outdated
> resolvers       | resolving | using suffix based filetype 'lua'
> resolvers       | resolving | using suffix based filetype 'lua'
> resolvers       | resolving | remembered file 'mtx-context.lua'
> resolvers       | resolving | using suffix based filetype 'lua'
> mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'
> 
> 'luatools --generate' gives a similar issue
> 
> mtxrun          | forcing cache reload
> resolvers       | resolving | configuration files already identified
> resolvers       | resolving | skipping configuration file
> 'selfautoparent:/texmfcnf.lua' (no content)
> resolvers       | resolving | no texmf paths are defined (using TEXMF)
> resolvers       | resolving |
> mtxrun          | the resolver databases are not present or outdated
> resolvers       | resolving | using suffix based filetype 'lua'
> resolvers       | resolving | using suffix based filetype 'lua'
> resolvers       | resolving | remembered file 'mtx-base.lua'
> resolvers       | resolving | using suffix based filetype 'lua'
> mtxrun          | unknown script 'base.lua' or 'mtx-base.lua'
> 
> I'm not sure at the moment if this is MacTeX-specific or a TeX Live 2011
> issue. Does anyone have any ideas?

Hello all,

Thanks to Mojca Miklavec I now have the answer. My copy of
/usr/local/texlive/2011/texmfcnf.lua read:

-- (Public domain.)
-- This texmfcnf.lua file should exist only if you have personal changes
-- from the distributed file; for example, if TEXMFVAR was changed in
-- the installer.
--
return { TEXMFCACHE = '~/Library/texlive/2011/texmf-var' }

I installed MacTeX 2011 during pre-testing, and therefore this needs to
be amended to

return {
  content = {
    variables = {
      TEXMFHOME = "~/Library/texmf",
      TEXMFVAR = "~/Library/texlive/2011/texmf-var",
      TEXMFCONFIG = "~/Library/texlive/2011/texmf-config",
    },
  },
}

This is now 'standard', so reinstalling MacTeX would also have worked,
but I think editing one text file is preferable :-)
-- 
Joseph Wright



More information about the MacOSX-TeX mailing list