ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Why overbar is so big
Date: Sun, 13 Aug 2023 23:24:15 +0200	[thread overview]
Message-ID: <17841151-66cc-96a4-f445-7be8da52969c@xs4all.nl> (raw)
In-Reply-To: <20230813223940.f746de548fd96cc50db01106@posteo.net>

On 8/13/2023 10:39 PM, Xavier B. wrote:
> Running LMTX I have an error: lualibs-os not found:
> 
> lua error       > lua error on line 35 in file ng-pre-informacio-document.conTeXt:
> 
> token call, execute: ...nt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: module 'lualibs-os' not found:
>          no field package.preload['lualibs-os']
>          no file '/usr/local/share/lua/5.4/lualibs-os.lua'
>          no file '/usr/local/share/lua/5.4/lualibs-os/init.lua'
>          no file '/usr/local/lib/lua/5.4/lualibs-os.lua'
>          no file '/usr/local/lib/lua/5.4/lualibs-os/init.lua'
>          no file './lualibs-os.lua'
>          no file './lualibs-os/init.lua'
> stack traceback:
>          [C]: in upvalue 'requiem'
>          ...nt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: in function <...nt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:165>
>          (...tail calls...)
>          [ctxlua]:1: in main chunk
> 25     \subsubject{Versió}
> 26
> 27     Contínuament canvio aquest document, afegint, modificant o eliminant algunes parts seves. En aquest sentit, és una obra permanentment inacabada. Per aquest motiu convé saber quina versió del document esteu llegint.
> 28
> 29     \medskip
> 30     La versió d'aquest document és la {\bf 0.4.0-alfa.\currentdate[year,-, mm,-,dd]}.
> 31
> 32     \bigskip
> 33     Aquest document ha estat generat, \currentdate[weekday,{ },day,{ },month,{ },year] a les \currenttime, usant programari lliure (\goto{\Context}[url(http://wiki.contextgarden.net)] versió \contextversionnumber, \goto{\texenginename}[url(http://www.luatex.org)] versió \texengineversion\space i \goto{PGF/Ti{\em k}Z}[url(http://sourceforge.net/projects/pgf/)]) sota un entorn \goto{GNU/Linux}[url(https://www.linuxfoundation.org)] (\goto{Artix Linux}[url(https://artixlinux.org)]). La revisió d'aquest document és la número \goto{\directlua{
> 34        require "lualibs-os"
> 35 >>     tex.sprint(math.floor(os.resultof("git log --pretty=oneline | wc -l")+1))}}[url(https://repo.or.cz/apunts-espa-matematiques.git/shortlog/HEAD)]. El conjunt de les versions s'administra amb \goto{git}[url(http://git-scm.com/)]. Teniu el codi font del document en aquest repositori: \goto{https://repo.or.cz/apunts-espa-matematiques.git}[url(https://repo.or.cz/apunts-espa-matematiques.git)].
> 36
> 
> 
> Can you give me the solution here?
I have no clue what lualibs-os is so ... if it's something third party 
you and try.

--permitloadlib

and cross your fingers. Also, whenever using lua code that is not part 
of context keep in mind that we use lua 5.4

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
___________________________________________________________________________________

  reply	other threads:[~2023-08-13 21:25 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 [this message]
2023-08-14  7:13             ` Xavier B.
2023-08-14  8:15               ` Hans Hagen via ntg-context
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=17841151-66cc-96a4-f445-7be8da52969c@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.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).