Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2016, 10:35 PM   #1
leftright
Addict
leftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplane
 
Posts: 224
Karma: 55704
Join Date: Sep 2013
Device: Kobo Glo
Named entities present error. Sigil to Calibre.

I first edit the book in Sigil, run a error check in Sigil, no faults.
Open the same book in Calibre's Editor, Bug check returns "named entities present" errors.
Auto fix in Cal-Editor, ok. Bug check again, no faults.

If I re-open the same book in sigil and repeat the above I get the same errors Evident in Cal-Editor.

Why'm I getting these errors ?.

Below is the error snapshot.
Attached Thumbnails
Click image for larger version

Name:	Named_entitites_error.jpg
Views:	380
Size:	17.6 KB
ID:	146511  
leftright is offline   Reply With Quote
Old 02-19-2016, 10:56 PM   #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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Because Sigil makes changes to your book, simply by opening it. Presumably, re-inserting named entities is one of those changes.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-20-2016, 01:37 AM   #3
leftright
Addict
leftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplane
 
Posts: 224
Karma: 55704
Join Date: Sep 2013
Device: Kobo Glo
Thanks for your prompt reply.

I'm just curious as to why Calibre-Edit flags something which isn't flagged in Sigil, If it's ok for Sigil surely it should be ok for Cal-Edit ?.

Either Sigil is wrong or Calibre, which do I trust?.

I apologise for flogging a dead horse.
leftright is offline   Reply With Quote
Old 02-20-2016, 05:16 AM   #4
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The reason calibre flags them is explained right there, in the check book panel.

Sigil (well not actually Sigil, but epubcheck) performs only spec compliance checks that are mostly useless. calibre checks for things that have been known to cause problems in actual real world usage.
kovidgoyal is offline   Reply With Quote
Old 02-20-2016, 09:43 AM   #5
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,047
Karma: 60358908
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 leftright View Post
Thanks for your prompt reply.

I'm just curious as to why Calibre-Edit flags something which isn't flagged in Sigil, If it's ok for Sigil surely it should be ok for Cal-Edit ?.

Either Sigil is wrong or Calibre, which do I trust?.

I apologise for flogging a dead horse.
Neither are WRONG.

The devices are ALL Spec non-compliant in someway. (Just go down to the EPUB forum Stickies and read them People like Hitch will have employment for a long time to come)

The originator of Flightcrew was a Spec purist
Spec is King.

Kovid is more practical. The End Goal is important., It works on the Reader.
Just (help) make it work on common devices by flagging known issues.
theducks is online now   Reply With Quote
Advert
Old 02-20-2016, 09:42 PM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
BTW, the Sigil preserve entities preference can be set to use numeric entities if you so desire to make it more like what calibre prefers and to make it easier to go back and forth if you want.
Kevin
KevinH is offline   Reply With Quote
Old 02-21-2016, 09:35 PM   #7
leftright
Addict
leftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplane
 
Posts: 224
Karma: 55704
Join Date: Sep 2013
Device: Kobo Glo
Quote:
Originally Posted by KevinH View Post
BTW, the Sigil preserve entities preference can be set to use numeric entities if you so desire to make it more like what calibre prefers and to make it easier to go back and forth if you want.
Kevin
You Sir, are a mind reader. That's exactly what I need.

I prefer Sigil for major text editing and formatting as it's more user friendly, then I conclude editing with a bug check in Cal-editor as that's my primary repository and library for all devices.

Thanks.

Edit: I searched and I found this, but I have no idea what to do with that or if that's what I need.
https://github.com/Sigil-Ebook/Sigil...MLEntities.cpp

Last edited by leftright; 02-21-2016 at 09:47 PM.
leftright is offline   Reply With Quote
Old 02-21-2016, 11:15 PM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Edit ==> Preferences ==> Preserve Entities (tab)

Add the entities you want to the list.

...

calibre by default likes to turn everything into unicode, in addition to nuking doctypes (because you can do just fine without them). For calibre, functionality is the chief goal. As a tool used heavily by endusers, this makes sense.

Sigil puts more focus on following the IDPF rules and making spec-compliant EPUBs. As a tool used heavily by ebook producers, this makes sense too.


The two objectives have been known to clash.
eschwartz is offline   Reply With Quote
Old 02-22-2016, 02:47 AM   #9
leftright
Addict
leftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplaneleftright makes transoceanic flights without the assistance of an airplane
 
Posts: 224
Karma: 55704
Join Date: Sep 2013
Device: Kobo Glo
Quote:
Originally Posted by eschwartz View Post
The two objectives have been known to clash.
Oh dear, I've unwittingly strolled into a mine field whilst reading Catch 22...
leftright is offline   Reply With Quote
Old 02-22-2016, 04:06 AM   #10
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
The calibre error check is great, and it is equally great to blithely ignore its endless "named entities present" warnings.
doubleshuffle is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Named entities and French books Francois_C Editor 7 01-24-2014 07:03 AM
Sigil doesn't like named entities Notjohn Sigil 13 07-14-2013 11:12 PM
Epub no support for some named entities? Points ePub 25 11-19-2012 06:42 PM
Calibre 0.8.36 - Linux Compile Error - No module named dateutil.parser jasn Calibre 2 01-21-2012 11:36 PM
Named entities or not? alecE ePub 17 07-21-2009 12:24 PM


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


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