View Single Post
Old 09-28-2013, 06:28 AM   #1
mauropiccolo
Member
mauropiccolo began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Sep 2013
Device: kindle
conversion_options not used

Hi,
sorry for my english.

May be a silly problem, but in my recipe I have
conversion_options = {
'dehyphenate': False,
'delete_blank_paragraphs': False,
'format_scene_breaks': False,
'margin_bottom': 1.0,
'margin_left': 1.0,
'margin_right': 1.0,
'margin_top': 1.0,
'mobi_file_type': 'old',
'unwrap_lines': False,
}

but after
$ ebook-convert django.recipe .mobi --output-profile kindle --test -vv --debug-pipeline debug
I have:

Resolved conversion options
calibre version: 1.5.0
{'asciiize': False,
......
'dehyphenate': True,
'delete_blank_paragraphs': True,
......
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
......

Seems that conversion_options is not used.

FYI I'm trying to convert django documentation and my problem is
that code indentation ( between <pre> tags) is lost, so is not so useful in python ;-)

Regards, Mauro
Attached Files
File Type: zip django.recipe.zip (1.5 KB, 101 views)
mauropiccolo is offline   Reply With Quote