X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/13b88a3bfdd4fa3cf5c92368aa5cb60fa832eda6..3acdb97ed96bb54a04c031e017c2059f86db57e4:/librarian/mobi.py?ds=inline diff --git a/librarian/mobi.py b/librarian/mobi.py index a0e463a..61a6de1 100644 --- a/librarian/mobi.py +++ b/librarian/mobi.py @@ -13,7 +13,7 @@ from librarian import OutputFile def transform(wldoc, verbose=False, sample=None, cover=None, - use_kindlegen=False, flags=None): + use_kindlegen=False, flags=None, hyphenate=True): """ produces a MOBI file wldoc: a WLDocument @@ -26,7 +26,8 @@ def transform(wldoc, verbose=False, sample=None, cover=None, del wldoc epub = document.as_epub(verbose=verbose, sample=sample, - html_toc=True, cover=cover or True, flags=flags) + html_toc=True, cover=cover or True, flags=flags, + hyphenate=hyphenate) if verbose: kwargs = {} else: