From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27821 invoked from network); 14 Aug 2023 08:17:35 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 14 Aug 2023 08:17:35 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 891C8482679 for ; Mon, 14 Aug 2023 10:16:32 +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 ab6MinuubzWc for ; Mon, 14 Aug 2023 10:16:32 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A7C544821E1 for ; Mon, 14 Aug 2023 10:16:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 170C14814C2 for ; Mon, 14 Aug 2023 10:15:44 +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 J1h92qpG8jpd for ; Mon, 14 Aug 2023 10:15:43 +0200 (CEST) Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 AC5854814BE for ; Mon, 14 Aug 2023 10:15:43 +0200 (CEST) Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4RPRzg3zqKzKy for ; Mon, 14 Aug 2023 08:15:43 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4RPRzf5Vc8z5F for ; Mon, 14 Aug 2023 08:15:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1692000943; bh=eshLiuRH4RZxo2FzIFAeQPa4yjIQ0mxbZg5PDhU/npU=; h=Date:Subject:To:References:From:In-Reply-To:From; b=LrCJsBaQi3n5uJupIlzdPv7NAkz5kU27SB6lt8c8j4hHEUjmzm55i2H1VfiSzpKXx 3ELu0lqYK2nO55mR4Oc6IJN+Mw6yT/gizbXwrJr1b3Xhn1uu7Ao3E1NJY9L0ZN9f/U j54D8wt7H5begiSXjJwZLKV7BIgw9E3cU2gI/RXc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1692000942; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PJuwzUbc64G2TcUaPekoYk3zAI/VM91La8bjrsx9tGc=; b=kC41OV6jp7RWPaYmw+EzzEBjuOr9f76gZCFdEZlGVefyB2kMs0QofaHy+JFVHOLtjDFZEG 6ClZNF3C9r+Z8iNF4B4Tw0DUIvJQYQ7+CiOVVkYQefayRDapgGPjvM8gWgQ52MFbdeUQCj Eia0KePCtI4qvAziYa2Uqs5lofV/Qhk= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Seal: i=1; s=default; d=freedom.nl; t=1692000942; a=rsa-sha256; cv=none; b=urwp00b5FmiB1QxWAXnP3jrhY1an+Uj1nrVp8Z8cZsbgWgXsvFq4AUnHEF7m30M6HaoFXW MfJaevGKOzpvsMuqozSwIPzZTSzZWiVU55+ONYaCxki6myIF6WCwpA81ODYigJMAJ5MgyM +Aaab4f0aIXiUlfVOVCH0aTMaY0zYNE= Message-ID: Date: Mon, 14 Aug 2023 10:15:41 +0200 MIME-Version: 1.0 To: ntg-context@ntg.nl References: <20230814091332.58ac55afdefee9f5a1c46488@posteo.net> Content-Language: en-US X-Soverin-Authenticated: true In-Reply-To: <20230814091332.58ac55afdefee9f5a1c46488@posteo.net> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.4 cv=VYcxfnl9 c=1 sm=1 tr=0 ts=64d9e2af a=yaeGIPywLLJyAsH1IMTGEA==:117 a=yaeGIPywLLJyAsH1IMTGEA==:17 a=IkcTkHD0fZMA:10 a=YEMqx4UAAAAA:8 a=Uows8UApAAAA:8 a=h5_TIFdNu7BS2b86ScQA:9 a=QEXdDO2ut3YA:10 a=V0662LiR8DSfwiDagK97:22 a=oX0v64vK4IwbpfTCMRm2:22 X-Cloudmark-Reporter: TzTHpTSReRd0bFwC4Z9fAWFDcU0= Message-ID-Hash: RDXB3RVZRVYVHNZ2VQMBXUDIDTVET25G X-Message-ID-Hash: RDXB3RVZRVYVHNZ2VQMBXUDIDTVET25G X-MailFrom: j.hagen@freedom.nl 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.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Why overbar is so big List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hans Hagen via ntg-context Cc: Hans Hagen Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 8/14/2023 9:13 AM, Xavier B. wrote: > It does not work: > > \directlua{ > 34 require "lualibs-os" > 35 >> tex.sprint(math.floor(os.resultof("git log --pretty=oneline | wc -l")+1))} > > What do you run directlua in LMTX? in this case, what does does lualibs-os provide? os.resultof is built into context so that should just work ok, i did as search on ctan and it looks like that lua file is just the context l-os one renamed so no need to load anything, in fact, loading it might even break the built in when it does overloads Hans ----------------------------------------------------------------- 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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________