View Single Post
Old 01-04-2009, 02:37 PM   #14
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: 6,309
Karma: 4898871
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
The biggest problem with mobipocket, format-wise, is that (as far as I know) it only allows to set vertical spacing above elements, so if you want to have some space below a chapter heading, or a piece of poetry, or an indented block... you have to set the space (with "height") in the element below that (a paragraph, a div, or whatever).

I create mobipocket books with html2mobi, from very simple HTML. Basically, I use only <P>, <DIV>, <I>, <B>, <Hx>, <A>, <IMG>... (sometimes <BR>, <SUP>, <HR>... if needed), and the only properties are "align", "height" (for vertical space) and "width" (for first-line paragraph indent (and "href" for <A>, "src" for <IMG>). The pagebreaks I add them with <mbp:pagebrak/>, and the guide items are defined in the <head>. If someone is interested in seeing any of my source files, just ask by PM.

EDIT: Oh, and I encode everything in ASCII, so I write &mdash;, &eacute;, etc. (or rather let a program write them).

Last edited by Jellby; 01-04-2009 at 02:40 PM.
Jellby is online now   Reply With Quote