View Single Post
Old 12-08-2021, 03:17 AM   #7
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,618
Karma: 306652114
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by kensmosis View Post
I'm using Calibre (ebook-convert) version 5.17.0. I have an epub generated by pandoc/sigil. During conversion by ebook-convert from epub to mobi, it gives an error:

"Stylesheet 'EPUB/styles/stylesheet1.css' referenced by file 'EPUB/nav.xhtml' not in manifest"

I unzipped the epub, and the relevant file is indeed present both as an entry in the content.opf file (in the <manifest> section):
Quote:
Originally Posted by kovidgoyal View Post
mobi works fine, the mobi format however is HTML 3 and has no support for CSS. Some basic styling will get converted to HTML3 equivalents, but more advanced styling will not.
Quote:
Originally Posted by kensmosis View Post
Ah, I see. Thanks for explaining! I'll ask them if they can handle azw3 or if I should remove all the style-sensitive components from the original and stick with mobi.
You should not need to change a valid ePub before converting it to Mobi format. This does sound like a genuine bug.

Run the ePub (assuming it's copyright) through a scrambler, e.g. https://www.mobileread.com/forums/sh...d.php?t=267998 and post it either here or in a bug report.

I think Kovid has mis-read your report as a complaint that the CSS file isn't in the converted Mobi file.
pdurrant is offline   Reply With Quote