Joho the Blogkindle Archives - Joho the Blog

June 19, 2011

Ragged right for Kindle

Full justification of a page — so the page margins are flush to both the left and right edges — sounds like what you want in a professional book, but when computers are laying out pages on the fly on small screens, and especially when they are under the constraints of having relatively few words per line to play with, it can result in ugliness.

When I first got my Kindle 1, it let you decide whether you wanted left justification (= “ragged right”) or full justification. Then Amazon upgraded the software and took away that option, which was not my favorite upgrade ever. (Maybe I just failed to find the hack to restore it.) I just got a Kindle 3, on the occasion of my Kindle 1’s screen losing a valiant battle against pressure in an over-stuffed backpack. There is a hack for the Kindle 3 that has restored the option, except where publishers have explicitly created fully justified texts. Go here and follow the advice in reply #1 scrupulously. (If you don’t know about UNIX line endings, you might not want to try this.)

I also altered one of the existing lines to “JUSTIFICATION=left”, which may be having the effect of setting the default to ragged right, but I’m not sure. At least it didn’t obviously break my Kindle. (Which reminds me: You’re responsible for whatever damage following the advice here may cause. What are you doing following advice in a blog, anyway?)


March 30, 2011

What’s wrong with this picture?

A screen capture of an Amazon page:

Kindle pricing highest of all versions

Yeah, this happens a lot. It shouldn’t.


June 9, 2010

Getting EPub wrong every possible way

I spent too much of yesterday and today trying to placate EPub, the God of Finickiness.

EPub (which the creators would prefer I spelled EPUB, but I figure there’s no need to shout) is the ebook format that iPad and many other readers like. I have a young adult novel that I give away in html, pdf, and Word .doc, but I figured I should modernize it up to the EPub standard.

First, I converted all 26 chapters to XHTML. XHTML is HTML’s obsessive-compulsive younger brother. The sloppiness that made HTML a success — you could sling together code of the ugliest sort and browsers would still display it for you with red blush and lipstick — drives XHTML nuts. So, you’d better close every tag and make sure you don’t start any of your inner ID tags with a number. The W3C has a useful validator that will tell you every thing you’re doing wrong. (Under options, turn on “Show source” and it will show you your original text with the mistakes flagged.)

I downloaded a bunch of automatic EPub creators, many of them listed at JediSabre, but I couldn’t get any of them to do what I wanted. A lot of people really like Calibre, which does much more than just compile EPub files, but I couldn’t figure out how to get it to treat 26 chapters as one book; dumb of me, I know, but I didn’t see that basic point covered in the documentation, and I was too embarrassed to ask it in the user forum where the creator generously responds.

I also tried eCub. I couldn’t remember why I gave up on it, so I just now tried it again, and of course it worked perfectly. Instantly. Easily. Dammit! It must have been something wrong in the XHTML files that I fixed after I’d given up on it.

I also tried Sigil, which is quite full-featured, but it kept crashing before making it through all 26 chapters, very likely because of the same irregularities in those files. So, try the automated systems before you venture down the hand-coding path.

I spent many hours with TextWrangler — a text editor that can do search and replace across multiple files is a requirement if you’re going to end up doing this somewhat by hand. EPub files are actually zip files, and, astoundingly, the files in them have to be in the proper order. Why ebooks are too dumb to be able to randomly access the contents of a zip file is beyond me, but then, so is using an easy-to-use EPub compiler. So, you need to download a sample (I used Sigil to create one), unzip it, put in your content, and zip it back up. WebVivant tells us the three magic command-line commands to get the zip file to rezip itself correctly. I did that dozens of times today. Now it’s time to test the resulting file…

ThreePress has an online EPub validator that shows you what you did wrong this time. Very helpful, although the error messages can be a bit cryptic, mainly because there are so many freaking ways to go wrong.

If you need to handcode how to get your EPub to display your cover, here’s a very helpful step-by-step guide to cover markup, by Keith Fahlgren at ThreePress.

The upshot? Make sure your XHTML is valid, and that your id values do not begin with numerals, and then try the automated systems. The one’s I’ve mentioned are free. (Thank you!) (Bowerbird posted a comment to my earlier post about EPub about a system Bowerbird is developing that outputs lots of book/document formats.) If you find yourself preparing or tweaking it by hand, expect to spend some time at it.

The upshot’s upshot? I spent a day creating a crappy version of my YA adult in EPub format that I’m not even sure works beyond with Wordplayer on my Droid. If you care to try it and let me know if it works on your device or software ebook, let me know? (You can get the pdf and .doc versions here, and here’s Bowerbird’s epub version.)


April 2, 2010

[2b2k] The book of the future has arrived!

Yikes. All this talk about the future of books and the future of ebooks. Will it be like the Kindle? Will it be like the iPad?

The book of the future is already here. It’s been here for about 15 years. It’s called The Web.

That’s taking books as the medium by which we develop, preserve, and communicate ideas and knowledge. The Web is already that book — distributed, linked, messy, unstable, self-contradictory, bottom up and top down, never done, unsettled and unsettling, by us and of us. The book of the future has a trillion pages and trillions of links, and is only getting started.

If, however, you mean by “book” a bounded stretch of an authorial monologue, we have plenty of those on the Web, and some have great value. But they now get their value by being linked into the roiling universe of their peers.

The book of the future isn’t on the Web; it is the Web.


January 28, 2010

The iPad is the future of the past of books

The iPad definitely ups the Kindle’s ante. Unfortunately, it ups the Kindle ante by making an e-book more like a television set.

Will it do well? I dunno. Probably. But is it the future of reading? Nope. It’s the high-def, full-color, animated version of the past of reading.

The future of reading is social. The future of reading blurs reading and writing. The future of reading is the networking of readers, writers, content, comments, and metadata, all in one continuous-on mash.


Tim Bray writes:

Compared to my laptop, the iPad lacks a keyboard, software development tools, writers’ tools, photographers’ tools, a Web server, a camera, a useful row of connectors for different sorts of wires, and the ability to run whatever software I choose. Compared to my Android phone, it lacks a phone, a camera, pocketability, and the ability to run whatever software I choose. Compared to the iPad, my phone lacks book-reading capability, performance, and screen real-estate. Compared to the iPad, my computer lacks a touch interface and suffers from excessive weight and bulk.

It’s probably a pretty sweet tool for consuming media, even given the unfortunate 4:3 aspect ratio. And consuming media is obviously a big deal for a whole lot of people.

For creative people, this device is nothing.


November 30, 2009

(Two podcast interview with, um, me)

Here are two podcast interviews with me.

1. Cluetrain at 10, with Mitch Joel at Six Pixels of Separation.

2. Episode 71 of The Kindle Chronicles with Len Edgerly. I think my portion begins at about 11:45 in. I mainly grouse about the Kindle, even though I like the one I own. It was Thanksgiving morning, I was in a motel room with my family hushedly getting ready to go to my sister’s…


November 21, 2009

Will books survive? A scorecard…

New media generally don’t replace old media, as Marshall McLuhan pointed out. After TV we still have radio. After telephones we had telegrams for a good long while. So what about books? After we have networked digital books, we’ll still have and produce physical books. But will physical books be as ubiquitous and culturally important as radio? Or will they be as cherished but infrequently attended as live theater?

In my interview with Cory Doctorow, I wondered, in the midst of an overly-elaborate three-part question, whether ebooks will provide enough of what we value about physical books (pbooks) that pbooks will lose the historic significance Cory had pointed to.

We won’t know the answer until we invent the future. But, I’m going to hypothesize, predict, or stipulate (pick one) that at some point we will have ebooks (which may be distinct hardware or be software running in something other device we carry around), with paper-quality displays that are full-color and multimedia, that are fully on the Net, with software that lets us interact with the book and with other readers, that are a part of the standard outfitting of citizens, and within a physical environment that provides ubiquitous Net connectivity.

Those are a lot of assumptions, of course, and each and every one of them could be disrupted by some 17 year old at work in her parents’ basement. Nevertheless, if the future is something like that, then what of pbooks’ value will be left unreplaced by ebooks?

Readability. I’m assuming paper-quality displays, which may turn out to be unattainable without having to wheel around batteries the size of suitcases. But, even without that, the ability of ebooks to display text in various fonts and sizes should remove this advantage from pbooks.

Convenience. I am assuming that ebooks will be more convenient than pbooks: as good in sunlight as pbooks, at least as easy to hold and use, easier to use for those with certain disabilities, long enough battery life, possibly self-lit, etc. The biggest open question, I believe, is whether it will be as easy to annotate ebooks…

Annotatability. The current crop of ebooks make highlighting passages and making notes so difficult that you have to take a break from reading to do either of those things. But, that’s one big reason why the current crop of ebooks are pathetic. With a touchscreen and a usable keyboard (or handwriting recognition software), ebooks of the future should be as easy to annotate as a pbook is. And those annotations will then become more useful, since they will be searchable and sharable.

Affordability. The marginal cost of producing ebook content is tiny, which doesn’t mean prices will drop as dramatically as we might like. Nevertheless, it’s hard to imagine a world in which ebook content costs more than pbooks.

Social flags. You probably carefully choose which book you’re going to bring with you on a job interview, and which books get moved to the shelves in your living room. We use the books we own as tribal flags, as Cory points out. Ebooks can serve the same role when introduced into social networks, including social networks explicitly built around books, such as They obviously don’t work in physical space that way; if you want to show off your books to people who visit your home, you’re going to have to get physical copies.

Aesthetic objects. Many of us love the feel and smell of books. While ebooks might be able to simulate that in some way — maybe their page displays could yellow over time — it’d still just be a simulation. While ebooks will undoubtedly develop their own aesthetics, so that we’ll call people over to see how beautiful this or that new ebook is, they can’t replace the particular aesthetics of pbooks. So, those who love pbooks will continue to cherish them.

Sentimental objects. For my bar mitzvah, some friend of my parents gave me a leatherbound copy of A.E. Housman’s “A Shropshire Lad” and other poems. It was a beautiful aesthetic object, but I also understood that it had a personal meaning to the giver. I doubt that that particular copy did — I don’t think it came from his own collection — but the physicality of the book was itself a marker for the personal meaning it had for the giver. As Cory says, the books your father read — the very copies that were in his hands — probably have special meaning to you. It’s hard to see how ebooks could have the same sentimental value, except perhaps if you are reading the highlights and notes left by your father, and even then, it’s not the same.

Historic objects. Likewise, knowing that you’re looking at the very copy that was read by Thomas Jefferson gives a book an historic value that ebook content just can’t have. It’s hard to see how an author could autograph an ebook in any meaningful way.

Historical objects. As John Seely Brown and Paul Duguid have pointed out, as has Anthony Grafton, books as physical objects collect metadata that can be useful to historians, e.g., the smell of vinegar that indicates the book came from a town visited by cholera. Ebooks, however, accumulate and generate far more metadata. So, we will lose some types of metadata but gain much more…maybe more than our current norms of privacy are comfortable with.

Specialized objects. It will take somewhere between an improbably long time and forever for all collections of pbooks to be digitized. Thus, books in special collections are likely to be required well after we can take the presence of ebooks for granted.

Possessions. We are headed towards a model that grants us licenses to read books, but not outright ownership. (This is Cory’s main topic in the interview.) If we lose ownership of ebooks, then they won’t have the sentimental value, they will lose some of their economic value to readers (because we won’t be able to resell them or buy them cheaper used), and we won’t be as invested in them culturally. Whether ebooks will be ownable, and whether that will be the default of the exception, is unresolved.

Single-mindedness. Books are the exemplar in our culture of thinking. We write our best thoughts in books. We engage with the best thoughts of others by reading books. Books encourage and enable long-form thinking. Ebooks, because they are (ex hypothesis) on the Net, are distracting. They string together associated chunks and tempt us with links beyond themselves. It is easy to imagine ebooks providing the singleminded pbook experience: “Press here to remove all links.” But, of course, you could always unpress the button. Besides, since your ebook is on the Net (ex hypothesis), all that’s stopping you from jumping out of the book and into your email or Facebook is self-discipline. So, while ebooks can provide the singledminded experience of pbooks, some of us may prefer the paper version to keep the distraction of the Net at bay.

Religious objects. Some books have special meaning within some religions. It’s hard to imagine, for example, that an ebook is going to replace the Torah scrolls in synagogues. In fact, orthodox Jews can’t use electronic devices on the Sabbath, so they are certainly going to continue to buy pbooks. But, this is the very definition of a specialty market.

So, what does all this mean for the future of books? It depends.

First, are there other values of pbooks that I left off the list?

Second, I haven’t listed any unique advantages of ebooks. For example, ebooks will allow social reading: Engaging with others who are reading the book or with the traces left by those who have already it. That’s pretty important. Also, ebooks are likely to radically reduce the cost of reading, especially of some categories of overpriced pbooks (e.g., textbooks). Also, ebooks will make it much easier to understand the content of books through embedded dictionaries, search capabilities, and links to explanatory discussions. Also, as more of the corpus gets digitized, ebooks will make it far easier for scholars to pursue the footnotes (except they’ll be embedded links, not footnotes). Also, ebooks will incorporate multimedia. Also, reading ebooks will build a searchable personal corpus that is far more useful to us than bookcases filled with out conquered pbooks. Also, we’ll always have our entire library with us, ready to be read or reread, which is good news for readers.

I leave it to you to decide how this mix of values is likely to play out. What will be the social role and meaning of pbooks as we go forward into the ebook era? In twenty years — giving ourselves plenty of time to develop usable ebook readers, to digitize most of what we need, and to built an always-available network — will pbooks be used mainly by collectors, and scholars working with unique texts? Will they be sentimental objects? The poor person’s medium? Will physical books be the equivalent of AM radio, of the road company of “Cats,” of quaint objects in book museums — and/or the continuing pinnacle and embodiment of learning?v


September 21, 2009

The Book: Terms of service

Matthew Battles has written a proposed Terms of Service for books. It highlights the strengths of printed books, but Matthew is careful to avoid any reference to print vs. digital. In an email he writes: “Whether in print or pixels, the terms of the public sphere should be taken into consideration.”



July 28, 2009

Annals of openness in peril

1. The court has rejected Charlie Nesson’s basic defense of Joel Tenenbaum’s sharing of music files. The case is going to jury which may levy the same sort of insanely excessive fines as in the Jammie Thomas-Rassert trial. I hope Charlie’s team can convince the jury that the fines and the entire process are so onerous and disproportionate that the RIAA has been abusing the court system. Of course, IANAL, and IANAOTJ (I am not on the jury).

2. Barnes and Noble has launched its e-book software. It runs on iPhones as well as on PC’s and Mac’s. I’m having trouble finding which formats it supports, but judging from its Open dialogue, not PDF, .doc, .html, .mobi, or text. It does support .PBD books.

After a very very quick session playing with it, it seems quite competitive with the Kindle, and because I’m running it on my Mac and not on the little piece of crippled hardware I bought from Amazon — the Kindle is just barely adequate as a reader, and is still overpriced by more than 100% in terms of its value, imo — having the use of a keyboard and a mouse is a big step up. And, unlike the Kindle, you can use whatever fonts you have on your machine. Still, it’s only incrementally better than the Kindle’s software (again, on a quick look), not a great leap forward for readers.

One of B&N’s big advantages is that it’s hooked into Google Books, enabling you to download public domain books that Google has scanned in. You do this by searching for a book on the B&N site and noticing the “free from Google Books” label. Be sure to sort by price; otherwise B&N lists the for-pay versions first. If B&N wants to be aggressive in this space (= succeed), it should create an easy-to-find section that lets you browse Google’s free books. Get us using the ereader and then sell us the copyrighted books. (If B&N has such a section, I couldn’t find it quickly enough.)

BTW, I presume (and thus may be wrong) that Google did a special deal with B&N to enable this. If so, I find it worrisome. If Google is going to be granted a special right to scan in books without fear of copyright reprisals, it will be the de facto national e-library, discouraging others from undertaking similarly scaled scanning projects, and thus should be making its public domain books equally and maximally freely available. IMO.

2a. [Later that evening:] B&N stores are now providing free Wifi. Yay!

3. Apple is not permitting the Google telephone service into the Apple App store, thus simultaneously and inadvertently making the case for Zittrainian generativity.

4. [Later that day]: On the happy front, Google has open-sourced an implementation of Wave.

[Tags: ]


June 7, 2009

My kid’s novel is now an e-book

My $100 Million Dollar Secret, my novel for young adults, is now available for free on your Kindle. In fact, it’s available in multiple e-book formats, thanks to ManyBooks. It’s available there because it went through ManyBooks’ rigorous vetting process, which consisted of me filling in a form that basically required me to say “Wanna list my book?” I submitted it in html format, and ManyBooks converted it to a dozen other formats. Thank you, ManyBooks! And, yes, at ManyBooks you’ll find many books worth reading.

You can also read it for free online, or download it in .Doc or .PDF formats free at its own site. You can also get a paper copy (and pay me a couple of bucks) at Lulu, where it has sold well into the low dozens of copies.

The book is about a kid who wins $100,000,000 in the state lottery, through a contrivance because his parents are philosophically against the idea of lotteries. Because he’s a good kid and gets along well with his parents, he decides he will not lie about having won it. But he doesn’t want to acknowledge that he (more or less inadvertently) bought a ticket. So, he has to hide the fact that he now is rich. The book is about him figuring out how to spend the money, and more importantly, what good money can do.

[Tags: ]


Next Page »