Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2013, 03:01 PM   #1
qtr
Junior Member
qtr began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2013
Device: none
Mobi Personal Doc Tag Conversion Problem

I am trying to get a mobi file (originally EPUB, but converted through calibre) to appear in the Books section of the Kindle iPad app instead of in the Docs section. I know this is a common problem that people have found ways to fix, but I’ve spent a couple of days trying all the potential solutions I can find and none of them work. I understand that the placement of the file depends on its Personal Doc tag/CDE type, and that many people have had success in changing this with calibre. I’ve done a mobi-to-mobi conversion on the file countless times, trying every trick I’ve heard of: changing the PDOC tag to EBOK both and without brackets and deleting the tag entirely (in both Preferences and the conversion screen); trying bulk convert; trying convert individually; changing the file type to “both”, “new”, and “old”; transferring the converted file to the iPad through USB (iTunes file sharing); and downloading the Mobi Meta Editor program and changing the CDE type there. No matter what I do, the file appears in the Docs section of the Kindle app, even when it appears to have the correct tag. (I wish I could test it on an actual Kindle, but I don’t have one that’s new enough to differentiate between Docs and Books.)

I can’t attach the actual file because it’s copyrighted, but I replicated the problem in a small test file. I’m attaching its three versions (EPUB, original mobi, converted mobi).

Here’s the conversion log for the EPUB-to-mobi conversion:

Spoiler:
Convert book 1 of 1 (EPUBConversionTest)
Resolved conversion options
calibre version: 0.9.43
{'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/by/z_y_qjlx3wxfqm8djh5j270m0000gn/T/calibre_0.9.43_tmp_Ck8zi5/V65qAw.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'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 0x107f53f90>,
'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'both',
'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.iPad3Output object at 0x107f54550>,
'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/by/z_y_qjlx3wxfqm8djh5j270m0000gn/T/calibre_0.9.43_tmp_Ck8zi5/ZjS2P9.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,
'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_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on /var/folders/by/z_y_qjlx3wxfqm8djh5j270m0000gn/T/calibre_0.9.43_tmp_Ck8zi5/QZphk4.epub
Parsing all content...
Parsing EPUB/toc.xhtml ...
Parsing EPUB/chapter1.xhtml ...
Parsing EPUB/stylesheet.css ...
Parsing EPUB/front-cover.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Book title
Detected chapter: Chapter 1
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 1 items of level: p_1
Ignoring level p_1
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'EPUB/toc.xhtml' from manifest
Creating MOBI Output...
Serializing resources...
Splitting markup on page breaks and flow limits, if any...
Creating KF8 output
Generating in-line ToC
Generating KF8 markup...
Compressing markup...
Creating indices...
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/by/z_y_qjlx3wxfqm8djh5j270m0000gn/T/calibre_0.9.43_tmp_Ck8zi5/4qgX58.mobi


And the mobi-to-mobi conversion:

Spoiler:
Convert book 1 of 1 (EPUBConversionTest)
Resolved conversion options
calibre version: 0.9.43
{'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/by/z_y_qjlx3wxfqm8djh5j270m0000gn/T/calibre_0.9.43_tmp_Ck8zi5/faJv80.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'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 0x108d53f90>,
'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'both',
'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.iPad3Output object at 0x108d54550>,
'page_breaks_before': u'/',
'personal_doc': None,
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'/var/folders/by/z_y_qjlx3wxfqm8djh5j270m0000gn/T/calibre_0.9.43_tmp_Ck8zi5/tV3v4J.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,
'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_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on /var/folders/by/z_y_qjlx3wxfqm8djh5j270m0000gn/T/calibre_0.9.43_tmp_Ck8zi5/sRHpZe.mobi
Found KF8 MOBI of type 'joint'
Extracting text...
Parsing all content...
Parsing text/part0001.html ...
Parsing styles/0003.css ...
Parsing text/part0000.html ...
Parsing styles/0001.css ...
Parsing text/part0002.html ...
Initial parse failed, using more forgiving parsers
Parsing text/part0002.html as HTML
Parsing styles/0002.css ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Book title
Detected chapter: Chapter 1
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 1 items of level: p_1
Ignoring level p_1
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00002.jpeg' from manifest
Creating MOBI Output...
Serializing resources...
Splitting markup on page breaks and flow limits, if any...
Creating KF8 output
Generating KF8 markup...
Compressing markup...
Creating indices...
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/by/z_y_qjlx3wxfqm8djh5j270m0000gn/T/calibre_0.9.43_tmp_Ck8zi5/fGWhpC.mobi


It might be relevant that when I did the EPUB-to-mobi conversion, the CDE type came out as EBOK according to Mobi Meta Editor, even though I’d tried to get it to use PDOC in order to replicate the steps I originally followed. This makes me wonder if the CDE type isn’t really changing even when it seems to be.

Any advice would be much appreciated. Thanks in advance!
Attached Files
File Type: epub EPUBConversionTest - Unknown.epub (2.6 KB, 15 views)
File Type: mobi EPUBConversionTest - Unknown.mobi (32.3 KB, 12 views)
File Type: mobi EPUBConversionTest - UnknownOriginal.mobi (32.0 KB, 18 views)
qtr is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set "Personal Doc Tag" to blank; MOBIs still show up in Docs on Kindle oceanclub Library Management 2 04-16-2013 02:52 PM
Removing Personal Doc Tag [PDOC] from .mobi file Derek R Kindle Formats 7 03-11-2013 10:48 AM
Easy Conversion: Doc to Epub / Mobi pdxNat Conversion 4 01-19-2012 01:43 AM
personal doc tag alansplace Conversion 8 12-28-2011 12:06 AM
personal doc tag alansplace Calibre 3 12-27-2011 11:37 AM


All times are GMT -4. The time now is 02:43 PM.


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