Hello Hans and Otared,

thank you for your answers.
Context can run Lua. The output then ends up somewhere in the console output between the other specifications.
LuaLaTeX can execute Lua. The output is then the only one in the console. Console output was not what I wanted.
However, I was naive enough to hope that the output would be in TeXShop, but that only works with pdf I think.
So I am still a little helpless.

Greetings
Thomas


Am 08.10.24 um 19:12 schrieb Otared Kavian:
Hi,

I use TeXShop and it is possible to save a file with a .lua suffix (under « Save as… » you choose the menu File format where it is called Lua script).
Then I use ConTeXt to run the lua file… 
Another possibility is to put your lua file between \startluacode … \stopluacode in a TeX file and then you typeset the TeX file in TeXShop with ConTeXt.

But probably this is not what you want to do.

Best regards: Otared

On 8 Oct 2024, at 12:35, Thomas Meyer <thomasgmeyer@t-online.de> wrote:

Hello,

at the risk of this being the wrong address: can I edit and run Lua with TeXShop?
Does anyone have experience with this?
Or what could be used as an IDE for Lua? 

Greetings
Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Otared Kavian
e-mail: otared@gmail.com
Phone: +33 6 88 26 70 95





___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________