![]() |
#1 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
MobiPocket TOC using mobigen
MobiPocket's command line tool, mobigen.exe, is for Windows only, but danx found it to be usable via Wine on Linux (and presumably OSX). It is a free download from the Mobipocket Developer Center. This tool takes either a single .html file or an OEB .opf file and creates a .mobi file. The thread Images in MobiPocket, notes that .jpg images and the new -jpeg option to mobigen will produce the best possible images for larger screens. However, we don't have an easy way to create a Table of Contents (TOC) that MobiPocket will recognize - so most .mobi (.prc) files posted here have an in-lined TOC near the start. This allows navigation, but isn't recognized by MobiPocket Reader as a TOC (e.g. it isn't attached to the TOC icon on the iLiad) and so isn't optimal.
MobiPocket's Creator software can automatically build a TOC from HTML files, but that is a hit or miss process and in any case it isn't an option with mobigen. However, you can create your own separate TOC.html file. As described on the MobiPocket Forum: Quote:
|
|
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,658
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What I really want ot do is start with a single HTML file that already has the ToC inside. Mobipocket Creator has options for specifying the ToC, but I have no clue how to use it. So if someone could explain it, then maybe I could use that to do it from the single HTML. But as it is, it seems that generating Mobi format is a royal pain. I want one file to do it all. And with html2lrf and the Creator, I should be able to. But thanks to the mess Mobipocket made of their tools, it's not that easy.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,020
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Since this is mobipocket, I don't really care, but it seems to me that it should be the work of a couple of hours to write a script that automates the creation of the opf and calling mobigen.
|
![]() |
![]() |
![]() |
#4 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I must admit that personally I'm not that fussed about having a "proper" TOC in a Mobi file. The approach we're all using at the moment of having an "in line" TOC at the front of the book works perfectly well.
|
![]() |
![]() |
![]() |
#5 |
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Interesting topic. I'm currently working on the Mobipocket output for Feedbooks, we'll add proper TOC support in our files.
We'll also support covers (important for the Cybook) a bit later. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
TOC Creation & Calibre vs. MobiPocket | Themus | Calibre | 8 | 05-15-2010 11:32 AM |
TOC question re Mobipocket file from ePub via Calibre | MichaelGray | Kindle Formats | 0 | 02-26-2010 07:53 AM |
Mobigen Mobigen (KindleCreator) for Linux now available | wallcraft | Kindle Formats | 31 | 03-17-2009 12:32 AM |
Old Version Mobigen needed | wilko10 | Kindle Formats | 11 | 11-25-2008 08:10 PM |
Does someone still have Mobigen 6.01 build 37? | IceHand | Kindle Formats | 7 | 03-03-2008 05:04 PM |