![]() |
#1 |
Connoisseur
![]() Posts: 60
Karma: 46
Join Date: Mar 2017
Device: None
|
Can't rename stylesheet to con.css
Sigil 0.9.10 on Windows 10 won't let me rename a stylesheet to con.css. Is this a reserved word issue?
Thanks, Mark |
![]() |
![]() |
![]() |
#2 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 515
Karma: 2268308
Join Date: Nov 2015
Device: none
|
Yes. Sigil can work only on unpacked epubs.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 60
Karma: 46
Join Date: Mar 2017
Device: None
|
Sorry, I don't know what you mean by "unpacked epubs".
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That's because it's barely relevant to your question.
![]() To answer your question: Yes. "CON" is a reserved file name on Windows. It has been since the days of DOS. Same with "NUL". What Sarmat was cryptically alluding to is that Sigil doesn't work directly on the EPUB file (which is nothing more than a zip archive). It unzips the EPUB to a temporary working directory where all modifications are made. The changes are then written back to the original EPUB whenever a "Save" operation in performed (this is so one can always close without saving and not risk modifying the original EPUB). So while "con.css" is a perfectly acceptable filename inside of a zip archive (even on a Windows system), Sigil cannot rename a file to "con.*" in the temp directory where Sigil is enacting its changes because it violates Windows filesystem rules. Last edited by DiapDealer; 11-11-2018 at 09:45 AM. |
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 60
Karma: 46
Join Date: Mar 2017
Device: None
|
Ah, makes sense now. Thanks for the explanation.
- Mark |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Happy to help.
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
pagestyle.css extra / integrated in stylesheet.css / or not at all? | chaot | Workshop | 14 | 02-24-2017 11:10 PM |
stylesheet.CSS anyone? | ProDigit | ePub | 81 | 12-26-2015 01:43 PM |
Converting cm to em in css stylesheet | roger64 | ePub | 41 | 06-13-2014 01:00 PM |
How to maintain a global CSS stylesheet | amoroso | Sigil | 7 | 07-18-2010 08:37 PM |
Where is the stylesheet.css? | roger64 | Sigil | 4 | 03-23-2010 02:12 PM |