Highly recommend you check this out. We're pretty interested in this idea and definitely want to see it take off.
The Modern Perl Book I linked to elsewhere here also comes with publishing tools for producing PDF, LaTex, ePub & HTML and (I believe) was used for the finished printed book (http://onyxneon.com/books/modern_perl/).
Highly recommend you check this out. We're pretty interested in this idea and definitely want to see it take off.