Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-07-2024, 09:10 AM   #1
VelvetElvis
Addict
VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.
 
VelvetElvis's Avatar
 
Posts: 257
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
epub validation question

A friend wrote a book using Scrivener, and sent it to me to check out.

First thing I do is add it to Calibre and use the "Edit Book" function to look for errors and issues. It found a lot of issues, e.g. unexpected empty blocks, blockquotes in the wrong order, duplicate selectors, 166 unused classes, unused CSS styles, etc., yet he had no problems shown in Scrivener.

I uploaded it to an .epub validator site, and it found only one obscure issue.

My question is why can Calibre find all these issues that authoring tools and validator sites miss?
VelvetElvis is offline   Reply With Quote
Old 06-07-2024, 10:02 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,052
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Why wouldnt it? It has its own check book tool it doesnt rely on epub validation tools, which are largely useless anyway, being simple minded XHTML DTD compliance checkers.
kovidgoyal is online now   Reply With Quote
Advert
Old 06-07-2024, 10:19 AM   #3
VelvetElvis
Addict
VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.
 
VelvetElvis's Avatar
 
Posts: 257
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
Thumbs up

Quote:
Originally Posted by kovidgoyal View Post
Why wouldnt it? It has its own check book tool it doesnt rely on epub validation tools, which are largely useless anyway, being simple minded XHTML DTD compliance checkers.
Thank you, Kovid.

Begs the question... Why don't published authors check for all these other issues? I find, almost without fail, that every book by Patterson, Grisham, et al, generate a pile of problems, which I fix after adding to Calibre. I've had books that won't open (CoolReader is especially finicky) until I've fixed them via the Edit Book function.
VelvetElvis is offline   Reply With Quote
Old 06-07-2024, 10:42 AM   #4
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: 74,777
Karma: 131375596
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 VelvetElvis View Post
Thank you, Kovid.

Begs the question... Why don't published authors check for all these other issues? I find, almost without fail, that every book by Patterson, Grisham, et al, generate a pile of problems, which I fix after adding to Calibre. I've had books that won't open (CoolReader is especially finicky) until I've fixed them via the Edit Book function.
CoolReader is garbage. That's why the problems with it.
JSWolf is offline   Reply With Quote
Old 06-07-2024, 10:54 AM   #5
VelvetElvis
Addict
VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.
 
VelvetElvis's Avatar
 
Posts: 257
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
Quote:
Originally Posted by JSWolf View Post
CoolReader is garbage. That's why the problems with it.
Wow, it's hard to argue with such a rational assessment.

FWIW, I haven't used CoolReader in probably 8 years. I can't talk the wife out of moving to a better solution, however.
VelvetElvis is offline   Reply With Quote
Advert
Old 06-07-2024, 01:56 PM   #6
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: 74,777
Karma: 131375596
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 VelvetElvis View Post
Wow, it's hard to argue with such a rational assessment.

FWIW, I haven't used CoolReader in probably 8 years. I can't talk the wife out of moving to a better solution, however.
Garbage is when the program does not respect the CSS well enough and CoolReader does not respect the CSS well enough.
JSWolf is offline   Reply With Quote
Old 06-07-2024, 02:14 PM   #7
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,772
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by VelvetElvis View Post
A friend wrote a book using Scrivener, and sent it to me to check out.

First thing I do is add it to Calibre and use the
Scrivener is not a good tool.

Big publishers might rent InDesign, which is a DTP program for paper/fixed/PDF layout and produces terrible epub and Kindle ebooks.

Last edited by Quoth; 06-07-2024 at 02:16 PM.
Quoth is offline   Reply With Quote
Old 06-07-2024, 02:19 PM   #8
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: 74,777
Karma: 131375596
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 Quoth View Post
Scrivener is not a good tool.

Big publishers might rent InDesign, which is a DTP program for paper/fixed/PDF layout and produces terrible epub and Kindle ebooks.
Big publishers either have staff that have no idea how to make a well formatted/well coded eBook or they fob it off to India where the same mess happens.
JSWolf is offline   Reply With Quote
Old 06-07-2024, 03:00 PM   #9
VelvetElvis
Addict
VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.VelvetElvis can self-interpret dreams as they happen.
 
VelvetElvis's Avatar
 
Posts: 257
Karma: 20028
Join Date: Jan 2011
Location: Canada
Device: Fire HD8, Asus, Sony (T1, PRS-300), Kobo (Glo, Touch, Wireless)
Quote:
Originally Posted by Quoth View Post
Scrivener is not a good tool.
He's finding that out.

Can I ask your opinion of Sigii?
VelvetElvis is offline   Reply With Quote
Old 06-07-2024, 03:51 PM   #10
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: 74,777
Karma: 131375596
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 VelvetElvis View Post
He's finding that out.

Can I ask your opinion of Sigii?
I do like calibre's validator in conjunction with epubcheck in the editor. They both flags things the other does not.
JSWolf is offline   Reply With Quote
Old 06-07-2024, 04:01 PM   #11
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: 30,029
Karma: 57259778
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 VelvetElvis View Post
He's finding that out.

Can I ask your opinion of Sigii?
There is a difference between Content Creation and Editing (code touch up).

Both are (code) Editors. There are Authors that use them, but they are experienced wranglers .

PageEdit is more of a WYSIWYG creation tool (I don't use, because I am not a content creator)
theducks is offline   Reply With Quote
Old 06-07-2024, 04:57 PM   #12
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: 37,182
Karma: 148321048
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Personally my vote if for creating the original document in Word/LO Writer using styles and then importing the file into Sigil or calibre. Neither Sigil or calibre ebook editor are really designed for writing but both work well for cleaning up an existing document.

PageEdit is a lot better than Sigil's old BookView WYSIWYG editor in terms of not creating garbage code but not something I would want to use to create a book.

Last edited by DNSB; 06-07-2024 at 05:02 PM.
DNSB is offline   Reply With Quote
Old 06-07-2024, 05:44 PM   #13
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,772
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by VelvetElvis View Post
He's finding that out.

Can I ask your opinion of Sigii?
Sigil and Calibre are good for turning content edited in LO Writer or MS Word, and possibly in some cases something using LaTex, into epub.

Sigil for more complex things like text books.

Calibre can pretty much automatically create a perfect epub novel from LO Writer (edit odt and an extra Save As in docx) or MS Word (2007 or later). Import docx and styles map 1:1 automatically to CSS.
You might need to edit the CSS of height / width of images.
You might spend less than a minute (any size novel) fixing non-standard headings with one operation.

If the Contents, headings, footnotes and styles are all done properly in MS Word / LO Writer, then the epub will have zero errors and work fine. Create all other formats from epub2.

A speciallist epub3 will need more work in Sigil, but the fancier it is the fewer ereaders and apps will run it.

PDF is best done by edit a copy of the wordprocessor source for epub after complete proofing. Add page styles, page numbers, headers, footers etc (a docx for epub has none of those). Then direct export of PDF. The LO Writer has been doing this as well as DTP or Indesign for regular novels and similar for ten years. Specialist DTP or InDesign etc only needed for very complex materials, magazines and newspapers and today they are better done with custom content management systems.

Scrivener does nothing for authors that free tools don't do better. InDesign and other DTP are for specialist paper publishing, madness for ebooks.
Quoth is offline   Reply With Quote
Old 06-07-2024, 05:54 PM   #14
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,772
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by DNSB View Post
Personally my vote if for creating the original document in Word/LO Writer using styles and then importing the file into Sigil or calibre. Neither Sigil or calibre ebook editor are really designed for writing but both work well for cleaning up an existing document.
Yes.
And Sigil is less automated (you create style to CSS maps) but more powerful and flexible. Actual regular novels without eye candy take about 5 to 10 minutes to convert, check and clean up with Calibre.
We converted about 20 MSS (about 50 k to 130 k words) from LO Writer with extra docx Save As, with Calibre in the last month. Most of the time was actually reading. Zero errors on Calibre Check and Epub Check in the Calibre Editor. Save To Disk. Zero complaints on upload to Amazon, Smashwords (all passed premium to Apple, Kobo, Barnes & Nobel etc) and Google Playbooks.
Quoth is offline   Reply With Quote
Old 06-07-2024, 05:59 PM   #15
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,772
Karma: 87663463
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by JSWolf View Post
Big publishers either have staff that have no idea how to make a well formatted/well coded eBook or they fob it off to India where the same mess happens.
I wonder is Vellum really bad or are they just clueless at using it?
Quoth is offline   Reply With Quote
Reply

Tags
edit book details


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPUB Validation errors: Improper placement of link and vlink attributes: EPUB Checker trosoft Editor 4 10-13-2022 05:47 PM
EPUB Validation error after DOC>EPUB conversion djkmann Conversion 5 11-29-2016 09:42 AM
Validation result question holdit Sigil 4 03-15-2013 07:26 AM
FlightCrew Validation Question mtrahan ePub 6 10-09-2011 11:47 AM
Epub validation question Baltic Gal ePub 18 06-11-2011 05:49 PM


All times are GMT -4. The time now is 04:06 AM.


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