From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: [NTG-context] Re: Why overbar is so big
Date: Mon, 14 Aug 2023 10:15:41 +0200 [thread overview]
Message-ID: <b4fd367e-5e48-db82-5e41-87448d1d50a2@freedom.nl> (raw)
In-Reply-To: <20230814091332.58ac55afdefee9f5a1c46488@posteo.net>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2023-08-14 8:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 19:38 [NTG-context] " Xavier B.
2023-08-11 19:46 ` [NTG-context] " Thangalin
2023-08-12 8:10 ` Xavier B.
2023-08-12 9:13 ` Hans Hagen via ntg-context
2023-08-12 9:46 ` Wolfgang Schuster
2023-08-12 12:38 ` Hans Hagen via ntg-context
2023-08-12 12:40 ` Hans Hagen via ntg-context
2023-08-13 7:08 ` Xavier B.
2023-08-13 8:10 ` Hans Hagen via ntg-context
2023-08-13 20:39 ` Xavier B.
2023-08-13 21:24 ` Hans Hagen
2023-08-14 7:13 ` Xavier B.
2023-08-14 8:15 ` Hans Hagen via ntg-context [this message]
2023-08-14 15:06 ` Xavier B.
2023-08-13 8:42 ` Mikael Sundqvist
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4fd367e-5e48-db82-5e41-87448d1d50a2@freedom.nl \
--to=ntg-context@ntg.nl \
--cc=j.hagen@freedom.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).