So I have done three things:
- Gone through the entire ePub file and fixed everything which was marked up in the PreFinal version sent to Packt a few weeks before publishing.
- Found and fixed a few small errors introduced between the PreFinal and what a buyer received.
- Learned about the ePub file structure and produced a patch.
Yes, I am not kidding. You can PATCH your ePub like so:
$ mkdir epubfix $ unzip ../"Instant Puppet 3 Starter [eBook].epub" $ patch < ../InstantPuppet3Starter.patch $ zip -r ../"Instant Puppet 3 Starter -fixed [eBook].epub" *
It works well. When I started this, I had a fantasy of providing small patches to the file to keep it up to date for everyone. Great idea, since it would only change the different lines, right? Unfortunately, the ePub generator used by Packt eliminates linefeeds in the content. A fix to any sentence inside a chapter causes the entire chapter to be quoted in the patch file. Doh!
So giving away the patch just isn't going to work. I have provided the patch to Packt; I hope they will push out the new version to all buyers. I'll have the patch with me at PuppetConf too, if you have a receipt to show me...