-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No more 0 and 0 or 1 #356
No more 0 and 0 or 1 #356
Conversation
I'm not sure what the motivation is here: things work fine with current LuaTeX, and if there is a need for a change, we'll adjust |
Note the typo, this is not "l3build-core" but "l3build-setup"... Concerning Official documentation on the internet states that Actually
that always return 0 because Using a On a different matter, the same problem occurs in the penlight library shipped in texlive. Concerning |
I think that would be misleading in this context though as l3build does not claim to run with a stock Lua at all, and it does use the |
@davidcarlisle |
But it still introduces the misleading impression that l3build is using some local non standard |
eaa51b8
to
3ffff74
Compare
The bugs are still fixed |
407cb21
to
9b13718
Compare
@josephwright |
l3build-core.lua defines execute51 and a local require
The old
build_require
function made little sense, so it has been removed.The implementation of
os.execute
intexlua
is not that of Lua 5.3. It is still at version 5.1. See https://tug.org/pipermail/luatex/2015-November/005536.htm.Moreover,
os.execute
version 5.3 is buggy on windows in certain situations. This has been fixed in Lua 5.4. If texlua ever switches to Lua 5.4, we just have to redefine execute51 et voilà.Instead of adding more global variables, the
l3build-setup
module returns a table with appropriate fields.This table is globally available with
require("l3build")
. Actually, this is for development only, which means that thebuild.lua
and variousconfig-....lua
are not expected to use this.