![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
Hi Thomas, Thanks for your answer. Indeed I did not know that I could use directly context(vecteurY[i]) Now this solves my problem! Best regards: OK
On 19 Mar 2017, at 16:51, Thomas A. Schmitz
wrote: On 19.03.2017 16:30, Otared Kavian wrote:
I would like to print in a text the values of a array computed in a \startluacode …. \stopluacode combination. How can I do it properly? Please have a look at the example below and its output, which is not satisfactory because the right parenthesis is separated from the number by a space. How can I suppress this unwanted space? For instance I get (1, 103 ) instead of (1, 103).
Otared,
is there a reason why you don't use context(vecteurY[i]) and context(vecteurX[i])? This gets rid of the spurious space for me (and makes your code more consistent). But I assume you must have tried it because you use the "context" command in other places of your lua code.
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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________