Thread: Disapearing CSS
View Single Post
Old 03-25-2015, 11:59 AM   #56
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,329
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by DiapDealer View Post
Now that's interesting. Perhaps there are certain conditions where the auto-generation of the sgc-toc.css file (when auto-creating an HTML toc) will unsuccessfully try to overwrite a pre-existing sgc-toc.css file (when it exists in an unsaved state).
The blanking doesn't appear on toc creation...all the formatting is there and linked properly as seen in preview. But I don't know the inner workings of the file handling algorithms. Maybe a good place to start looking?

Quote:
Originally Posted by DiapDealer View Post
Can I ask why you do that the way you do (importing a css file named sgc-toc.css)? If you want to use a template for the sgc-toc.css file, I suggest either 1) placing your template sgc-toc.css in your Sigil preferences directory: which will then automatically be added to your epub whenever generating an HTML toc ...
....ummmm

....

....

I'm a creature of habit and hadn't thought about that...

Although I did it for my "add cover" template....OK...done now. Thanks for the prod...lol
Turtle91 is online now   Reply With Quote