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?
___________________________________________________________________________________
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 via email to