title: CMS or Wiki for creating XHTML ebook + blog
body: <p>For a long time I have been wanting to start a blog. But knowing myself, I know I won't update it often. So, I would like to club my blog with an "<strong>ebook</strong>". I'd like to write some beginner level ebook/course on <strong>Biostatistics</strong>.</p>
  
  <p>Here are some examples of other blogs (+ebooks) that follow this approach:</p>
  
  <ul>
  <li>A Byte of Python: <a href="http://www.swaroopch.com/notes/Python" rel="nofollow">http://www.swaroopch.com/notes/Python</a></li>
  <li>BabyPips (FX trading): <a href="http://www.babypips.com/school/" rel="nofollow">http://www.babypips.com/school/</a></li>
  <li>Learn Python the Hard way (ebook only): <a href="http://learnpythonthehardway.org/book/" rel="nofollow">http://learnpythonthehardway.org/book/</a></li>
  </ul>
  
  <p>I could simply use WordPress or Tumblr or some blog site to create a blog and write my tutorials there. One post for each tutorial. BUT I am leaning towards creating a more structured book with <strong>table-of-contents</strong>, <strong>sequential chapters</strong>, <strong>prev/next navigation</strong>, and even <strong>quizzes</strong> <em>(if possible)</em> etc. Blog-post style is better suited for independent tutorials that don't follow a structured course/book format.</p>
  
  <p>For <strong>Blog</strong> section, there is WordPress etc. But I haven't figured out how to create a structured <strong>ebook</strong> like these guys have created. What software/plugin/CMS/wiki plugin to use for this?</p>
  
  <p>PS: eventually, I'd also like to convert my web ebook to PDF, MOBI, EPUB format. But that is probably not hard. Most important is to publish a web ebook like these guys have done it.</p>
  
  <p><strong>UPDATE</strong>:</p>
  
  <p>Ideally, I just want to be able to login and click create-> new book or new chapter or something and just write like I'd write in a WYSIWYG editor. That script should take care of generating table of content and navigation etc. I think this probably resemebles wiki script but wiki-script probably won't take care of next/prev navigation.</p>