View Single Post
Old 11-06-2011, 11:42 AM   #3
mattst
Enthusiast
mattst began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Nov 2011
Device: Kindle
Thanks very much kovidgoyal, now I understand what they do.

Some variables seem to be passed to ebook-convert automatically from the recipe without the need for an entry in the conversion_options list.

The class variables 'title', 'extra_css', '__author__', all seem to be passed from the recipe to ebook-convert.

Also the ebook-convert command line option '--pubdate' is filled automatically by the string described in 'timefmt'.

Have I got that all correct?

Or should I be doing this?

Code:
conversion_options = {
'title'            : title,
'authors'          : __author__,
'comments'         : description,
'tags'             : category,
'language'         : language,
'publisher'        : publisher,
'extra-css'        : extra_css,
'linearize_tables' : False }
Thanks.

PS. Should I explicitly set 'linearize_tables' to False? Or is that the default?

PPS. Is there somewhere where I can read what gets passed to ebook-convert without the need of an entry in conversion_options?

Cheers.
mattst is offline   Reply With Quote