Here's an interesting article by Dave Cross on O'ReillyNet that explains how the new Perl Template Toolkit book was actually written using Template Toolkit.
I'm using DocBook to write my book, which is quite nice, but it's quite impressive to hear the kind of things they were able to do with some custom TT macros. I'll definately have to pick up their book, once I have some free time again, as TT seems like a really powerful tool.