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.
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'
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.
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.
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.
This is my first postas 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 isin factpossible.
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:
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.
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?
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.
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...
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.
Im using the code ⁄ 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):
“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?
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'
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.