From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 4813824E5F for ; Thu, 10 Oct 2024 19:47:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2213648479D for ; Thu, 10 Oct 2024 19:46:14 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:x-mailer:message-id :in-reply-to:references:date:date:mime-version:from:from :received:received:received:received:received:received:received; s=cgl; t=1728582373; x=1731174374; bh=U3qOc8fcgS0PyP6628NgeNbID efWGBAF5inuRnU3zeU=; b=Aiv13oJsLFXsp4/JhCbDxMHwwgaKegFGfpg5pb7F9 KFAfYAd2LM7WS3q/pUt97+tjq+vRxI9c2780MIkPzXohBYwlSXWcJUkWQTJUdJVF AAT1rEYUIvQ/DpF9bLuBCBOZ+nFIX7kItI1gAZ+A5smMDgORaHXpg0wECTcrUzyh WA= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9W7kDxevIrU3 for ; Thu, 10 Oct 2024 19:46:13 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6C38C484E4C for ; Thu, 10 Oct 2024 19:43:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0ECE548425F for ; Thu, 10 Oct 2024 19:43:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6EniZIToO-Gx for ; Thu, 10 Oct 2024 19:43:04 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.54; helo=mail-wm1-f54.google.com; envelope-from=otared@gmail.com; receiver= Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 742FA484256 for ; Thu, 10 Oct 2024 19:43:04 +0200 (CEST) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-42cae4eb026so10997685e9.0 for ; Thu, 10 Oct 2024 10:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728582184; x=1729186984; darn=ntg.nl; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :from:to:cc:subject:date:message-id:reply-to; bh=VNRZZJ8bnAZl6YqSUUNCGjDK6NG3k10OUdwOLwDbHUY=; b=MNqE1VT2Ud2O5EYSITgRAYQnYmMDWwydVNd1W68vBWn76wlvHGJIvSPWCB45Ldt3Bv 72znsoZ8fAmU8IIRfYnhf7kYeu+ALXQvfrLTXlOiOYS8Fs3D7YccMoieo4QNC8mR2yo5 LwXGkrExlzz6EuDmDiQeSq5aA8sXOw1cSu5F8nK7kV7aOPELnpdH+ryboCkqhH5NWub8 j/DtHFXnQdwB+60GzjcPv4x0VrDUlTU8RZE6dsZXJIdxsxiHI16LLUtuM4HdJjzP5krX VRalsP8VAE3WHCRi8QLU9bM9+Z4UG2G2ro/3ZScfQz+wH/gf1Ia+XCKunroJSFI+p5Jn CAgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728582184; x=1729186984; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VNRZZJ8bnAZl6YqSUUNCGjDK6NG3k10OUdwOLwDbHUY=; b=LTI9UXiHyinef5EmgGiuyy9xzb8au9CJG/Dp0i7RgDCeep32DMdn9i3zOk5pFkXEWt lzTdFTm4WiK+9ImZ154jpgob4F4pZY0Pd1r1xDn0lGPbDBACmNnqxA+bFUwR4n3T3giG Dvs3+JA0IlyfbJ1qQQKX7w6Vll63AmyEba7YT1EAimJazG7uh2gxtP37VRClYS5pyqVH Pxi0narC+4oqJzShSdNTr/sTdG9zLwDyzhBbhEi6L/Iyk9Vldl14GNpoyvk1Tbd2liZo PODbvCVtmuWpMc7A4n/U60VBBUJN1kYh5uuhGD6Ba875nHmbk8PiHZZWXHfbnncTPpni 5DXA== X-Gm-Message-State: AOJu0YwNnNpX6qB6aBzzZAtclnUNJZExiBb6xE/2LqEPOYWexqzXjbW3 7qU4PfswKXg3i7jik5iXagJoqISAXQdA7Af5RCbhu2pnAnxvkgkEdCH0hkGm X-Google-Smtp-Source: AGHT+IFJiG8l5oXwDmq20fp1eJI4AkfopDaYKRmD82s51dzyU3os2tL3yZIN4W2U9JS12Vw3gwlXZg== X-Received: by 2002:a05:600c:5021:b0:42c:b6e4:e3aa with SMTP id 5b1f17b1804b1-430ccf0546emr67457655e9.5.1728582183419; Thu, 10 Oct 2024 10:43:03 -0700 (PDT) Received: from smtpclient.apple (2a01cb00879d24009c283e4816fa17b6.ipv6.abo.wanadoo.fr. [2a01:cb00:879d:2400:9c28:3e48:16fa:17b6]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431183062b5sm21937305e9.26.2024.10.10.10.43.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Oct 2024 10:43:02 -0700 (PDT) From: Otared Kavian Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Date: Thu, 10 Oct 2024 19:43:02 +0200 References: <4da7b7c0-1f99-48a7-88d7-b687b8b2a393@xs4all.nl> To: mailing list for ConTeXt users In-Reply-To: Message-Id: <607862FD-79D7-4DF8-B1CA-C9989504E0E9@gmail.com> X-Mailer: Apple Mail (2.3654.120.0.1.15) Message-ID-Hash: XWMFT3K3ZB2IUCHJ5X4OT5NFIYW66LQO X-Message-ID-Hash: XWMFT3K3ZB2IUCHJ5X4OT5NFIYW66LQO X-MailFrom: otared@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Lua <-> TeXShop List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============7656504024175613248==" --===============7656504024175613248== Content-Type: multipart/alternative; boundary="Apple-Mail=_374B2CC0-1A08-4B65-9E66-5947CE3B7AA9" --Apple-Mail=_374B2CC0-1A08-4B65-9E66-5947CE3B7AA9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Thomas, Thanks for sharing the lua.engine. It works jsut fine ! Best regards: Otared > On 10 Oct 2024, at 16:06, Thomas Meyer = wrote: >=20 > Hi Otared, >=20 > I used what Hans wrote in his answers. >=20 > #!/bin/bash > export PATH=3D$PATH:~/context-osx-64/tex/texmf-osx-64/bin > ~/context-osx-64/tex/texmf-osx-64/bin/mtxrun --script "$1"=20 >=20 >=20 > Greetings=20 > Thomas >=20 >=20 >=20 >=20 > Am 10.10.24 um 14:47 schrieb Otared Kavian: >> Hi Thomas, >>=20 >> 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=E2=80=A6 >>=20 >> Best regards: Otared >>=20 >>> On 10 Oct 2024, at 10:52, Thomas Meyer > wrote: >>>=20 >>> Thank you very much, Hans, >>>=20 >>> 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=3Dmtxrun in the first line works as = well.=20 >>>=20 >>> Best regards >>> Thomas=20 >>>=20 >>>=20 >>> Am 09.10.24 um 21:20 schrieb Hans Hagen: >>>> On 10/8/2024 12:35 PM, Thomas Meyer wrote:=20 >>>>> Hello,=20 >>>>>=20 >>>>> at the risk of this being the wrong address: can I edit and run = Lua with TeXShop?=20 >>>>> Does anyone have experience with this?=20 >>>>> Or what could be used as an IDE for Lua?=20 >>>>=20 >>>> you can try this with=20 >>>>=20 >>>> -- runner=3Dmtxrun=20 >>>>=20 >>>> as first line in your lua file=20 >>>>=20 >>>>=20 >>>>=20 >>>> -----------------------------------------------------------------=20= >>>> Hans Hagen | PRAGMA ADE=20= >>>> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands=20= >>>> tel: 038 477 53 69 | www.pragma-ade.nl = | www.pragma-pod.nl = =20 >>>> ----------------------------------------------------------------- >>>=20 >>> = __________________________________________________________________________= _________ >>> If your question is of interest to others as well, please add an = entry to the Wiki! >>>=20 >>> 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 = >>> = __________________________________________________________________________= _________ >>=20 >> Otared Kavian >> e-mail: otared@gmail.com >> Phone: +33 6 88 26 70 95 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> 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 = >> = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 --Apple-Mail=_374B2CC0-1A08-4B65-9E66-5947CE3B7AA9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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:

=20 =20
Hi Otared,

I used what Hans wrote in his answers.

#!/bin/bash
export PATH=3D$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=E2=80=A6

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=3Dmtxrun 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=3Dmtxrun

as first line in your lua file



-----------------------------------------------------------------
=             &n= bsp;           &nbs= p;            =      Hans Hagen | PRAGMA ADE
=             &n= bsp; 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/conte=
xtgarden/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.nlwebpage  : 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




= --Apple-Mail=_374B2CC0-1A08-4B65-9E66-5947CE3B7AA9-- --===============7656504024175613248== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============7656504024175613248==--