Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 10-09-2013, 04:44 PM   #601
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by tacitus View Post
Yeah, I guess my terminology was inaccurate. Really what I mean (in MS Word terms) is for the "before" paragraph spacing attribute to be honored after a page-break (i.e. at the start of a new chapter).
That's because Word uses pages. There aren't any "pages" in an ebook, not really. There's no top-of-page, and thus...

Quote:
KF8 seems to handle that just fine, and by the time my next book is ready, I guess it may be time ditch the old format altogether.
I'm really not trying to be argumentative, but it doesn't, actually. To get any type of "top-margin" to work for K8, you need separate HTML files for each chapter and/or section of frontmatter, which then accepts the top of the HTML file as the "top of the page," (essentially--I'm mis-speaking, but I'm trying to explain) and then moves the content to the correct place, e.g., top-margin: 2em or whatever the setting is.

Quote:
(Does Amazon keep stats on the number of old-format-only devices out there, in the same way Google tracks the different versions of Android?)
No, but we know that there are still literally millions of K-1's, K-2's, DX's and early K3's (that didn't upgrade) out there.

Quote:
FWIW, this is what Calibre generates for mobi7:

Code:
 <p height="0pt" width="0pt" align="center">
  <font size="2">*</font>
 </p>
The * is actually 0xa0 (which is the ASCII version of correspond to &nbsp; )
Well, as you say it works on the devices, I can't argue--I have to assume that Calibre subsequently parses that and makes it work. If I put that in an ePUB I was going to convert via KG or KP, it would display asterisks with a 2x font-size, not blank paragraphs. I assume that you'll download a copy of the on-sale book ASAP, and check it in real devices, etc.? (Sorry: I don't recall which devices you said you had or don't have).


Quote:
I assume if you specify KF8 instead, it will generate something different, but I suspect they will try to preserve the spacing in some way. They did a passable job of faking small caps for mobi7 (not good enough for me to want to use, but still...) by capitalizing the text and setting the appropriate font sizes.
Those aren't small-caps; they're Raised Initials, and it's the only sort of faux-caps available for K7. They're extensively used for K7 and in K7 fallback coding for more-advanced books using media-queries.

Best of luck to you on your book sales.

Hitch
Hitch is offline   Reply With Quote
Old 10-09-2013, 05:29 PM   #602
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by Hitch View Post
Those aren't small-caps; they're Raised Initials, and it's the only sort of faux-caps available for K7.
You're using some terminology I don't understand, or you've misunderstood.

SMALLCAPS IS WHAT WAS DESCRIBED, I thought.

Raised Initials is surely something different?
pdurrant is offline   Reply With Quote
Advert
Old 10-09-2013, 06:07 PM   #603
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by pdurrant View Post
You're using some terminology I don't understand, or you've misunderstood.

SMALLCAPS IS WHAT WAS DESCRIBED, I thought.

Raised Initials is surely something different?
PDurrant:

I likely misspoke. I was making an assumption, based upon the fact that he used a K7 mobi generated by Calibre. He said something along the lines of using caps and setting a font-size. What I most commonly see from Calibre-made MOBI K7 files is a Raised Initial in lieu of a Dropcap.

If he meant a faux small-cap...actually, given the extremely limited font-size manipulation for K7, I can't see that working at all. So, I give up on that topic, without actually seeing it (the code/book).

Yes, I concur, what you are displaying as a Raised Initial and Smallcaps are what I mean when I say, "Raised Initial" versus "smallcaps." I vaguely recall trying to force a faux small-cap in K7, upon a client's unrelenting insistence, about....2 years ago, and while it worked "somewhat" in K2 and K3, it didn't work worth dog's bollocks in Kindle for X (anything) and was fairly catastrophic in Kindle for iPad, if memory serves.

Or it seemed to work in one reader, but was unreadably small in the other...really don't recall. As you would know better than almost anyone, when you try to use incremental font-sizes in K7, it simply rounds up or down to the next-available font-size (e.g., small, very small, medium, large, very-large) or one of the 8 available font sizes that already display as font-size options on the device.

So, yes, I stand corrected on this poster's intent; and yes, we are talking about the same things when we use the same words.

Hitch
Hitch is offline   Reply With Quote
Old 10-10-2013, 02:52 AM   #604
tacitus
Member
tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.tacitus ought to be getting tired of karma fortunes by now.
 
Posts: 11
Karma: 288770
Join Date: Jun 2012
Device: none
Quote:
Well, as you say it works on the devices, I can't argue--I have to assume that Calibre subsequently parses that and makes it work. If I put that in an ePUB I was going to convert via KG or KP, it would display asterisks with a 2x font-size, not blank paragraphs. I assume that you'll download a copy of the on-sale book ASAP, and check it in real devices, etc.? (Sorry: I don't recall which devices you said you had or don't have).
The HTML was post-Calibre, though pre-KindleGen, and I tested it on a Kindle Touch, the Android Kindle App (Nexus 10), and the web preview. They all looked fine. I'll be asking my friends to report any formatting issues back to me on their devices, so I should hear if anything is too badly amiss. It wouldn't be terrible if I had to change something -- it only affects a couple of pages.

Quote:
No, but we know that there are still literally millions of K-1's, K-2's, DX's and early K3's (that didn't upgrade) out there.
Nice to know, but it would be very helpful if Amazon would publish actual usage stats. They wouldn't even have to publish numbers, just a piechart showing the proportional share of each device type. At some point, K7 device usage will shrink to the point where it won't be worth maintaining both formats, and it and its quirks will go the way of IE6.

Anyway, I guess we're wandering way off topic here...
tacitus is offline   Reply With Quote
Old 10-10-2013, 09:32 AM   #605
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by tacitus View Post
Nice to know, but it would be very helpful if Amazon would publish actual usage stats. They wouldn't even have to publish numbers, just a piechart showing the proportional share of each device type. At some point, K7 device usage will shrink to the point where it won't be worth maintaining both formats, and it and its quirks will go the way of IE6.
In my humble opinion, there's really no decision for the ebook creator/designer/author/whatever to make on that subject. So there's really no need to publish stats. Amazon will simply stop delivering the original mobi7 format when it reaches that point of diminishing returns. With that in mind, I'll feel obligated to make sure that any ebook I design will gracefully degrade to the mobi7 format until such time as a user cannot BUY it for a device that needs that format.

In short: if Amazon is still selling my ebook to customers in the mobi7 format, it's my responsibility to see that they've purchased quality, and not just a "let the chips fall where they may" vestigial appendage of the KF8 conversion process.
DiapDealer is offline   Reply With Quote
Advert
Old 10-10-2013, 02:38 PM   #606
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DiapDealer View Post
In my humble opinion, there's really no decision for the ebook creator/designer/author/whatever to make on that subject. So there's really no need to publish stats. Amazon will simply stop delivering the original mobi7 format when it reaches that point of diminishing returns. With that in mind, I'll feel obligated to make sure that any ebook I design will gracefully degrade to the mobi7 format until such time as a user cannot BUY it for a device that needs that format.

In short: if Amazon is still selling my ebook to customers in the mobi7 format, it's my responsibility to see that they've purchased quality, and not just a "let the chips fall where they may" vestigial appendage of the KF8 conversion process.
Not to mention, but:

which book's "usage stats" would they provide? A bestseller by Dan Brown, or a romance novel? I imagine that the stats vary wildly. Amazon would have to take an aggregate figure, over some time period, and put out the stats.

To me, it also does not matter; if even a mere two people are going to buy a client's book in K7, they deserve as much attention as the others who are buying it in K8. I've mentioned here on MR before that I am a little disturbed at a fairly cavalier dismissal (this is not directed at Tacitus) of the K7 users and the formatting needed for graceful degradation for those devices. I'm pretty constantly surprised that the vast majority of my clients (now numbering over 2,000, which amazes me) have K2 devices or original or 2nd-Gen Nooks. So...if we take that as anything to go by...

Hitch
Hitch is offline   Reply With Quote
Old 10-10-2013, 03:44 PM   #607
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Hitch View Post
To me, it also does not matter; if even a mere two people are going to buy a client's book in K7, they deserve as much attention as the others who are buying it in K8. I've mentioned here on MR before that I am a little disturbed at a fairly cavalier dismissal (this is not directed at Tacitus) of the K7 users and the formatting needed for graceful degradation for those devices.
Oh absolutely. I feel the same way (and I too, would like to make it clear that I'm not targeting Tacitus--who was merely asking questions).

To me, it's quite simple really: the two people who buy your client's book in the K7 format are paying the exact same price as those who buy it in the KF8 format. If it's my work, I OWE those two people the same quality experience (or as close as I can possibly get to it) that the others are getting. That's it.
DiapDealer is offline   Reply With Quote
Old 10-27-2013, 10:40 AM   #608
nva1991
Junior Member
nva1991 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: ipad
Hi!
Thanks for the great plugin. I have unpacked some PDFs from AZW4 files
But today, when i tried with a file >300Mb, the plugin did not work!
Here is the error:
calibre, version 1.2.0
ERROR: Unhandled exception: <b>Exception</b>:Problem locating unpacked pdf.
Code:
calibre 1.2 Portable isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.4
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "calibre_plugins.kindleunpack_plugin.extraction", line 225, in print_replica
  File "calibre_plugins.kindleunpack_plugin.utilities", line 275, in getPDFFile
Exception: Problem locating unpacked pdf.
Could you please tell me what is the problem? And how can i fix it? If you need, i will send you the AZW4 file via PM.
I use Windows 7 64 bit, 8Gb RAM.
Thank you!
nva1991 is offline   Reply With Quote
Old 10-27-2013, 11:38 AM   #609
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
This might be a plugin-only issue ... in which case, there's a separate thread in the calibre forum for it. We'll see. I'm not sure memory management was ever a very big priority with KindleUnpack, so the huge filesize itself could definitely be the culprit.

I suggest trying the standalone KindleUpack program available in the first post of this thread. If that successfully unpacks the AZW4, then clearly I need to see what the plugin is doing wrong/different.

Let's go from there. I frankly don't want to try and deal with a 300+Mb test file.

Also, try just unpacking the AZW4 to an external folder (with the plugin) rather than "Extracting" the PDF. See what shows up in that folder.

Last edited by DiapDealer; 10-27-2013 at 12:00 PM.
DiapDealer is offline   Reply With Quote
Old 10-27-2013, 12:16 PM   #610
nva1991
Junior Member
nva1991 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: ipad
I have figured it out!
I downloaded KindleUnpack_v62.zip, then run the .pyw file (with Active Python installed), it successfully unpack the PDF file!
Thank you so much!
I have another problem that:
When i try to remove DRM from [print replica] book, for books >400 Mb, my program (EPUBEE) does not works. It asks the Kindle Serial Number, but i do not have Kindle, i download them on PC. Books <400Mb can be decrypted normally!
Opening books >400Mb by kindle for PC is a pain, it loads very slow, sometimes hangs the computer.
Is there any python script to remove DRM from [print replica] without using Callibre?
nva1991 is offline   Reply With Quote
Old 10-27-2013, 12:51 PM   #611
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by nva1991 View Post
When i try to remove DRM from [print replica] book, for books >400 Mb, my program (EPUBEE) does not works. It asks the Kindle Serial Number, but i do not have Kindle, i download them on PC. Books <400Mb can be decrypted normally!
Opening books >400Mb by kindle for PC is a pain, it loads very slow, sometimes hangs the computer.
Is there any python script to remove DRM from [print replica] without using Callibre?
Detailed help with DRM removal is not permitted at MobileRead.

As you've been fooled into paying for a DeDRM program, you might at least try to get support from them.

Otherwise, I suggest trying the latest (free!) tools from Apprentice Alf.

Last edited by pdurrant; 11-05-2013 at 05:32 AM.
pdurrant is offline   Reply With Quote
Old 10-28-2013, 04:31 AM   #612
nva1991
Junior Member
nva1991 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: ipad
Thank you!
Is anyone successful in decrypt KNO textbook? It is a PDF file but the common program can not decrypt it...
I have been waiting for so long but still no program can do it!
nva1991 is offline   Reply With Quote
Old 10-28-2013, 04:34 AM   #613
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by nva1991 View Post
Thank you!
Is anyone successful in decrypt KNO textbook? It is a PDF file but the common program can not decrypt it...
I have been waiting for so long but still no program can do it!
As I mentioned before, detailed help with DRM removal may not be given on MobileRead. I suggest you ask elsewhere.
pdurrant is offline   Reply With Quote
Old 11-04-2013, 09:15 AM   #614
nva1991
Junior Member
nva1991 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: ipad
But is there anyone successful?
nva1991 is offline   Reply With Quote
Old 11-04-2013, 09:55 AM   #615
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by nva1991 View Post
But is there anyone successful?
That's not relevant here. KindleUnpack is not a DRM removal tool. Even if this discussion were within the bounds of Mobile Read rules, this thread would not be the place to ask your question.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can i rotate text and insert images in Mobi and EPUB? JanGLi Kindle Formats 5 02-02-2013 04:16 PM
PDF to Mobi with text and images pocketsprocket Kindle Formats 7 05-21-2012 07:06 AM
Mobi files - images DWC Introduce Yourself 5 07-06-2011 01:43 AM
pdf to mobi... creating images rather than text Dumhed Calibre 5 11-06-2010 12:08 PM
Transfer of images on text files anirudh215 PDF 2 06-22-2009 09:28 AM


All times are GMT -4. The time now is 12:28 AM.


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