Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 02:48 AM   #31
Mr_H_Poirot
Connoisseur
Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.
 
Posts: 64
Karma: 16722
Join Date: Mar 2025
Device: Kobo Clara BW
I confess I, like a previous poster, have an obsessive personality. Were I to go down this rabbit hole I fear I would become quite absolutist about this

Although 15-30 mins is a lot, lot less than I was expecting
Mr_H_Poirot is offline   Reply With Quote
Old Yesterday, 02:50 AM   #32
Mr_H_Poirot
Connoisseur
Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.
 
Posts: 64
Karma: 16722
Join Date: Mar 2025
Device: Kobo Clara BW
I'd be quite interested to see a video recorded of someone editing a CSS of a Gutenberg book in Sigil. I will search on Youtube, there must be one there
Mr_H_Poirot is offline   Reply With Quote
Advert
Old Yesterday, 02:56 AM   #33
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: 15,415
Karma: 248000019
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Personally I use the calibre editor, not Sigil (solely because it's what I'm used to).
Sirtel is online now   Reply With Quote
Old Yesterday, 03:01 AM   #34
Mr_H_Poirot
Connoisseur
Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.
 
Posts: 64
Karma: 16722
Join Date: Mar 2025
Device: Kobo Clara BW
When I marked the chapter titles as headings and created the TOC in my split ebook (which I realise is very low level css editing) I looked up in gemini how to do it and I had instructions for calibre or sigil. Sigil seemed a bit 'nicer' to use for it in terms of UI although I suspect, like everything, it's' what you get used to that matters

Last edited by Mr_H_Poirot; Yesterday at 03:04 AM.
Mr_H_Poirot is offline   Reply With Quote
Old Yesterday, 03:07 AM   #35
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: 15,415
Karma: 248000019
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Yeah. I've rarely used Sigil, because I'm far more used to the calibre editor and it's easier to do everything in a single program. But both will do the job.

Calibre also has a very convenient and easy to use TOC editor, which I've used often. No idea how it compares to Sigil.
Sirtel is online now   Reply With Quote
Advert
Old Yesterday, 10:24 AM   #36
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: 84,119
Karma: 153695583
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 icallaci View Post
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.
It's trivial to remember. You just do. Plus the code is so much neater and simpler. I see no reason to have <p="someclassyoudonoteverneed"> instead of <p>.
JSWolf is offline   Reply With Quote
Old Yesterday, 12:24 PM   #37
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,877
Karma: 64181416
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I touchup all CSS. I use BOTH Calibre and Sigil because each does tasks that match the way I work. (only for personal use). I get rid of odd line-height (Other than 1.2), Spans that only set font to 1em, (and remove general use forced color black and white ).

There are things that Kobo kepubs barf on that I comment out (a saved search). letter spacing runs words together, Min-height 12em assume high res tablets?, I shrink that to 6. Those I run as a grouped S&R on the CSS, 30 seconds.

A generally clean book takes about 5 minutes to make it 'my way'.

The is the saved searches and clips (reused code) that get frequently used.

I tend to use the Built in code verify of Calibre Editor as my first step to clean coding type issues.

Then I switch to Sigil for the basic cleanup edits (saved search). OCR'd books need the most work putting split words back, marking headings for auto TOC generation)
theducks is offline   Reply With Quote
Old Yesterday, 12:28 PM   #38
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Lol, I'm glad it works for you. For me, it is not trivial to remember. If I see <p>, I have to remember how it differs from every other <p> in the book. If I see <p class="indent"> it tells me what I want to know. Nice try, but you won't convince me.

Quote:
Originally Posted by JSWolf View Post
It's trivial to remember. You just do. Plus the code is so much neater and simpler. I see no reason to have <p="someclassyoudonoteverneed"> instead of <p>.
icallaci is offline   Reply With Quote
Old Yesterday, 12:50 PM   #39
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,877
Karma: 64181416
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by icallaci View Post
Lol, I'm glad it works for you. For me, it is not trivial to remember. If I see <p>, I have to remember how it differs from every other <p> in the book. If I see <p class="indent"> it tells me what I want to know. Nice try, but you won't convince me.
Jon's method is fine as it represents the BASE usage (usually indented) of the work. Everything else is the exception.
<p class="FP">, <p class="right">
I tend to think inherent default usage.
Tristate logic (not set = Not determined or Pass ,fail), #read date=done, nothing (to be read)
A null can represent something. A Lean, mean Data Machine
theducks is offline   Reply With Quote
Old Yesterday, 01:34 PM   #40
Mr_H_Poirot
Connoisseur
Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.Mr_H_Poirot 's shirt has a full set of merit badges.
 
Posts: 64
Karma: 16722
Join Date: Mar 2025
Device: Kobo Clara BW
5 mins is very quick, but then I guess you are very experienced.

I confess to having got intrigued. I'm not going to start editing all my ebooks but I have got some short pdfs that I may convert into epubs just to play around
Mr_H_Poirot is offline   Reply With Quote
Old Yesterday, 01:39 PM   #41
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: 15,415
Karma: 248000019
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Mr_H_Poirot View Post
I confess to having got intrigued. I'm not going to start editing all my ebooks but I have got some short pdfs that I may convert into epubs just to play around
Don't. PDF conversions are almost always very poor. It's nearly impossible to convert PDF to any other format and have the result look good.
Sirtel is online now   Reply With Quote
Old Yesterday, 03:10 PM   #42
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: 84,119
Karma: 153695583
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 Mr_H_Poirot View Post
5 mins is very quick, but then I guess you are very experienced.

I confess to having got intrigued. I'm not going to start editing all my ebooks but I have got some short pdfs that I may convert into epubs just to play around
Converted PDF can be a mess. And while you can fix up some of the mess with regex, there are things you can never fix without doing a full A/B comparison. That means every word, every space, every punctuation, even style, every single thing.

You won't learn much from a PDF conversion. Use retail ePub as your source to try out editing.
JSWolf is offline   Reply With Quote
Old Yesterday, 03:13 PM   #43
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: 84,119
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
A couple of thing I left out. I fix em dashes so they have no space around them. And I convert en dashes to em dashes. Also, ellipses I make sure there is no space around them, Also, if the ellipses are not using the ellipse character, I convert to that.
JSWolf is offline   Reply With Quote
Old Yesterday, 03:22 PM   #44
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: 53,054
Karma: 181147351
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Mr_H_Poirot View Post
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?
For the average book, it takes about 5 minutes since most of the heavy lifting is done by my automation/saved search collection. Some books take longer but I give myself a 15 minute time limit—if it is going to take longer than that, I will often do a nuke and default.

I also cleanup some books for a couple of local authors though after teaching them how to use styles in their word processor, the input books are now a lot cleaner.
DNSB is offline   Reply With Quote
Old Yesterday, 07:35 PM   #45
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Interesting discussion. My cleanup routine takes about 15 minutes per book on average. My rule of thumb for tags and classes has always been: if the default behavior of a tag does what I want, then I leave it alone. If I want to change the default behavior, then I define a class. Since the default behavior of <p> is non-indented, I define a class for indented paragraphs. Hearing other viewpoints and the reasons behind them is thought-provoking.
icallaci is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:57 AM.


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