[latex3-commits] [git/LaTeX3-latex3-graphics-def] master: specialformats switch for luahbtex (cec2fea)
David Carlisle
d.p.carlisle at gmail.com
Tue Mar 24 11:17:33 CET 2020
Repository : https://github.com/latex3/graphics-def
On branch : master
Link : https://github.com/latex3/graphics-def/commit/cec2feac6024d8d24d6f1404843df729525dc5f8
>---------------------------------------------------------------
commit cec2feac6024d8d24d6f1404843df729525dc5f8
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Tue Mar 24 10:17:33 2020 +0000
specialformats switch for luahbtex
>---------------------------------------------------------------
cec2feac6024d8d24d6f1404843df729525dc5f8
build.lua | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/build.lua b/build.lua
index 75581c7..ec5f536 100644
--- a/build.lua
+++ b/build.lua
@@ -11,6 +11,25 @@ installfiles = {"*.def"}
sourcefiles = {"*.def"}
typesetfiles = {}
+if string.find(status.banner,"2019") then
+ print("TL2019")
+ TL2019bool=true
+else
+ -- tl2020
+ print("TL2020 or later")
+
+ specialformats={}
+ specialformats["latex"] = specialformats["latex"] or
+ {
+ luatex = {binary="luahbtex",format = "lualatex"},
+ }
+ specialformats["latex-dev"] = specialformats["latex-dev"] or
+ {
+ luatex = {binary="luahbtex",format = "lualatex-dev"}
+ }
+end
+
+
-- Find and run the build system
kpse.set_program_name ("kpsewhich")
if not release_date then
More information about the latex3-commits
mailing list.