Dear Hans, Thank you for checking and enhancing. I also got an error at “uppertri” as you point out. The version that I have sent is one in my notebook which may be different from that in the desktop at school. When I made a class material, it worked fine. I have to check it and send it to you again. I appreciate you for making it more usable for ConTeXt users.
I also found that there is a matrix module for lua programming. It is nice for the calculation of matrix, but I have a difficulty to typeset the result. That’s why I try to write a code even though I am not good in Lua programming. If it is easy to take over the result into TeX, using the lua module is much efficient and correct, I think. Anyway, I hope that it helps to typeset matrices. Best regards, Dalyoung > Hi, > > Can you check the attached? The uppertri is wrong but it was already wrong > (e.g. sign is used but never assigned). I inlined some code so ... I think > there were some more errors (obscured by the fact that that piece of code is > not reached). > > We can turn this into m-matrix or so, maybe we need to add some more. > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > <xtest.tex> ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________