Wow, that took a while.
I spent way to long looking for a simple way to make an ePub formatted eBook. anyways this is the final way I chose to make the eBook that has sub-chapters.
Pre-Requisites
- Separate .xhtml files for each chapter and sub-chapter. (I used html2xhtml to convert my faulty html files to a cleaner .xhtml version)
- A custom .css stylesheet
- All images used in the eBook including a cover
- eCub for creating the ePub book.
- Calibre for testing and editing odds and ends (Calibre installs an eBook viewer but for some reason does not place a shortcut on the desktop)
- Validate EPUB a great place to validate the final ePub.
Steps taken
- Place all .xhtml, image, .css files into a project folder of your choice
- Open eCub
- Enlarge the window because otherwise some of the options are hiding
- Select new
- Type in a Title, Identifier and Author and press next
- Set your book name and browse to find your project folder location and press next
- on the import dialog select to create from existing test and press next
- leave the default settings and press next
- after the scan for the found content press next
- choose your existing eBook cover from the drop downand press next
- Set the order of your chapters using the arrows underneath the files tab in the main window of eCub
- if you have any sub-chapters select them and change their level from one to two using the level selections on the bottom left of the main window place them under the parent chapter
- make sure the images and .css files are located in the files list
- Select compile
- The final eBook will be located in the project folder
- Test the eBook using the eBook viewer from calibre
- You can make many more small changes and edits with eCub or Calibre check them out
- Visit Threepress Consulting to test the final product with their Validate ePub tool.
There are way to many useless programs out there that do not give the choice to create sub-chapters, or just don’t work.