Well, I'll be more specific. I attach a zip file showing a minimal example of what I achieved so far and its output (labelled "Works") and what I actually want, but does not work (labelled "Doesnotwork"). I've tried different commands and combinations, all of them useless. As a side note, I'm porting some TikZ functions. Although it is not recommended in ConTeXt, some of them are really necessary to me.
Jairo A. del Rio schrieb am 05.04.2020 um 17:49:
> None of them work. Maybe I'm doing something wrong.
I guess so because
\loadluafile[testh.lua]
and
\luaenvironment testh.lua
work for me.
Wolfgang