Re:Write Code Every Day
by munificent on Thursday April 10, 2014 @08:34PM
(#7570574)
Thank you! I'll take a look at this when I start digging into the mechanics of the conversion.
Re:Write Code Every Day
by steveklabnik on Thursday April 10, 2014 @10:26PM
(#7570923)
No problem. One quick thing I learned: pandoc is sooooooo much better for this than anything else. I was originally using Calibre to generate stuff, and their epubs don't follow the spec, and so don't work correctly in some readers. I was _this close_ to writing a Ruby script that would unzip, s/foo//g, rezip it back up, before I found pandoc.
Re:Write Code Every Day
by munificent on Friday April 11, 2014 @01:58PM
(#7574400)
That's good to know. Calibre was on my list too.
I put my "toolchain" to do this up on GitHub, which really is just a Makefile that feeds things to Pandoc: https://github.com/steveklabnik/words