View Single Post
Old 11-21-2019, 09:58 PM   #15
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: 80,105
Karma: 148951733
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 deback View Post
I remove the TOC, because I make my own when I'm done with everything else (using the TOC function--add from files--and use my macro for adding the chapter titles using the XPath). I leave in the pages for titlepage, copyright, reviews, dedication, epigraph, and other books, if they exist, because I format everything to look like the real book.

My paragraph class is simple: text. My first paragraph class is simple: ni. Chapter title is: chapter. I use different classes for each front matter page and never use the same class for all the different sections (using simple class names like, copy, desc, epi, ded, acks).

I have a master CSS file that I copy/paste over the "calibre" class in the stylesheet.css file when I begin editing and formatting a book (then beautify and sort the CSS file). I have about 200 or more saved searches that I go through to find errors. I scroll through any PDF available to add paragraph breaks, italics, and sections that need formatting. I use the Reports feature to edit/fix various symbols that need to be deleted. I use the ABC spellcheck list to fix spelling errors.

When editing and formatting an ePub file, my basic steps are:

(1) Format all the pages. Change all current classes to my classes, remove all lines that need to be removed, and lots more.
(2) Use Reports to fix errors found.
(3) Use Spellcheck to fix errors found.
(4) Use Saved Searches to fix errors found.
(5) Scroll through the PDF to do what I said above.
(6) Run modify ePub and conversion to have Calibre do its thing.
(7) Create the TOC and edit it to look like I want it to look.
(8) Edit the margins for the cover image and edit a few font sizes that Calibre Convert changed (only if needed, and it usually isn't necessary).
For the majority of paragraphs, I just use <p> as I don't need classes as I have <p> correctly set in CSS. So I remove all those useless classes.

I do delete the internal ToC as ePub doesn't need it. I go back to ePub 2 because ePub 3 (in most cases) is useless.

I remove all extra XHTML files that I don't need.

I fix all the extra screen space wasted in CSS. Those % are silly and I convert them to a reasonable em value.

I do delete extra lines in CSS because they are in multiple classes and don't need to be there. ePub from InDesign has a number of them.

But once you get used to cleaning up publisher ePub, it's pretty fast to do in most cases.

I refuse to convert from PDF. The hassle just isn't worth it.
JSWolf is offline   Reply With Quote