Re: [NTG-context] Luatex startup difficulties

2007-12-29 Thread Willi Egger
Hi,

Thanks for this patch!

After replacing the line with you patch I tried to run the file  
again. - Error remained. - May be I should remake the formats.

Now I get the following eror during regeneration of the formats:

! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font- 
def.lua:436: attempt to index field 'otf' (a nil value).
\mkdefinefontfeature ...preset_context(#1,#2)}

l.3539   [liga=yes,kern=yes,tlig=yes,trep=yes]
%  
texligatures=yes,texquotes=yes

Again, I am at a loss.

Willi


On Dec 29, 2007, at 10:59 AM, Taco Hoekwater wrote:

 if d.name then
  if d.unicode then
 characters[d.unicode] = { description = d }
  else
 characters[d.unicodeenc] = { description = d }
  end
  end

BOEDE
Book and Electronic Document Engineering
Willi Egger
[EMAIL PROTECTED]
KvK 17138708



___
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] Luatex startup difficulties

2007-12-29 Thread Taco Hoekwater
Willi Egger wrote:
 Hi,
 
 Thanks for this patch!
 
 After replacing the line with you patch I tried to run the file  
 again. - Error remained. - May be I should remake the formats.
 
 Now I get the following eror during regeneration of the formats:
 
 ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font- 
 def.lua:436: attempt to index field 'otf' (a nil value).
 \mkdefinefontfeature ...preset_context(#1,#2)}

Perhaps just junk in the cache, caused by the earlier problems.
Try deleting the fonts/* subpath of the luatex-cache?

(the cache path can be deduced from the LuaTools messages)

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] Luatex startup difficulties

2007-12-29 Thread Willi Egger
Hi Taco,

strange, even after deleting the complete cache and regenerating it  
with luatools --generate again, the error remains.

Willi

On Dec 29, 2007, at 3:30 PM, Taco Hoekwater wrote:

 Willi Egger wrote:
 Hi,

 Thanks for this patch!

 After replacing the line with you patch I tried to run the file
 again. - Error remained. - May be I should remake the formats.

 Now I get the following eror during regeneration of the formats:

 ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font-
 def.lua:436: attempt to index field 'otf' (a nil value).
 \mkdefinefontfeature ...preset_context(#1,#2)}

 Perhaps just junk in the cache, caused by the earlier problems.
 Try deleting the fonts/* subpath of the luatex-cache?

 (the cache path can be deduced from the LuaTools messages)

 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
 __ 
 _

BOEDE
Book and Electronic Document Engineering
Willi Egger
[EMAIL PROTECTED]
KvK 17138708



___
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] Luatex startup difficulties

2007-12-29 Thread Taco Hoekwater
Willi Egger wrote:
 Hi Taco,
 
 strange, even after deleting the complete cache and regenerating it  
 with luatools --generate again, the error remains.

Really strange. I hope Hans understands
___
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] Luatex startup difficulties

2007-12-29 Thread luigi scarso
On Dec 28, 2007 10:20 PM, Willi Egger [EMAIL PROTECTED] wrote:
 Hi,
 My testfile is:

 \enableregime[utf]

 \starttext
 There is text.
 \stoptext

 ConTeXt  ver: 2007.12.26 20:00 MKIV  fmt: 2007.12.26  int: english/
 english

Compile ok here.
This is LuaTeX, Version snapshot-0.20.2-2007121721 (Web2C 7.5.6)
(format=cont-en 2007.12.19)  29 DEC 2007 13:12
**test-001.tex
(./test-001.tex

ConTeXt  ver: 2007.12.18 19:11 MKIV  fmt: 2007.12.19  int: english/english


I suspect that you are using a beta version.
-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
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] Luatex startup difficulties

2007-12-29 Thread Hans Hagen
Willi Egger wrote:
 Hi Taco,
 
 strange, even after deleting the complete cache and regenerating it  
 with luatools --generate again, the error remains.

what version of luatex do you run ..

luatex --version

-
   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] Luatex startup difficulties

2007-12-29 Thread Willi Egger
Hi Hans and Taco,

Luatex --version reveals:

This is build 915, created on 20071128T092554Z
Compiled with libpng 1.2.15; using libpng 1.2.15
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.01

Binaries where fetched from http://foundry.supelec.fr/projects/luatex/

This is LuaTeX, Version snapshot-0.20.2-2007121720 (Web2C 7.5.6) (beta)

I tried also to switch to the snapshot version from http:// 
foundry.supelec.fr/projects/luatex/

This is luaTeX, Version 3.141592-snapshot-0.15.0-2007103113

This is build 762, created on 20070926T144212Z
Compiled with libpng 1.2.15; using libpng 1.2.15
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.01

I deleted the cache.
After luatools --generate
texexec --lua --make --all

I get the same error:

! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font- 
def.lua:436: attempt to index field 'otf' (a nil value).
\mkdefinefontfeature ...preset_context(#1,#2)}

l.3539   [liga=yes,kern=yes,tlig=yes,trep=yes]
%  
texligatures=yes,texquotes=yes


Willi


On Dec 29, 2007, at 9:20 PM, Hans Hagen wrote:

 Willi Egger wrote:
 Hi Taco,

 strange, even after deleting the complete cache and regenerating it
 with luatools --generate again, the error remains.

 what version of luatex do you run ..

 luatex --version

 -
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
 __ 
 _




___
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] Luatex startup difficulties

2007-12-29 Thread Hans Hagen
Willi Egger wrote:
 Hi Hans and Taco,
 
 Luatex --version reveals:
 
 This is build 915, created on 20071128T092554Z
 Compiled with libpng 1.2.15; using libpng 1.2.15
 Compiled with zlib 1.2.3; using zlib 1.2.3
 Compiled with xpdf version 3.01
 
 Binaries where fetched from http://foundry.supelec.fr/projects/luatex/
 
 This is LuaTeX, Version snapshot-0.20.2-2007121720 (Web2C 7.5.6) (beta)
 
 I tried also to switch to the snapshot version from http:// 
 foundry.supelec.fr/projects/luatex/
 
 This is luaTeX, Version 3.141592-snapshot-0.15.0-2007103113
 
 This is build 762, created on 20070926T144212Z
 Compiled with libpng 1.2.15; using libpng 1.2.15
 Compiled with zlib 1.2.3; using zlib 1.2.3
 Compiled with xpdf version 3.01
 
 I deleted the cache.
 After luatools --generate
 texexec --lua --make --all

taco and i need to look into it, somehow luatex behaves like an older 
version

 I get the same error:
 
 ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font- 
 def.lua:436: attempt to index field 'otf' (a nil value).

that's because you introduced an arror in font-otf.lua

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] Luatex startup difficulties

2007-12-29 Thread Hans Hagen
Willi Egger wrote:

 I get the same error:

i uploaded a new current zip which should be able to handle the older 
luatex unicode table keys

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] Luatex startup difficulties

2007-12-29 Thread Willi Egger
Hi Hans,

indeed, I mistakenly commented the original lines of the first error  
with % instead of --.
Hereafter I left the patch Taco gave in the file font-otf.lua.

Running texexec --lua --make --all worked then with
This is luaTeX, Version 3.141592-snapshot-0.15.0-2007103113
ConTeXt  ver: 2007.12.26 20:00 MKIV  fmt: 2007.12.29  int: english/ 
englis

Compiling my simple file ended with an error:

error: ...luatex/tex/texmf-local/tex/context/base/node-ini.lua:438:  
bad argument #2 to 'kerning' (luatex.node expected, got boolean)


Then I reverted to the beta
This is LuaTeX, Version snapshot-0.20.2-2007121720
texexec --lua --make --all run without problem.

Compiling my simple file worked then!

So, sorry for the noise!

Thanks for all your responses!

Willi


On Dec 29, 2007, at 10:22 PM, Hans Hagen wrote:

 Willi Egger wrote:
 Hi Hans and Taco,

 Luatex --version reveals:

 This is build 915, created on 20071128T092554Z
 Compiled with libpng 1.2.15; using libpng 1.2.15
 Compiled with zlib 1.2.3; using zlib 1.2.3
 Compiled with xpdf version 3.01

 Binaries where fetched from http://foundry.supelec.fr/projects/ 
 luatex/

 This is LuaTeX, Version snapshot-0.20.2-2007121720 (Web2C 7.5.6)  
 (beta)

 I tried also to switch to the snapshot version from http://
 foundry.supelec.fr/projects/luatex/

 This is luaTeX, Version 3.141592-snapshot-0.15.0-2007103113

 This is build 762, created on 20070926T144212Z
 Compiled with libpng 1.2.15; using libpng 1.2.15
 Compiled with zlib 1.2.3; using zlib 1.2.3
 Compiled with xpdf version 3.01

 I deleted the cache.
 After luatools --generate
 texexec --lua --make --all

 taco and i need to look into it, somehow luatex behaves like an older
 version

 I get the same error:

 ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/font-
 def.lua:436: attempt to index field 'otf' (a nil value).

 that's because you introduced an arror in font-otf.lua

 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
 __ 
 _

BOEDE
Book and Electronic Document Engineering
Willi Egger
[EMAIL PROTECTED]
KvK 17138708



___
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] Luatex startup difficulties

2007-12-29 Thread luigi scarso
On Dec 29, 2007 10:37 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 Willi Egger wrote:

  I get the same error:

 i uploaded a new current zip which should be able to handle the older
 luatex unicode table keys

Compilation ok here .

This is LuaTeX, Version snapshot-0.20.2-2007121721
ConTeXt  ver: 2007.12.29 22:30 MKIV  fmt: 2007.12.30  int: english/english

-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
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
___