Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2021, 04:28 PM   #1
lisashea
Junior Member
lisashea began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2011
Device: none
Sigil 1.4.3 - Validation Not Catching Errors Now

I’ve been using Sigil for quite a long time – at least 10 years. I have over 450 books published on Amazon D2D etc., plus I help other authors with their publishing, so I have generated boatloads of EPUBs over this time period. So I’m in general comfortable with Sigil and its operations.

I recently had to upgrade to a new computer which got me onto Sigil 1.4.3 on Windows 10. With this change, Sigil altered how it handled the validation process. Where before I could create perfect EPUB files for Google Publish and Draft2Digital, now I get errors from those systems. I also get errors from standard online validation processes.

I realize these errors are not “caused” by Sigil. I’m sad, though, that the “easy fix” I used to get out of Sigil is no longer happening.

Here’s what I do.

I write my books in Word. When I’m ready, I export my Word document into a filtered HTM file. Word generates a flawed filtered HTM file. I bring that into Calibre, where I generate an EPUB file. Calibre is not introducing the problems. It’s simply translating a flawed file into EPUB, which I understand.

I used to then bring that EPUB into Sigil to fix those problems. The problems were well known to me. You can see them here, in my search-and-replace dropdown.

Moderator Notice
Oversized INLINE image converted to attachment. Please review guidelines

First, any links would have a pair of attributes – link=”color” and vlink=”color – which had to be stripped off. Images would often have a border=0 which had to be stripped. Pictures would have an id=”Picture X” and the space caused a problem, so I stripped out that space. And finally, there would be a clear=”all” in various spots which I had to remove.

The built-in Sigil validation tool easily found all of these problems. I’d run the validator, see which issues were in my particular EPUB, search-and-replace to fix them, and then revalidate it. Once it passed, everything was fine, and my file was good to go.

That no longer happens with this latest version of Sigil.

The validation tool, which used to be a green checkmark in the top right of the menu bar, is no longer there. When I manually run the validation tool it claims everything is fine. But the EPUB is not fine – it chokes on any other external validator.

I even had a YouTube video where I explained to others how to do this:

https://www.youtube.com/watch?v=nKNPMsHC5xg

Am I missing where the actual validation tool is hiding now? Why did that old functionality go away? That was a key part of my process to make a globally accepted EPUB.

Many thanks in advance for any assistance!
Attached Thumbnails
Click image for larger version

Name:	sigil-fixes.jpg
Views:	208
Size:	502.3 KB
ID:	185131  

Last edited by theducks; 01-31-2021 at 08:02 PM. Reason: oversized image
lisashea is offline   Reply With Quote
Old 01-31-2021, 05:09 PM   #2
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: 7,667
Karma: 5433388
Join Date: Nov 2009
Device: many
Flightcrew has been moved to into a plugin, so that users who choose to can use the epubcheck plugin in its place.

The green check just performs a "is it well-formed enough to parse" check. Just download and install either the FlightCrew plugin for epub2 only or the epubCheck plugin (and java) if you work on both epub2 and epub3.

See the Plugin Index thread inside Sigil for links. Or go to Sigil github and download the flightcrew plugin from here:

https://github.com/Sigil-Ebook/flightcrew/releases


Both are completely free.
KevinH is offline   Reply With Quote
Advert
Old 01-31-2021, 05:18 PM   #3
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: 7,667
Karma: 5433388
Join Date: Nov 2009
Device: many
Here is the info about it in our Wiki page.

https://github.com/Sigil-Ebook/Sigil...idation-Plugin
KevinH is offline   Reply With Quote
Old 01-31-2021, 06:25 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
As KevinH has said, a while back, FlightCrew changed into a Sigil Plugin.

* * *

To install the new plugin version of FlightCrew:

Step 1. Go here:

https://github.com/Sigil-Ebook/fligh...ases/tag/0.9.2

and download the ZIP file for your operating system (Windows, Mac, Linux).

So if you have Windows, download the file:
  • FlightCrew_v0.9.2win.zip

Step 2. In Sigil, press Edit > Preferences > Plugins.

Step 3. Press the Add Plugin button on the right side:

Click image for larger version

Name:	Step3.png
Views:	170
Size:	11.6 KB
ID:	185121

and select the ZIP file you just downloaded.

(In this case, wherever you put the "FlightCrew_v0.9.2win.zip" file. It may exist in your Downloads folder.)

After you add it successfully, FlightCrew should appear in your list:

Click image for larger version

Name:	Step3-2.png
Views:	162
Size:	12.7 KB
ID:	185122

Step 4 (Optional). After FlightCrew is installed, you can assign FlightCrew to one of Sigil's "plugin buttons".

Press the "Shortcuts" tab.

Then click the dropdown for "Plugin 1:" and select FlightCrew:

Click image for larger version

Name:	Step4.png
Views:	164
Size:	12.9 KB
ID:	185123

Step 5. FlightCrew can now be found under Plugins > Validation > FlightCrew:

Click image for larger version

Name:	Step5.png
Views:	165
Size:	17.6 KB
ID:	185124

Or, if you followed Step 4, you can press the "Plugin #" button you assigned:

Click image for larger version

Name:	Step5[Alt].png
Views:	155
Size:	16.9 KB
ID:	185125

(In this case, the "Plugin #1" button will act like the old "checkmark" button in older versions of Sigil.)

* * *

Side Note: I would also recommend installing Doitsu's EpubCheck plugin for Sigil.

FlightCrew is great for catching some basic errors, but epubcheck is the actual tool that's used by the vendors to make sure EPUBs are compliant.

Doitsu's plugin lets you easily run epubcheck within Sigil in a "FlightCrew-like" way.

All you have to do is download his ZIP from that MobileRead thread, and install it using the same steps as above.
Tex2002ans is offline   Reply With Quote
Old 01-31-2021, 06:47 PM   #5
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by lisashea View Post
I recently had to upgrade to a new computer which got me onto Sigil 1.4.3 on Windows 10. With this change, Sigil altered how it handled the validation process.

[...]

I’m sad, though, that the “easy fix” I used to get out of Sigil is no longer happening.

[...]

Am I missing where the actual validation tool is hiding now? Why did that old functionality go away? That was a key part of my process to make a globally accepted EPUB.
It's all still there, just handled in a slightly different way.

Note: The change from FlightCrew dedicated button -> plugin actually happened quite a few YEARS back now (2015)...

Quote:
Originally Posted by lisashea View Post
I write my books in Word. When I’m ready, I export my Word document into a filtered HTM file. Word generates a flawed filtered HTM file. I bring that into Calibre, where I generate an EPUB file.
You may want to think about upgrading your workflow.

Direct DOCX -> EPUB conversion will most likely be better, and save you lots of headaches. (Using Toxaris's EPUB Tools [Windows version of Word only] or the various other DOCX import plugins.)

I wrote a bit about this a few months ago in "eBook Formatting in Sigil" (especially Posts #50+#52+#60).

Most important thing to do though is... learn to use Styles!!!

Clean input is the most important step in any of these conversion steps.

Quote:
Originally Posted by lisashea View Post
First, any links would have a pair of attributes – link=”color” and vlink=”color – which had to be stripped off. Images would often have a border=0 which had to be stripped. Pictures would have an id=”Picture X” and the space caused a problem, so I stripped out that space. And finally, there would be a clear=”all” in various spots which I had to remove.
This is the kind of cruft you wouldn't deal with with superior DOCX->EPUB methods. :P
Tex2002ans is offline   Reply With Quote
Advert
Old 02-01-2021, 11:46 AM   #6
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Try cutting out the conversion to filtered HTM, drop the docx straight into Calibre.
exaltedwombat is offline   Reply With Quote
Old 02-01-2021, 05:17 PM   #7
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: 7,667
Karma: 5433388
Join Date: Nov 2009
Device: many
Or use the Sigil plugins to do that same thing.
KevinH is offline   Reply With Quote
Old 02-02-2021, 07:37 AM   #8
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Whatever conversion method you choose, the key to success is a well-structured DOCX. Consistent use of Paragraph Styles will produce a clean EPUB. Even footnotes, if properly created in Word, come through a Calibre conversion with sensible positioning and fully operating backlinks. I'm just off to try out the Sigil plugins. I'm sure they're good too.
exaltedwombat is offline   Reply With Quote
Old 02-02-2021, 08:16 AM   #9
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
OK. Just installed the plugin DOCXImport_v0.2.8.

Try it. No disrespect to the author (who admits it's a 'work in progress') but I think you'll end up using Calibre for now.
exaltedwombat is offline   Reply With Quote
Old 02-02-2021, 09:32 AM   #10
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: 7,667
Karma: 5433388
Join Date: Nov 2009
Device: many
Did you take advantage of its ability to map styles to stylesheets? Works quite well every time I have used it, but as you said using styles in Word while creating the doc is very important. And once you create that mapping, future imports using your Word styles works well.
KevinH is offline   Reply With Quote
Old 02-02-2021, 01:42 PM   #11
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Yes, a useful feature. But Calibre conversion 'just does that'. And splits chapters. And backlinks Index entries. (DOCXImport handles footnotes OK though.) And produces much cleaner EPUB code than it used to. Credit where due.

If I was starting with a messy DOCX, I might take a different route.

(Unfortunately, I'm usually starting with a PDF. But that's why they pay me.)
exaltedwombat is offline   Reply With Quote
Old 02-02-2021, 02:18 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: 35,645
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by exaltedwombat View Post
(Unfortunately, I'm usually starting with a PDF. But that's why they pay me.)
Looking at some of the Word/Writer abominations files I've been handed, a clean PDF might be better.
DNSB is offline   Reply With Quote
Old 02-02-2021, 02:37 PM   #13
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Yeah! Text generally comes across pretty accurately. But I've yet to find a reliable non-manual approach to the line-feed/paragraph-end confusion.

So nice when an author presents you with a properly-constructed DOCX. It's happened twice now! :-)
exaltedwombat is offline   Reply With Quote
Old 02-02-2021, 03:02 PM   #14
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: 35,645
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by exaltedwombat View Post
Yeah! Text generally comes across pretty accurately. But I've yet to find a reliable non-manual approach to the line-feed/paragraph-end confusion.

So nice when an author presents you with a properly-constructed DOCX. It's happened twice now! :-)
Like the old Xerox ad: It's a miracle!
DNSB is offline   Reply With Quote
Old 02-02-2021, 07:40 PM   #15
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,558
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by exaltedwombat View Post
OK. Just installed the plugin DOCXImport_v0.2.8.

Try it. No disrespect to the author (who admits it's a 'work in progress') but I think you'll end up using Calibre for now.
Remind me where I called it a "work in progress"? Perhaps I did a long time ago, but I actually consider the plugin quite mature at this point--for all it is. Which is nothing more than a very thin wrapper around someone elses python docx conversion library "Mammoth".

I can see how it might not be very handy for someone who is in the business of converting a diverse array of other peoples' garbage docx documents. Especially since that was never the target audience. But for individual content creators who have a very standardized workflow and consistent Word style practices, it's pretty damn handy.

So no, I wasn't offended. I was more amused by your 'critique'.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation errors azupak Sigil 23 05-05-2015 09:43 AM
Validation Errors mpresley ePub 7 10-27-2011 02:41 AM
Help with validation errors AThirstyMind ePub 2 05-13-2011 06:08 PM
Validation Errors luthar28 ePub 13 08-10-2010 12:24 PM


All times are GMT -4. The time now is 03:52 AM.


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