Aditya Mahajan <[EMAIL PROTECTED]> writes:

> On Thu, 3 Jul 2008, Jesse Alama wrote:
>
>> Taco Hoekwater <[EMAIL PROTECTED]> writes:
>>
>>> Jesse Alama wrote:
>>>> Taco Hoekwater <[EMAIL PROTECTED]> writes:
>>>>>
>>>>> I have:
>>>>>
>>>>> LUAINPUTS=.;$TEXMF/tex/{context,plain/base,generic}//:$TEXMF/scripts/context/lua
>>>>> TEXMFSCRIPTS=.;$TEXMF/tex/{context,plain/base,generic,}//;$TEXMF/scripts/context//
>>>>>
>>>>> and I strongly suspect both are needed. After adjusting the value(s),
>>>>> you will have to rerun luatools --generate.
>>>>
>>>> I modified texmf.cnf to give these variables those values, but I still
>>>> get the same error, even after luatools --generate.  Further
>>>> suggestions?
>>>
>>> Maybe
>>>
>>>    $ env MPX_INPUT_TRACE=3 context ...
>>>
>>> will give some hint about what mtxrun is doing.
>>
>> $ MTX_INPUT_TRACE=3 context
>> MtxRun | ! using suffix based filetype: lua
>> MtxRun | ? blobpath asked: context.lua
>> MtxRun | ? filename: context.lua
>> MtxRun | - readable: ./context.lua
>> MtxRun | ! using suffix based filetype: lua
>> MtxRun | ? blobpath asked: mtx-context.lua
>> MtxRun | ? filename: mtx-context.lua
>> MtxRun | - readable: ./mtx-context.lua
>> MtxRun | ! using suffix based filetype: lua
>> MtxRun | ? blobpath asked: mtx-contexts.lua
>> MtxRun | ? filename: mtx-contexts.lua
>> MtxRun | - readable: ./mtx-contexts.lua
>> MtxRun | ! remembered: mtx-context.lua
>> MtxRun | unknown script: context
>>
>> It seems that mtxrun has no idea where to look for mtx-context.lua.  Any
>> suggestions?
>
> What does  MPX_INPUT_TRACE=3 luatools --generate say?

$ MTX_INPUT_TRACE=3 luatools --generate
LuaTools | error unable to locate texmfcnf.lua
LuaTools | loading /usr/local/texlive/2008/texmf/web2c/texmf.cnf
LuaTools | preparing configuration for 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tma
LuaTools | saving configuration in 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tma
LuaTools | compiling configuration to 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tmc
LuaTools | locating list of /Users/alama/.texlive2008/texmf-config
LuaTools | ? tex locator: /Users/alama/.texlive2008/texmf-config not found
LuaTools | locating list of /Users/alama/.texlive2008/texmf-var
LuaTools | ? tex locator: /Users/alama/.texlive2008/texmf-var not found
LuaTools | locating list of /Users/alama/texmf
LuaTools | ! tex locator: /Users/alama/texmf found
LuaTools | = hash append: /Users/alama/texmf
LuaTools | locating list of /usr/local/texlive/2008/texmf-config
LuaTools | ! tex locator: /usr/local/texlive/2008/texmf-config found
LuaTools | = hash append: /usr/local/texlive/2008/texmf-config
LuaTools | locating list of /usr/local/texlive/2008/texmf-var
LuaTools | ! tex locator: /usr/local/texlive/2008/texmf-var found
LuaTools | = hash append: /usr/local/texlive/2008/texmf-var
LuaTools | locating list of /usr/local/texlive/2008/texmf
LuaTools | ! tex locator: /usr/local/texlive/2008/texmf found
LuaTools | = hash append: /usr/local/texlive/2008/texmf
LuaTools | locating list of /usr/local/texlive/texmf-local
LuaTools | ! tex locator: /usr/local/texlive/texmf-local found
LuaTools | = hash append: /usr/local/texlive/texmf-local
LuaTools | locating list of /usr/local/texlive/2008/texmf-dist
LuaTools | ! tex locator: /usr/local/texlive/2008/texmf-dist found
LuaTools | = hash append: /usr/local/texlive/2008/texmf-dist
LuaTools | scanning path /Users/alama/texmf
LuaTools | 1199 files found on 251 directories with 42 uppercase remappings
LuaTools | scanning path /usr/local/texlive/2008/texmf-config
LuaTools | 0 files found on 0 directories with 0 uppercase remappings
LuaTools | scanning path /usr/local/texlive/2008/texmf-var
LuaTools | 93 files found on 31 directories with 0 uppercase remappings
LuaTools | scanning path /usr/local/texlive/2008/texmf
LuaTools | 1040 files found on 168 directories with 29 uppercase remappings
LuaTools | scanning path /usr/local/texlive/texmf-local
LuaTools | 3017 files found on 187 directories with 73 uppercase remappings
LuaTools | scanning path /usr/local/texlive/2008/texmf-dist
LuaTools | 56437 files found on 5450 directories with 2131 uppercase remappings
LuaTools | preparing files for 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ac3eee35b5b23b98b43e5c7003a4bbe4.tma
LuaTools | saving files in 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ac3eee35b5b23b98b43e5c7003a4bbe4.tma
LuaTools | compiling files to 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ac3eee35b5b23b98b43e5c7003a4bbe4.tmc
LuaTools | preparing files for 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/982f3cc39ab8256ee0595931d5cfd085.tma
LuaTools | saving files in 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/982f3cc39ab8256ee0595931d5cfd085.tma
LuaTools | compiling files to 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/982f3cc39ab8256ee0595931d5cfd085.tmc
LuaTools | preparing files for 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/4eb9551710f45f305daf928a0f6f4fb0.tma
LuaTools | saving files in 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/4eb9551710f45f305daf928a0f6f4fb0.tma
LuaTools | compiling files to 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/4eb9551710f45f305daf928a0f6f4fb0.tmc
LuaTools | preparing files for 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/1f08e3a96247a4bd25d903ca1cb00c0e.tma
LuaTools | saving files in 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/1f08e3a96247a4bd25d903ca1cb00c0e.tma
LuaTools | compiling files to 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/1f08e3a96247a4bd25d903ca1cb00c0e.tmc
LuaTools | preparing files for 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/8d010c969467b901b6bcb91f6f471f8b.tma
LuaTools | saving files in 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/8d010c969467b901b6bcb91f6f471f8b.tma
LuaTools | compiling files to 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/8d010c969467b901b6bcb91f6f471f8b.tmc
LuaTools | preparing files for 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/54c38668678471591609fbe0217efe48.tma
LuaTools | saving files in 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/54c38668678471591609fbe0217efe48.tma
LuaTools | compiling files to 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/54c38668678471591609fbe0217efe48.tmc
LuaTools | 
LuaTools | runtime: 6.702 seconds

Any ideas?

Thanks for the help,

Jesse

-- 
Jesse Alama ([EMAIL PROTECTED])

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to