Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2024, 02:14 PM   #31
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 403
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by Sirtel View Post
I don't care about pretty code, I only care about how the book looks like on my ereaders. So I do much less than many others here. I don't check before editing, as there is always something I want to change.

After fixing the metadata I open the book in the editor. First, I delete all the unwanted files - ads, samples/excerpts from other books, praise, recommendations and the like. Then I remove unused css, check some of the html files and edit what I don't like. No huge headings, no margins, line-height, unusual font size or any font family in the body text. No spaces between paragraphs. Text indents 1em. Fully justified. Hyphenation disabled. Widows and orphans 1. Nice blockquotes with even left and right margins.

I save my edits and look at the book in the viewer. I also check the TOC and fix/create it if needed. If everything is ok, I'll run the page count plugin. An existing page count means I've edited the book.

I don't bother with any error checking, as most of them are harmless and will be ignored by my ereaders. Only rarely there is something that makes my Kobo choke. I fix those as they happen. As I said, that's rare.
That's basically my philosophy and workflow, although I have a few different preferences. I do run the error check- it's fast and couldn't hurt.

The main difficulties are overly complex files, such as Vellum generated (so you're not sure when entry to change) or where there are many CSS entries that all do about the same thing. As a random example, different code for a paragraph or heading depending on which section it's in, e.g., main text, introduction, etc.
foosion is offline   Reply With Quote
Old 09-14-2024, 10:44 AM   #32
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: 76,031
Karma: 134368292
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 foosion View Post
That's basically my philosophy and workflow, although I have a few different preferences. I do run the error check- it's fast and couldn't hurt.

The main difficulties are overly complex files, such as Vellum generated (so you're not sure when entry to change) or where there are many CSS entries that all do about the same thing. As a random example, different code for a paragraph or heading depending on which section it's in, e.g., main text, introduction, etc.
I've seen code such as
Code:
<p class="tx">
<p class="bmtx">
Where both classes do the exact same thing. It's because one is for the main text and the other for the the backmatter. I change both to just <p>. I have my own class for <p> that I use and when I search for class=" I don't stop at every <p class="someclassidontneed">.
JSWolf is offline   Reply With Quote
Old 09-14-2024, 11:26 AM   #33
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 403
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by DNSB View Post
For me, I have a collection of saved searches in Sigil that clean up most of the cascaded divs.
Quote:
Originally Posted by Aleron Ives View Post
Maybe we need a "share your e-book cleanup scripts" thread of some kind.
David, if you think it makes sense, please move this entire discussion (from approximately your post to end of thread) to a new thread, maybe in the editor forum. Perhaps "share your e-book cleanup strategy" would be a better title.

Last edited by foosion; 09-14-2024 at 11:29 AM.
foosion is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
font-family in <body> HTML or body{} CSS? enuddleyarbl ePub 22 10-14-2022 10:52 PM
Preferred Publisher Font for Body Text? DreamWriter Amazon Kindle 12 07-25-2012 04:15 AM
Change body text font from bld to normal Jackdusty Conversion 4 03-17-2011 01:21 PM
Pixel Qi 10" display will be sold as USB powered Secondary Display Dulin's Books News 8 09-28-2010 06:15 PM
Installed Dingbat font won't display in Firefox autumnmoon Workshop 3 12-22-2009 10:57 AM


All times are GMT -4. The time now is 08:39 PM.


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