I had already decided that I want to create the eBook version in EPUB format of my book, especially for the usual question of "damn, I do not know to do and I'd like to know how to do it". Awesome :D. However I imagined it would be easier, especially considering that I began from a nice file, already made up using OpenOffice. And here I had my first delusion: OpenOffice, and its ODT format, as regards ePUB, has a lack of popularity ... :(
But never give up! Vi dico che avrò provato 100 software diversi, scartandone 200 in breve tempo :(. Being able to keep my layout and chapter divisions already present in the ODT file, it seemed impossible. Start over? Never! Now I will tell you what to use.
First you need to download the plug-in OpenOffice (or LibreOffice) Writer2LaTeX that, despite the name, also has a great export filter that exports directly into ePUB!. Try the various parameters e. .. hallelujah! Almost.
The file produced by Writer2LaTeX is full of markers and chapters (if they were present in the source file, of course) and already works in your Android device (with Aldiko reader for example), but the resulting file is a bit 'dirty' (in the sense that the syntax of 'HTML is not perfect) and if you try to publish on a specialized site (like Lulu) tells you that it is not a valid file. Sobh!
Do not worry, download Sigil, a nice cross-platform WYSIWYG eBook editor. Sigil has an excellent function to validate your eBook, highlighting the problems.
At this stage, with a good guide, can you also add a nice cover. To to be more sure you can also use an online validation tool, like this.
That's it! Good luck!
Who cares, my Ubuntu Server eBook is available here: