ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* trouble starting context
@ 2008-07-02  2:06 Jesse Alama
  2008-07-02  7:56 ` Taco Hoekwater
  0 siblings, 1 reply; 15+ messages in thread
From: Jesse Alama @ 2008-07-02  2:06 UTC (permalink / raw)
  To: ntg-context

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 (alama@stanford.edu)

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-02  2:06 trouble starting context Jesse Alama
@ 2008-07-02  7:56 ` Taco Hoekwater
  2008-07-03  1:05   ` Jesse Alama
  0 siblings, 1 reply; 15+ messages in thread
From: Taco Hoekwater @ 2008-07-02  7:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-02  7:56 ` Taco Hoekwater
@ 2008-07-03  1:05   ` Jesse Alama
  2008-07-03  9:18     ` Taco Hoekwater
  0 siblings, 1 reply; 15+ messages in thread
From: Jesse Alama @ 2008-07-03  1:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Taco Hoekwater <taco@elvenkind.com> 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 (alama@stanford.edu)
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-03  1:05   ` Jesse Alama
@ 2008-07-03  9:18     ` Taco Hoekwater
  2008-07-04  3:42       ` Jesse Alama
  0 siblings, 1 reply; 15+ messages in thread
From: Taco Hoekwater @ 2008-07-03  9:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Jesse Alama wrote:
> Taco Hoekwater <taco@elvenkind.com> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-03  9:18     ` Taco Hoekwater
@ 2008-07-04  3:42       ` Jesse Alama
  2008-07-04  4:16         ` Aditya Mahajan
  0 siblings, 1 reply; 15+ messages in thread
From: Jesse Alama @ 2008-07-04  3:42 UTC (permalink / raw)
  To: ntg-context

Taco Hoekwater <taco@elvenkind.com> writes:

> Jesse Alama wrote:
>> Taco Hoekwater <taco@elvenkind.com> 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 (alama@stanford.edu)

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-04  3:42       ` Jesse Alama
@ 2008-07-04  4:16         ` Aditya Mahajan
  2008-07-04 19:40           ` Jesse Alama
  2008-07-05  7:17           ` Taco Hoekwater
  0 siblings, 2 replies; 15+ messages in thread
From: Aditya Mahajan @ 2008-07-04  4:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 3 Jul 2008, Jesse Alama wrote:

> Taco Hoekwater <taco@elvenkind.com> writes:
>
>> Jesse Alama wrote:
>>> Taco Hoekwater <taco@elvenkind.com> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-04  4:16         ` Aditya Mahajan
@ 2008-07-04 19:40           ` Jesse Alama
  2008-07-04 20:32             ` Hans Hagen
  2008-07-05  7:17           ` Taco Hoekwater
  1 sibling, 1 reply; 15+ messages in thread
From: Jesse Alama @ 2008-07-04 19:40 UTC (permalink / raw)
  To: ntg-context

Aditya Mahajan <adityam@umich.edu> writes:

> On Thu, 3 Jul 2008, Jesse Alama wrote:
>
>> Taco Hoekwater <taco@elvenkind.com> writes:
>>
>>> Jesse Alama wrote:
>>>> Taco Hoekwater <taco@elvenkind.com> 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 (alama@stanford.edu)

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-04 19:40           ` Jesse Alama
@ 2008-07-04 20:32             ` Hans Hagen
  2008-07-04 21:41               ` Jesse Alama
  0 siblings, 1 reply; 15+ messages in thread
From: Hans Hagen @ 2008-07-04 20:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-04 20:32             ` Hans Hagen
@ 2008-07-04 21:41               ` Jesse Alama
  2008-07-04 22:17                 ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Jesse Alama @ 2008-07-04 21:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans Hagen <pragma@wxs.nl> 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 (alama@stanford.edu)
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-04 21:41               ` Jesse Alama
@ 2008-07-04 22:17                 ` Hans Hagen
  2008-07-05  1:17                   ` Jesse Alama
  0 siblings, 1 reply; 15+ messages in thread
From: Hans Hagen @ 2008-07-04 22:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jesse Alama wrote:
> Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-04 22:17                 ` Hans Hagen
@ 2008-07-05  1:17                   ` Jesse Alama
  0 siblings, 0 replies; 15+ messages in thread
From: Jesse Alama @ 2008-07-05  1:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans Hagen <pragma@wxs.nl> writes:

> Jesse Alama wrote:
>> Hans Hagen <pragma@wxs.nl> 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 (alama@stanford.edu)
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-04  4:16         ` Aditya Mahajan
  2008-07-04 19:40           ` Jesse Alama
@ 2008-07-05  7:17           ` Taco Hoekwater
  2008-07-06 20:55             ` Jesse Alama
  1 sibling, 1 reply; 15+ messages in thread
From: Taco Hoekwater @ 2008-07-05  7:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> On Thu, 3 Jul 2008, Jesse Alama wrote:
> 
>> Taco Hoekwater <taco@elvenkind.com> writes:
>>
>>> Jesse Alama wrote:
>>>> Taco Hoekwater <taco@elvenkind.com> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-05  7:17           ` Taco Hoekwater
@ 2008-07-06 20:55             ` Jesse Alama
  2008-07-07  4:55               ` Jesse Alama
  0 siblings, 1 reply; 15+ messages in thread
From: Jesse Alama @ 2008-07-06 20:55 UTC (permalink / raw)
  To: ntg-context

Taco Hoekwater <taco@elvenkind.com> writes:

> Aditya Mahajan wrote:
>> On Thu, 3 Jul 2008, Jesse Alama wrote:
>> 
>>> Taco Hoekwater <taco@elvenkind.com> writes:
>>>
>>>> Jesse Alama wrote:
>>>>> Taco Hoekwater <taco@elvenkind.com> 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 (alama@stanford.edu)

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-06 20:55             ` Jesse Alama
@ 2008-07-07  4:55               ` Jesse Alama
  2008-07-07  5:53                 ` Jesse Alama
  0 siblings, 1 reply; 15+ messages in thread
From: Jesse Alama @ 2008-07-07  4:55 UTC (permalink / raw)
  To: ntg-context

Jesse Alama <alama@stanford.edu> writes:

> Taco Hoekwater <taco@elvenkind.com> writes:
>
>> Aditya Mahajan wrote:
>>> On Thu, 3 Jul 2008, Jesse Alama wrote:
>>> 
>>>> Taco Hoekwater <taco@elvenkind.com> writes:
>>>>
>>>>> Jesse Alama wrote:
>>>>>> Taco Hoekwater <taco@elvenkind.com> 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 (alama@stanford.edu)

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: trouble starting context
  2008-07-07  4:55               ` Jesse Alama
@ 2008-07-07  5:53                 ` Jesse Alama
  0 siblings, 0 replies; 15+ messages in thread
From: Jesse Alama @ 2008-07-07  5:53 UTC (permalink / raw)
  To: ntg-context

Jesse Alama <alama@stanford.edu> writes:

> Jesse Alama <alama@stanford.edu> writes:
>
>> Taco Hoekwater <taco@elvenkind.com> writes:
>>
>>> Aditya Mahajan wrote:
>>>> On Thu, 3 Jul 2008, Jesse Alama wrote:
>>>> 
>>>>> Taco Hoekwater <taco@elvenkind.com> writes:
>>>>>
>>>>>> Jesse Alama wrote:
>>>>>>> Taco Hoekwater <taco@elvenkind.com> 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 (alama@stanford.edu)

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-07-07  5:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-02  2:06 trouble starting context Jesse Alama
2008-07-02  7:56 ` Taco Hoekwater
2008-07-03  1:05   ` Jesse Alama
2008-07-03  9:18     ` Taco Hoekwater
2008-07-04  3:42       ` Jesse Alama
2008-07-04  4:16         ` Aditya Mahajan
2008-07-04 19:40           ` Jesse Alama
2008-07-04 20:32             ` Hans Hagen
2008-07-04 21:41               ` Jesse Alama
2008-07-04 22:17                 ` Hans Hagen
2008-07-05  1:17                   ` Jesse Alama
2008-07-05  7:17           ` Taco Hoekwater
2008-07-06 20:55             ` Jesse Alama
2008-07-07  4:55               ` Jesse Alama
2008-07-07  5:53                 ` Jesse Alama

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