MOBI: No Table of Contents
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I download fanfics using FanfictionLoader, and I've found this to be a consistent problem:
If I download as MOBI, (eg: http://
If I convert from MOBI to MOBI (to create chapter markers), THE INCLUDED TOC IS NOT DETECTED.
If I convert from MOBI to EPUB to MOBI, THE INCLUDED TOC IS NOT DETECTED.
If I convert from MOBI to EPUB, edit in Sigil and rename the .html file on which the TOC is located, then convert from EPUB to MOBI, THE TOC WORKS.
I'm not sure what the problem is, but it would seem that merely renaming the TOC's file (via EPUB) fixes the problem. I've even confirmed this by editing the EPUB and re-renaming the file back to it's original name to find that converting to MOBI breaks the TOC again.
Here is a log of MOBI to MOBI which broke the included TOC:
Convert book 1 of 1 (Creature of Habit)
Resolved conversion options
calibre version: 0.7.52
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': u"//*[((name()='h1' or name()='h2' or name()='h3') and re:test(., 'chapter|
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'dont_compress': False,
'enable_
'extra_css': None,
'fix_indents': True,
'font_
'format_
'html_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'keep_ligatures': True,
'language': None,
'level1_toc': u"//*[name(
'level2_toc': u"//*[name(
'level3_toc': u"//*[name(
'line_height': 0.0,
'linearize_
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_
'max_toc_links': 0,
'minimum_
'mobi_
'no_chapters_
'no_inline_
'no_inline_toc': True,
'output_profile': <calibre.
'page_
'personal_doc': u'[PDOC]',
'prefer_
'prefer_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'rescale_images': False,
'series': None,
'series_index': None,
'smarten_
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Converting style information to CSS...
Creating OPF...
Parsing all content...
Parsing styles.css ...
Parsing Creature%
Forcing Creature%
Guide reference 'Creature of Habit.html#
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: 1. Chapter 1
Detected chapter: 2. Chapter 2
Detected chapter: 3. Chapter 3
Detected chapter: 4. Chapter 4
Detected chapter: 5. Chapter 5
Detected chapter: 6. Chapter 6
Detected chapter: 7. Chapter 7
Detected chapter: 8. Chapter 8
Detected chapter: 9. Chapter 9
Detected chapter: 10. Chapter 10
Detected chapter: 11. Chapter 11
Detected chapter: 12. Chapter 12
Detected chapter: 13. Chapter 13
Detected chapter: 14. Chapter 14
Detected chapter: 15. Chapter 15
Detected chapter: 16. Chapter 16
Detected chapter: 17. Chapter 17
Detected chapter: 18. Chapter 18
Detected chapter: 19. Chapter 19
Detected chapter: 20. Chapter 20
Detected chapter: 21. Chapter 21
Detected chapter: 22. Chapter 22
Detected chapter: 23. Chapter 23
Detected chapter: 24. Chapter 24
Detected chapter: 25. Chapter 25
Detected chapter: 26. Chapter 26
Detected chapter: 27. Chapter 27
Detected chapter: 28. Chapter 28
Detected chapter: 29. Chapter 29
Detected chapter: 30. Chapter 30
Detected chapter: 32. Chapter 32
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Parsing stylesheet.css ...
Found 66 items of level: div_1
Found 63 items of level: div_2
Found 4960 items of level: p_3
Found 1 items of level: p_1
Ignoring level p_1
div_1 left margin stats: Counter({u'': 32})
div_1 right margin stats: Counter({u'': 32})
div_2 left margin stats: Counter({u'': 32})
div_2 right margin stats: Counter({u'': 32})
p_3 left margin stats: Counter({u'0': 4960})
p_3 right margin stats: Counter({u'0': 4960})
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
Applying case-transforming CSS...
Parsing manglecase.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
Compressing markup content...
Generating flat CTOC ...
CNCX utilization: 1 record, 0% full
Indexing navPoints ...
Generating INDX ...
Serializing images...
MOBI output written to c:\users\
Changed in calibre: | |
status: | Invalid → In Progress |
status: | In Progress → Incomplete |
Changed in calibre: | |
status: | Incomplete → Won't Fix |
Attach a file demonstrating/ reproducing the problem. And when you do, please leave a comment as I am not notified for attachments.
And dont type in capitals, it's rude.
status incomplete