Dump the eBook as text and use Sigil to fix it up. The code you have from Word is atrocious. I know you'll lose styles and formatting starting with a text file, but it may be a lot easier to fix all that then it is to fix the code. Especially for someone who is learning.
Don't ever use Word in the production of an eBook. It's not worth the hassle.
|