![]() |
#61 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I still have a bug that causes the Gen3 to crash if I use images larger than a certain size (e.g. 600x800). If I reduce the size so that the width is 480 it works. So does anybody have any idea about something in the MOBI header that could cause this?
|
![]() |
![]() |
![]() |
#62 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Do they work in mobigen generated files? It could be just a limitation of Cybook's viewer.
|
![]() |
![]() |
![]() |
#63 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Yes. The Alice mobi-file contains a gif (the cover) that is 600x800 and it works on the Cybook. Hum, I use version 3 in my generated file and the working file use version 4. Maybe I should test version 4 also.
|
![]() |
![]() |
![]() |
#64 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
With version 4 I got Multiformat book not supported on the Cybook. But version 4 worked on my T5. And on my T5 my generated file with the 600x800 image works.
A bit hard to debug when the error only is on the Cybook. I attach the file that crashes my Cybook but works on my T5. It would be nice to know it the file works or not on other readers (you cannot upload .mobi files...) |
![]() |
![]() |
![]() |
#65 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,245
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#66 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
This works using Windows MobiPocket Reader and the Palm MobiPocket Reader on my Nokia 770. It also works on both devices using FBReader, although FBReader does not currently have an image scaling or navigating option so the cover image is too big for the 770's screen (the internal images are small enough to fit on the screen).
|
![]() |
![]() |
![]() |
#67 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
It also works on the Kindle. I have a serious USB cable management issue with all these Readers.
|
![]() |
![]() |
![]() |
#68 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#69 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
Does the Kindle have a "library image"? It is a bit irritating that it works better on the Kindle then on the Cybook :-) In the working file from Mobipocket there is a small image in the last image record that probably is this library image. But on the Cybook the library image works even if I remove this last image record. So I suspect that it uses the first image as the library image and that the bug might be that the library image cannot be 600x800. So the question is how you point out which record to use as a library image. I looked for a pointer in the MOBI header but did not find anything obvious. |
|
![]() |
![]() |
![]() |
#70 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
That the chapters does not start at the top of the page is a real bug (I am loosing the Mobipocket specific tags). There is a flag to put the TOC after the cover page also. According to the opf file you should only put it last. Ths inside images looked better on my T5 with regard to the size.
|
![]() |
![]() |
![]() |
#71 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
There is a version 0.04 available at http://www.ida.liu.se/~tompe/mobiperl/
I fixed the bug with the missing pagebreak. I will continue to work on these tools when I have time and especially when I notice some problems when I use the conversion tools or when somebody else reports a problem. Or when new information about the MOBI header becomes available... |
![]() |
![]() |
![]() |
#72 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Dec 2007
Location: Aachen
Device: Gen3
|
Hello tombe,
I currently try to convert some HTML files that contain lots of sample code. The pages come from various chm files and most of them use the <PRE> tag for the sample code sections. According to this page: http://www.mobipocket.com/dev/articl...TagRef_OEB.htm The PRE tag is not supported by Mobipocket readerand so the result is pretty unreadable (all the formatting of the source code sections is removed and you end up with a single line of code). Since you already do some HTML parsing/replacing, I would love to see html2mobi reformat the <pre> sections (Adding html line breaks, tabs and setting a different font). BTW: What about adding a CHM decompiler like chmdump, so I can be more lazy ?! ;-) |
![]() |
![]() |
![]() |
#73 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
See PRE tag problem, need support on the MobiPocket Forum, which recommends replacing each space by among other things. I don't think MobiPocket can specify a generic fixed font though. You would also use
Quote:
Last edited by wallcraft; 12-30-2007 at 07:48 PM. |
|
![]() |
![]() |
![]() |
#74 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
The <pre> support should be possible to do as easily. Do you know where I can find some suitable example chm files?
|
![]() |
![]() |
![]() |
#75 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Dec 2007
Location: Aachen
Device: Gen3
|
MSDN magazin can be downloaded for free as compiled html (pretty hardcore .chm files though):
http://msdn.microsoft.com/msdnmag/chm/ If you just look for code in <pre> tag examples, Oreilly open books do contain that. For example: http://www.masonbook.com/book/ Several Wrox and Addison Wesley titels came with a .chm version on the book CD. (Maybe you have one) I would like to sent you a chm book, that even does have ACSCI tables in <pre> tags. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
html2mobi - html formatting | brunovg | Kindle Formats | 2 | 12-13-2009 05:56 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 |
lit2mobi written in Perl working | tompe | Bookeen | 7 | 01-19-2008 01:06 PM |
MobiPocket TOC using mobigen | wallcraft | Reading and Management | 4 | 12-07-2007 09:45 AM |