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 10-22-2012, 02:22 PM   #1
sebdea
Member
sebdea began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Mar 2011
Device: none
Tables go crazy when converted to Mobi

Hi all,

Here are all the details that might help me find a solution:

OS: Apple
Sigil version: 0.5.3
Calibre: 0.9.3
Original format: Epub
Converted format: Mobi

This is the log file:
Convert book 1 of 1 (Get That New Job)
Resolved conversion options
calibre version: 0.9.3
{'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/vp/jc8vkktd6972tf7splsh6y9r0000gn/T/calibre_0.9.3_tmp_3Ioxec/RCBXEB.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x11071b710>,
'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,
'mobi_file_type': u'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x11071bb10>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'/var/folders/vp/jc8vkktd6972tf7splsh6y9r0000gn/T/calibre_0.9.3_tmp_3Ioxec/Eh6_eq.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,
'share_not_sync': False,
'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,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on /var/folders/vp/jc8vkktd6972tf7splsh6y9r0000gn/T/calibre_0.9.3_tmp_3Ioxec/bx32gE.epub
Found HTML cover OEBPS/Text/Section0001.xhtml
Parsing all content...
Parsing OEBPS/Text/Section0027.xhtml ...
Parsing OEBPS/Text/Section0007.xhtml ...
Parsing OEBPS/Text/Section0015.xhtml ...
Parsing OEBPS/Text/Section0016.xhtml ...
Parsing OEBPS/Text/Section0040.xhtml ...
Parsing OEBPS/Text/Section0037.xhtml ...
Parsing OEBPS/Text/Section0033.xhtml ...
Parsing OEBPS/Text/Section0004.xhtml ...
Parsing OEBPS/Text/Section0006.xhtml ...
Parsing OEBPS/Text/Section0019.xhtml ...
Parsing OEBPS/Text/Section0030.xhtml ...
Parsing OEBPS/Text/Section0038.xhtml ...
Parsing OEBPS/Text/Section0028.xhtml ...
Parsing OEBPS/Text/Section0044.xhtml ...
Parsing OEBPS/Text/Section0032.xhtml ...
Parsing OEBPS/Text/Section0048.xhtml ...
Parsing OEBPS/Text/Section0034.xhtml ...
Parsing OEBPS/Text/Section0003.xhtml ...
Parsing OEBPS/Text/Section0045.xhtml ...
Parsing OEBPS/Text/Section0042.xhtml ...
Parsing OEBPS/Text/Section0008.xhtml ...
Parsing OEBPS/Text/Section0011.xhtml ...
Parsing OEBPS/Text/Section0047.xhtml ...
Parsing OEBPS/Text/Section0021.xhtml ...
Parsing OEBPS/Text/Section0046.xhtml ...
Parsing OEBPS/Text/Section0017.xhtml ...
Parsing OEBPS/Text/Section0024.xhtml ...
Parsing OEBPS/Text/Section0023.xhtml ...
Parsing OEBPS/Text/Section0001.xhtml ...
Parsing OEBPS/Text/Section0018.xhtml ...
Parsing OEBPS/Text/Section0035.xhtml ...
Parsing OEBPS/Text/Section0009.xhtml ...
Parsing OEBPS/Text/Section0039.xhtml ...
Parsing OEBPS/Text/Section0005.xhtml ...
Parsing OEBPS/Text/Section0026.xhtml ...
Parsing OEBPS/Text/Section0020.xhtml ...
Parsing OEBPS/Text/Section0013.xhtml ...
Parsing OEBPS/Text/Section0002.xhtml ...
Parsing OEBPS/Text/Section0022.xhtml ...
Parsing OEBPS/Text/Section0043.xhtml ...
Parsing OEBPS/Text/Section0036.xhtml ...
Parsing OEBPS/Text/Section0014.xhtml ...
Parsing OEBPS/Text/Section0029.xhtml ...
Parsing OEBPS/Text/Section0049.xhtml ...
Parsing OEBPS/Text/Section0031.xhtml ...
Parsing OEBPS/Text/Section0010.xhtml ...
Parsing OEBPS/Text/Section0025.xhtml ...
Parsing OEBPS/Text/Section0041.xhtml ...
Parsing OEBPS/Text/Section0012.xhtml ...
Spine-referenced file u'OEBPS/Text/Section0001.xhtml' not in spine
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 7 items of level: div_1
Found 77 items of level: p_4
Found 79 items of level: p_2
Found 443 items of level: p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
p_4 left margin stats: Counter({u'0': 77})
p_4 right margin stats: Counter({u'0': 77})
p_2 left margin stats: Counter({u'0': 79})
p_2 right margin stats: Counter({u'0': 79})
p_1 left margin stats: Counter({u'0': 443})
p_1 right margin stats: Counter({u'0': 443})
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
Serializing resources...
Creating MOBI 6 output
Generating in-line TOC...
Applying case-transforming CSS...
Parsing manglecase.css ...
Parsing tocstyle.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
Compressing markup content...
Generating MOBI index for a book
MOBI output written to /var/folders/vp/jc8vkktd6972tf7splsh6y9r0000gn/T/calibre_0.9.3_tmp_3Ioxec/hbl34G.mobi

Now, in the attachment you will see how the tables are looking in Sigil and how they are converted as well as a screenshot of the HTML coding for tables.

Any help is welcome. Please do not waste your time and my time with off topics. Just real help or even ideas.

I also tried to use Kindle generator and the tables worked OK but I had no Table of Contents.

Kind regards,
Sebastian
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-10-22 at 9.15.16 PM.png
Views:	202
Size:	66.7 KB
ID:	94671   Click image for larger version

Name:	Screen Shot 2012-10-22 at 9.16.35 PM.png
Views:	223
Size:	45.0 KB
ID:	94672   Click image for larger version

Name:	Screen Shot 2012-10-22 at 9.16.43 PM.png
Views:	225
Size:	69.2 KB
ID:	94673   Click image for larger version

Name:	Screen Shot 2012-10-22 at 9.18.12 PM.png
Views:	210
Size:	56.0 KB
ID:	94674   Click image for larger version

Name:	Screen Shot 2012-10-22 at 9.18.25 PM.png
Views:	228
Size:	81.7 KB
ID:	94675  
sebdea is offline   Reply With Quote
Old 10-22-2012, 10:37 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Convert to azw3, that's what you're seeing when you use kindlegen.
kovidgoyal is offline   Reply With Quote
Old 10-23-2012, 06:25 AM   #3
sebdea
Member
sebdea began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Mar 2011
Device: none
Hi,

That's the problem. As I understand AZW3 files are not read by older devices. While AZW3 is perfect for my needs and as you said the result is extraordinary, conversion to Mobi is a disaster.

The ePub is converted using Calibre. As I said, I might use Kindlegen for conversion but:

1. There is no cover
2. There is no TOC, except the one I create

Thank you for your time and advice.

Sebastian
sebdea is offline   Reply With Quote
Old 10-23-2012, 06:31 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The reason the table looks good in the kindlegen conversion is becuase kindlegen is generating a combined MOBI with both an azw3 and an older MOBI in it. And your MOBI previewer is using the azw3 version. If you want that kind of MOBI tick the relevant option under MOBI output in the calibre conversion dialog.
kovidgoyal is offline   Reply With Quote
Old 10-23-2012, 06:48 AM   #5
sebdea
Member
sebdea began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Mar 2011
Device: none
I've tried that. Anyway, I tried with kindlegen and the result is perfect. However do you have any idea how to make the cover and TOC to be created with kindlegen? See attachments.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-10-23 at 1.45.33 PM.png
Views:	222
Size:	851.3 KB
ID:	94724   Click image for larger version

Name:	Screen Shot 2012-10-23 at 1.45.38 PM.png
Views:	210
Size:	909.3 KB
ID:	94725   Click image for larger version

Name:	Screen Shot 2012-10-23 at 1.46.27 PM.png
Views:	209
Size:	22.0 KB
ID:	94726  
sebdea is offline   Reply With Quote
Old 10-24-2012, 06:20 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Inline TOCs are not automatically generated from an NCX file when converting using kindlegen. There's no way to make it "be created." If you want an inline (html) TOC you must manually create one with links to the various sections of your ePub. The cover needs to be specified in the manner explained in the the official Amazon Kindle Publishing Guidelines (sec. 3.2).

Making extensive use of tables for formatting purposes is not really recommended. It's very easy for an end-user to "blow up" your hard work by simply increasing font-size. Especially on small screens.

Last edited by DiapDealer; 10-24-2012 at 06:25 AM.
DiapDealer is offline   Reply With Quote
Old 10-25-2012, 02:56 AM   #7
Dopedangel
Wizard
Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.Dopedangel ought to be getting tired of karma fortunes by now.
 
Dopedangel's Avatar
 
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
Quote:
Originally Posted by sebdea View Post
I've tried that. Anyway, I tried with kindlegen and the result is perfect. However do you have any idea how to make the cover and TOC to be created with kindlegen? See attachments.
You can add an inline toc to your epub using epub fixer before converting with kindlegen

http://code.google.com/p/epubfixer/
Dopedangel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi-Mobi Converted Books using Calibre Kevin2960 Amazon Kindle 6 12-23-2011 11:28 AM
ePub to Mobi issues with tables apastuszak Conversion 11 06-20-2011 09:19 PM
Converting tables to Kindle/Mobi format jpaulm Conversion 3 06-10-2011 09:23 AM
HTML to Mobi conversion with very wide tables and Index tab sjahangi Conversion 0 04-21-2011 02:30 PM
Classic Nook Crashes on Loading Tables in Converted EPUB nulall Barnes & Noble NOOK 3 02-01-2011 07:58 AM


All times are GMT -4. The time now is 02:16 AM.


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