View Single Post
Old 11-07-2015, 04:05 PM   #15
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,911
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi,

Tested the sequence of steps from the previous issue (see below), and it confirms that bug has been fixed.

Code:
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.
So please see if you can develop a similar sequence of steps that shows the new error. It will not matter what is actually in the stylesheet just that you added an existing stylesheet and link it in, and then doing something that will force all ebook files to be written back to disk.

If you can figure out a similar sequence, post it here and I should be able to use it to track down and fix this new but obviously related bug.

Thanks,

KevinH
KevinH is offline