View Single Post
Old 11-03-2016, 10:38 PM   #174
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@davidfor,

I've attached the test source epub and the converted kepub. Hopefully that's enough, but let me know if something's missing.

This is only a guess but I think the problem might have something to do with the cover page file (titlepage.xhtml) being moved out of its text/ sub-directory into the root directory during the kepub conversion. Perhaps the NCX loses track of the move.

Conversion job details
Spoiler:
Convert book 1 of 1 (Ligatures)
Resolved conversion options
calibre version: 2.70.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 12.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u'/',
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'D:\\sysfiles\\Temp\\calibre_u7scni\\ud1hoz.jpeg' ,
'debug_pipeline': None,
'dehyphenate': False,
'delete_blank_paragraphs': False,
'disable_font_rescaling': True,
'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': False,
'flow_size': 260,
'font_size_mapping': u'9, 10, 11, 12, 14, 16, 20, 36',
'format_scene_breaks': False,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x0000000005A9BE80>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': False,
'keep_ligatures': False,
'kepub_clean_markup': False,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': False,
'kepub_replace_lang': True,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': -1.0,
'margin_left': -1.0,
'margin_right': -1.0,
'margin_top': -1.0,
'markup_chapter_headings': False,
'max_toc_links': 0,
'minimum_line_height': 0.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x0000000005AB1908>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'D:\\sysfiles\\Temp\\calibre_u7scni\\2mxssl.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,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': False,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on D:\sysfiles\Temp\calibre_u7scni\uxvpj7.epub
Found HTML cover text/titlepage.xhtml
Parsing all content...
Parsing text/lig.htm ...
Parsing stylesheet.css ...
Parsing text/titlepage.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'text/titlepage.xhtml' from manifest
Creating KePub Output...
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in text/lig.htm...
No large trees found
Copying file 'D:\sysfiles\Temp\calibre_u7scni\irnoug_KePubOutpu tPluginInfo' to 'D:\sysfiles\Temp\calibre_u7scni\jmnn1z_epub_conta iner' as 'plugininfo.kte'
{'smarten_punctuation': False, 'replace_lang': True, 'hyphenate': False, 'no-hyphens': False, 'extended_kepub_features': True, 'clean_markup': False}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file text/lig.htm
Forcing cleanup for file titlepage.xhtml
KoboTouchExtended:common:modify_epub:Overriding OPF language
KoboTouchExtended:common:modify_epub:Overriding content file language :: text/lig.htm
KoboTouchExtended:common:modify_epub:Overriding content file language :: titlepage.xhtml
KoboTouchExtended:common:modify_epub:Adding extended Kobo features to Ligatures by Aaa Zzz
Adding Kobo spans to text/lig.htm
Adding Kobo spans to titlepage.xhtml
Adding Kobo divs to text/lig.htm
Adding Kobo divs to titlepage.xhtml
Skipping file (many divs! handle it!)
Copying file 'D:\sysfiles\Temp\calibre_u7scni\kepub_uifnky_styl ehacks' to 'D:\sysfiles\Temp\calibre_u7scni\jmnn1z_epub_conta iner' as 'kte-css/stylehacks.css'
Adding reference to kte-css/stylehacks.css to file text/lig.htm
Adding reference to kte-css/stylehacks.css to file titlepage.xhtml
KEPUB output written to D:\sysfiles\Temp\calibre_u7scni\smerli.kepub
Attached Files
File Type: epub source.epub (150.4 KB, 282 views)
File Type: epub output.kepub.epub (150.8 KB, 255 views)

Last edited by jackie_w; 11-04-2016 at 02:52 PM. Reason: Pre-judging a problem with no facts is probably counter-productive
jackie_w is offline   Reply With Quote