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
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: