[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Allow for LuaHBTeX (6149c458)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Apr 11 12:35:44 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/6149c4582ffef74df6f090e0275bfed8020128a2

>---------------------------------------------------------------

commit 6149c4582ffef74df6f090e0275bfed8020128a2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Apr 11 11:35:44 2020 +0100

    Allow for LuaHBTeX


>---------------------------------------------------------------

6149c4582ffef74df6f090e0275bfed8020128a2
 build-config.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build-config.lua b/build-config.lua
index 1e7e9c72..ec375b30 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -193,6 +193,8 @@ local function fmt(engines,dest)
     if fileexists(supportdir .. "/" .. ini) then
       src = ini
     end
+    local cmd = engine
+    if engine == "luatex" then cmd = "luahbtex" end
     print("Building format for " .. engine)
     local errorlevel = os.execute(
       os_setenv .. " TEXINPUTS=" .. unpackdir .. os_pathsep .. localdir
@@ -200,7 +202,7 @@ local function fmt(engines,dest)
       .. os_concat ..
       os_setenv .. " LUAINPUTS=" .. unpackdir .. os_pathsep .. localdir
       .. os_pathsep .. texmfdir .. "//" .. (fmtsearch and os_pathsep or "")
-      .. os_concat .. engine .. " -etex -ini -output-directory=" .. unpackdir
+      .. os_concat .. cmd .. " -etex -ini -output-directory=" .. unpackdir
       .. " " .. src 
       .. (hide and (" > " .. os_null) or ""))
     if errorlevel ~= 0 then return errorlevel end





More information about the latex3-commits mailing list.