01-11-2013, 02:10 PM | #1 |
Author, Zamboni driver
Posts: 4
Karma: 10
Join Date: Jan 2013
Location: Woodstock, NY
Device: iPad
|
combo strategy with Sigil and iBook Author
I have a few weeks before my cover art is finished and sent back to me, and am a bit less than excited with the formatting control I get with plain ol' ePub (using Sigil). I'm going to publish first to the iTunes Store, and have a copy of iBook Author, so I thought I'd put out a more elaborately formatted copy of my book just for the iPad.
Has anyone done this? It's not a big deal, but I have a couple weeks to burn, so I thought I'd have a video on the biography page, maybe another one talking a little bit about the book, design some enpapers to give the book a Japanese feel (the book is in English, with lot of Japanese elements). I'm already a registered publisher for the iTunes Store, Amazon, most of my eventual targets. This is a just-for-the-fun-of-it project to see if I can produce a kind of premium version just for the iPad. Anyone have a workflow from Sigil / ePub into iBook Author? Any thoughts on the general idea? |
01-13-2013, 05:37 PM | #2 |
Resident Curmudgeon
Posts: 73,510
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
So what is it about your eBook that will need more advanced formatting then ePub can give you?
|
01-15-2013, 02:11 PM | #3 |
Groupie
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
i think you'll be hard-pressed to find an easy out-of-sigil-into-iBA workflow. iBA is a proprietary format which Apple has developed that's based on epub2, but doesn't allow (as far as i know) a simple import from epub.
you can, however, drag and drop html files into the open iBA document, and then restyle it from there. it seems to respect links, so footnotes etc. may still work, but i think you'd need to rebuild the navigation as well. in the past i've found that the templates Apple provides can be profoundly difficult to alter, and the logic behind how to create a simple layout can be a bit mind-bending, so would recommend playing around with the program and the various templates with a bit of sample text/images to make sure that you don't run into a brick wall 2/3 of the way through and have to restart. Apple's iBA forums seem pretty well trafficked, so that'll be a good resource. |
01-18-2013, 12:18 PM | #4 |
Author, Zamboni driver
Posts: 4
Karma: 10
Join Date: Jan 2013
Location: Woodstock, NY
Device: iPad
|
@JSWolf: In truth I have no burning need for the more precise control offered by iBook Author. My book is just a straight-on fantasy fiction piece. Once I finished writing and started looking into ePublishing, I mistakenly thought I had to use iBook Author to get something onto the Apple Store. So I downloaded the software and started using it, then read a bit more and realized my mistake.
However now that I have the software and have some time put into it I see how much nicer the book could be, at least on the Apple Store, without a lot of CSS fiddling. So, since posting my previous question, I've finished importing to and formatting in both Sigil and iBook Author. I now have the minor hassle of keeping the two versions in synch. I certainly could just use Sigil to produce an ePub for both, but seeing as I have another week or so before my cover art arrives, I'm spending my time (in a blatant procrastination ploy on my next writing project) creating fancier chapter openings in the iBook Author version; adding graphics, adding a few quotes that inspired the chapter, tweaking how the graphics flow when the iPad is shifted between landscape and portrait mode... It's fun. Not sure I'd do this every time I put out a book, but seeing as I timed things badly on my cover art, what else am I going to do? Write something new??? |
01-18-2013, 02:46 PM | #5 |
Resident Curmudgeon
Posts: 73,510
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You can do some of your fancy formatting in Sigil. You can't do the "do this if portrait or do that if landscape" as that's not ePub. That's iBooks. But you can make the standard ePub look nicer as well by adding graphs, fancier headings, drop caps, etc.
But one thing to note, don't just take how it looks in Sigil as how it will look in ADE. Use ADE to see how it will look in ADE. |
01-18-2013, 06:03 PM | #6 | |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
Further, the EPUB standard does not say that books cannot use later versions of the CSS spec than CSS2. In fact, it explicitly says that the reader must tolerate later versions of the spec. "A Reading System may support CSS properties beyond the OPS CSS 2.0 required subset, however, any unsupported properties must be gracefully degraded per the CSS 2.0 specification." (Open Publication Structure (OPS) 2.0.1 v1.0, section 1.3.5.) Therefore, an EPUB that takes advantage of CSS3 features—media queries, box shadows, multicolumn layouts, etc.—is a legal EPUB, and fully complies with the EPUB 2.0.1 specification, because the CSS 2.0 spec's rules for "gracefully degrading" say that a client must ignore any rules that it doesn't understand. Period. You can even legally include vendor-specific rules, and as long as they are structured in a fashion that complies with the graceful degradation rules of the CSS spec, a reader is required to ignore them. For example, the following should not break any compliant reader: Code:
-mumblereader-eat-cookies-like-a-monster: answer("Sure, why not?"); However, with that said, you cannot be guaranteed that all readers (or any readers, for that matter) will support CSS3 features. For this reason, spec-compliant content must also be designed in such a way that it degrades gracefully on readers that support only the CSS functionality defined by the EPUB subset of CSS2. <rant>Also, because Adobe apparently doesn't know what "gracefully degrades" means and/or didn't bother to read the part of the CSS specification where it explains the steps by which a conforming interpreter should skip unknown CSS declarations, you will probably have to segregate any @ rules other than @font-face into a separate file, which ADE will fail to parse and will thus ignore in its entirety.</rant> But I digress. Last edited by dgatwood; 01-18-2013 at 06:07 PM. |
|
01-18-2013, 07:29 PM | #7 |
Resident Curmudgeon
Posts: 73,510
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It won't validate and this, it won't be sold.
|
01-18-2013, 07:43 PM | #8 |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Yes it will.
Code:
html { -webkit-line-box-contain: block inline replaced !important; -mumblereader-eat-cookies-like-a-monster: answer("Sure, why not?"); } Code:
$ epubcheck tiw.epub Epubcheck Version 3.0-RC-1 Validating against EPUB version 2.0 No errors or warnings detected. |
01-18-2013, 07:46 PM | #9 | |
Resident Curmudgeon
Posts: 73,510
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
01-18-2013, 08:30 PM | #10 | |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
Code:
@media not screen { html body { margin-left: 2em; margin-right: 2em; } } @media screen and (min-device-width:961px) { html body { margin-left: 2em; margin-right: 2em; } } /* iOS and other phones in portrait mode: */ @media screen and (max-device-width:960px) and (orientation:portrait) { /* html body { */ /* Sadly, this doesn't work. I'd really like to knock about an em off the default iBook margins on iPhone/iPod Touch. */ /* -ibooks-gutter-margin-left: 0px !important; */ /* -ibooks-gutter-margin-right: 0px !important; */ /* } */ /* Reduce size of chapter numbers and indentation so that they don't run off the screen. */ div.chapternumber { font-size: 20pt !important; padding-left: 10pt !important; padding-right: 10pt !important; } /* Reduce chapter heading indentation to match the chapter number. */ div.chapterheading { margin-left: 10pt !important; } /* Reduce bottom margin of chapter numbers so that it isn't so oversized. */ div.chapternumber + p { margin-top: 3em !important; } blockquote { margin-left: 2em !important; margin-right: 2em !important; } /* Reduce left and right margins so that the blockquote bits have more than two words per line. */ /* html { margin-left: 0 !important; margin-right: 0 !important; } */ /* html body { margin-left: 6px !important; margin-right: 6px !important; } */ } @page { margin-left: 0 !important; margin-right: 0 !important; } /* iOS and other phones in landscape mode */ @media screen and (max-device-height:960px) and (orientation:landscape) { /* Reduce bottom margin of chapter numbers so that they don't waste an entire page. */ div.chapternumber + p { margin-top: 3em !important; } html body { margin-left: 2em; margin-right: 2em; } } .whiteout { /* ADE chokes on this IE-ism, too. It probably isn't necessary in the real world of EPUBs, but it really shouldn't *break* the entire stylesheet.... */ filter:alpha(opacity=0); } |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle new/old combo format | Moonraker | Calibre | 5 | 09-28-2012 09:31 AM |
How to download iBook's JavaScript "ibook.js & fixedlayout sample" | Raja1205 | ePub | 1 | 09-03-2012 11:20 AM |
Publishing output from iBook Author? | heySkippy | Writers' Corner | 3 | 02-08-2012 09:43 AM |
Overreaction to Apple iBook Author | leebase | General Discussions | 63 | 02-03-2012 07:42 AM |
Problem w/author adding iBook collection | captpete | Library Management | 1 | 01-08-2012 12:15 PM |