![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Case of filenames in Sigil
I was modifying a book in Sigil, and updated the cover image. I typed in the name of the new file and it displayed fine in Sigil, the F7 check cheerfully said "No problems found!"
It looked fine in Calibre's reader on my PC. I sent it to someone who loaded it on his iPad and iPhone, who told me that there was no cover, either in the "bookshelf" or when reading it in iBooks. After a few days of frustration and casting around to diagnose I eventually used the ePubCheck site and it told me that the cover image was not found. After reading its messages a few times I finally noticed that the file it wanted was cover.jpg. The filename was Cover.jpg. Windows is insensitive to filename case, so either works on Windows, but iOS does care. Now I'm aware of the problem, and have installed the ePubCheck plugin, I won't be fooled again, but Sigil should not be less strict than common devices that read ePubs. So, can Sigil be made filename case sensitive as well regardless of the platform it's running on? Last edited by AlanHK; 03-09-2017 at 01:29 AM. |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,687
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
F7 runs a well-formedness check that only checks for basic errors such as missing/extra tags and nesting errors.
Quote:
AFAIK, this problem can't be easily fixed, because the Windows version of the Qt platform that Sigil is based on is case-insensitive. For the time being your best option is to validate your book with epubcheck and other validators. Last edited by Doitsu; 03-09-2017 at 02:28 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,373
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
As Doitsu said, Sigil's F7 is not a compliance or specification checker. It's purpose is to make sure the html can be safely parsed with no data loss. Tags are properly closed ... tags are properly nested. That's it. All epub or (x)html specification checking is left to plugins (or external tools). Been that way tor the entire 0.9.x series.
Again: Passing Sigil's "Well-Formedness" check (F7) does not mean, "my EPUB is A-OK". It means "I can safely run automated tools and plugins on the xhtml in my EPUB." No EPUB should be assumed to be error-free unless checked using EpubCheck (website, command-line tool, or plugin) and/or FlightCrew (plugin). Last edited by DiapDealer; 03-09-2017 at 07:44 AM. |
![]() |
![]() |
![]() |
#4 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
kindle origami voyage case or the leather origami case? want a simple case | wakkaday | Amazon Kindle | 14 | 10-19-2016 12:56 PM |
Sigil Regex Title case | jcambaya | Sigil | 3 | 06-24-2015 04:47 PM |
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook | rosshalde | Sigil | 12 | 11-13-2014 09:34 AM |
Sigil Proper Case Setting | Themus | Sigil | 14 | 04-26-2013 03:47 AM |
Filenames to metadata, preserving filenames. | nitrogun | Calibre | 5 | 09-13-2010 10:50 PM |