Quote:
Originally Posted by JSWolf
A lot of eBooks are different enough that a cleanup script may not work well enough.
|
One could post a general approach, such as
Run check, do auto cleanup and anything obvious
Remove unused CSS
Fix HTML
Go through file browser, hitting at least each file type (title page, copyright, chapter, etc.).
If you don't like appearance, figure out what's causing it and change. Have a set of rules, such as non-massive headings (1.4em), less empty space above and below headings and sections (margin: 0.5em 0), left justify, no dropcap or the like, 1.4em indent, 0 left right margins.
Eliminate unwanted files (more praise for). Possibly move intro to end. Edit TOC to conform.
Repeat run check, remove, fix. This time through put more effort into fixing errors.
Focus on nice book appearance rather than clean code. Some of this could probably be scripted.