If you want to publish your work using custom generated PDF files (there's templates for A4, the Sony PRS-500, and iRex's iLiad, but anyone can select the size and the font for the file), you might consider using the project I'm working on: Feedbooks.
http://www.feedbooks.com
It'll create a TOC for your book too, and anyone can customize the PDF for their own taste.