View Full Version : An ePub I'm proud of


pdurrant
10-31-2009, 11:22 AM
I've recently finished the ebook version of a book I've previously published in PoD format.

I'm rather pleased with the ePub version, and so I attach a sample here for others to examine.

The cover is a PNG image in an SVG wrapper. The title page is a SVG graphic incorprating text and a PNG graphic. There are two embedded fonts, encrypted with the Adobe encryption method. Each chapter starts with a drop-cap graphic that resizes with the text, up to a maximum 60% width.

Unfortunately epubcheck doesn't understand the Adobe encryption, so the ePub fails epubcheck. Before the font encryption is applied (using my script uploaded here (http://www.mobileread.com/forums/showthread.php?t=57034)) the epub passes with no errors or warnings.

I'd be interested to get feedback on any of the formatting.

Does anyone else have an ePub they're proud of? If it's in the Mobileread library, just a link to there would be good. I'm only uploading as an attachment because it's a sample, not the full book.

(If you are moved to buy a copy of the full book, it's available at Smashwords in various formats, but none quite so nice as this hand-crafted ePub, which isn't yet on sale anywhere directly. But if you buy at Smashwords, I'll happily email the full version ePub to you.)

Elsi
10-31-2009, 11:32 AM
I just *have* to check this out. I'm hoping that the Adobe encryption of the fonts does not require using ADE and that I can just load the ePub book directly onto my reader. I currently have two readers that understand ePub: Sony PRS-505 and BeBook Mini. And, of course, I have Calibre installed -- which gives me a Calibre viewer on my PC.

Steven Lyle Jordan
10-31-2009, 12:08 PM
I currently have two readers that understand ePub: Sony PRS-505 and BeBook Mini. And, of course, I have Calibre installed -- which gives me a Calibre viewer on my PC.

If you want a third for your PC, try EPUBReader for Firefox (http://www.mobileread.com/forums/showthread.php?t=60459). It's already making some fans...

pdurrant
10-31-2009, 02:04 PM
You will need an ePub reader written by Adobe. But as that includes the ones in the Sony PRS-505 and the BeBook Mini you'll be fine.

You don't need to have Adobe Digital Editions installed on your computer. It's only the fonts that are encrypted, not the ePub itself. (Just like you can have non-encrypted PDFs that have encrypted fonts embedded.)

I just *have* to check this out. I'm hoping that the Adobe encryption of the fonts does not require using ADE and that I can just load the ePub book directly onto my reader. I currently have two readers that understand ePub: Sony PRS-505 and BeBook Mini. And, of course, I have Calibre installed -- which gives me a Calibre viewer on my PC.

Jack Tingle
10-31-2009, 03:41 PM
I've recently finished the ebook version of a book I've previously published in PoD format.

I'm rather pleased with the ePub version, and so I attach a sample here for others to examine.
...
I'd be interested to get feedback on any of the formatting.


Well, you obviously put in a lot of work... But...

On FBreader and Stanza, I'm afraid your work was for nought. The pretty initial caps are missing completely, leading to isspellings. My jetBook is a little kinder, the initial caps do display, but as separate graphics.

On ADE, there are still many misplaced bits of text, including: "The Author, Kingston, Surrey" which is displaced to the right. The upper right hand corner page numbers are inconsistent, sometimes appearing, and sometimes not. A few of the imbedded pictures appear in odd places, such as being alone on a page.

I'm afraid you're a victim of the disparate interpretaions of epub.

Good Luck,
Jack Tingle

Jack Tingle
10-31-2009, 04:33 PM
Oddly enough, once you unzip the file, Opera reads each chapter fine. It can't put the parts together, but the individual xml and xhtml files show perfectly. Go figure. Makes me wish I liked Opera better.

Regards,
Jack Tingle

pdurrant
10-31-2009, 07:32 PM
On FBreader and Stanza, I'm afraid your work was for nought. The pretty initial caps are missing completely, leading to isspellings. My jetBook is a little kinder, the initial caps do display, but as separate graphics.

I can only think that FBReader and Stanza are not handling the float CSS property correctly. Browsers and ADE handle this correctly, and it's in the ePub spec. I can't think of another way to do the graphical drop caps. Hopefully they'll be improved with time.

On ADE, there are still many misplaced bits of text, including: "The Author, Kingston, Surrey" which is displaced to the right. The upper right hand corner page numbers are inconsistent, sometimes appearing, and sometimes not. A few of the imbedded pictures appear in odd places, such as being alone on a page.


"The Author" is intended to be on the right, and "Kingston, Surrey" is supposed to be on the left - that's not an ADE flaw, it's correct.

The page numbers are an insane idea of ADE - they're not in the epub itself.

Some of the pictures are intended to be full page pictures. But I take your point that the inconsistency is odd in an ebook. I might revisit that decision.

Thanks very much for taking the time to have a look and give feedback.

wallcraft
10-31-2009, 09:11 PM
I can only think that FBReader and Stanza are not handling the float CSS property correctly. FBReader does not have a complete implementation of ePub. It does not handle SVG at all, and images are always centered with no adjacent text. In this case, Windows FBReader seems to be confused by the CSS and the graphical 1st letters are not displayed at all. However, OpenInkPot's FBReader does display the graphical letters (stand-alone and centered) and this works reasonably well because the graphical letters are so large.

It would seem that Stanza and Windows FBReader should use the "alt=" option which is present, although I don't know how that would come out on the page.

I agree that it is perfectly ok for ePubs to assume complete implementation of the standard in the Reader. If an ePub has Adobe DRM, all it really needs to do is work in Desktop and mobile ADE.

stxopher
10-31-2009, 10:01 PM
If you want a third for your PC, try EPUBReader for Firefox (http://www.mobileread.com/forums/showthread.php?t=60459). It's already making some fans...

Though oddly enough the plugin only displays the first screen of the title page and not the dedication or first illustration (comparing between ADE and Firefox plug).

Valloric
11-01-2009, 12:32 PM
That's one pretty amazing looking epub. Great job pdurrant. :)

zelda_pinwheel
11-01-2009, 12:48 PM
thank you so much for sharing this with us, pdurrant ! it is truly a beautiful book and an inspiration to see.

i highly recommend taking a look at the code as well ; that is what epub code should ALWAYS look like ! :)

mores
11-01-2009, 02:08 PM
Looks awesome in Adobe Digital Editions for Mac. Great job, pdurrant! I agree, all books should look like this!

charleski
11-01-2009, 03:03 PM
Quite spectacular! You deserve to be very proud of that, and it's a lovely showcase for the sort of stuff ePub can do. I'll be keeping it on my 505 so I can show people.

I only wish more publishers devoted this sort of attention to their eBook editions, adults also appreciate a book that's been laid out with care.

GeoffC
11-03-2009, 01:23 PM
An extremely high quality production.

Thanks for posting the sample, an excellent source of the standard to which should be attained by all who produce e-books.....

:clap:

pdurrant
11-03-2009, 02:03 PM
I'm grateful for your kind words, and the other compliments. The criticism is also welcome.

And today another outlet for ePubs opened up. Lulu.com now allow upload and sale of ePubs!

Now if only Amazon would open up to non-US publishers /and/ reduce the ridiculous 65% cut that they demand.

An extremely high quality production.

Thanks for posting the sample, an excellent source of the standard to which should be attained by all who produce e-books.....

:clap:

GeoffC
11-03-2009, 02:28 PM
the coding is neat and surprisingly simple !!!!

... and of course there are many good book producers on board here ....

traskilajussi
11-28-2009, 08:44 AM
Reading on Bookworm

- on my pc (ubuntu), on google Chrome images doesn't work, dropcaps yes;
using BW on firefox everything works, same using epub add-on for FF
- on my nokia N96, dropcaps work, some of the images also

cheers, Jussi

ps. Beautiful work