View Single Post
Old 08-13-2009, 09:56 AM   #2
markbond1007
Connoisseur
markbond1007 doesn't littermarkbond1007 doesn't litter
 
Posts: 57
Karma: 122
Join Date: Jul 2008
Device: CyBook Gen3, Sony PRS-600
Quote:
Originally Posted by mysweety View Post
I have been trying to convert a book from html for my hanlin.

The book is http://oll.libertyfund.org/index.php...temid=99999999

Jacob Bruckhardt - History and historians.
The original format is one html with index and it has some greek text embedded.

I have tried 3 formats:

MOBI. The reult is satisfactory but I cannot use the TOC - there is a TOC but I cannot follow the links and am thrown to the end of the book.

EPUB. The text is a bit small so I have tried to increase the size by putting different values in the look and feel. The results do not change when I use these different values. There is a TOC but I cannot make links.

TXT. The text is satisfactory in size but the greek letters are not displayed properly and the "it's" becomes "ittm s".

My question really is which format to use and how to get a TOC which can have links and works - the book has 143 sections.

Thanks.
Okay to start with you need to chop out everything except the book itself so from:

Code:
<div id="lf_content">
down to:
Code:
 (Translator's note.)</p>

</div>
then import that, then in the TOC generator (epub output)

Code:
Level 1: //h:li[re:test(@id, "con_*", "i")]

Level 2: //h:span[re:test(@class, "indent1", "i")]
Mark
markbond1007 is offline   Reply With Quote