diff options
Diffstat (limited to 'support/tex4ebook/tex4ebook')
-rwxr-xr-x | support/tex4ebook/tex4ebook | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/support/tex4ebook/tex4ebook b/support/tex4ebook/tex4ebook index a88eca9fae..ac6a077d04 100755 --- a/support/tex4ebook/tex4ebook +++ b/support/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 |