View Single Post
Old 05-19-2009, 11:33 AM   #1
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,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Test for custom entities in ePUB

Hi,

In this thread it was suggested the use of custom entities (like ’ or — ) as a possible typographic tool. I would like to test it and see if (and how) different ePUB readers support it. Basically, the trick is adding entity definitions to the DOCTYPE line.

In this file I've used &loquo; and &roquo; for outer quotes and &liquo; and &riquo; for inner quotes, as well as ≈ for apostrophes. Chapter 1 has the definitions in-line, while Chapter 2 uses an external file (this would be preferable, since it allows changing all chapters in a single place).

I've tried with Calibre, and Chapter 1 (internal) works, but Chapter 2 (external) doesn't. Besides, both chapters show some garbage at the top. Could you try with other readers and maybe test other possible solutions?
Attached Files
File Type: epub DorianGray.epub (90.0 KB, 719 views)

Last edited by Jellby; 07-15-2009 at 03:31 AM.
Jellby is offline   Reply With Quote