View Single Post
Old 05-14-2013, 12:24 PM   #8
Carlos_ER
Carlos E. R.
Carlos_ER began at the beginning.
 
Carlos_ER's Avatar
 
Posts: 16
Karma: 10
Join Date: May 2013
Location: Spain
Device: Kobo touch
Table of contents does not have all entries

Oh, I see! Sorry, did not notice the link.

Quote:
There are two places where conversion options can be set in calibre. The first is in Preferences->Conversion. These settings are the defaults for the conversion options. Whenever you try to convert a new book, the settings set here will be used by default.
I do not have a "Conversion" entry on the "Preferences" button. There is a "Change Calibre behaviour" entry. Then, for conversion, common options, Table of contents, there is an entry named "Number of links to add to Table of Contents" and it is set to 70.

Quote:
You can also change settings in the conversion dialog for each book conversion. When you convert a book, calibre remembers the settings you used for that book, so that if you convert it again, the saved settings for the individual book will take precedence over the defaults set in Preferences. You can restore the individual settings to defaults by using the Restore to defaults button in the individual book conversion dialog.
I did that. The dialog also says "70".

Still, the output has 50 contents entries.


Quote:
Note

You can see the actual settings used during any conversion by clicking the rotating icon in the lower right corner and then double clicking the individual conversion job. This will bring up a conversion log that will contain the actual settings used, near the top.
Ok, I did that too. The log is this:

Code:
Convert book 1 of 1 (Patente de corso - 2012)
Resolved conversion options
calibre version: 0.9.30
{'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|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
 'chapter_mark': u'pagebreak',
 'comments': None,
 'cover': u'/tmp/calibre_0.9.30_tmp_jareCu/EwbdWR.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_font_family': None,
 'enable_heuristics': False,
 'epub_flatten': 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 0x111d810>,
 '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': 70,
 'minimum_line_height': 120.0,
 'no_chapters_in_toc': False,
 'no_default_epub_cover': False,
 'no_inline_navbars': False,
 'no_svg_cover': False,
 'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x111df90>,
 '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'/tmp/calibre_0.9.30_tmp_jareCu/z8_jnL.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,
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: EPUB Input running
on /tmp/calibre_0.9.30_tmp_jareCu/ZwH85c.epub
Found HTML cover titlepage.xhtml
Parsing all content...
Parsing index_split_053.xhtml ...
Parsing index_split_007.xhtml ...
Parsing index_split_041.xhtml ...
Parsing index_split_042.xhtml ...
Parsing index_split_003.xhtml ...
Parsing index_split_000.xhtml ...
Parsing index_split_024.xhtml ...
Parsing index_split_008.xhtml ...
Parsing index_split_040.xhtml ...
Parsing index_split_030.xhtml ...
Parsing index_split_043.xhtml ...
Parsing index_split_037.xhtml ...
Parsing index_split_055.xhtml ...
Parsing index_split_029.xhtml ...
Parsing index_split_011.xhtml ...
Parsing index_split_048.xhtml ...
Parsing index_split_052.xhtml ...
Parsing page_styles.css ...
Parsing index_split_039.xhtml ...
Parsing index_split_044.xhtml ...
Parsing index_split_006.xhtml ...
Parsing index_split_001.xhtml ...
Parsing index_split_016.xhtml ...
Parsing index_split_022.xhtml ...
Parsing index_split_010.xhtml ...
Parsing index_split_038.xhtml ...
Parsing index_split_002.xhtml ...
Parsing index_split_027.xhtml ...
Parsing index_split_017.xhtml ...
Parsing index_split_047.xhtml ...
Parsing index_split_054.xhtml ...
Parsing index_split_051.xhtml ...
Parsing index_split_018.xhtml ...
Parsing index_split_031.xhtml ...
Parsing index_split_009.xhtml ...
Parsing index_split_019.xhtml ...
Parsing index_split_028.xhtml ...
Parsing index_split_020.xhtml ...
Parsing index_split_036.xhtml ...
Parsing titlepage.xhtml ...
Parsing stylesheet.css ...
Parsing index_split_033.xhtml ...
Parsing index_split_021.xhtml ...
Parsing index_split_013.xhtml ...
Parsing index_split_046.xhtml ...
Parsing index_split_050.xhtml ...
Parsing index_split_005.xhtml ...
Parsing index_split_035.xhtml ...
Parsing index_split_004.xhtml ...
Parsing index_split_023.xhtml ...
Parsing index_split_026.xhtml ...
Parsing index_split_014.xhtml ...
Parsing index_split_034.xhtml ...
Parsing index_split_032.xhtml ...
Parsing index_split_015.xhtml ...
Parsing index_split_025.xhtml ...
Parsing index_split_012.xhtml ...
Parsing index_split_045.xhtml ...
Parsing index_split_049.xhtml ...
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 204 items of level: p_1
p_1  left margin stats: Counter({u'0': 148, u'4.99mm': 53, u'9.98mm': 3})
p_1  right margin stats: Counter({u'0': 204})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'cover1.jpeg' from manifest
Trimming u'titlepage.xhtml' from manifest
Creating EPUB Output...
Splitting markup on page breaks and flow limits, if any...
	Looking for large trees in index_split_053.xhtml...
	No large trees found
	Looking for large trees in index_split_007.xhtml...
	No large trees found
	Looking for large trees in index_split_041.xhtml...
	No large trees found
	Looking for large trees in index_split_042.xhtml...
	No large trees found
	Looking for large trees in index_split_003.xhtml...
	No large trees found
	Looking for large trees in index_split_000.xhtml...
	No large trees found
	Looking for large trees in index_split_024.xhtml...
	No large trees found
	Looking for large trees in index_split_008.xhtml...
	No large trees found
	Looking for large trees in index_split_040.xhtml...
	No large trees found
	Looking for large trees in index_split_030.xhtml...
	No large trees found
	Looking for large trees in index_split_043.xhtml...
	No large trees found
	Looking for large trees in index_split_037.xhtml...
	No large trees found
	Looking for large trees in index_split_055.xhtml...
	No large trees found
	Looking for large trees in index_split_029.xhtml...
	No large trees found
	Looking for large trees in index_split_011.xhtml...
	No large trees found
	Looking for large trees in index_split_048.xhtml...
	No large trees found
	Looking for large trees in index_split_052.xhtml...
	No large trees found
	Looking for large trees in index_split_039.xhtml...
	No large trees found
	Looking for large trees in index_split_044.xhtml...
	No large trees found
	Looking for large trees in index_split_006.xhtml...
	No large trees found
	Looking for large trees in index_split_001.xhtml...
	No large trees found
	Looking for large trees in index_split_016.xhtml...
	No large trees found
	Looking for large trees in index_split_022.xhtml...
	No large trees found
	Looking for large trees in index_split_010.xhtml...
	No large trees found
	Looking for large trees in index_split_038.xhtml...
	No large trees found
	Looking for large trees in index_split_002.xhtml...
	No large trees found
	Looking for large trees in index_split_027.xhtml...
	No large trees found
	Looking for large trees in index_split_017.xhtml...
	No large trees found
	Looking for large trees in index_split_047.xhtml...
	No large trees found
	Looking for large trees in index_split_054.xhtml...
	No large trees found
	Looking for large trees in index_split_051.xhtml...
	No large trees found
	Looking for large trees in index_split_018.xhtml...
	No large trees found
	Looking for large trees in index_split_031.xhtml...
	No large trees found
	Looking for large trees in index_split_009.xhtml...
	No large trees found
	Looking for large trees in index_split_019.xhtml...
	No large trees found
	Looking for large trees in index_split_028.xhtml...
	No large trees found
	Looking for large trees in index_split_020.xhtml...
	No large trees found
	Looking for large trees in index_split_036.xhtml...
	No large trees found
	Looking for large trees in index_split_033.xhtml...
	No large trees found
	Looking for large trees in index_split_021.xhtml...
	No large trees found
	Looking for large trees in index_split_013.xhtml...
	No large trees found
	Looking for large trees in index_split_046.xhtml...
	No large trees found
	Looking for large trees in index_split_050.xhtml...
	No large trees found
	Looking for large trees in index_split_005.xhtml...
	No large trees found
	Looking for large trees in index_split_035.xhtml...
	No large trees found
	Looking for large trees in index_split_004.xhtml...
	No large trees found
	Looking for large trees in index_split_023.xhtml...
	No large trees found
	Looking for large trees in index_split_026.xhtml...
	No large trees found
	Looking for large trees in index_split_014.xhtml...
	No large trees found
	Looking for large trees in index_split_034.xhtml...
	No large trees found
	Looking for large trees in index_split_032.xhtml...
	No large trees found
	Looking for large trees in index_split_015.xhtml...
	No large trees found
	Looking for large trees in index_split_025.xhtml...
	No large trees found
	Looking for large trees in index_split_012.xhtml...
	No large trees found
	Looking for large trees in index_split_045.xhtml...
	No large trees found
	Looking for large trees in index_split_049.xhtml...
	No large trees found
The cover image has an id != "cover". Renaming to work around bug in Nook Color
EPUB output written to /tmp/calibre_0.9.30_tmp_jareCu/4vkGwU.epub
I don't know if that tells something, but not to me. I do see an entry "'max_toc_links': 70", yet I get only 50.


Thanks for the help so far...
Carlos_ER is offline   Reply With Quote