View Single Post
Old 01-14-2009, 11:43 AM   #8
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,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by llasram View Post
I did, and meant to mention that. They're very close. The only differences I noticed: ...
Well, I should mention that I did not create the two versions from the same source. Actually, I first created the mobi version with the suported mobi markup, and then converted this to XHTML, adding the appropriate tags and CSS, so there are surely differences in spacing, etc. In the mobi version I think I specify all spacings in ems.

Quote:
Originally Posted by llasram View Post
The "Start Reading" link is kind of weird -- I don't think that one is in the file itself, nor did I see it in Mobipocket Desktop. Where does it link to?
In my tests with the Cybook, I think I discovered how it works. The Cybook adds a guide item called "Start Reading" (which is translated when you change the UI language, just like "Last Page", etc.), this item seems to point to the the target of the first internal link. Normally, you'd have a TOC at the beginning, and "Start Reading" will point to the first entry in the TOC. But if you want it to point somewhere else, it is possible to add an empty link before the first entry thus: "<A HREF="#start_reading_target"></A>". The Cybook does not render this link, and when pressing "down" it does not cycle through this link, but it makes "Start Reading" point there.

And of course, if you add something called "Start Reading" or "Beginning" or whatever to the guide, it will be duplicated, there will still be the special "Start Reading" link (and the one added by you won't be translated to different languages).
Jellby is offline   Reply With Quote