View Single Post
Old 09-05-2007, 11:59 AM   #11
Xenophon
curmudgeon
Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.
 
Xenophon's Avatar
 
Posts: 1,487
Karma: 5748190
Join Date: Jun 2006
Location: Redwood City, CA USA
Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500
Quote:
Originally Posted by mdhuang View Post
Hmmm. I downloaded v1 and it has 64 TOC items. It took only a second to open it. Seems that html2lrf generated books may have some issues with TOC...

I may need to play with some of the html2lrf options when I have time to see if it can be improved.
I haven't had any problems with this. But please note: If you are converting Baen books you really really want to use the --baen switch on html2lrf! The reason is that the Baen html files include an anchor for each paragraph in the book. Html2lrf faithfully converts these into anchors for in the lrf file. The Reader is then super-slow on any action that uses links in that file. It even gets slow on page-turns if the book is large enough.

The --baen switch strips these extra anchors from the html before (or maybe during) the conversion. Kovid added that switch for me a couple months ago to make the converter useful on Baen content.

Xenophon

P.S. The 'extra' anchors aren't useless, by the way. If you are reading in a browser in framed mode, they give you a sequential paragraph number as you mouse over text. This is a GOOD THING (tm) when reporting typos and bugs in the book. It's just that it is useless on the Reader.
Xenophon is offline   Reply With Quote