![]() |
#1 |
Dutch guy
![]() Posts: 3
Karma: 10
Join Date: Apr 2020
Device: Kobo Clara hd
|
File paths not case sensitive in preview window?
I don't know if this has been reported on the github or here on the forums, but I couldn't find my issue in either place.
On Sigil 1.2.0 I often use the preview window to check if I've made an error (XHTML has a stricter syntax than regular HTML 5), one thing I regularly slip up with is using the proper case for images and style sheets. For example: I have the following files:
If I then use the following tag in my header... Code:
<link rel="stylesheet" type="text/css" href="../styles/style.css" /> Code:
<img src="../Images/Image.png" class="img"/> |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,873
Karma: 5449552
Join Date: Nov 2009
Device: many
|
That all depends on the File System of the device used, not a Sigil issue.. On Windows and most macOS machines, file paths are case insensitive but case preserving. On other macOS and most Linux boxes, file systems are case sensitive.
So you are probably using Sigil on a machine with a case-insensitive file system. While your ADE device is case sensitive. The best way to detect these issues in your epub is to use the epubcheck plugin. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Dutch guy
![]() Posts: 3
Karma: 10
Join Date: Apr 2020
Device: Kobo Clara hd
|
Sorry for not specifying my OS, I'm running Sigil on a windows computer.
Just took a look at the W3 validator you pointed me to and that one doesn't indicate any problems. Seems to be vendor-specific shenanigans like it usually is when it comes to (X)HTML. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,624
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
ERROR(RSC-007):OEBPS/Text/Section0001.xhtml(8,71): Referenced resource 'OEBPS/styles/style.css' could not be found in the EPUB. ERROR(RSC-007):OEBPS/Text/Section0001.xhtml(12,46): Referenced resource 'OEBPS/images/image.png' could not be found in the EPUB. |
|
![]() |
![]() |
![]() |
#5 | |
Dutch guy
![]() Posts: 3
Karma: 10
Join Date: Apr 2020
Device: Kobo Clara hd
|
Quote:
Well, I'm wrong on two counts today, good thing I don't buy lottery tickets. |
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
bug report |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Case sensitive tags and metadata? | Kythe42 | Library Management | 2 | 04-18-2018 10:40 PM |
File Preview Window Font Too Small to Read | ssolitar | Editor | 2 | 12-27-2015 06:19 PM |
Case-sensitive search | john_es | Calibre | 1 | 02-18-2014 12:25 AM |
Library on Case-Sensitive file system on OS X | lbutlr | Calibre | 13 | 11-04-2011 01:20 PM |
K3 search case sensitive only? | charonme | Amazon Kindle | 1 | 01-28-2011 05:15 PM |