At the end of my last post, I asked if you could add the code that iBooks Author adds to vertically or horizontally block the layout of a regular flowable book. And it turns out that you can!
This is pretty interesting. Remember that with a regular fixed layout book on Apple, you can't change the font or the font size (or the theme). With flowing books you can. But what about if we created a hybrid: a flowing book that only displays in a single large vertical page (portrait orientation) no matter how you hold the iPad.
The trick is to add the orientation lock code to your
com.apple.ibooks.display-options.xmlfile without specifying that the book be fixed layout:
<?xml version="1.0" encoding="UTF-8"?>
<display_options><platform name="*"><option name="orientation-lock">landscape-only</option></platform></display_options>
Imagine the poetry example that I gave last week. If we use the above code on that book, it only shows in a single vertical page, even when the iPad is held horizontally.
But you can still change the font and font size!
I'm wondering if there are a lot of new features in iBooks 2, revealed in the code in iBooks Author ebooks that we can take advantage of for regular EPUB-compatible books.