From 9dec02fb03afe114f68ce75e31f6c5f8ee0adcf8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 24 Aug 2018 22:19:06 +0000 Subject: make4ht (24aug18) git-svn-id: svn://tug.org/texlive/trunk@48477 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/texlive/linked_scripts/make4ht/make4ht | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Build') 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 '' -- cgit v1.2.3