View Single Post
Old 03-08-2015, 01:34 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
lists in ereaders are a big hassle, since many ereaders do not seem to support it very well. e.g. my Kindle randomly restarts from item one every once in a page turn or three.

I ended up using paragraphs with the list number inserted, and used the following CSS:
Code:
.listindent_1 {
  text-align: left;
  text-indent: -1.1em;
  margin-left: 1.8em;
}
.listindent_2 {
  text-align: left;
  text-indent: -1.6em;
  margin-left: 1.8em;
}
.listindent_3 {
  text-align: left;
  text-indent: -2.1em;
  margin-left: 1.8em;
}
Granted, that is awkward and requires manually setting each paragraph -- but calibre's new Functions Replace mode can do the work for you. Too bad it didn't exist yet when I started out instead I used bash, readline, a for loop, and echo, then pasted into the editor.

Last edited by eschwartz; 03-08-2015 at 01:37 AM.
eschwartz is offline   Reply With Quote