[latex3-commits] [git/LaTeX3-latex3-l3build] master: Generalise special casing for "latex" formats (see #75) (52d7087)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Oct 18 10:33:07 CEST 2018
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/52d70876b235ba20c43c79ff4367f56db11e6cc9
>---------------------------------------------------------------
commit 52d70876b235ba20c43c79ff4367f56db11e6cc9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Oct 18 09:33:07 2018 +0100
Generalise special casing for "latex" formats (see #75)
This should allow luatex53 to use a format called lualatex53 ...
>---------------------------------------------------------------
52d70876b235ba20c43c79ff4367f56db11e6cc9
l3build-check.lua | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/l3build-check.lua b/l3build-check.lua
index a4451c2..416bfb4 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -670,18 +670,15 @@ function runtest(name, engine, hide, ext, pdfmode, breakout)
cp(lvtfile, fileexists(testfiledir .. "/" .. lvtfile)
and testfiledir or unpackdir, testdir)
local engine = engine or stdengine
- -- Set up the format file name if it's one ending "...tex"
local realengine = engine
local format = ""
- if
- match(checkformat, "tex$") and
- not match(engine, checkformat) then
- format = " -fmt=" .. gsub(engine, "(.*)tex$", "%1") .. checkformat
- end
if checkformat == "latex" then
-- Special case for e-LaTeX format
if engine == "etex" then
format = " -fmt=latex"
+ -- Use "...latex" formats for other engines
+ elseif not match(engine,"latex") then
+ format = " -fmt=" .. gsub(engine,"tex","latex")
end
-- Special case for (u)pTeX LaTeX
if match(engine,"^u?ptex$") then
More information about the latex3-commits
mailing list