![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 224
Karma: 55704
Join Date: Sep 2013
Device: Kobo Glo
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#8 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. ![]() |
![]() |
![]() |
![]() |
#9 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 224
Karma: 55704
Join Date: Sep 2013
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
#10 |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |