
James Adcock wrote:
So why do the PG generated mobis do not have a TOC ?
Better ask mobipocket. We use their official 'mobigen' conversion tool for linux.
Mobipocket is Amazon. The latest version of mobigen is called kindlegen at:
http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000234621
kindlegen tells me that it builds a TOC. Now if Amazon would release their "Kindle for PC" for Linux too, I could actually check the generated files... knowing that the Kindle runs on Linux where's the big holdup? $ ./kindlegen pg31142.epub *********************************************** * Amazon.com kindlegen(Linux) V1.0 build 85 * * A command line e-book compiler * * Copyright Amazon.com 2009 * *********************************************** opt version: try to minimize (default) Info(prcgen): Added metadata dc:Title "On the Nature of Thought / or, The act of thinking and its connexion with a perspicuous sentence" Info(prcgen): Added metadata dc:Date "2010-01-31" Info(prcgen): Added metadata dc:Creator "John Haslam" Info(prcgen): Added metadata dc:Rights "Public domain in the USA." Info(prcgen): Added metadata dc:Source "http://www.gutenberg.org/files/31142/31142-h/31142-h.htm" Info(prcgen): Parsing files 0000001 Info(prcgen): Resolving hyperlinks Info(prcgen): Building table of content URL: /tmp/fileY6tCul/31142/toc.ncx Info(prcgen): Computing UNICODE ranges used in the book Info(prcgen): Found UNICODE range: Basic Latin [20..7E] Info(prcgen): Found UNICODE range: General Punctuation - Windows 1252 [2013..2014] Info(prcgen): Found UNICODE range: Latin-1 Supplement [A0..FF] Info(prcgen): Building MOBI file, record count: 0000023 Info(prcgen): Final stats - text compressed to (in % of original size): 054.13% Info(prcgen): The document identifier is: "On_the_Natur-cuous_sentence" Info(prcgen): The file format version is V6 Info(prcgen): Saving MOBI file Info(prcgen): MOBI File successfully generated! $ -- Marcello Perathoner webmaster@gutenberg.org