diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-26 20:29:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-26 20:29:50 +0000 |
commit | 6190adeb5ec3b9128a55a4add7f367f18491742b (patch) | |
tree | ba33478aa6e56e39fe01b6232cebe59578aff904 /Build/source/texk/texlive/linked_scripts/make4ht | |
parent | e50d32b956ce2adb17364c5fc9eb070ba490a00a (diff) |
make4ht (26jul21)
git-svn-id: svn://tug.org/texlive/trunk@60077 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/texlive/linked_scripts/make4ht')
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/make4ht/make4ht | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/make4ht/make4ht b/Build/source/texk/texlive/linked_scripts/make4ht/make4ht index 3ae56f049a5..d2bf27194f6 100755 --- a/Build/source/texk/texlive/linked_scripts/make4ht/make4ht +++ b/Build/source/texk/texlive/linked_scripts/make4ht/make4ht @@ -29,7 +29,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.3g" +local version = "v0.3h" mkparams.version_number = version local args = mkparams.get_args() @@ -76,6 +76,9 @@ make.params = parameters if make:length() < 1 then if mode == "draft" then make:htlatex() + elseif mode == "clean" then + make:clean() + make.no_dvi_process = true else make:htlatex() make:htlatex() @@ -84,7 +87,7 @@ if make:length() < 1 then end -if not args["no-tex4ht"] then +if not args["no-tex4ht"] and not make.no_dvi_process then make:tex4ht() end @@ -92,7 +95,11 @@ local ext = args.xetex and "xdv" or "dvi" if #make.image_patterns > 0 then make.params.t4ht_par = make.params.t4ht_par .. " -p" end -make:t4ht {ext = ext} + +if not make.no_dvi_process then + make:t4ht {ext = ext} +end + -- run extensions which modify the build sequence if #extensions > 0 then make = mkutils.extensions_modify_build(extensions, make) |