When I try to convert a pdf to epub it loses all the formatting.
For instance, I'll convert a pdf of a 'Dummies' book and in the epub version after conversion the 'Hot Tips' or any other side tip in the book is thrown out and sometimes mixed into the regular bulk of the book.
Spoiler:
Convert book 1 of 1 (1-2-3 Magic)
Resolved conversion options
calibre version: 1.35.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'/var/folders/1p/9wk1q0ns74ncj4y67_95q7z40000gn/T/calibre_1.35.0_tmp_NOMg0b/u8wUtD.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x1076914d0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_images': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.iPadOutput object at 0x107691a10>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'/var/folders/1p/9wk1q0ns74ncj4y67_95q7z40000gn/T/calibre_1.35.0_tmp_NOMg0b/z976LI.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_factor': 0.45,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on /var/folders/1p/9wk1q0ns74ncj4y67_95q7z40000gn/T/calibre_1.35.0_tmp_NOMg0b/bxv1QI.pdf
Converting file to html...
Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Parsing index.html ...
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 30 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 7776 items of level: p_1
p_1 left margin stats: Counter({u'0': 7776})
p_1 right margin stats: Counter({u'0': 7776})
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
Rescaling image from 904x1348 to 674x1005 cover.jpeg
The image index-1_1.jpg is in the CMYK colorspace, converting it to RGB as Adobe Digital Editions cannot display CMYK
Rescaling image from 904x1348 to 674x1005 index-1_1.jpg
The image index-228_1.jpg is in the CMYK colorspace, converting it to RGB as Adobe Digital Editions cannot display CMYK
Rescaling image from 902x1350 to 671x1005 index-228_1.jpg
The image index-2_1.jpg is in the CMYK colorspace, converting it to RGB as Adobe Digital Editions cannot display CMYK
Rescaling image from 904x1356 to 670x1005 index-2_1.jpg
The image index-227_1.jpg is in the CMYK colorspace, converting it to RGB as Adobe Digital Editions cannot display CMYK
Rescaling image from 902x1350 to 671x1005 index-227_1.jpg
Splitting markup on page breaks and flow limits, if any...
Splitting on page-break at id=calibre_pb_0
Looking for large trees in index.html...
Found large tree #0
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[3889]
Split tree still too large: 286 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1945]
Committed sub-tree #1 (143 KB)
Committed sub-tree #2 (143 KB)
Split tree still too large: 287 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1945]
Committed sub-tree #3 (147 KB)
Committed sub-tree #4 (140 KB)
Split into 5 parts
EPUB output written to /var/folders/1p/9wk1q0ns74ncj4y67_95q7z40000gn/T/calibre_1.35.0_tmp_NOMg0b/GaxXlV.epub
Last edited by DoctorOhh; 05-16-2014 at 01:04 AM.
Reason: Added spoiler tags