Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-18-2009, 11:34 PM   #1
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Mobipocket output

Early adopters,

Kovid has just released calibre version 0.4.129, which integrates at beta quality my support for generating Mobipocket format books. This feature is currently accessible from your favorite command-line shell via the expected ‘oeb2mobi’ and ‘any2mobi’ with the usual options (plus a few new ones).

Benefits and/or failings over other Mobipocket-generation tools:
  • Full markup conversion. Normalizes all input into Mobipocket-specific, pure-formatting markup for as faithful rendering in Mobipocket readers as possible.
  • Standards-compliant input over proprietary extensions. No support for Mobipocket-custom tags in input, but will generate Mobipocket-specific output for corresponding OPS and OPF features such as page breaks and non-linear content (e.g., footnotes).
  • SVG rasterization. Here for the first time, but soon to appear in other format converters near you, full rasterization of SVG vector graphics. Tell all your friends – SVG is now safe and fun for the whole family of e-book readers!
  • In-content TOC generation. Ensures that generated books have a TOC, whether they want one or not. Uses standard metadata TOC (OPF 2.0 NCX etc.) if an in-content TOC is not provided by the source.

Try it out now, and post your bug reports to the calibre trac!
llasram is offline   Reply With Quote
Old 01-19-2009, 04:04 AM   #2
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,656
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
Tried it out. Works really fine so far.

Will the mobi creation be integrated in the GUI (once the beta phase is over?) Oh a little btw: I generate german books, too and I might like to rename the TOC to Inhalt or Inhaltsangabe and french books (Matières or Table de Matières) Any way to do that with the command line tool?

Now the "Inhaltsangabe" is converted to "Table of Contents". That is not very elegant. Still superior to mobigen, though.

Thanks for the work. This will be getting better than Creator.

Last edited by mtravellerh; 01-19-2009 at 04:40 AM.
mtravellerh is offline   Reply With Quote
Advert
Old 01-19-2009, 09:03 AM   #3
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by mtravellerh View Post
Will the mobi creation be integrated in the GUI (once the beta phase is over?)
I believe that is Kovid's plan, yep.

Quote:
Originally Posted by mtravellerh View Post
Oh a little btw: I generate german books, too and I might like to rename the TOC to Inhalt or Inhaltsangabe and french books (Matières or Table de Matières) Any way to do that with the command line tool?
Wow, such a typical American mistake. There is not at this time, but I'll correct that this evening.

Quote:
Originally Posted by mtravellerh View Post
Thanks for the work. This will be getting better than Creator.
Glad you find it useful.
llasram is offline   Reply With Quote
Old 01-19-2009, 01:18 PM   #4
Format C:
Guru
Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.Format C: ought to be getting tired of karma fortunes by now.
 
Posts: 753
Karma: 1496807
Join Date: Jul 2008
Location: The Third World
Device: iLiad + PRS-505 + Kindle 3
Quote:
Originally Posted by llasram View Post
Early adopters,

Kovid has just released calibre version 0.4.129, which integrates at beta quality my support for generating Mobipocket format books. This feature is currently accessible from your favorite command-line shell via the expected ‘oeb2mobi’ and ‘any2mobi’ with the usual options (plus a few new ones).

Benefits and/or failings over other Mobipocket-generation tools:
  • Full markup conversion. Normalizes all input into Mobipocket-specific, pure-formatting markup for as faithful rendering in Mobipocket readers as possible.
  • Standards-compliant input over proprietary extensions. No support for Mobipocket-custom tags in input, but will generate Mobipocket-specific output for corresponding OPS and OPF features such as page breaks and non-linear content (e.g., footnotes).
  • SVG rasterization. Here for the first time, but soon to appear in other format converters near you, full rasterization of SVG vector graphics. Tell all your friends – SVG is now safe and fun for the whole family of e-book readers!
  • In-content TOC generation. Ensures that generated books have a TOC, whether they want one or not. Uses standard metadata TOC (OPF 2.0 NCX etc.) if an in-content TOC is not provided by the source.

Try it out now, and post your bug reports to the calibre trac!




Can't wait to try it!!!!!!!!!
Format C: is offline   Reply With Quote
Old 01-19-2009, 02:36 PM   #5
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
There are not a huge number of ePubs from commercial sources without DRM, but those that do exist provide a relatively wide range of ePub styles for testing. I looked at some of them from a chapter heading viewpoint in Ebook page design. So I tried using any2mobi (default settings) on these examples. About half failed, and I'll post bug reports on calibre trac. One surprise was that all three FeedBooks ePubs I tried failed to work. FeedBooks has its own MOBI option, but we should still be able to convert their ePub to MOBI.

The attached screenshots are from the original ePub (Adobe Digital Editions) and the any2mobi MOBI (Windows MobiPocket Reader).

Appleton's Alice's Adventures is from Adobe's free library. It works well except for color in the chapter header and quotation marks and other special characters which are not displayed correctly (wrong encoding?). MobiPocket isn't capable of wrapping text round an image, so that lack isn't any2mobi's fault.

One of the two Penguin samples I tried failed, the other worked very well except for indenting the start of paragraphs. Penguin's have embedded fonts, which are not being transfered. So far as I can tell, the ebook is just using the reader selected font (Times New Roman).

Rosetta's Red Alert is also in Adobe's free library. Its chapter header isn't transfering well, but the rest looks good except for the indenting of the 1st paragraph.

The threepress Huck Finn again has paragraph indent issues.
Attached Thumbnails
Click image for larger version

Name:	ADE_Chap_Appleton.gif
Views:	1158
Size:	90.4 KB
ID:	21752   Click image for larger version

Name:	WMR_Chap_Appleton.jpg
Views:	1082
Size:	138.1 KB
ID:	21753   Click image for larger version

Name:	ADE_Chap_Penguin2.gif
Views:	1044
Size:	100.6 KB
ID:	21754   Click image for larger version

Name:	WMR_Chap_Penguin2.jpg
Views:	986
Size:	183.9 KB
ID:	21755   Click image for larger version

Name:	ADE_Chap_Rosetta.gif
Views:	964
Size:	83.7 KB
ID:	21756   Click image for larger version

Name:	WMR_Chap_Rosetta.jpg
Views:	995
Size:	170.3 KB
ID:	21757   Click image for larger version

Name:	ADE_Chap_threepress.gif
Views:	932
Size:	132.9 KB
ID:	21758   Click image for larger version

Name:	WMR_Chap_threepress.jpg
Views:	871
Size:	202.8 KB
ID:	21759  

Last edited by wallcraft; 01-19-2009 at 02:38 PM.
wallcraft is offline   Reply With Quote
Advert
Old 01-19-2009, 03:16 PM   #6
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by wallcraft View Post
Appleton's Alice's Adventures is from Adobe's free library. It works well except for color in the chapter header and quotation marks and other special characters which are not displayed correctly (wrong encoding?).
Doh!, color! I forgot to add that to my written oeb2mobi todo list and apparently thus forgot to add color support to oeb2mobi. Watch for it in a later release...

I actually had tested converting that edition of Alice, but only with oeb2mobi. It's possible I introduced a regression, or that the error is in the any2* plumbing... I'll take a look this evening.

Quote:
Originally Posted by wallcraft View Post
One of the two Penguin samples I tried failed, the other worked very well except for indenting the start of paragraphs.
The extra spacing is added by the any2* option '--remove-paragraph-spacing'. Which, um, presently seems to be on by default with no way to turn it off. Kovid, am I missing something?

Quote:
Originally Posted by wallcraft View Post
Penguin's have embedded fonts, which are not being transfered. So far as I can tell, the ebook is just using the reader selected font (Times New Roman).
Mobipocket doesn't support font-embedding, so not much to be done there.

Quote:
Originally Posted by wallcraft View Post
Rosetta's Red Alert is also in Adobe's free library. Its chapter header isn't transfering well, but the rest looks good except for the indenting of the 1st paragraph.
No idea why that's happening... I'll have to grab a copy and see what's up.
llasram is offline   Reply With Quote
Old 01-19-2009, 03:25 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by llasram View Post
The extra spacing is added by the any2* option '--remove-paragraph-spacing'. Which, um, presently seems to be on by default with no way to turn it off. Kovid, am I missing something?
Typo, fixed. Now off by default. You can turn it off with
opts.remove_paragraph_spacing = False
kovidgoyal is offline   Reply With Quote
Old 01-19-2009, 04:02 PM   #8
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by llasram View Post
Mobipocket doesn't support font-embedding, so not much to be done there.
It does in principle support specifying the font, which would presumably work if the font is available on the device. However, MobiPocket strongly recommends against specifying the font so perhaps this is an area best left alone.
wallcraft is offline   Reply With Quote
Old 01-19-2009, 04:14 PM   #9
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,656
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
Quote:
Originally Posted by wallcraft View Post
It does in principle support specifying the font, which would presumably work if the font is available on the device. However, MobiPocket strongly recommends against specifying the font so perhaps this is an area best left alone.
Absolutely, as the Mobi readers are spread over a wide range of OS's, the result tends to be quite desastrous if a font is not present in the system (I once saw a book in glorious Courier!)
mtravellerh is offline   Reply With Quote
Old 01-20-2009, 02:37 AM   #10
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by wallcraft View Post
Rosetta's Red Alert is also in Adobe's free library. Its chapter header isn't transfering well, but the rest looks good except for the indenting of the 1st paragraph.
Huh. I just fired up ADE on a Windows VM and grabbed Red Alert, but the version I was able to download is DRMed. So the mystery of the missing headers must live on...
llasram is offline   Reply With Quote
Old 01-20-2009, 02:57 AM   #11
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by llasram View Post
Huh. I just fired up ADE on a Windows VM and grabbed Red Alert, but the version I was able to download is DRMed. So the mystery of the missing headers must live on...
Perhaps you got the PDF version. The ePub is here. All Adobe's sample ePubs are here.
wallcraft is offline   Reply With Quote
Old 01-20-2009, 09:38 AM   #12
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by wallcraft View Post
Perhaps you got the PDF version. The ePub is here. All Adobe's sample ePubs are here.
Nope, that's the URI I downloaded from, and what it netted me is a DRMed EPUB. It oddly enough did have a ".pdf" extension, but examining the file itself showed it to be a ZIP archive with the proper EPUB trappings plus a META-INF/encryption.xml covering all the files, all of which are in fact Adept DRM encrypted.
llasram is offline   Reply With Quote
Old 01-24-2009, 03:17 PM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Version 0.4.130 has integrated MOBI output into the GUI. It should be working for all file types except comics.
kovidgoyal is offline   Reply With Quote
Old 01-24-2009, 04:16 PM   #14
DDHarriman
Guru
DDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura aboutDDHarriman has a spectacular aura about
 
Posts: 860
Karma: 4380
Join Date: Feb 2008
Location: Almada, Portugal
Device: Cybook Gen3, Sony PRS 505, Kindle DXG and Samsung Galaxy Note
Yes it does, and it's great already!

Problems:

1 - image of the eBook cover, shows in the Cybook, does not show in Mobipocket Reader for the Desktop and for the PokectPC;

2 - it would be great if existed and option to compress the mobi file - mobipocket creator has 3 levels and if the 3th (high compression) takes a lot of time and it’s good just for compressing dictionaries, the 2th (standard compression) is acceptable and cuts the size of the eBook in half at least.

I understand that using any2mobi in command line one can do the compression I ask in (2), so I think is a question of time.

Let me say, it’s now outstanding stable and creates great files.

Thank you for the hard work put into this,
DDHarriman is offline   Reply With Quote
Old 01-24-2009, 04:47 PM   #15
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by DDHarriman View Post
1 - image of the eBook cover, shows in the Cybook, does not show in Mobipocket Reader for the Desktop and for the PokectPC;
When I had this problem with MobiPerl it was because I had not set the correct pointers in the MobiHeader.
tompe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
main menu, section menu, css for calibre mobipocket output naisren Calibre 2 08-24-2010 12:42 AM
Trying to get consistent look to all output daveps Calibre 0 03-08-2010 03:18 PM
Anyone Have mobipocket desktop? Mobipocket server is down. Ireadfreely Kindle Formats 3 10-27-2008 11:29 AM
convert from 'new' mobipocket to 'old' mobipocket? Indigo Ink Kindle Formats 11 06-22-2008 02:43 AM
Mobipocket Reader 4.8 and Mobipocket eNews Creator Mobipocket Reading and Management 1 01-29-2004 09:03 AM


All times are GMT -4. The time now is 10:16 AM.


MobileRead.com is a privately owned, operated and funded community.