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 04-10-2022, 04:03 PM   #1
zakman
Enthusiast
zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 2119794
Join Date: Jan 2016
Device: Kindle Paperwhite 2019
Formatting changes while converting

I import EPUBs to Calibre before converting them to AZW3 and side-loading them to my Kindle. I prefer to read single-spaced text, so I often have to convert a given book to DOCX, change the formatting in Word, and convert back to AZW3.

Is there a way to do this automatically (the formatting change to single-spaced) as part of the conversion process? Is this what the "Transform Styles" tab is for under Bulk Convert->Look & Feel?
zakman is offline   Reply With Quote
Old 04-10-2022, 05:34 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: 13,465
Karma: 239219453
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
You can edit the epub directly in the Calibre editor, there's no need to convert to anything else for that.

As the css and the html can be coded in hundreds of different ways, there is no sure-fire way that always works other than to edit a book manually.
Sirtel is offline   Reply With Quote
Advert
Old 04-10-2022, 06:31 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I agree with @Sirtel. The best way to do it is to edit the HTML/CSS as needed to get the look you want.
JSWolf is offline   Reply With Quote
Old 04-10-2022, 06:52 PM   #4
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,069
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
I would think that double spaced EPUBs would be fairly rare. Are you perhaps referring to spacing used between paragraphs? If so then the "Remove spacing between paragraphs" conversion option under Look & feel / Layout may be helpful.
jhowell is offline   Reply With Quote
Old 04-11-2022, 07:13 AM   #5
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,012
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Also simply delete all lines with a line height in CSS as it's not needed and stops the spacing being changed on Kobo or Kindle!
Quoth is offline   Reply With Quote
Advert
Old 04-11-2022, 09:26 AM   #6
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: 13,465
Karma: 239219453
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Quoth View Post
Also simply delete all lines with a line height in CSS as it's not needed and stops the spacing being changed on Kobo or Kindle!
There's a patch to force user line spacing on a Kobo. But yeah, I usually delete line-height from the css.
Sirtel is offline   Reply With Quote
Old 04-11-2022, 11:30 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jhowell View Post
I would think that double spaced EPUBs would be fairly rare. Are you perhaps referring to spacing used between paragraphs? If so then the "Remove spacing between paragraphs" conversion option under Look & feel / Layout may be helpful.
As I've never used that option, how does it handle section breaks where it's just space?
JSWolf is offline   Reply With Quote
Old 04-11-2022, 11:30 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Quoth View Post
Also simply delete all lines with a line height in CSS as it's not needed and stops the spacing being changed on Kobo or Kindle!
I drop the line height and I drop any paragraph spaces. It's very easy to do.
JSWolf is offline   Reply With Quote
Old 04-11-2022, 12:10 PM   #9
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,069
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by JSWolf View Post
As I've never used that option, how does it handle section breaks where it's just space?
I don't know.
jhowell is offline   Reply With Quote
Old 04-11-2022, 07:20 PM   #10
zakman
Enthusiast
zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 2119794
Join Date: Jan 2016
Device: Kindle Paperwhite 2019
Thanks to all who responded, the line-height fix was exactly what I was looking for.
zakman is offline   Reply With Quote
Old 04-11-2022, 08:56 PM   #11
zakman
Enthusiast
zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.zakman ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 2119794
Join Date: Jan 2016
Device: Kindle Paperwhite 2019
Quote:
Originally Posted by JSWolf View Post
I drop the line height and I drop any paragraph spaces. It's very easy to do.
Any suggestions for dealing with books that use multiple spaces as section separators (instead of something like three asterisks or another appropriate separator?)
zakman is offline   Reply With Quote
Old 04-11-2022, 10:35 PM   #12
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,156
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by zakman View Post
Any suggestions for dealing with books that use multiple spaces as section separators (instead of something like three asterisks or another appropriate separator?)
Generally, I replace them with 3 bolded asterisks. Since the code used is generally the same throughout the book, it's relatively easy to copy/paste the original code into the find and my replacement code into the replace field and then do a replace all.
DNSB is online now   Reply With Quote
Old 04-12-2022, 04:32 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by zakman View Post
Any suggestions for dealing with books that use multiple spaces as section separators (instead of something like three asterisks or another appropriate separator?)
This is what I use. It puts a space, a centered 20% long line, and another space. It's very easy to use. And it looks better (IMHO) then three asterisks. I find the asterisks looks kind of cheap. Just like left justified, sans-serif body font, and paragraph spaces.

Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
hr {
  margin-top: 1em;
  margin-right: 40%;
  margin-bottom: 0.9em;
  margin-left: 40%;
  border-top: 2px solid;
}
p {
  margin-top: 0;
  margin-bottom: 0;
  text-indent: 1.2em;
}
.noindent {
  text-indent: 0;
}
Code:
<p>Normally being pelted by a chocolate Easter egg wouldn’t be a big deal, but these weren’t chocolate. They’d made that mistake only once.</p>
<hr/>
<p class="noindent">A few years earlier, when the village of Three Pines first decided to have an egg hunt on Easter Sunday, there’d been great excitement. The villagers met at Olivier’s Bistro and over drinks and Brie they divvied
up bags of chocolate eggs to be hidden the next day. ‘Ooohs’ and ‘Aaaaahs’ tinged with envy filled the air. Would that they
were children again. But their pleasure would surely come from seeing the faces of the village children. Besides, the kids
might not find them all, especially those hidden behind Olivier’s bar.</p>

Last edited by JSWolf; 04-12-2022 at 04:42 AM.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting Wrong After Converting To PDF jwchameleoncorp Conversion 3 01-13-2017 06:05 PM
Converting Books - Formatting? marty1990 Calibre 6 06-11-2012 01:07 PM
Losing formatting when converting PDB Edwin Fong Calibre 5 10-25-2009 07:20 PM
How do I maintain formatting when converting to lrf? corroonb Calibre 2 03-11-2009 12:59 PM
Converting pdf or Word to mobi with formatting pfisterfarm Kindle Formats 4 01-01-2009 11:50 AM


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


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