fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove "import *"
[librarian.git]
/
librarian
/
mobi.py
diff --git
a/librarian/mobi.py
b/librarian/mobi.py
index
a0e463a
..
65f2598
100644
(file)
--- 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,
def transform(wldoc, verbose=False, sample=None, cover=None,
- use_kindlegen=False, flags=None):
+ use_kindlegen=False, flags=None
, hyphenate=True, ilustr_path=''
):
""" produces a MOBI file
wldoc: a WLDocument
""" 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,
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, ilustr_path=ilustr_path)
if verbose:
kwargs = {}
else:
if verbose:
kwargs = {}
else: