Quantcast
Channel: MobileRead Forums - Conversion
Viewing all 3900 articles
Browse latest View live

3.26.1 not converting Kepub format

$
0
0
I noticed that Calibre 3.26.1 not converting epub to the Kepub format when I transfer my epub ebooks to my Kobo Aura One.

The easy workaround is to rename the book extension to kepub.epub, but it use to do this automatically.

I confirm I still have the KoboTouchExtended 3.0.2 Plugin.

Cropped page on the right edge, Help!

$
0
0
Hey,

I've been trying to convert a AZW3 file to PDF, and the pdf ends up being cropped on the right edge.


Please let me know if you need the file.

Thanks

AZW3 to EPUB conversion: images cropped

$
0
0
Hello, I have tried to solve this for few hours and I am stuck.

I am trying to convert my book from amazon (Java: The Complete Reference) to epub so I can read it on my Cybook Odyssey. After conversion it seems that the images are cropped (at least from left/right) by few pixels. Since code examples are in image (jpg) form it makes the book unusable, because important elements, like semicolons, parentheses etc. are often located near the borders.

I tried to limit max width with
Code:

div span img
{
 max-width: 90% !important;
}

or
Code:

div span img
{
 max-width: 530px;
}

Effect was visible, the image was smaller, but the problem remains (few pixels cropped on the sides). Problem is visible only on my Cybook Odyssey, Calibre Viewer displays those images without problem.

I think that I can eventually use some workaround by processing those images and adding few more pixels on each border - but I don't know how to access them.

Fails acceptance as epub

$
0
0
I converted a book from docx to ebup, then uploaded to Lightning Source and get a long list of errors. This is a new install of Calibre and I've never seen this problem in the past

errors:
Spoiler:


[ERROR]toc.ncx: 26,56: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 31,58: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 49,58: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 55,58: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 61,58: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 68,57: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 73,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 79,59: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 92,58: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 97,59: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 103,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 109,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 121,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 127,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 139,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 145,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 158,58: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 163,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 169,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 176,58: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 181,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 199,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 206,58: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 217,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 223,60: assertion failed: playOrder sequence has gaps
[ERROR]toc.ncx: 242,58: assertion failed: playOrder sequence has gaps
[ERROR]toc.ncx: 247,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 259,60: assertion failed: playOrder sequence has gaps
[ERROR]toc.ncx: 265,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 272,58: assertion failed: playOrder sequence has gaps
[ERROR]toc.ncx: 283,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 295,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 301,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]toc.ncx: 319,60: assertion failed: playOrder sequence has gaps
[ERROR]toc.ncx: 349,60: assertion failed: identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target
[ERROR]index_split_004.html: 16,84: 'id_Toc418088199': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 19,84: 'id_Toc418088202': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 20,84: 'id_Toc418088203': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 22,84: 'id_Toc418088205': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 23,86: 'id_Toc418088206': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 26,84: 'id_Toc418088209': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 28,84: 'id_Toc418088211': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 31,84: 'id_Toc418088214': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 32,84: 'id_Toc418088215': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 35,84: 'id_Toc418088218': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 37,84: 'id_Toc418088220': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 38,84: 'id_Toc418088221': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 40,84: 'id_Toc418088223': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 41,84: 'id_Toc418088224': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 45,84: 'id_Toc418088228': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 46,84: 'id_Toc418088229': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 48,84: 'id_Toc418088231': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 51,84: 'id_Toc418088234': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 54,84: 'id_Toc418088237': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 56,84: 'id_Toc418088239': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 57,84: 'id_Toc418088240': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 64,84: 'id_Toc418088247': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 65,84: 'id_Toc418088248': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 66,84: 'id_Toc418088249': fragment identifier is not defined in 'index_split_000.html'
[ERROR]index_split_004.html: 67,84: 'id_Toc418088250': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 35,62: 'id_Toc418088199': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 53,62: 'id_Toc418088202': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 59,62: 'id_Toc418088203': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 72,60: 'id_Toc418088205': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 77,62: 'id_Toc418088206': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 96,60: 'id_Toc418088209': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 107,62: 'id_Toc418088211': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 125,62: 'id_Toc418088214': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 131,62: 'id_Toc418088215': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 149,62: 'id_Toc418088218': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 162,60: 'id_Toc418088220': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 167,62: 'id_Toc418088221': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 180,60: 'id_Toc418088223': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 185,62: 'id_Toc418088224': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 210,60: 'id_Toc418088228': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 215,62: 'id_Toc418088229': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 227,62: 'id_Toc418088231': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 246,60: 'id_Toc418088234': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 263,62: 'id_Toc418088237': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 276,60: 'id_Toc418088239': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 281,62: 'id_Toc418088240': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 323,62: 'id_Toc418088247': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 329,62: 'id_Toc418088248': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 335,62: 'id_Toc418088249': fragment identifier is not defined in 'index_split_000.html'
[ERROR]toc.ncx: 341,62: 'id_Toc418088250': fragment identifier is not defined in 'index_split_000.html'

Font sizes (scaling?)

$
0
0
I've run into an issue that I'm sure should be easy to fix, but for some reason I can't figure it out.

When I convert a book with an embedded font, I know how to change the base size of the font to try to get it to the size I want. A little experimentation and that usually works for that ONE font size. But the jumps between smaller and larger fonts usually makes all other sizes useless (all too big or too little). This is especially noticeable on my older Sonys that only have three font sizes (small, medium and large). Is there a simple way to cause smaller jumps in font sizes? I think that's what the scaling setting is supposed to do, but for some reason I haven't been able to figure out how to use it.

Any pointers would be greatly appreciated. Thank you.

ePub fails to convert

$
0
0
I have an ePub file that won't convert - I can open it up and edit it in Calibre's editor, view it, no problem, but it won't convert to any format. I just get a Failed: Convert book 1 of 1 message.

Here's the conversion log;
Spoiler:

Quote:

Convert book 1 of 1 (The Calculating Stars)
Conversion options changed from defaults:
verbose: 2
cover: u'C:\\Users\\Sia\\AppData\\Local\\Temp\\calibre_cv 5el8\\eofvhq.jpeg'
output_profile: 'kindle'
read_metadata_from_opf: u'C:\\Users\\Sia\\AppData\\Local\\Temp\\calibre_cv 5el8\\xeyala.opf'
Resolved conversion options
calibre version: 3.26.1
{'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'C:\\Users\\Sia\\AppData\\Local\\Temp\\calibre_cv 5el8\\eofvhq.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,
'expand_css': 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 0x066C0BB0>,
'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_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x066C0F10>,
'page_breaks_before': u'/',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\Sia\\AppData\\Local\\Temp\\calibre_cv 5el8\\xeyala.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,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\Sia\AppData\Local\Temp\calibre_cv5el8\8wn nlg.epub
Failed to parse as XML, parsing as tag soup
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\polish\parsing.py", line 94, in parse
ValueError: Root tag is not <html> in the XHTML namespace

Parsing all content...
Parsing chapter8.xhtml ...
Parsing chapter11.xhtml ...
Parsing chapter3.xhtml ...
Parsing chapter30.xhtml ...
Parsing chapter12.xhtml ...
Parsing chapter27.xhtml ...
Parsing chapter9.xhtml ...
Parsing historical.xhtml ...
Parsing copyrightnotice.xhtml ...
Parsing chapter13.xhtml ...
Parsing chapter6.xhtml ...
Parsing part1.xhtml ...
Parsing chapter32.xhtml ...
Parsing chapter33.xhtml ...
Parsing chapter14.xhtml ...
Parsing contents.xhtml ...
Parsing part2.xhtml ...
Parsing chapter37.xhtml ...
Parsing chapter34.xhtml ...
Parsing chapter15.xhtml ...
Parsing chapter28.xhtml ...
Parsing chapter35.xhtml ...
Parsing chapter16.xhtml ...
Parsing chapter36.xhtml ...
Parsing chapter17.xhtml ...
Parsing mini_toc.xhtml ...
Parsing chapter10.xhtml ...
Parsing chapter18.xhtml ...
Parsing epigraph.xhtml ...
Parsing torad.xhtml ...
Parsing toc.xhtml ...
Parsing chapter38.xhtml ...
Parsing chapter19.xhtml ...
Parsing chapter39.xhtml ...
Parsing styles/stylesheet.css ...
MediaQuery: No match: ('IDENT', u'amzn-kf8', 732, 8)
MediaQuery: No match for None in Choice(Sequence(ONLY|NOT, media_type, Sequence(AND, Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END))), Sequence(Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END), Sequence(AND, Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END))))
No content to parse.
MediaQuery: No content.
MediaQuery: No match: ('IDENT', u'amzn-mobi', 748, 8)
MediaQuery: No match for None in Choice(Sequence(ONLY|NOT, media_type, Sequence(AND, Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END))), Sequence(Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END), Sequence(AND, Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END))))
No content to parse.
MediaQuery: No content.
Parsing chapter2.xhtml ...
Parsing chapter4.xhtml ...
Parsing chapter20.xhtml ...
Parsing chapter26.xhtml ...
Parsing chapter5.xhtml ...
Parsing chapter21.xhtml ...
Parsing chapter22.xhtml ...
Parsing copyright.xhtml ...
Parsing chapter31.xhtml ...
Parsing abouttheauthor.xhtml ...
Parsing chapter25.xhtml ...
Parsing adcard.xhtml ...
Parsing chapter7.xhtml ...
Parsing chapter23.xhtml ...
Parsing dedication.xhtml ...
Parsing acknowledgments.xhtml ...
Parsing chapter24.xhtml ...
Parsing bibliography.xhtml ...
Parsing cover.xhtml ...
Parsing chapter29.xhtml ...
Parsing chapter1.xhtml ...
Parsing newsletter.xhtml ...
Parsing title.xhtml ...
Reading TOC from HTML...
Found image encoded as data URI converting it to normal image
Found image encoded as data URI converting it to normal image
Found image encoded as data URI converting it to normal image
Found image encoded as data URI converting it to normal image
Found image encoded as data URI converting it to normal image
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Python function terminated unexpectedly
'NoneType' object has no attribute 'get' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1209, in run
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 215, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 297, in stylize_spine
AttributeError: 'NoneType' object has no attribute 'get'


Bearing in mind that I'm basically tech illiterate...help?

Font hinting in fontconfig preferences

$
0
0
I am dealing with font kerning issues in my pdf and need to "turn off font hinting in your fontconfig preferences" but I am unable to find where the fontconfig preferences in the current version of Calibre.

Converting a website to an e-book (newbie question)

$
0
0
Hi, everybody,

This is my first post—as I am very new to e-books.

My elderly aunt does not use Internet, so I thought I would show her our family website as an e-book.

Is it possible to convert an existing website to an e-book? I heard something about the Calibre app, but I know nothing about it. I am the website creator, so I have all files, if conversion is—in fact—possible.

I'm assuming that the converted website would have to be stored in reader's local memory or on memory-card?

I am an Apple Mac/iPad user. Currently, I don't own any kind of specialized e-reader. Which e-reader device would be best for such task? Can I use my iPad for that?

Open to all suggestions. Sorry for my ignorance...:blink:

Can't convert one epub to azw3

$
0
0
Not sure what's going on with this one, I'll take any help I can get! Here's the message:
Spoiler:

Convert book 1 of 1 (The Calculating Stars: A Lady Astronaut Novel)
Conversion options changed from defaults:
page_breaks_before: u"//*[name()='h1' or name()='h2']"
cover: u'/var/folders/_h/d438_nqd21723c04nv84s8pw0000gn/C/calibre_3.26.1_tmp_TutTBo/7WuJ8S.jpeg'
verbose: 2
output_profile: 'ipad'
read_metadata_from_opf: u'/var/folders/_h/d438_nqd21723c04nv84s8pw0000gn/C/calibre_3.26.1_tmp_TutTBo/j1cuzo.opf'
Resolved conversion options
calibre version: 3.26.1
{'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/_h/d438_nqd21723c04nv84s8pw0000gn/C/calibre_3.26.1_tmp_TutTBo/7WuJ8S.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,
'expand_css': 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 0x1157c6250>,
'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_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.iPadOutput object at 0x1157c67d0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'/var/folders/_h/d438_nqd21723c04nv84s8pw0000gn/C/calibre_3.26.1_tmp_TutTBo/j1cuzo.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,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on /var/folders/_h/d438_nqd21723c04nv84s8pw0000gn/C/calibre_3.26.1_tmp_TutTBo/gh50bh.epub
Failed to parse as XML, parsing as tag soup
Traceback (most recent call last):
File "site-packages/calibre/ebooks/oeb/polish/parsing.py", line 94, in parse
ValueError: Root tag is not <html> in the XHTML namespace

Parsing all content...
Parsing bibliography.xhtml ...
Parsing chapter9.xhtml ...
Parsing torad.xhtml ...
Parsing title.xhtml ...
Parsing chapter29.xhtml ...
Parsing chapter16.xhtml ...
Parsing part2.xhtml ...
Parsing epigraph.xhtml ...
Parsing chapter10.xhtml ...
Parsing mini_toc.xhtml ...
Parsing cover.xhtml ...
Parsing dedication.xhtml ...
Parsing acknowledgments.xhtml ...
Parsing chapter11.xhtml ...
Parsing newsletter.xhtml ...
Parsing copyrightnotice.xhtml ...
Parsing chapter24.xhtml ...
Parsing chapter12.xhtml ...
Parsing toc.xhtml ...
Parsing chapter28.xhtml ...
Parsing chapter33.xhtml ...
Parsing chapter30.xhtml ...
Parsing chapter13.xhtml ...
Parsing abouttheauthor.xhtml ...
Parsing chapter27.xhtml ...
Parsing chapter39.xhtml ...
Parsing chapter14.xhtml ...
Parsing copyright.xhtml ...
Parsing chapter22.xhtml ...
Parsing historical.xhtml ...
Parsing chapter15.xhtml ...
Parsing chapter31.xhtml ...
Parsing chapter38.xhtml ...
Parsing chapter37.xhtml ...
Parsing chapter3.xhtml ...
Parsing part1.xhtml ...
Parsing chapter35.xhtml ...
Parsing chapter32.xhtml ...
Parsing chapter17.xhtml ...
Parsing chapter25.xhtml ...
Parsing chapter18.xhtml ...
Parsing chapter23.xhtml ...
Parsing chapter19.xhtml ...
Parsing chapter5.xhtml ...
Parsing chapter36.xhtml ...
Parsing chapter20.xhtml ...
Parsing chapter6.xhtml ...
Parsing chapter34.xhtml ...
Parsing chapter4.xhtml ...
Parsing adcard.xhtml ...
Parsing styles/stylesheet.css ...
MediaQuery: No match: ('IDENT', u'amzn-kf8', 732, 8)
MediaQuery: No match for None in Choice(Sequence(ONLY|NOT, media_type, Sequence(AND, Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END))), Sequence(Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END), Sequence(AND, Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END))))
No content to parse.
MediaQuery: No content.
MediaQuery: No match: ('IDENT', u'amzn-mobi', 748, 8)
MediaQuery: No match for None in Choice(Sequence(ONLY|NOT, media_type, Sequence(AND, Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END))), Sequence(Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END), Sequence(AND, Sequence(expression, media_feature, Sequence(colon, Choice(ColorValue, Dimension, Value)), expression END))))
No content to parse.
MediaQuery: No content.
Parsing chapter21.xhtml ...
Parsing chapter7.xhtml ...
Parsing chapter1.xhtml ...
Parsing chapter2.xhtml ...
Parsing chapter8.xhtml ...
Parsing contents.xhtml ...
Parsing chapter26.xhtml ...
Reading TOC from HTML...
Found image encoded as data URI converting it to normal image
Found image encoded as data URI converting it to normal image
Found image encoded as data URI converting it to normal image
Found image encoded as data URI converting it to normal image
Found image encoded as data URI converting it to normal image
Merging user specified metadata...
Detecting structure...
Python function terminated unexpectedly: 'NoneType' object has no attribute 'get'
Flattening CSS and remapping font sizes...
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 154, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 114, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 195, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 33, in gui_convert_override
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 26, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1209, in run
File "site-packages/calibre/ebooks/oeb/transforms/flatcss.py", line 215, in __call__
File "site-packages/calibre/ebooks/oeb/transforms/flatcss.py", line 297, in stylize_spine
AttributeError: 'NoneType' object has no attribute 'get'

Change table of contents name

$
0
0
Hi,

When I convert ebook, the title of the table of contents is "Table of contents". Is it possible to change this name ?

Thanks.

Delete table of contents

$
0
0
Hi,

When I convert ebook, the table of contents is automatically added in the end of the ebook. Is is possible to remove it ?

Thanks

Flagging books to prevent conversion?

$
0
0
I will use this one for this example: The Oxford Dictionary of English Grammar

In 99.9 percent of the cases I want epubs. and I don't mind so much if there are errors during the conversion process, I can still read the book and get through it. But books like this grammar book absolutely must not get converted and sent to my reader as they will be completely useless with any change to the layout. So, an original PDF must be sent to the reader.

So, despite the fact that I tell Calibre that I want epubs for everything, is there someway to lock this one book and force Calibre to leave it alone and if I ask for it to be transferred, transfer it as is? or must I remember 5 years from now every book that I have ever run across that has formatting issues? I think it would be easier to be able to flag a book, when I discover it, that must be transferred unconverted.

PDF Conversion Cutting Pages

$
0
0
Hello there

I'm having trouble both viewing and converting an .azw file. In the viewer, it doesn't show the whole page. And when I convert the PDF, it cuts the pages into tiny sections. When converting, I have set the PDF page size output to be the size of the paper. I have attached screenshots of both problems. Would anyone be able to help please?

Thank you

https://image.ibb.co/kQUoXT/Screen_2.png

https://image.ibb.co/msPYz8/Screen.png

Justify Text causes Search function to fail

$
0
0
Hi All,
Please be gentle, first post.
I've stumbled into a problem that I can't find an answer for on the internet.
I have one book that is causing me a headache... originally it was an .epub file which I needed to convert to .mobi and that worked fine. The text was not justified though, and kindle had that option greyed out for me, so I did what I normally do in this instance and just converted the .epub file to .mobi, changing in the 'look and feel' section of conversion to justified text. All seemed to work ok, until I try to search for a word in the book once it's put on the kindle.
It's complicated to explain without visuals... I'll do my best.

The book is just shy of 1000 pages. When I search for the word 'valhalla' (because I know this word appears just once in the book) it shows that there are results on page 914. It is true that before the text is justified, that word is on 914, but after justified it highlights random words on that 914 page, none of which are the word I'm looking for. I've discovered that 'valhalla' appears seven pages on, so I'm getting the picture that the search function is stuck relating itself to page numbers.
Is there a way to fix this please? If it were any other book I probably wouldn't care but this is a really important book for me, and being so long the search function is pretty crucial.
Many thanks.

Converting KFX copied from Android Kindle Reader

$
0
0
I need to de-DRM and convert a book I bought because I can't read it on a hand-held device at my age. I have installed the DeDRM, KFX Input, Gather KFX-ZIP, Package KFX, and KFX metadata reader plugins into Calibre 2.55.0 on Linux.

But all the instructions I have found keep referring to a "KFZ-ZIP" file. I don't have one: on the Android device, the files are in a directory in
storage/emulated/0/Android/data/com.amazon.kindle/files which I have uploaded to my desktop system, and that directory contains

a DRM voucher .ast file
six .kfx files
autocompletecache.ser
EndActions.data.<dirname>.asc

If I use Add Books and select all files in the directory, Calibre says it is adding nine books, which it does (!) treating each file as a separate book, with one of the .kfx files correctly identified with the title and cover image, but opening it simply opens the disk directory where Calibre has imported it, instead of opening a reader window. Converting it throws the error that the component .kfx files must be in a KFX-ZIP file, but it's not clear what else that should contain, or what its structure should be. There's also nothing to say whether or not the plugins I installed were actually used.#

I'm probably Doing This Wrong™ but so far I haven't found any information about how to do it right...

Automatically convert only epub when added?

$
0
0
Hi All, I have Calibre set up so that books from a particular folder are automatically added to my library. My preferred conversion output format is mobi. I see that it's possible to have books auto-converted when they get added, but really I'd like for only epub files to get converted to mobi format. Is this possible?

Alternately, if I could just have it convert all -- but SKIP pdf files -- that would be okay too.

How to write fraction value using html?

$
0
0
Hello forum

Im using the code &frasl; to generate a fraction with HTML in Calibre, its working fine in the preview mode (picture 2) but not the final EPUB-file. The code is (picture 1):

Code:

<p class="rightalm"><span style="font-size:70%;"><sup>7</sup>&frasl;<sub>3</sub></span> 1911.</p>
I get this error:

“This page contains the following errors: error on line 88 at column 69: Entity 'frasl' not defined Below is a rendering of the page up to the first error.” (picture 3)

Any idea what is wrong? and how to solve the problem so I can display the fraction symbol?

Regards Dan

Attached Thumbnails
Click image for larger version

Name:	1.jpeg
Views:	N/A
Size:	36.0 KB
ID:	165169   Click image for larger version

Name:	2.jpeg
Views:	N/A
Size:	7.8 KB
ID:	165170   Click image for larger version

Name:	3.jpeg
Views:	N/A
Size:	96.1 KB
ID:	165171  

Conversion: AZW to MOBI

$
0
0
Hi! Try to convert azw to mobi

Went through Epubor to remove DRM
No metadata come through

Debug add
Spoiler:

Error message
calibre, version 3.28.0 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (Pandora s Grave (Shadow Warriors Book 1) nodrm)

Convert book 1 of 1 (Pandora s Grave (Shadow Warriors Book 1) nodrm)
Conversion options changed from defaults:
verbose: 2
read_metadata_from_opf: u'C:\\Users\\buf19\\AppData\\Local\\Temp\\calibre_ 8qajox\\yu5rbd.opf'
output_profile: 'generic_eink'
Resolved conversion options
calibre version: 3.28.0
{'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': None,
'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_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': u'2',
'expand_css': 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 0x000001E475331CF8>,
'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,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x000001E4753430B8>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\buf19\\AppData\\Local\\Temp\\calibre_ 8qajox\\yu5rbd.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,
'toc_title': None,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\buf19\AppData\Local\Temp\calibre_8qajox\e knw5i.azw
Python function terminated unexpectedly
Unknown book type: '\x00\x00\x00\x00\x00\x00\xde\x02' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1106, in run
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\mobi_in put.py", line 35, in convert
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 92, in __init__
calibre.ebooks.mobi.MobiError: Unknown book type: '\x00\x00\x00\x00\x00\x00\xde\x02'

Attached Files
File Type: txt tmpweba9j.txt (10.0 KB)

Failed to convert JPEG-XR image

$
0
0
Hi,

I am converting two .kfx files to EPUB. First file converted without a hitch, second file reported the following error message in full:

Exception during conversion of JPEG-XR 'resource/-y3Wvp1LTU_AckVIlnqBQA2237.jxr' to TIFF: NotImage: Failed to convert JPEG-XR image

These two books are part 2 and 3 of a series, so I completely failed to understand why 1 converts and the other does not.

Any help is very welcome!

Problem with paragraph indents converting to mobi

$
0
0
I have used Calibre for years and converted lots of epub files to mobi with no issues. The latest book has block paragraphs, i.e. spaces between them and no first line indentation. When I convert it to mobi I am getting the paragraphs with no space between them and first line indentation.

I know there is an option in "Look and Feel", "Layout" to set "Remove spacing between paragraphs" but this is not set yet it's behaving as if it is. If I convert using Kindle Previewer it all works fine so this does appear to be some sort of issue with the settings in Calibre. I am using Calibre 3.28.


Any ideas?

Thanks.
Viewing all 3900 articles
Browse latest View live