8 Feb
2018
8 Feb
'18
8:30 a.m.
On 02/07/2018 06:39 PM, Rudolf Bahr wrote:
Sometimes the necessity could arise to send data from lua to context and answers back to lua. I tried this by using "read" and "immediate\write" commands in context. These commands are described in chapter 21 and 22 of Donald E. Knuth's "The TeXbook".
My question is: Do there exist better and more simple solutions?
You can print (typeset) information from inside lua code with the "context" function. Have you seen the manual cld-mkiv.pdf? It's in the minimals. Thomas