Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 05-15-2014, 09:21 PM   #1
zamboknee
Junior Member
zamboknee began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2014
Device: iPad
PDF to Epub conversion problem

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
zamboknee is offline   Reply With Quote
Old 05-16-2014, 01:04 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
This what happens using PDF as a source for conversions, read this sticky.
DoctorOhh is offline   Reply With Quote
Advert
Old 05-16-2014, 12:33 PM   #3
zamboknee
Junior Member
zamboknee began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2014
Device: iPad
Was kinda thinking that.
zamboknee is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Epub to Pdf Conversion:text invisible on right hand side due to clipping Feher Conversion 2 06-08-2013 03:58 AM
epub to epub conversion problem with regex spanning multiple input files ctop Conversion 2 02-12-2012 01:56 AM
Weird problem with PDF to ePub conversion... cassidydorman Conversion 10 08-23-2011 09:35 AM
Conversion problem EPUB/LRF to PDF Thomas Jean Conversion 2 07-22-2011 04:57 PM
Epub/Mobi TO pdf conversion problem Hitch Calibre 4 06-15-2010 05:28 PM


All times are GMT -4. The time now is 07:21 PM.


MobileRead.com is a privately owned, operated and funded community.