View Single Post
Old 05-07-2012, 02:25 AM   #14
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,944
Karma: 146918083
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 HarryT View Post
I've done it for dozens of books and it generally works well. Of course, you always have the original ePub to revert to in the rare cases that it doesn't.
Another issue is the code does get changed. If you are converting an ePub that has @page and/or embedded fonts, you get a nightmare in return due to Calibre's placing all the CSS @ code in almost every XML file. I prefer to know how to edit the code. In fact, it's not that difficult to do. Sometimes all it takes is removing @page & body if either/both exist and putting in a new body style. Sometimes all you need is a body style with the margin as you want them.

Code:
body {
  font-family: serif;
  widows: 0;
  orphans: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: justify
}

Last edited by JSWolf; 05-07-2012 at 02:28 AM.
JSWolf is offline   Reply With Quote