[latex3-commits] [git/LaTeX3-latex3-l3build] main: Add basic support for make4ht (044fc4c)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Apr 12 13:13:08 CEST 2022
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/044fc4c5b856e0321269baffcbb83b80be8d2b5c
>---------------------------------------------------------------
commit 044fc4c5b856e0321269baffcbb83b80be8d2b5c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Apr 12 12:13:08 2022 +0100
Add basic support for make4ht
>---------------------------------------------------------------
044fc4c5b856e0321269baffcbb83b80be8d2b5c
CHANGELOG.md | 3 +++
l3build-check.lua | 5 +++++
l3build-variables.lua | 2 ++
3 files changed, 10 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 129cdab..c84b46a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Added
+- Basic support for `make4ht`
+
## [2022-03-15]
### Changed
diff --git a/l3build-check.lua b/l3build-check.lua
index f016c25..16adf8f 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -750,6 +750,11 @@ function runtest(name, engine, hide, ext, test_type, breakout)
if match(checkformat,"^context$") then
function setup(file) return tokens .. ' "' .. file .. '" ' end
end
+ if match(binary,"make4ht") then
+ function setup(file) return tokens .. ' "' .. file .. '" ' end
+ format = ""
+ checkopts = ""
+ end
local basename = testdir .. "/" .. name
local gen_file = basename .. test_type.generated
local new_file = basename .. "." .. engine .. test_type.generated
diff --git a/l3build-variables.lua b/l3build-variables.lua
index 736df6a..b02ac3a 100644
--- a/l3build-variables.lua
+++ b/l3build-variables.lua
@@ -134,6 +134,8 @@ if not string.find(status.banner,"2019") then
specialformats["latex-dev"] = specialformats["latex-dev"] or
{luatex = {binary="luahbtex",format = "lualatex-dev"}}
end
+specialformats.latex["make4ht"] = specialformats.latex["make4ht"] or
+ {binary = "make4ht"}
stdengine = stdengine or checkengines[1] or "pdftex"
More information about the latex3-commits
mailing list.