EPUB2 output - electricbookworks/constitution GitHub Wiki
To get EPUB2 versions from the command line, follow the output guidelines in the Electric Book Workflow guide.
After assembling the epub in Sigil, the HTML will not validate as XHTML 1.1 because we use start
attributes on some ordered lists. To fix this, do a quick search-and-replace in Sigil:
- In the Find dialog:
- Change 'Mode' to 'Regex'
- and 'All HTML Files'
- Find:
<ol (.*?)start="(\d+)"
- Replace:
<ol \1class="start-\2"
Done!
To understand what this does, see this gist.