diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-08 03:02:12 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-08 03:02:12 +0000 |
commit | bc2d0660f4f460b55009ab4e525f2a0e4cde6187 (patch) | |
tree | d35815089faf23c45f4f21690e42cfcc7c65a5fd /support/tex4ebook/tex4ebook | |
parent | 57edbaffbe7daad894e3036a4123acd03e0fdb9b (diff) |
CTAN sync 202009080302
Diffstat (limited to 'support/tex4ebook/tex4ebook')
-rwxr-xr-x | support/tex4ebook/tex4ebook | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/support/tex4ebook/tex4ebook b/support/tex4ebook/tex4ebook index ebd7485c2d..dc602c4e72 100755 --- a/support/tex4ebook/tex4ebook +++ b/support/tex4ebook/tex4ebook @@ -23,7 +23,7 @@ local tex4ht_sty_par="" local tex4ht_par="" local t4ht_par="" local latex_par="" -local output_formats={epub=true,mobi=true,epub3=true} +local output_formats={epub=true,mobi=true,epub3=true,azw=true, azw3=true} local executor=nil local tidy = false local include_fonts = false @@ -67,7 +67,7 @@ else end if args.version then - print "tex4ebook v0.3a" + print "tex4ebook v0.3b" return end @@ -129,7 +129,9 @@ log:status("Input file: ".. params.tex_file) local output_format = params.output_format -- use epub as default output_format output_format = output_format or "epub" -local extensions = ebookutils.load_extensions(params.extensions, output_format) +-- load common_domfilters extension by default +local extensions = ebookutils.add_extensions("+common_domfilters", params.extensions) +extensions = ebookutils.load_extensions(extensions, output_format) -- but also support tex4ebook!s own parameters local oldparams = { -- htlatex=latex_cmd |