There's nothing better than getting into a good coding rhythm. There's nothing worse than trying to maintain it around people determined to disrupt it.
Time to close the editor for a few and begin a quick coffee transfusion.
'E.C. Was Here' playing.
Seemed appropriate this morning.
Or I could take a break for a little bit and play some games.
Been working on this and more boring code for the office since 2:00AM this morning.
I have on the fly editing and fixup of configure.opf and toc.ncx.
Now to generate titlepage.xhtml and the mimetype entry.
Then, the stream to create a zip file.
I will then convert a flat set of Amazon kindle sources to a ePub via a simple command.
Then, I will watch epubcheck puke all over it.
@matigo You mean like me? When we started out, I was doing all of this by hand. It takes about six to eight hours per book.
With the tools I have now, it still takes about two hours.
I'm down to roughly two seconds with this.
Current Status:
Loading Surrender.html…
Paragraphs found (2315)
- Formatting 19 chapters.
- Formatting 12 section breaks
- Formatting 43 centered paragraphs
- Formatting 4 unindented paragraphs
- Setting remaining 2237 paragraphs to indented
- Removing 2248 span tags
- Removing 1 div tags
- Removing embedded styles
- Linking ebook.css
Saving to output.html…
Thank you for flying WordBleach
That pretty much wraps things the hell up. Now onto the hard stuff.
Well, all good things must come to an end.
Time to drive to the office. Fashionably late.