View Single Post
Old 12-22-2013, 10:41 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
How do I repace a Style Sheet?

I have an existing epub and I wanted to replace the 2 style sheets with updated files (i.e. epub6.css with epub8.css) Some font files also.

Using the epub editor I deleted the 2 CSS's, and added 2 replacements.

The links in the html files were not updated from epub6 to epub8, which I would not expect, but deleting a style sheet or image or other ref target should 'clean up' the out of date references.

So I did a F&R to update the linked references, epub6.css --> epub8.css

What was REALLY confusing was the debug error message saying that the linked resource doesn't exist but it is in the epub (see screen shot).


It seems that the OPF is not being updated when files are added and deleted????

Paul
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	608
Size:	132.2 KB
ID:	117098  
phossler is offline   Reply With Quote