Skip to content

Commit

Permalink
Add basic support for make4ht
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Apr 12, 2022
1 parent 2329855 commit 044fc4c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.

## [Unreleased]

### Added
- Basic support for `make4ht`

## [2022-03-15]

### Changed
Expand Down
5 changes: 5 additions & 0 deletions l3build-check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions l3build-variables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 044fc4c

Please sign in to comment.