madfilkentist: My cat Florestan (gray shorthair) (Default)
madfilkentist ([personal profile] madfilkentist) wrote in [community profile] ebooks2013-01-14 09:37 pm

Computer code in Ebooks

[personal profile] elf just called this community to my attention today, so hello, everyone.

I'm working on a book, with the plan of publishing it on Smashwords, called Files that Last. There's a Kickstarter campaign for it, but with time rapidly running out, its chances don't look good. If you want to throw $700 at it, though, I won't object!

Even without the Kickstarter money. I'll publish the book, though without the level of professional review I'd like. I'll still have a professionally designed cover and get proofreading in exchange for a promise of reciprocity.

But to get to my actual question, I've discovered from a trial run book that putting computer code into a Smashwords book and have it come out of the meatgrinder readable is very difficult. I solved the problem there by linking to code files. Has anyone else had experience with code or other difficult-to-format text in ebooks? Any advice would be appreciated.
elf: Rainbow sparkly fairy (Default)

[personal profile] elf 2013-01-15 03:09 pm (UTC)(link)
You can do both--submit an epub for the epub buyers, and a Word doc for the meatgrinder for other formats. The conversion to PDF is probably the best of the options (although, ugh, PDF is tolerable as an archive format and lousy as an ebook format).

You may want a mobi version or KF8 version (which is epub in an Amazon-flavored wrapper) for sale at Amazon; I don't think Smashwords feeds to them. And unless you've got specific moral or business issues with Amazon, it's a bad idea to ignore the place with about 80% of the market share.

Part of how "The Mouse's Tale" works is that it's *tiny.* Each line only needs a few words of text at most. It can allow for heavy empty-space padding on each side and still fit in a small window. It won't work on e.e. cummings' Buffalo Bill's.