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 12-19-2023, 02:31 PM   #1
Cbp001
Member
Cbp001 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura One
Question Advice needed on parameters for cleaning up new files during epub to epub or azw/mobi

Hi,

I’ve been using calibre for many years now to clean up books and send them to my kobo ereader. I’ve always had some settings added for when I convert my books to epub after setting the metadata and cover as I want them to be.

Even when the original is an epub file I would still convert it to epub again to change things like: remove colored lettering, no locked proprietary fonts, no extra line spaces, and some other things so I can change all aspects of font and spacing etcetera of the book in my kobo.

The problem is that somewhere in the past years these settings were lost without me knowing it and it’s been so long ago I created these settings I don’t know which I used and how I put them in. Recently I noticed books with hard to read chapter names (colors) and sentences being cut off at the end of the line (some words or parts of words not on the screen).

I don’t remember what settings exactly I had under epub conversion. What are your standard conversion parameters? I think I had more settings changed than I can remember now for this post. I’d like to hear your take on it, not only how to fix for the problems listed above. Also, I wouldn’t want to break everything in the book. For instance, I’d like to have chapter names bigger than the rest of the text if the author wanted it that way.
Cbp001 is offline   Reply With Quote
Old 12-19-2023, 04:47 PM   #2
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 10,151
Karma: 224760044
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
I edit all such things in the editor, not with a conversion. The editor allows a lot more fine-tuning, and conversion doesn't always work properly (depending on how the book is coded).

The things I remove in the editor are line-height, hard-coded body font, spaces between ordinary paragraphs, body margins other than 0, body font size other than 1em, colors.

The things I change include text indent (must be always 1em for me), widows and orphans (also always 1 for me), hyphenation (must be disabled).

I also delete ads, excerpts, samples, review begging and other redundant filler material that doesn't belong in the book.

Last edited by Sirtel; 12-19-2023 at 04:52 PM.
Sirtel is online now   Reply With Quote
Old 12-19-2023, 09:23 PM   #3
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,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
conversion settings are saved, you can retriieve them by reconverting a previously converted book. https://manual.calibre-ebook.com/con...for-conversion
kovidgoyal is offline   Reply With Quote
Old 12-20-2023, 04:34 AM   #4
Cbp001
Member
Cbp001 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura One
Quote:
Originally Posted by kovidgoyal View Post
conversion settings are saved, you can retriieve them by reconverting a previously converted book. https://manual.calibre-ebook.com/con...for-conversion
Thanks, this would’ve been the perfect solution but for some reason I don’t get any conversion parameters when I try to reconvert an older epub. Maybe because I switched my collection from windows to Apple along the way or some other reason. Any other way I could find these old settings?
Cbp001 is offline   Reply With Quote
Old 12-20-2023, 04:37 AM   #5
Cbp001
Member
Cbp001 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura One
Quote:
Originally Posted by Sirtel View Post
I edit all such things in the editor, not with a conversion. The editor allows a lot more fine-tuning, and conversion doesn't always work properly (depending on how the book is coded).

The things I remove in the editor are line-height, hard-coded body font, spaces between ordinary paragraphs, body margins other than 0, body font size other than 1em, colors.

The things I change include text indent (must be always 1em for me), widows and orphans (also always 1 for me), hyphenation (must be disabled).

I also delete ads, excerpts, samples, review begging and other redundant filler material that doesn't belong in the book.
Thanks! Do you have any idea what could cause the text to go on for a few letters outside of the screen on the right side? It doesn't happen everywhere but with some books it happens once or twice every few pages.

Last edited by Cbp001; 12-20-2023 at 05:15 AM.
Cbp001 is offline   Reply With Quote
Old 12-20-2023, 05:19 AM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,585
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Cbp001 View Post
Thanks, this would’ve been the perfect solution but for some reason I don’t get any conversion parameters when I try to reconvert an older epub. Maybe because I switched my collection from windows to Apple along the way or some other reason. Any other way I could find these old settings?
FWIW: the way I've discovered which books, if any, have book specific conversion settings is to examine the conversion_options table in the library database (metadata.db) using the DB Browser tool.

Click image for larger version

Name:	Screenshot 2023-12-20 211523.jpg
Views:	32
Size:	219.0 KB
ID:	205342

BR
BetterRed is online now   Reply With Quote
Old 12-20-2023, 05:21 AM   #7
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 10,151
Karma: 224760044
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Cbp001 View Post
Thanks! Do you have any idea what could cause the text to go on for a few letters outside of the screen? It doesn't happen everywhere but with some books it happens once or twice every few pages.
Never seen this myself, so no, not without looking at the code. My best guess is messed up/negative margins, but yeah, I'd need to see the css (or the html code if the book uses inline styles) to know for sure.

Margins are very difficult to fix with a conversion, because they can be coded in different ways and if you just blanket remove them all, that will often break useful formatting elements as well, like chapter and section margins.
Sirtel is online now   Reply With Quote
Old 12-20-2023, 01:35 PM   #8
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,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Maybe Kiwidude could be talked into adding a 'Has saved Conversion settings; check to Quality Check Plugin.
theducks is offline   Reply With Quote
Old 12-22-2023, 02:05 AM   #9
Cbp001
Member
Cbp001 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Dec 2016
Device: Kobo Aura One
Thanks all for helping. I managed to find a few books that did have some previously used parameters in them and with some trial and error I found settings that got rid of most margin errors in this book. Removing all margins wasn’t a solution because it made every empty line between paragraphs 4 times as big.

One last issue now is that id like to remove all text colors because everything non black is less legible. Is this something that can be done in conversion? I could use it in a batch of books. Is there’s an older topic with many of these conversion options? I couldn’t find any.
Cbp001 is offline   Reply With Quote
Old 12-22-2023, 02:17 AM   #10
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,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look under the look & feel section of the conversion dialog int he styling tab there atre options to filter styles ncluding colors.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
UK based, can read both EPUB and AZW files? bigalogigalo Which one should I buy? 6 04-22-2016 11:59 AM
Epub to mobi using KindleGen creates really low quality images – advice needed! Joefish Kindle Formats 8 10-11-2015 07:08 AM
End notes in mobi/azw to ePub AlexBell Conversion 2 03-03-2011 02:39 AM
PDF to epub advice needed. jcleaver Calibre 5 11-05-2010 05:59 AM
Adobe ePub vs. MS LIT -- Some Advice Needed rhadin Sony Reader 8 04-20-2009 06:52 PM


All times are GMT -4. The time now is 05:38 PM.


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