Re: [NTG-context] Stable broken, beta works

2009-03-26 Thread Hans Hagen

Mojca Miklavec wrote:

On Wed, Mar 25, 2009 at 09:53, Thomas A. Schmitz wrote:

On Mar 25, 2009, at 9:43 AM, Henning Hraban Ramm wrote:


Sorry, I tested only on my Intel Mac at home this morning.
texlua on OSX-PPC is still broken.

It works with my self-compiled LuaTeX 0.36.0
Should I send my luatex/texlua binary to anyone?

Greetlings, Hraban

Hmm, it's broken on your computer, but it's working (with one exception) on
mine. You're still using 10.4, right? Maybe we should use binaries compiled
on 10.4, if they are upwards compatible with 10.5. Mojca, Arthur?


Dear Macies,

The answer to the first question: yes, I'm almost sure that current is
broken since it needs an older version of LuaTeX, but it's kind of
hard to keep up with Hans, esp. because the scripts need to be
rewritten if we want to support multiple LuaTeX versions, but then
there's still a problem: what LuaTeX version with what version of
ConTeXt? (I do plan to fix it, but I'm in chronical lack of time until
summer if I want to finish 33 15-pages reports and thesis in TeX
without getting distracted by the issues encountered while writing
them. But I'll do my best to fix the most urgent issues.)


supporting multiple luatex versions will happen once luatex is kind of 
stable, which is 1.0 and later


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] Stable broken, beta works

2009-03-26 Thread Henning Hraban Ramm

Am 2009-03-25 um 20:04 schrieb Mojca Miklavec:


On Wed, Mar 25, 2009 at 09:53, Thomas A. Schmitz wrote:


Maybe we should use binaries compiled
on 10.4, if they are upwards compatible with 10.5. Mojca, Arthur?


Right, but we need to find someone on 10.4 that's willing to
contribute. The binaries used to be compiled on 10.4 until now, so
obviously they are forward-compatible.


I can offer to build these binaries at work on OSX PPC 10.4
For I'm half-time self-employed now, I can do that only about every  
two weeks.


But my version didn't work, neither with current nor with beta.
(see my posting as of 2009-03-25 10:03 GMT+1)


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



PGP.sig
Description: Signierter Teil der Nachricht
___
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] Stable broken, beta works

2009-03-26 Thread Henning Hraban Ramm

Am 2009-03-26 um 10:12 schrieb Henning Hraban Ramm:

Right, but we need to find someone on 10.4 that's willing to
contribute. The binaries used to be compiled on 10.4 until now, so
obviously they are forward-compatible.


I can offer to build these binaries at work on OSX PPC 10.4
For I'm half-time self-employed now, I can do that only about every  
two weeks.


Sorry, I'm overhasty again: I forgot about my trusty old iBook G4.

Just checked out the source tree.

Where should I send my binaries to? Can I check them in myself?
I'd like to automate the whole checkout-build-checkin process.



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] Stable broken, beta works

2009-03-26 Thread Arthur Reutenauer
 Where should I send my binaries to? Can I check them in myself?

  Yes, you only need an SVN account on contextgarden.net.  Just tell me
by private mail what user name and password you would like, I'll create
it.

 I'd like to automate the whole checkout-build-checkin process.

  Generally speaking,

svn co http://svn.contextgarden.net/minimals-src/build-binaries
./build-binaries.sh  

should be enough.  The script builds the binaries if necessary, and
uploads them to the server.  SVN will prompt you for user name and
password the first time.

Arthur
___
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] Stable broken, beta works

2009-03-25 Thread Henning Hraban Ramm

Thank you, Patrick, for bringing the garden (back) to live!
Thank you, Mojca et.al., who fixed the latest LuaTeX issues!

But I'm still not happy...

With --context=current I get lots of warnings:


Warning: support for multiple lua states has been dropped.
  Please stop using a number after \directlua and \latelua.

Warning: The 'fontforge' table has been renamed to 'fontloader'.
  Please update your source file(s) accordingly.


And, worse, OTF handling seems broken:


load otf | saving: in cache
! LuaTeX error ...texmf/tex/texmf-context/tex/context/base/l-table.lua: 
244: attempt to call method 'find' (a nil value)

stack traceback:
	...texmf/tex/texmf-context/tex/context/base/l-table.lua:244: in  
function 'key'
	...texmf/tex/texmf-context/tex/context/base/l-table.lua:289: in  
function 'do_serialize'
	...texmf/tex/texmf-context/tex/context/base/l-table.lua:371: in  
function 'do_serialize'
	...texmf/tex/texmf-context/tex/context/base/l-table.lua:371: in  
function 'do_serialize'
	...texmf/tex/texmf-context/tex/context/base/l-table.lua:331: in  
function 'do_serialize'
	...texmf/tex/texmf-context/tex/context/base/l-table.lua:371: in  
function 'do_serialize'
	...texmf/tex/texmf-context/tex/context/base/l-table.lua:427: in  
function 'serialize'
	...texmf/tex/texmf-context/tex/context/base/l-table.lua:478: in  
function 'tofile'
	...exmf/tex/texmf-context/tex/context/base/luat-tmp.lua:169: in  
function 'savedata'
	...exmf/tex/texmf-context/tex/context/base/luat-tmp.lua:274: in  
function 'write'
	...exmf/tex/texmf-context/tex/context/base/font-otf.lua:906: in  
function 'load'
	...exmf/tex/texmf-context/tex/context/base/font-otf.lua:1845: in  
function 'otf_to_tfm'
	...exmf/tex/texmf-context/tex/context/base/font-otf.lua:2066: in  
function 'read_from_open_type'
	...exmf/tex/texmf-context/tex/context/base/font-def.lua:333: in  
function ...exmf/tex/texmf-context/tex/context/base/font-def.lua:315

(tail call): ?
	...exmf/tex/texmf-context/tex/context/base/font-def.lua:250: in  
function 'read'
	...exmf/tex/texmf-context/tex/context/base/font-def.lua:645: in  
function 'read'
	...exmf/tex/texmf-context/tex/context/base/font-def.lua:752: in  
function 'command_2'

\directlua :1: in main chunk.
\lowleveldefinefont ...s , \@@fontfallbacks  )}
  \edef \somefontspec  
{at \s...

\xxdododefinefont ...efont {#4}\newfontidentifier
  \let  
\localrelativefontsiz...

\fontstrategy ...me \fontclass #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont  
\fontstr...

\synchronizefont ...strategy \the \fontstrategies
  \relax \fi  
\iftryingfont \...

argument \getvalue {...@style@ \fontstyle }
   \edef \fontstyle  
{\fontstyle }\if...

...
l.53 \setupbodyfont[univers, ss, 7pt]



With --context=beta it runs through without errors or warnings!


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] Stable broken, beta works

2009-03-25 Thread Yue Wang
stable only works with luatex 0.30.x.

On Wed, Mar 25, 2009 at 3:22 PM, Henning Hraban Ramm hra...@fiee.net wrote:
 Thank you, Patrick, for bringing the garden (back) to live!
 Thank you, Mojca et.al., who fixed the latest LuaTeX issues!

 But I'm still not happy...

 With --context=current I get lots of warnings:


 Warning: support for multiple lua states has been dropped.
  Please stop using a number after \directlua and \latelua.

 Warning: The 'fontforge' table has been renamed to 'fontloader'.
  Please update your source file(s) accordingly.


 And, worse, OTF handling seems broken:


 load otf | saving: in cache
 ! LuaTeX error ...texmf/tex/texmf-context/tex/context/base/l-table.lua:244:
 attempt to call method 'find' (a nil value)
 stack traceback:
        ...texmf/tex/texmf-context/tex/context/base/l-table.lua:244: in
 function 'key'
        ...texmf/tex/texmf-context/tex/context/base/l-table.lua:289: in
 function 'do_serialize'
        ...texmf/tex/texmf-context/tex/context/base/l-table.lua:371: in
 function 'do_serialize'
        ...texmf/tex/texmf-context/tex/context/base/l-table.lua:371: in
 function 'do_serialize'
        ...texmf/tex/texmf-context/tex/context/base/l-table.lua:331: in
 function 'do_serialize'
        ...texmf/tex/texmf-context/tex/context/base/l-table.lua:371: in
 function 'do_serialize'
        ...texmf/tex/texmf-context/tex/context/base/l-table.lua:427: in
 function 'serialize'
        ...texmf/tex/texmf-context/tex/context/base/l-table.lua:478: in
 function 'tofile'
        ...exmf/tex/texmf-context/tex/context/base/luat-tmp.lua:169: in
 function 'savedata'
        ...exmf/tex/texmf-context/tex/context/base/luat-tmp.lua:274: in
 function 'write'
        ...exmf/tex/texmf-context/tex/context/base/font-otf.lua:906: in
 function 'load'
        ...exmf/tex/texmf-context/tex/context/base/font-otf.lua:1845: in
 function 'otf_to_tfm'
        ...exmf/tex/texmf-context/tex/context/base/font-otf.lua:2066: in
 function 'read_from_open_type'
        ...exmf/tex/texmf-context/tex/context/base/font-def.lua:333: in
 function ...exmf/tex/texmf-context/tex/context/base/font-def.lua:315
        (tail call): ?
        ...exmf/tex/texmf-context/tex/context/base/font-def.lua:250: in
 function 'read'
        ...exmf/tex/texmf-context/tex/context/base/font-def.lua:645: in
 function 'read'
        ...exmf/tex/texmf-context/tex/context/base/font-def.lua:752: in
 function 'command_2'
        \directlua :1: in main chunk.
 \lowleveldefinefont ...s , \@@fontfallbacks  )}
                                                  \edef \somefontspec {at
 \s...
 \xxdododefinefont ...efont {#4}\newfontidentifier
                                                  \let
 \localrelativefontsiz...
 \fontstrategy ...me \fontclass #2#3#4#5\endcsname
                                                  \tryingfontfalse \fi
 inserted text ...yle \fontalternative \fontsize
                                                  \fi \iftryingfont
 \fontstr...
 \synchronizefont ...strategy \the \fontstrategies
                                                  \relax \fi \iftryingfont
 \...
 argument \getvalue {...@style@ \fontstyle }
                                           \edef \fontstyle {\fontstyle
 }\if...
 ...
 l.53 \setupbodyfont[univers, ss, 7pt]



 With --context=beta it runs through without errors or warnings!


 Greetlings from Lake Constance!
 Hraban
 ---
 http://www.fiee.net/texnique/
 http://wiki.contextgarden.net
 https://www.cacert.org (I'm an assurer)

 ___
 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] Stable broken, beta works

2009-03-25 Thread luigi scarso
On Wed, Mar 25, 2009 at 8:33 AM, Yue Wang yuleo...@gmail.com wrote:
 stable only works with luatex 0.30.x.

I have just download last minimal x linux and
./luatex
This is LuaTeX, Version snapshot-0.36.0-2009032321 (Web2C 7.5.7)

./context --version
MtxRun | main context file:
/opt/minimals/tex/texmf-context/tex/context/base/context.tex
MtxRun | current version: 2008.11.10 21:40

So maybe  I have done something wrong , given that I'm currently
providing the linux binary for old linux plat.


-- 
luigi
___
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] Stable broken, beta works

2009-03-25 Thread Henning Hraban Ramm
Sorry, I tested only on my Intel Mac at home this morning.
texlua on OSX-PPC is still broken.

It works with my self-compiled LuaTeX 0.36.0
Should I send my luatex/texlua binary to anyone?

Greetlings, Hraban
___
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] Stable broken, beta works

2009-03-25 Thread Thomas A. Schmitz


On Mar 25, 2009, at 9:43 AM, Henning Hraban Ramm wrote:


Sorry, I tested only on my Intel Mac at home this morning.
texlua on OSX-PPC is still broken.

It works with my self-compiled LuaTeX 0.36.0
Should I send my luatex/texlua binary to anyone?

Greetlings, Hraban


Hmm, it's broken on your computer, but it's working (with one  
exception) on mine. You're still using 10.4, right? Maybe we should  
use binaries compiled on 10.4, if they are upwards compatible with  
10.5. Mojca, Arthur?


Thomas
___
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] Stable broken, beta works

2009-03-25 Thread Henning Hraban Ramm
2009/3/25 Henning Hraban Ramm hra...@fiee.net:
 Sorry, I tested only on my Intel Mac at home this morning.
 texlua on OSX-PPC is still broken.

 It works with my self-compiled LuaTeX 0.36.0
 Should I send my luatex/texlua binary to anyone?

Sorry again, I should really test before I post :-(

Running mtx-update (--context=beta) I get:

./bin/mtx-update.lua:432: attempt to index global 'statistics' (a nil value)

same on line 509. commented those lines, update seems to work (with my binary).

But when I try to make formats I get:

run | luatools --generate
dyld: Symbol not found: _close$UNIX2003
  Referenced from: /usr/local/ConTeXt/tex/texmf-osx-ppc/bin/texlua
  Expected in: /usr/lib/libSystem.B.dylib

So I must replace the binaries in texmf-osx-ppc/bin... Ok

I can generate formats for pdfTeX and XeTeX without problems.

luatools --generate
 (seems ok)

context --make
stops with:
loading : Node Support (initialization)
) (/usr/local/ConTeXt/tex/texmf-context/tex/context/base/node-fin.tex
loading : Node Support (finalization)
! Undefined control sequence.
argument \c!global

\doifnotinset #1-\edef \!!stringa {#1
  }\ifx \!!stringa \empty \expandafter \...
\dodefineattribute ...te }\doifnotinset \c!global
  {#2}{\appendetoks \csname ...
to be read again
   \par
l.35


(Yes, Thomas, I'm on 10.4 here.)




Greetlings, Hraban
___
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] Stable broken, beta works

2009-03-25 Thread Thomas A. Schmitz


On Mar 25, 2009, at 10:03 AM, Henning Hraban Ramm wrote:


Sorry again, I should really test before I post :-(

Running mtx-update (--context=beta) I get:

./bin/mtx-update.lua:432: attempt to index global 'statistics' (a  
nil value)


Have you tried mtxrun --selfupdate ? I know I got this error about a  
week or so ago, and I believe that solved it here.




same on line 509. commented those lines, update seems to work (with  
my binary).


But when I try to make formats I get:

run | luatools --generate
dyld: Symbol not found: _close$UNIX2003
 Referenced from: /usr/local/ConTeXt/tex/texmf-osx-ppc/bin/texlua
 Expected in: /usr/lib/libSystem.B.dylib

Hmm, this may be a difference between 10.4 and 10.5. Or... do you, by  
any chance have a fink or macports install?


Thomas
___
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] Stable broken, beta works

2009-03-25 Thread Henning Hraban Ramm
2009/3/25 Thomas A. Schmitz thomas.schm...@uni-bonn.de:
 ./bin/mtx-update.lua:432: attempt to index global 'statistics' (a nil
 value)
 Have you tried mtxrun --selfupdate ? I know I got this error about a week or
 so ago, and I believe that solved it here.

Yes

 dyld: Symbol not found: _close$UNIX2003
  Referenced from: /usr/local/ConTeXt/tex/texmf-osx-ppc/bin/texlua
  Expected in: /usr/lib/libSystem.B.dylib

 Hmm, this may be a difference between 10.4 and 10.5. Or... do you, by any
 chance have a fink or macports install?

I use minimals on OSX 10.4 PPC.
I've Macports installed, but not their ConTeXt.
(Macports reside in /opt/local, not /usr/local)


Greetlings, Hraban
___
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] Stable broken, beta works

2009-03-25 Thread Mojca Miklavec
On Wed, Mar 25, 2009 at 09:53, Thomas A. Schmitz wrote:

 On Mar 25, 2009, at 9:43 AM, Henning Hraban Ramm wrote:

 Sorry, I tested only on my Intel Mac at home this morning.
 texlua on OSX-PPC is still broken.

 It works with my self-compiled LuaTeX 0.36.0
 Should I send my luatex/texlua binary to anyone?

 Greetlings, Hraban

 Hmm, it's broken on your computer, but it's working (with one exception) on
 mine. You're still using 10.4, right? Maybe we should use binaries compiled
 on 10.4, if they are upwards compatible with 10.5. Mojca, Arthur?

Dear Macies,

The answer to the first question: yes, I'm almost sure that current is
broken since it needs an older version of LuaTeX, but it's kind of
hard to keep up with Hans, esp. because the scripts need to be
rewritten if we want to support multiple LuaTeX versions, but then
there's still a problem: what LuaTeX version with what version of
ConTeXt? (I do plan to fix it, but I'm in chronical lack of time until
summer if I want to finish 33 15-pages reports and thesis in TeX
without getting distracted by the issues encountered while writing
them. But I'll do my best to fix the most urgent issues.)

Concerning the Mac PPC problem: I committed luatex 0.35 some time ago.
When 0.36 came out I had some temporary problems, so Arthur commited
his binaries that apparently didn't work. Thomas then re-submitted
luatex 0.36 and other binaries.

I cannot help with mac binaries at the moment since my computer is
being repaired. And after I get it back I'll probably replace hard
drive and install Leopard. (The system doesn't boot any more, so I
won't be able to work on Mac OS X before I install everything from
scratch, so please do not expect any Mac support from me until end of
next week.) I''ll try to figure out how to compile in
backward-compatibility mode. If we managed to cross-compile for PPC, I
hope that cross-compiling for 10.4 will be possible as well.

All I can do at the moment is to revert back to LuaTeX 0.35. If that
is what you want, please let me know. Else, if your self-compiled
binary works for you, please send it to Thomas and let him try it out
and commit it to the repository.

Mojca
___
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] Stable broken, beta works

2009-03-25 Thread Mojca Miklavec
On Wed, Mar 25, 2009 at 09:53, Thomas A. Schmitz wrote:

 Maybe we should use binaries compiled
 on 10.4, if they are upwards compatible with 10.5. Mojca, Arthur?

Right, but we need to find someone on 10.4 that's willing to
contribute. The binaries used to be compiled on 10.4 until now, so
obviously they are forward-compatible.

... Or someone needs to hack the building scripts a tiny bit. They are
already hached to generate ppc binaries, so maybe one only needs to
add a tiny command that triggers 10.4-compatibility.

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