In Re #4/Ebook writing software: If I were to write an ebook with a dash of mathematics, I would most definitely go with LaTeX with Peter Wilson's Memoir document class. As a starting point, go look at the extensive manual for Memoir (http://tinyurl.com/3ddbb6), which apart from dealing with the particulars of the software also has an extensive introductory chapter on book design, including a section on ebook design.
I don't know what blogging software you use, but if it's WordPress, then there's a tool that might (I haven't tried it myself) get you going very fast: WPTeX (http://xhtml-css.com/wptex/index.html).
In Re #4/Ebook writing software: If I were to write an ebook with a dash of mathematics, I would most definitely go with LaTeX with Peter Wilson's Memoir document class. As a starting point, go look at the extensive manual for Memoir (http://tinyurl.com/3ddbb6), which apart from dealing with the particulars of the software also has an extensive introductory chapter on book design, including a section on ebook design.
I don't know what blogging software you use, but if it's WordPress, then there's a tool that might (I haven't tried it myself) get you going very fast: WPTeX (http://xhtml-css.com/wptex/index.html).