Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-27-2009, 11:05 AM   #16
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by JSWolf View Post
Why not? Can't you use font-family to specify serif vs sans-serif vs mono?
You got me!

I was thinking of that while I was writing my message, but decided it was not worth mentioning it

Yes, specifying generic font families is fine, nothing wrong with that (do current ePUB readers provide a complete set of these families, anyway?). My point was that a particular font face should not be used if it's not embedded, because there's no guarantee the readers will have that font, or even the possibility of installing it (or at least, the creator should assume that many readers will not see the intended font).

P.S. I've been often told that I always want to have the last word, so I apologize it if looks like I'm arguing for the sake of argument, it seem's it's just my way
Jellby is offline   Reply With Quote
Old 06-27-2009, 04:46 PM   #17
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by Jellby View Post
You got me!

I was thinking of that while I was writing my message, but decided it was not worth mentioning it

Yes, specifying generic font families is fine, nothing wrong with that (do current ePUB readers provide a complete set of these families, anyway?). My point was that a particular font face should not be used if it's not embedded, because there's no guarantee the readers will have that font, or even the possibility of installing it (or at least, the creator should assume that many readers will not see the intended font).

P.S. I've been often told that I always want to have the last word, so I apologize it if looks like I'm arguing for the sake of argument, it seem's it's just my way
You should be able to list several fonts in the font CSS entry. A generic font should always be listed as the last choice so that something will be found. Of course some implementations ignore a list and default to their own default.

Dale
DaleDe is offline   Reply With Quote
Advert
Old 06-28-2009, 09:38 AM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Jellby View Post
You got me!

I was thinking of that while I was writing my message, but decided it was not worth mentioning it

Yes, specifying generic font families is fine, nothing wrong with that (do current ePUB readers provide a complete set of these families, anyway?). My point was that a particular font face should not be used if it's not embedded, because there's no guarantee the readers will have that font, or even the possibility of installing it (or at least, the creator should assume that many readers will not see the intended font).
When I use CSS code to specify specific fonts, I do this for my own use and do not have to add he font files to the ePub.. If I am going to embed for others, I will embed in the ePub file itself.

I did take a recently converted ePub and specify that the headers should use the default sans-serif font and it worked perfectly.
JSWolf is offline   Reply With Quote
Old 06-28-2009, 10:26 PM   #19
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Quote:
Originally Posted by Jellby View Post
Indeed, font embedding is almost trivial, one need only include the font files in the package and add the @font-face CSS instructions.

Now, whether automatic ePUB creation programs and ePUB readers support font embedding, that's another matter.
Must be my sense of lazy that makes it so hard. Indesign'll embed JaneAusten.ttf as part of the package, and that's still about all it does "easily". Check the embed fonts box, and they are there in the resultant epub. Maybe I'm just inept, but I can't get mobicreator to do that.

I've been holding my breath for Calibre to do that, 'cause I just hate handbuilding the epub, 'cause then I have to be intelligent, thoughtful, and responsible. Yuck.

-bjc
brewt is offline   Reply With Quote
Old 06-28-2009, 10:46 PM   #20
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Quote:
Originally Posted by brewt View Post
Must be my sense of lazy that makes it so hard. Indesign'll embed JaneAusten.ttf as part of the package, and that's still about all it does "easily". Check the embed fonts box, and they are there in the resultant epub. Maybe I'm just inept, but I can't get mobicreator to do that.

I've been holding my breath for Calibre to do that, 'cause I just hate handbuilding the epub, 'cause then I have to be intelligent, thoughtful, and responsible. Yuck.

-bjc
I don't think you can embed fonts in a Mobipocket file. So far as I can tell, it uses the ones in the /fonts folder.
Nate the great is offline   Reply With Quote
Advert
Old 06-28-2009, 11:23 PM   #21
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Quote:
Originally Posted by Nate the great View Post
I don't think you can embed fonts in a Mobipocket file. So far as I can tell, it uses the ones in the /fonts folder.
My experience as well - if the font is there, I can call it. But if it's not on the device, well, that's too bad.

Hence, the epub advantage. So many pretty things, so little.......

-bjc
brewt is offline   Reply With Quote
Old 06-28-2009, 11:28 PM   #22
ondabeach
Groupie
ondabeach doesn't litterondabeach doesn't litter
 
ondabeach's Avatar
 
Posts: 193
Karma: 192
Join Date: Apr 2009
Location: Vanuatu
Device: HTC touch Diamond, Ipaq 3115
You can embed music and video files in an ePUB. The reader just needs to support it, and that's easy.
ondabeach is offline   Reply With Quote
Old 06-29-2009, 06:24 AM   #23
netseeker
sleepless reader
netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.
 
netseeker's Avatar
 
Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
Quote:
Originally Posted by ondabeach View Post
You can embed music and video files in an ePUB. The reader just needs to support it, and that's easy.
Yes and additionally there is another important point: The ePub specification allows the usage of DTBook which was designed explicitly with visually impaired, physically handicapped, learning-disabled or otherwise print-disabled readers in mind. It's up to the manufacturers of ePub-reading systems to support that in a useable manner. Imho most current devices offer most (if not all) necessary features but most ePub-reading systems don't use it.
netseeker is offline   Reply With Quote
Old 06-29-2009, 06:41 AM   #24
Gaurav
Junior Member
Gaurav began at the beginning.
 
Gaurav's Avatar
 
Posts: 6
Karma: 10
Join Date: Jun 2009
Location: Delhi, India
Device: Kindle
I think ePub has everything which makes it a leader in ebook formats. The making and navigating an epub file is simple as compared to other formats. Also it become a standard for ebook formats. Below are some features which makes epub standout from other formats:
- Linked Footnotes – each footnote number is a link, click on this to see the footnote. Click on the same number to go back to your original page.
- Nicely formatted titles, subtitles, etc.
- Paragraph indents – Except on first paragraph of a chapter/section (more paper book like)
- Block Indents – Small left/right indents on block quotes, letters of correspondence, songs, etc.

Last edited by Gaurav; 06-29-2009 at 06:46 AM.
Gaurav is offline   Reply With Quote
Old 06-29-2009, 08:01 AM   #25
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Quote:
Originally Posted by Gaurav View Post
I think ePub has everything which makes it a leader in ebook formats. The making and navigating an epub file is simple as compared to other formats. Also it become a standard for ebook formats. Below are some features which makes epub standout from other formats:
- Linked Footnotes – each footnote number is a link, click on this to see the footnote. Click on the same number to go back to your original page.
- Nicely formatted titles, subtitles, etc.
- Paragraph indents – Except on first paragraph of a chapter/section (more paper book like)
- Block Indents – Small left/right indents on block quotes, letters of correspondence, songs, etc.
But you can do all those thins in Mobipocket.
Nate the great is offline   Reply With Quote
Old 06-29-2009, 11:59 AM   #26
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by Nate the great View Post
But you can do all those thins in Mobipocket.
Are you sure? Linked footnotes that link back automatically?, indents on all but the first paragraph of a chapter?

Dale
DaleDe is offline   Reply With Quote
Old 06-29-2009, 12:22 PM   #27
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DaleDe View Post
Are you sure? Linked footnotes that link back automatically?, indents on all but the first paragraph of a chapter?
Just as well as with ePUB. At least I do them basically the same way.

Footnotes (in mobipocket HTML):
Code:
Blah, <a name="note1b"/>blah blah<a href="#note1">[1]</a>. Blah
...
...
<a name="note1"/>
<p>[1] This is a footnote</p>
<a href="#note1b">(Back)</a>
Indents (in mobipocket HTML):
Code:
<h1>Chapter 1</h1>
<p width="0em">The first pararagraph.</p>
<p>The second paragraph.</p>
<p>The third, etc.</p>
PS. Note that not having indent in the first paragraph of a chapter or section is not the custom in all languages, so I'm glad ebook formats don't are too MS-paperclip-smart

Last edited by Jellby; 06-29-2009 at 12:25 PM.
Jellby is offline   Reply With Quote
Old 06-29-2009, 12:40 PM   #28
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Quote:
Originally Posted by DaleDe View Post
Are you sure? Linked footnotes that link back automatically?,
That doesn't exist in EPUB either. There is no such tag.

Quote:
indents on all but the first paragraph of a chapter?
Sure.

---

My main gripe with EPUB is that it, just like many of its predecessors, tries to provide an universal format - something that would satisfy all possible needs, work on all possible devices etc. In my opinion, that's a sure way to fail - the needs (and the devices) are so variable that one format can't possibly satisfy them all (e.g. with EPUB, we can talk fonts - I can either choose to use device-default fonts or one particular embedded font, but I can't choose to use a device-font on one device AND an embedded-font on another). I am still convinced that the proper way is to provide one "storage format" and then convert it to device-dependent form before use.
pepak is offline   Reply With Quote
Old 06-29-2009, 05:36 PM   #29
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
One thing that makes ePub a winner is the ability to edit the book without having to decompile. Every other format is a binary format and you cannot edit without first converting, making the changes and then recompiling.
JSWolf is offline   Reply With Quote
Old 06-30-2009, 12:27 PM   #30
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Attached are some things to demonstrate footnotes/endnotes and hanging indents in both mobi & epub.
Epub & mobi made from Calibre
prc made from mobicreator
zipped source html made with nothing short of Pure Unadulterated Evil.
Epub made with Indesign.

Making those things work depend on what you use to write the source file (Go Evil!), the creator software and the reading software you use to look at it. ZuluReader, for example, doesn't do the hyperlinking, and still seems to be stripping out most formatting (at least, the ones I know how to use).
Seems to read ok in ADE and Mobi and Calibre readers.

The Indesign-created file is problematic. The hyperlinks created in Word are stripped. Not to mention some of the cool style tricks (like forcing a page at the chapter) and lines go away, etc. And I haven't sorted out hyperlinking in IDcs4v603 yet, seems hard. Fonts are embedded ok.

-bjc
Attached Files
File Type: epub Yes You Can - Brewt.epub (5.2 KB, 348 views)
File Type: mobi Yes You Can - Brewt.mobi (195.9 KB, 324 views)
File Type: prc Yes You Can.prc (6.9 KB, 322 views)
File Type: zip Yes You Can.zip (2.0 KB, 322 views)
File Type: epub yes-no-1.epub (571.9 KB, 362 views)

Last edited by brewt; 06-30-2009 at 04:03 PM.
brewt is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub, ePub, EPUB, warum blos ePub? flowoeB Lounge 5 11-27-2009 09:37 AM
Philosophy Aristotle: Metaphysics, v.1, 31 Jan 2008. Patricia IMP Books 0 01-30-2008 07:22 PM
Philosophy Aristotle: Metaphysics, v.1, 31 Jan 2008. Patricia Kindle Books 1 01-30-2008 07:20 PM
Philosophy Aristotle: Metaphysics, v.1, 31 Jan 2008. Patricia BBeB/LRF Books 0 01-30-2008 07:14 PM


All times are GMT -4. The time now is 04:11 PM.


MobileRead.com is a privately owned, operated and funded community.