Hi Thomas,

Thanks for sharing the lua.engine. It works jsut fine !

Best regards: Otared

On 10 Oct 2024, at 16:06, Thomas Meyer <thomasgmeyer@t-online.de> wrote:

Hi Otared,

I used what Hans wrote in his answers.

#!/bin/bash
export PATH=$PATH:~/context-osx-64/tex/texmf-osx-64/bin
~/context-osx-64/tex/texmf-osx-64/bin/mtxrun  --script "$1"


Greetings
Thomas




Am 10.10.24 um 14:47 schrieb Otared Kavian:
Hi Thomas,

Out of curiosity, could you please what is the content of your lua.engine ? I would like to see whether it is better for me to use your approach suggested dy Richard Koch and Hans…

Best regards: Otared

On 10 Oct 2024, at 10:52, Thomas Meyer <thomasgmeyer@t-online.de> wrote:

Thank you very much, Hans,

I had already written to Dick Koch before the first replies arrived. He wrote that I could simply use Lua(La)TeX.
So it works with Lua(La)TeX. A self-created lua.engine works and your ConTeXt solution with --runner=mtxrun in the first line works as well.

Best regards
Thomas



Am 09.10.24 um 21:20 schrieb Hans Hagen:
On 10/8/2024 12:35 PM, Thomas Meyer 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?

you can try this with

-- runner=mtxrun

as first line in your lua file



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

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

___________________________________________________________________________________
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