Writing and publishing books on Kindle

Thanks to the digital book revolution, it is quite easy to publish your work yourself without convincing a publisher to publish them for you or pay hefty fees to have them publish. This post on Linux Journal suggests using an OpenOffice template (not free) to write your work that is perfectly compatible with the Kindle.

I searched up how to do so for LaTeX, and found this post with a LaTeX template.

Quite nice and easy to self-publish with a reputable publisher and make money. Most of my work will probably be freely available though.

I just tried writing some math with your template, generated the pdf, and uploaded it to amazon to preview and the math does not show well. Found this and this, which means math is not (yet?) supported.