summaryrefslogtreecommitdiff
path: root/Build/source/texk/texlive/linked_scripts/make4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-08-24 22:19:06 +0000
committerKarl Berry <karl@freefriends.org>2018-08-24 22:19:06 +0000
commit9dec02fb03afe114f68ce75e31f6c5f8ee0adcf8 (patch)
tree7297cba51c519c366979124dca49ad56641794d9 /Build/source/texk/texlive/linked_scripts/make4ht
parent9067afb3f8bce172638d12a6f926ab82547590e6 (diff)
make4ht (24aug18)
git-svn-id: svn://tug.org/texlive/trunk@48477 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/texlive/linked_scripts/make4ht')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/make4ht/make4ht7
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/make4ht/make4ht b/Build/source/texk/texlive/linked_scripts/make4ht/make4ht
index 9f9caed2e95..c72fe69ece2 100755
--- a/Build/source/texk/texlive/linked_scripts/make4ht/make4ht
+++ b/Build/source/texk/texlive/linked_scripts/make4ht/make4ht
@@ -27,7 +27,7 @@ make4ht [options] filename ["tex4ht.sty op." "tex4ht op." "t4ht op" "latex op"]
-- set version number. the template should be replaced by the
-- actual version number by the build script
-local version = "v0.2b"
+local version = "v0.2c"
mkparams.version_number = version
local args = mkparams.get_args()
@@ -92,6 +92,11 @@ make:t4ht {ext = ext}
if #extensions > 0 then
make = mkutils.extensions_modify_build(extensions, make)
end
+
+-- allow output formats to modify the build process at the end
+make = formatter.modify_build(make) or make
+
+
make:match("tmp$", function() return false,"tmp file" end)
make:match(".*",function(filename,par)
local outdir = '' --par["outdir"] and par["outdir"] .."/" or ''