I love Bob's writing and his solid grasp of programming subjects that interest me like games and programming languages. For his next book, I suggest trying LyX and the book class with the Tufte layout for far less pain in the publishing process.
Can that stack produce well-structured, accessible HTML? Or are you suggesting that he still use HTML or Markdown as his source format, then use LyX only for the print version?