> On 9 Oct 2024, at 16:29, Thomas Meyer <thomasgme...@t-online.de> wrote:
> 
> 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.

If the output went into TeXShop then it would overwrite your Lua program.

If you mean have the output go to a file and have TeXShop open that file then 
maybe just configure TeXShop with an “engine” that runs Lua and sends the 
output to a .out or .txt file. If you then open the file in a separate TeXShop 
window, maybe it picks up changes as they happen and displays them? (I haven’t 
checked for TeXShop but many programming editors can.)

I don’t think ConTeXt can run Lua without the output going to the console along 
with all the initialisation messages. However there is a `lua` command line app 
to run lua porgrams available from www.lua.org which you could install and use 
instead.

Regards,

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to