Thread: Disapearing CSS
View Single Post
Old 03-25-2015, 01:08 PM   #59
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,629
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I can recreate the exact same issue (following your steps) with Sigil v0.8.4 on Windows Vista 32-bit. Same results every time. The newly added css file ends up blank.

EDIT: Recreatable using your latest git master branch of Sigil on Linux 64-bit as well.

Quote:
Originally Posted by KevinH View Post
I have now recreated this on current Sigil master.

1) Open Sigil (default document is present)
2) File->Add->Existing Files
- Move to any existing .css file and add it
3) Right Click on only file (Section0001.xhtml) and choose Link to Stylesheets and choose your newly added stylesheet
4) Tools->Table of Contents -> Generate HTML Table of Contents
5) File -> Save As
save to junk.epub

Now leave Sigil and go and unzip your new junk.epub and look at the css file you added, it will be blank and have size zero bytes.

This is 100% percent repeatable for me.

Will someone else please verify they can recreate the exact same issue. If so, I will try and track down what is actually going on here.

Thanks,

KevinH

Last edited by DiapDealer; 03-25-2015 at 01:19 PM.
DiapDealer is online now   Reply With Quote