Peadar, why not leave the formatting to the experts and upload your text to Feedbooks? manybooks.net may also accept your work. Then you can concentrate on the writing.
You may be interested in
this interview I did the other day with Adrian Graham -- it covers the question of ebook formatting by authors.