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 08-18-2015, 10:32 AM   #1
golfnt
Junior Member
golfnt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2015
Device: none
AZW4 to epub issue

I'm new to Calibre and have an issue I could use some help with.
The attached file outlines the problem.
Any help would be appreciated.
Let me know if I should provide more info/detail.
Thanks
Dan
Attached Files
File Type: doc CalibreIssue.doc (602.0 KB, 131 views)
golfnt is offline   Reply With Quote
Old 08-18-2015, 10:38 AM   #2
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Expecting people to download and risk opening an attachment from a complete stranger is unwise. Just explain your issue in simple plain text, inline, please
cybmole is offline   Reply With Quote
Advert
Old 08-18-2015, 10:54 AM   #3
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,511
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
AZW4 is a PDF is a wrapper. Conversion to ePub results in all the usual problems one would expect when doing a conversion from PDF.

Use the KindleUnpack plugin to extract the PDF if you just want to use on other devices.
pdurrant is online now   Reply With Quote
Old 08-18-2015, 11:24 AM   #4
golfnt
Junior Member
golfnt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2015
Device: none
The following is most of the content of the doc attachment -
screen shots didn't copy.
I am new to Calibre and experimenting with moving a AZW4 book "Elements of Algebra" by Euler to MOBI or ePub format to use with the Marvin reader on an iPad.

The conversion from AZW4 to PDF using KindleUnpack worked fine - all formatting and text characters transferred correctly. However, the conversion from PDF to either MOBI or ePub produces issues of 1) change in line spacing and 2) loss of characters.

The line spacing is annoying but not critical but the loss of characters is a show stopper.

I'm at a loss as to how to proceed next. The strange thing is that the html files produced by debug show no loss of formatting or characters when viewed in Firefox but the viewer in Calibre doesn't display the characters. In addition, when loading the original PDF file into the Calibre viewer, it too doesn't display some characters.

Here are screen shots:

PDF in PDF viewer:



Same PDF section viewed in Calibre viewer:



Firefox of HTML same section from Input section of debug


Firefox of stucture part of debug:

Spoiler:

The following is the job detail from the conversion to Epub
Convert book 1 of 1 (Elements of Algebra)
Resolved conversion options
calibre version: 2.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': None,
'debug_pipeline': u'D:/eBooks/Debug',
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': True,
'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': 140,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.KindleInput object at 0x000000000555D908>,
'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 0x000000000555DC50>,
'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'C:\\Users\\Dan\\AppData\\Local\\Temp\\calibre_in kxx5\\1fgezy.opf',
'remove_fake_margins': False,
'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.62,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on C:\Users\Dan\AppData\Local\Temp\calibre_inkxx5\exl dzy.pdf
Converting file to html...
Retrieving document metadata...
Generating manifest...
Rendering manifest...
Input debug saved to: D:\eBooks\Debug\input
Parsing all content...
Parsing index.html ...
Generating default TOC from spine...
Parsed HTML written to: D:\eBooks\Debug\parsed
Merging user specified metadata...
Detecting structure...
Maximum TOC links reached, stopping.
Auto generated TOC with 50 entries.
Structured HTML written to: D:\eBooks\Debug\structure
Flattening CSS and remapping font sizes...
Source base font size is 16.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Processed HTML written to: D:\eBooks\Debug\processed
Creating EPUB Output...
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]/*[16664]
Split tree still too large: 1062 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[8332]
Split tree still too large: 549 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[4166]
Split tree still too large: 324 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2083]
Split tree still too large: 175 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1042]
Committed sub-tree #1 (117 KB)
Committed sub-tree #2 (57 KB)
Split tree still too large: 150 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1043]
Committed sub-tree #3 (66 KB)
Committed sub-tree #4 (84 KB)
Split tree still too large: 225 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2084]
Committed sub-tree #5 (110 KB)
Committed sub-tree #6 (115 KB)
Split tree still too large: 513 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[4167]
Split tree still too large: 252 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2084]
Committed sub-tree #7 (125 KB)
Committed sub-tree #8 (127 KB)
Split tree still too large: 261 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2084]
Committed sub-tree #9 (136 KB)
Committed sub-tree #10 (125 KB)
Split tree still too large: 1157 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[8333]
Split tree still too large: 573 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[4167]
Split tree still too large: 276 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2084]
Committed sub-tree #11 (135 KB)
Split tree still too large: 141 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1043]
Committed sub-tree #12 (77 KB)
Committed sub-tree #13 (64 KB)
Split tree still too large: 296 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2084]
Split tree still too large: 169 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1043]
Committed sub-tree #14 (70 KB)
Committed sub-tree #15 (99 KB)
Committed sub-tree #16 (127 KB)
Split tree still too large: 584 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[4167]
Split tree still too large: 275 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2084]
Committed sub-tree #17 (136 KB)
Committed sub-tree #18 (138 KB)
Split tree still too large: 310 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2084]
Split tree still too large: 157 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1043]
Committed sub-tree #19 (73 KB)
Committed sub-tree #20 (84 KB)
Split tree still too large: 153 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[1042]
Committed sub-tree #21 (87 KB)
Committed sub-tree #22 (66 KB)
Split into 23 parts
Generating default cover
EPUB output written to C:\Users\Dan\AppData\Local\Temp\calibre_inkxx5\qjs hrm.epub

Last edited by theducks; 08-18-2015 at 12:10 PM. Reason: Wrap HUGE paste in spoiler tags
golfnt is offline   Reply With Quote
Old 08-18-2015, 12:13 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
No surprise
Did you READ the stickies at the top?
Specifically this one https://www.mobileread.com/forums/sho...d.php?t=118605
theducks is offline   Reply With Quote
Advert
Old 08-18-2015, 07:25 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@golfnt - Welcome to Mobileread

I can't see any images. You need to read this Attachments and Images

Try to spend a little time reading the FAQ and Guidelines pages - there are links at the bottom of every page. It's also a good idea to have a quick look at the stickies at the top of a sub-forum before starting a new thread - the information you seek may be there.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert AZW4 to printable format (not a DRM issue) mlevin77 Conversion 3 10-16-2014 08:00 AM
Title Page Issue - ePub to ePub conversion library addict Calibre 2 11-24-2013 02:38 PM
.azw4 to .pdf TDiana Conversion 4 01-12-2013 08:10 PM
Epub to Epub: issue with Multiple headings and page breaks erion Conversion 5 12-04-2011 06:06 AM
Basic azw4 support DiapDealer Calibre 1 09-03-2011 12:26 PM


All times are GMT -4. The time now is 04:32 AM.


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