Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-13-2021, 09:07 AM   #1
raghiid
Connoisseur
raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.
 
Posts: 63
Karma: 666666
Join Date: Feb 2019
Device: Kindle Paperwhite
faulty conversion of images

Some books that have images are sometimes being removed and replaced by css jargon (sometimes the images stay but are accompanied with css code), and I can't seem to find a solution. These are books that have DRM removed.

I'm converting from epub to azw3 to add hyphenation. Any ideas how to fix it?
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2021-02-13 at 4.00.39 PM.png
Views:	137
Size:	447.9 KB
ID:	185381   Click image for larger version

Name:	Screen Shot 2021-02-13 at 4.00.54 PM.png
Views:	132
Size:	436.8 KB
ID:	185382  
raghiid is offline   Reply With Quote
Old 02-13-2021, 09:25 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sh...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Old 02-13-2021, 09:40 AM   #3
raghiid
Connoisseur
raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.
 
Posts: 63
Karma: 666666
Join Date: Feb 2019
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
I think I found the cause of this issue. In the Search and Replace window, I have it set up to replace "fi" with its appropriate ligature. So in this css code <figcaption... the fi is being replaced rendering it invalid.

Do you know of a workaround for this, such as instructing calibre to not touch css code?
Thank you!

Last edited by raghiid; 02-13-2021 at 09:42 AM.
raghiid is offline   Reply With Quote
Old 02-13-2021, 10:18 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the edit book tool's search ignoring html tags. https://manual.calibre-ebook.com/edi...ring-html-tags
kovidgoyal is offline   Reply With Quote
Old 02-13-2021, 10:36 AM   #5
raghiid
Connoisseur
raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.
 
Posts: 63
Karma: 666666
Join Date: Feb 2019
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Use the edit book tool's search ignoring html tags. https://manual.calibre-ebook.com/edi...ring-html-tags
Thanks for your help! But that did not help at all.
I did manage to workaround it by adding other replacement texts concerning the specific code. A crude yet elegant solution!
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2021-02-13 at 5.35.26 PM.png
Views:	114
Size:	159.8 KB
ID:	185383  
raghiid is offline   Reply With Quote
Old 02-13-2021, 11:13 AM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by raghiid View Post
Thanks for your help! But that did not help at all.
I did manage to workaround it by adding other replacement texts concerning the specific code. A crude yet elegant solution!
That is the conversion dialog.
Kovids instructions were for the Editors S&R (fix the book before converting)
theducks is online now   Reply With Quote
Old 02-13-2021, 11:36 AM   #7
raghiid
Connoisseur
raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.raghiid ought to be getting tired of karma fortunes by now.
 
Posts: 63
Karma: 666666
Join Date: Feb 2019
Device: Kindle Paperwhite
Quote:
Originally Posted by theducks View Post
That is the conversion dialog.
Kovids instructions were for the Editors S&R (fix the book before converting)
I'm aware he was referring to the editor. But I was not able to search and replace while ignoring html in the editor (could only search), plus it would have required multiple other steps to accomplish.

Using the conversion dialogue allows automatic correction of the code (that I mess up every time I replace the ligatures)
raghiid is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Images are smaller after conversion stearno Conversion 4 07-16-2017 10:32 AM
Faulty ePub to mobi conversion troubledMan Kindle Formats 7 06-29-2016 10:15 AM
Images Lost in Conversion Mooninite1 Conversion 0 02-27-2015 11:28 AM
Conversion of Images from HTML Files Gretsch Conversion 15 02-06-2014 03:35 AM
Re-sizing images during conversion jer989 Conversion 1 04-23-2012 02:43 PM


All times are GMT -4. The time now is 08:07 AM.


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