|
|
#16 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 16722
Join Date: Mar 2025
Device: Kobo Clara BW
|
I've realised that when I created the TOC I assigned heading 1 to all the chapter titles rather than heading 2. Seems to show up ok on the kobo, the calibre viewer and Thorium though so doesn't matter too much
|
|
|
|
|
|
#17 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,398
Karma: 248000019
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
I have certain preferences in formatting and I want all my books formatted that way. I don't care about clean code - all I care about is what the book looks like while reading. So I only edit the css/html as much as I need to achieve my goal, I don't replace the entire stylesheet. That's overkill for me.
|
|
|
|
| Advert | |
|
|
|
|
#18 | |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 16722
Join Date: Mar 2025
Device: Kobo Clara BW
|
Quote:
|
|
|
|
|
|
|
#19 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,104
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
If you decide to change <p>, you just go to the CSS and edit p. It's as simple as editing your one class. I find less classes makes the code look better. I go by the rule that hardly ever gets followed because the rule gets broken. Keep it simple. Last edited by JSWolf; Yesterday at 12:35 PM. |
|
|
|
|
|
|
#20 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,104
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I don't know if the margin slider overrides the L/R margin or it just adds to it. Same with line height. I should test for this. But if these are not handled by Kobo, how would Kobo handle them? |
|
|
|
|
| Advert | |
|
|
|
|
#21 | |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 16722
Join Date: Mar 2025
Device: Kobo Clara BW
|
Quote:
The font is set by the e-reader as it is the same on all my books (I installed Bookerly) I think the paragraph spacing and indents and spaces around chapter headings are either controlled by the kobo or else the defaults they come with are pleasant enough that I just don't notice. If I ever get a book from another source and find it looks 'odd' I'll investigate some more. But for me, I think just being able to add a TOC when I split a book may be enough for me for now |
|
|
|
|
|
|
#22 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,104
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One thing I forget to mention, when I am done editing my eBooks, I have no structural errors.
|
|
|
|
|
|
#23 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 838
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
I've run across ebooks where the publisher sometimes uses bare tags and sometimes uses a class with the same properties as the bare tags. So I don't know if <p> and <p class="indent"> do the same thing unless I set it myself. I want everything, and I do mean everything, to use a class with a name that tells me what it does. If I decide to change what "indent" does, it's not any harder than going to the CSS and editing the <p> tag. Plus, I find my code looks better if every tag tells me specifically what it does. Simple to me means consistent. If other <p> tags have classes (for nonindented, blockquoted, centered, hanging, etc.), then ALL my <p> tags have classes. Simple and consistent. Works for me.
Edited to add: Plus, I don't have to "remember" anything. The name of the class tells me its basic function. The less I have to remember these days, the better. Quote:
Last edited by icallaci; Today at 12:40 AM. |
|
|
|
|
|
|
#24 | |
|
JCL Punch-Card Collector
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 111
Karma: 606560
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
|
Quote:
That said, many reading systems cannot set "font and line spacing and justification," and more to the point (a) require the human reading to know that in advance, and (b) are easily overridden by (often poorly chosen) publisher hardcoding anyway. For example, if the publisher hardcodes all paragraphs to be flush left, unindented, and with a full blank line between each paragraph, the settings of an e-reader, whether a program or a device, won't overcome that — and that gets very difficult to follow for books that have block quotations, or interspersed poetry, or multicolumn layouts (like annotated speeches). Put another way, not all books — probably not the majority of books I have — are straight narrative text like the average mystery novel. That means editing the CSS, especially for anything that was ineptly transcoded by the publisher from a previously-available-only-in-print version. |
|
|
|
|
|
|
#25 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53,036
Karma: 181147351
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
For me, it is more to get a consistent appearance on the books I am reading. Chapter headers are restricted in size, first paragraphs in a section are flush, subsequent paragraphs are indented. I don't use font-family settings in the body text. Headers can use a sans-serif font, monospace text uses a monospace font. On several occasions, my ideas of an ideal layout have been described as boring. Oddly, I agree. I want boring layouts that let me concentrate on what I am reading, not on the author deciding to use different fonts for every character. |
|
|
|
|
|
|
#26 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53,036
Karma: 181147351
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I should also mention that I use a collection of automations and saved searches in Sigil which automate 90% of my work.
|
|
|
|
|
|
#27 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 16722
Join Date: Mar 2025
Device: Kobo Clara BW
|
So if you take an average 300 page novel that you've got from say Gutenberg or from Amazon, how long does it take you to make your changes? I can't work out if some of you are spending a couple of hours per book or if it's quicker?
|
|
|
|
|
|
#28 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,398
Karma: 248000019
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
On average, 15-30 min per book for me. It used to be faster, but formatting has gotten fancier and more elaborate these days than it was a decade ago. OTOH, there are fewer really badly made books.
Last edited by Sirtel; Today at 02:37 AM. |
|
|
|
|
|
#29 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 167
Karma: 2000
Join Date: Nov 2025
Device: none
|
I edit CSS because I am making and distributing my own books.
If I read, I only control formatting via reader app settings. Except for some really nasty ones. However, the most editing I have done to already made books are often TOC. |
|
|
|
|
|
#30 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,398
Karma: 248000019
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
I've seen this before, that people who edit books professionally don't want to do it for their own personal pleasure. For them, editing is a job and they want to avoid it in their free time. For me, it's a hobby, one that I enjoy indulging in.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bulk CSS Edit? | HFM1101 | Calibre | 21 | 03-21-2026 12:58 PM |
| How to edit the CSS of libnickel.so.1.0.0? | ItalianUruguayan | Kobo Developer's Corner | 3 | 03-20-2018 06:42 AM |
| Is there a way to batch edit multiple epub css? | stevenam | ePub | 10 | 12-30-2016 03:40 AM |
| ebook-edit fails to merge css files | Ahmad Samir | Editor | 2 | 04-29-2014 01:57 AM |
| CSS files not being used?? | spaze | Sigil | 12 | 03-03-2011 04:26 PM |