summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-23 22:03:47 +0000
committerKarl Berry <karl@freefriends.org>2024-02-23 22:03:47 +0000
commit8c5a44fa57adfd1969f494f8c98271a7983d1c0d (patch)
tree4a54ef60c03f24d532a4df6db3c1ec0566839f4d /Build/source
parent47bb9f122602978d89bc9df8aee134653fe1e4ec (diff)
tex4ebook (23feb24)
git-svn-id: svn://tug.org/texlive/trunk@70098 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook8
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook b/Build/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook
index a88eca9faed..ac6a077d043 100755
--- a/Build/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook
+++ b/Build/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook
@@ -37,6 +37,7 @@ tex4ebook [switches] filename ["tex4ht.sty op."] ["tex4ht op."] ["t4ht op"] ["la
possible values: debug, info, status, warning, error, fatal
-c,--config (default xhtml) Custom config file
-d,--output-dir (default nil) Output directory
+ -B,--build-dir (default nil) Build directory
-e,--build-file (default nil) If build file is different than `filename`.mk4
-f,--format (default epub) Output format. Supported values: epub, epub3, mobi
-h,--help Display help message
@@ -67,7 +68,7 @@ else
end
if args.version then
- print "tex4ebook v0.3j"
+ print "tex4ebook v0.4"
return
end
@@ -125,6 +126,11 @@ local input = params.input
log:status("Conversion started")
log:status("Input file: ".. params.tex_file)
+if params.builddir ~= "" then
+ mkutils.make_path(params.builddir)
+end
+
+
local output_format = params.output_format
-- use epub as default output_format