Re: [NTG-context] trouble starting context

2008-07-06 Thread Jesse Alama
Jesse Alama <[EMAIL PROTECTED]> writes:

> Jesse Alama <[EMAIL PROTECTED]> writes:
>
>> Taco Hoekwater <[EMAIL PROTECTED]> writes:
>>
>>> Aditya Mahajan wrote:
 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?
>>>
>>> Try
>>>
>>>$ env TEXMFCACHE=/Users/alama context dissertation
>>>
>>> maybe that will help. (I am guessing right now, but I will install the 
>>> texlive devel snapshot on a clean virtual machine on monday).
>>
>> Same problem:
>>
>>   $ MTX_INPUT_TRACE=3 TEXMFCACHE=/Users/alama context dissertation
>>   ! using suffix based filetype: %s | lua
>>   ? blobpath asked: %s | context.lua
>>   ? filename: %s | context.lua
>>   - readable: %s | ./context.lua
>>   ! using suffix based filetype: %s | lua
>>   ? blobpath asked: %s | mtx-context.lua
>>   ? filename: %s | mtx-context.lua
>>   - readable: %s | ./mtx-context.lua
>>   ! using suffix based filetype: %s | lua
>>   ? blobpath asked: %s | mtx-contexts.lua
>>   ? filename: %s | mtx-contexts.lua
>>   - readable: %s | ./mtx-contexts.lua
>>   ! remembered: %s | mtx-context.lua
>>   MtxRun | unknown script: context
>>
>> I'll take this to the tex-live list -- perhaps something is
>> misconfigured in TL2008.
>
> The latest tl2008 snapshot seems to solve the problem (though I'm not
> sure why).  Sorry for complaining -- I realize that LuaTeX+MkIV (and
> these days TL2008) are moving targets, but one's patience sometimes runs
> thin.

I spoke too soon: I confused a shell in which I had set up ConTeXt using
the setuptex script with a vanilla shell.  The basic startup problem
still stands.  (I've also asked for help on the TL list.)

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
___


Re: [NTG-context] trouble starting context

2008-07-06 Thread Jesse Alama
Jesse Alama <[EMAIL PROTECTED]> writes:

> Taco Hoekwater <[EMAIL PROTECTED]> writes:
>
>> Aditya Mahajan wrote:
>>> 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?
>>
>> Try
>>
>>$ env TEXMFCACHE=/Users/alama context dissertation
>>
>> maybe that will help. (I am guessing right now, but I will install the 
>> texlive devel snapshot on a clean virtual machine on monday).
>
> Same problem:
>
>   $ MTX_INPUT_TRACE=3 TEXMFCACHE=/Users/alama context dissertation
>   ! using suffix based filetype: %s | lua
>   ? blobpath asked: %s | context.lua
>   ? filename: %s | context.lua
>   - readable: %s | ./context.lua
>   ! using suffix based filetype: %s | lua
>   ? blobpath asked: %s | mtx-context.lua
>   ? filename: %s | mtx-context.lua
>   - readable: %s | ./mtx-context.lua
>   ! using suffix based filetype: %s | lua
>   ? blobpath asked: %s | mtx-contexts.lua
>   ? filename: %s | mtx-contexts.lua
>   - readable: %s | ./mtx-contexts.lua
>   ! remembered: %s | mtx-context.lua
>   MtxRun | unknown script: context
>
> I'll take this to the tex-live list -- perhaps something is
> misconfigured in TL2008.

The latest tl2008 snapshot seems to solve the problem (though I'm not
sure why).  Sorry for complaining -- I realize that LuaTeX+MkIV (and
these days TL2008) are moving targets, but one's patience sometimes runs
thin.

Thanks,

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
___


Re: [NTG-context] trouble starting context

2008-07-06 Thread Jesse Alama
Taco Hoekwater <[EMAIL PROTECTED]> writes:

> Aditya Mahajan wrote:
>> 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?
>
> Try
>
>$ env TEXMFCACHE=/Users/alama context dissertation
>
> maybe that will help. (I am guessing right now, but I will install the 
> texlive devel snapshot on a clean virtual machine on monday).

Same problem:

  $ MTX_INPUT_TRACE=3 TEXMFCACHE=/Users/alama context dissertation
  ! using suffix based filetype: %s | lua
  ? blobpath asked: %s | context.lua
  ? filename: %s | context.lua
  - readable: %s | ./context.lua
  ! using suffix based filetype: %s | lua
  ? blobpath asked: %s | mtx-context.lua
  ? filename: %s | mtx-context.lua
  - readable: %s | ./mtx-context.lua
  ! using suffix based filetype: %s | lua
  ? blobpath asked: %s | mtx-contexts.lua
  ? filename: %s | mtx-contexts.lua
  - readable: %s | ./mtx-contexts.lua
  ! remembered: %s | mtx-context.lua
  MtxRun | unknown script: context

I'll take this to the tex-live list -- perhaps something is
misconfigured in TL2008.

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
___


Re: [NTG-context] trouble starting context

2008-07-05 Thread Taco Hoekwater
Aditya Mahajan wrote:
> 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?

Try

   $ env TEXMFCACHE=/Users/alama context dissertation

maybe that will help. (I am guessing right now, but I will install the 
texlive devel snapshot on a clean virtual machine on monday).

Best wishes,
Taco


___
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
___


Re: [NTG-context] trouble starting context

2008-07-04 Thread Jesse Alama
Hans Hagen <[EMAIL PROTECTED]> writes:

> Jesse Alama wrote:
>> Hans Hagen <[EMAIL PROTECTED]> writes:
>> 
>>> Jesse Alama wrote:
>>>
> LuaTools | runtime: 6.702 seconds
 Any ideas?
>>> looks ok to me
>>>
>>> did you update mtxrun.lua -> mtxrun(.lua) in your bin path?
>> 
>> No, I didn't mess with that.
>> 
>> Is anyone else testing out the latest TeXLive developer snapshot?  My
>> experience has been that LuaTeX is broken.  Perhaps it is premature to
>> include LuaTeX in this year's TeXLive.  Or perhaps the binaries and
>> scripts that one gets when one downloads the latest TeXLive developer
>> snapshot are too old.  Or perhaps LuaTeX requires more (or different)
>> configuration than is done in the texmf.cnf that is distributed with
>> TeXLive.
>
> you can best take Norberts packages then since they reflect the latest 
> state of affairs and can be ahead of tex live (context in tex live is 
> already frozen)

I'll try to get Norbert's packages -- thanks for the tip.  As for
TeXLive, it would be a real shame if the TL2008 DVD were shipped with a
busted LuaTeX+MkIV installation.  I for one am quite enthusiastic about
these two projects, so it was disheartening to come across such a basic
problem.  Perhaps I should post to the tex-live mailing list and ask
whether other testers are having similar trouble.

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
___


Re: [NTG-context] trouble starting context

2008-07-04 Thread Hans Hagen
Jesse Alama wrote:
> Hans Hagen <[EMAIL PROTECTED]> writes:
> 
>> Jesse Alama wrote:
>>
 LuaTools | runtime: 6.702 seconds
>>> Any ideas?
>> looks ok to me
>>
>> did you update mtxrun.lua -> mtxrun(.lua) in your bin path?
> 
> No, I didn't mess with that.
> 
> Is anyone else testing out the latest TeXLive developer snapshot?  My
> experience has been that LuaTeX is broken.  Perhaps it is premature to
> include LuaTeX in this year's TeXLive.  Or perhaps the binaries and
> scripts that one gets when one downloads the latest TeXLive developer
> snapshot are too old.  Or perhaps LuaTeX requires more (or different)
> configuration than is done in the texmf.cnf that is distributed with
> TeXLive.

you can best take Norberts packages then since they reflect the latest 
state of affairs and can be ahead of tex live (context in tex live is 
already frozen)

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] trouble starting context

2008-07-04 Thread Jesse Alama
Hans Hagen <[EMAIL PROTECTED]> writes:

> Jesse Alama wrote:
>
>>> LuaTools | runtime: 6.702 seconds
>> 
>> Any ideas?
>
> looks ok to me
>
> did you update mtxrun.lua -> mtxrun(.lua) in your bin path?

No, I didn't mess with that.

Is anyone else testing out the latest TeXLive developer snapshot?  My
experience has been that LuaTeX is broken.  Perhaps it is premature to
include LuaTeX in this year's TeXLive.  Or perhaps the binaries and
scripts that one gets when one downloads the latest TeXLive developer
snapshot are too old.  Or perhaps LuaTeX requires more (or different)
configuration than is done in the texmf.cnf that is distributed with
TeXLive.

Thanks,

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
___


Re: [NTG-context] trouble starting context

2008-07-04 Thread Hans Hagen
Jesse Alama wrote:

>> LuaTools | runtime: 6.702 seconds
> 
> Any ideas?

looks ok to me

did you update mtxrun.lua -> mtxrun(.lua) in your bin path?

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] trouble starting context

2008-07-04 Thread Jesse Alama
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/t

Re: [NTG-context] trouble starting context

2008-07-03 Thread Aditya Mahajan
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?

Aditya
___
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
___


Re: [NTG-context] trouble starting context

2008-07-03 Thread Jesse Alama
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?

Thanks,

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
___


Re: [NTG-context] trouble starting context

2008-07-03 Thread Taco Hoekwater


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.

> By the way, I initially modified the "local" texmf.cnf file
> 
>   texlive/2008/texmf.cnf
> 
> rather than the "gloal" configuration file
> 
>   texlive/2008/texmf/web2c/texmf.cnf
> 
> because the former file says that it should contain changes to the
> latter:
> 
>   <---snip--->
>   % If you want to configure something to a value different then the one 
>   % in texmf/web2c/texmf.cnf, just put the changed value here.
>   <---snip--->
> 
> But I noticed that when I ran luatools --generate, it apparently ignored
> this "local" texmf.cnf file; it read only the "global" texmf.cnf file.

This seems to be a difference of opinion between luatools and kpathsea,
(luatools should probably be adjusted to behave the same as kpathsea).

> I inferred that from the output:
> 
>   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
>   ...etc.
> 
> Thus I modified the "global" configuration file instead.  By the way,
> the variables LUAINPUTS and TEXMFSCRIPTS already had values:
> 
>   LUAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/lua//;$TEXINPUTS
>   TEXMFSCRIPTS = $TEXMF/scripts/{$engine,$progname,}//
> 
> But I overwrote those to give them the values you recommended, to no
> avail, unfortunately.
> 
> Jesse
> 

Best wishes,
Taco
___
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
___


Re: [NTG-context] trouble starting context

2008-07-02 Thread Jesse Alama
Taco Hoekwater <[EMAIL PROTECTED]> writes:

> Jesse Alama wrote:
>> I just downloaded the TeXLive 2008 developer snapshot and wanted to try
>> out LuaTeX.  Unfortunately, I can't even get started:
>> 
>>   $ context dissertation.tex
>> 
>>   MtxRun | unknown script: context
>> 
>> I ran luatools --generate before doing this.  What's odd is that
>> mtx-context can be found:
>> 
>>   $ luatools mtx-context.lua
>
> We've had this before. IIRC, the problem is that mtxrun looks for
> the script using a different 'file type' from luatools. It probably
> means you will have to adjust a value in texmf.cnf.
>
> 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?

By the way, I initially modified the "local" texmf.cnf file

  texlive/2008/texmf.cnf

rather than the "gloal" configuration file

  texlive/2008/texmf/web2c/texmf.cnf

because the former file says that it should contain changes to the
latter:

  <---snip--->
  % If you want to configure something to a value different then the one 
  % in texmf/web2c/texmf.cnf, just put the changed value here.
  <---snip--->

But I noticed that when I ran luatools --generate, it apparently ignored
this "local" texmf.cnf file; it read only the "global" texmf.cnf file.
I inferred that from the output:

  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
  ...etc.

Thus I modified the "global" configuration file instead.  By the way,
the variables LUAINPUTS and TEXMFSCRIPTS already had values:

  LUAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/lua//;$TEXINPUTS
  TEXMFSCRIPTS = $TEXMF/scripts/{$engine,$progname,}//

But I overwrote those to give them the values you recommended, to no
avail, unfortunately.

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
___


Re: [NTG-context] trouble starting context

2008-07-02 Thread Taco Hoekwater


Jesse Alama wrote:
> I just downloaded the TeXLive 2008 developer snapshot and wanted to try
> out LuaTeX.  Unfortunately, I can't even get started:
> 
>   $ context dissertation.tex
> 
>   MtxRun | unknown script: context
> 
> I ran luatools --generate before doing this.  What's odd is that
> mtx-context can be found:
> 
>   $ luatools mtx-context.lua

We've had this before. IIRC, the problem is that mtxrun looks for
the script using a different 'file type' from luatools. It probably
means you will have to adjust a value in texmf.cnf.

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.

Hope this helps,
Taco

___
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
___


[NTG-context] trouble starting context

2008-07-01 Thread Jesse Alama
I just downloaded the TeXLive 2008 developer snapshot and wanted to try
out LuaTeX.  Unfortunately, I can't even get started:

  $ context dissertation.tex

  MtxRun | unknown script: context

I ran luatools --generate before doing this.  What's odd is that
mtx-context can be found:

  $ luatools mtx-context.lua
  
  LuaTools | error unable to locate texmfcnf.lua
  LuaTools | loading configuration for /usr/local/texlive/2008/texmf/web2c from 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef
  LuaTools | locating list of /Users/alama/.texlive2008/texmf-config
  LuaTools | locating list of /Users/alama/.texlive2008/texmf-var
  LuaTools | locating list of /Users/alama/texmf
  LuaTools | locating list of /usr/local/texlive/2008/texmf-config
  LuaTools | locating list of /usr/local/texlive/2008/texmf-var
  LuaTools | locating list of /usr/local/texlive/2008/texmf
  LuaTools | locating list of /usr/local/texlive/texmf-local
  LuaTools | locating list of /usr/local/texlive/2008/texmf-dist
  LuaTools | loading files for /Users/alama/texmf from 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ac3eee35b5b23b98b43e5c7003a4bbe4
  LuaTools | loading files for /usr/local/texlive/2008/texmf-config from 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/8d010c969467b901b6bcb91f6f471f8b
  LuaTools | loading files for /usr/local/texlive/2008/texmf-var from 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/54c38668678471591609fbe0217efe48
  LuaTools | loading files for /usr/local/texlive/2008/texmf from 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/982f3cc39ab8256ee0595931d5cfd085
  LuaTools | loading files for /usr/local/texlive/texmf-local from 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/1f08e3a96247a4bd25d903ca1cb00c0e
  LuaTools | loading files for /usr/local/texlive/2008/texmf-dist from 
/Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/4eb9551710f45f305daf928a0f6f4fb0
  LuaTools | 
  LuaTools | /usr/local/texlive/texmf-local/scripts/context/lua/mtx-context.lua
  LuaTools | 
  LuaTools | runtime: 0.118 seconds

What might be going on?

Thanks,

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
___