a little more, while i'm thinking about it...
there is some other code i will not share, for various reasons.
i'm not going to show how to generate the .ncx and .opf files.
that's because it cost me days and days of time and frustration
to find out just exactly what was required in these stupid files.
the .epub people didn't care how much complexity they piled
onto the person who wanted to create an .epub file... indeed,
it rather seems they attempted to make it as hard as possible.
perhaps because it is the corporate publishers who controlled
this format, and they didn't want self-publishers to compete?
it's not the first time we've caught them dragging their feet on
the e-book revolution, and i suspect it won't be the last, either.
when you've done similar legwork to crawl through the crappy
"standard" they crammed down our throats, and you're ready to
curse the people who created .epub, we can compare our notes.
next, i'm not gonna show you how to generate a .pdf either...
i bought a commercial plug-in to help me, so if you want to
struggle through the slough of open-source stuff, have at it.
i just don't wanna work so hard to get something "at no cost".
finally, all this stuff that i'm showing you is stuff i developed
years and years ago. i've done a _lot_ more, especially since,
and i'm certainly not going to hand over the code for all that.
or even any code that paves the way to simplify reproducing it.
but if you are willing to pay the price -- it runs six figures --
you can buy it all and release it as "open source" to the world.
of course, if you just want to _use_ the software, it's cost-free.
-bowerbird