Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-11-2018, 08:58 AM   #1
mrprobert
Connoisseur
mrprobert began at the beginning.
 
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
mrprobert is offline   Reply With Quote
Old 11-11-2018, 09:14 AM   #2
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 2268308
Join Date: Nov 2015
Device: none
Yes. Sigil can work only on unpacked epubs.
Sarmat89 is offline   Reply With Quote
Advert
Old 11-11-2018, 09:18 AM   #3
mrprobert
Connoisseur
mrprobert began at the beginning.
 
Posts: 60
Karma: 46
Join Date: Mar 2017
Device: None
Sorry, I don't know what you mean by "unpacked epubs".
mrprobert is offline   Reply With Quote
Old 11-11-2018, 09:42 AM   #4
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: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by mrprobert View Post
Sorry, I don't know what you mean by "unpacked epubs".
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.
DiapDealer is offline   Reply With Quote
Old 11-11-2018, 09:45 AM   #5
mrprobert
Connoisseur
mrprobert began at the beginning.
 
Posts: 60
Karma: 46
Join Date: Mar 2017
Device: None
Ah, makes sense now. Thanks for the explanation.

- Mark
mrprobert is offline   Reply With Quote
Advert
Old 11-11-2018, 09:46 AM   #6
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: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Happy to help.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:08 PM.


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