08-02-2014, 05:39 PM | #16 | |
Resident Curmudgeon
Posts: 76,440
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
08-03-2014, 02:45 AM | #17 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
That is why we have plugins, like the one JSWolf suggested -- for people who need greater control to get at the innards of the books. Also why we have an editor that can directly edit the source of AZW3 files. |
|
Advert | |
|
08-10-2014, 12:14 PM | #18 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
(I don't include a cover in the epub, after an incident when that kept resulting in two coverage images in the published book.) |
|
08-10-2014, 12:18 PM | #19 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Why isn't that a suitable option for professional formatters? |
|
08-10-2014, 12:21 PM | #20 | |
Resident Curmudgeon
Posts: 76,440
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As for the double cover image, there is a way around that. I'd have to experiment to find the exact method to fix things, but you could put in the cover and not specify it for use in the ePub and specify the cover in the guide. |
|
Advert | |
|
08-10-2014, 07:47 PM | #21 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
He means, for a company like mine, we can't just hand our clients an ePUB and tell them to upload it at the KDP. They expect a MOBI, as well. {shrug}. It's also true that for some things, there are tweaks that should be made, between an ePUBcheck-compliant ePUB and a MOBI, so...we make our mobis from the final ePUBs, with a tweak or two, to make the outcome precisely what we want. Hitch |
|
08-10-2014, 08:05 PM | #22 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
08-10-2014, 08:13 PM | #23 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Probably --- I'm referring to the fact that calibre editor can directly edit the markup in an AZW3, with no need to convert to an intermediate format (and the attendant css flattening and other conversion relics).
|
08-10-2014, 10:50 PM | #24 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
But it doesn't directly edit the markup in an azw3. Sure, it's not doing full-blown conversion, but the raw markup in a binary azw3 file is not standard (x)HTML. There are no filenames, for instance, and the links are offsets, and there's proprietary elements/attributes. Those file names you see in the editor are invented by calibre when it extracts the raw markup and massages the proprietary portions into something that can be easily edited by the user. Then it compiles that back into the kindlebook's proprietary binary database format. You are very much editing an intermediate format.
|
08-11-2014, 04:03 AM | #25 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
When I think about this--and I really don't want to make this about Calibre--I feel as though using a simple ePUB for this purpose is less of an "intermediate" method than using Calibre, for the reasons amply elaborated upon by Diap. What's "intermediate" about an ePUB, all in all? If I make a mobi, and then crack it open, by using an ePUB-->KP or KG, at least what I see when I crank that sucker open is recognizable by me. No weird flattened CSS, (per se) etc. It's the book as I made it--with some "help" from Amazon, of course. Just sayin'. Hitch |
|
08-11-2014, 05:26 AM | #26 | |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
When you edit an epub file you aren't directly editing it either. An EPUB file is really a string of ones and zeros in your computer memory. You really should be editing it with a hex editor. Otherwise you are simply relying on some program, like unzip to convert that string of ones and zeros to a bunch of nice filenames that you can easily edit. Then the zip program compiles all those edited files back into epub's binary database format. Who knows what it's actually doing. And really, *ones and zeros*. Real men dont use binary. Those ones and zeros are just an abstraction of magnetic particles on your hard disk, you should be using a scanning tunneling microsocope to toggle them individually, otherwise you are using a computer to convert those magnetic particles into ones and zeros for you to edit with a hex editor and then compile those ones and zeros back into magnetic particles. It's turtles all the way down. If you want to argue against using calibre's editor to edit azw3 you need to come up with something better than "it's not doing a direct edit". Something like, the editor makes changes to the file that I did not ask it to in the process of converting to/from the azw3 package. Which it does not do. @Hitch: Why dont you actually try it, first. You will find that when you use the editor to edit an azw3 there will be no "weird flattened css". |
|
08-11-2014, 06:48 AM | #27 | |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 08-11-2014 at 07:04 AM. |
|
08-11-2014, 09:38 AM | #28 |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well if it is pedantry that we're indulging in here -- when you unzip an epub and edit it using a text editor, you aren't directly editing the file in the epub either.
Your text editor will convert the raw bytes of the file into a set of characters based on what it thinks the character encoding of the file you are editing is. It is these characters that you will edit (unless you are using a hex editor). There is no guarantee that the character encoding your editor uses will be the same as the character encoding any given epub viewer will use for the same file. Not to mention that if the zip file was created using older/poorly designed zip tools, and it uses non-ascii characters in its filename, it is quite possible that the filenames you get out of the unzip tool will not be the same as the filenames that were put into the epub. Or if you are on windows and the filenames inside the zip file are longer than windows can handle, or they contain characters that are illegal in the filesystem your computer uses and on and on and on... |
08-11-2014, 10:13 AM | #29 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm not certain why you seem to have taken issue with my post. Pendantry or semantics aside; I didn't mean to suggest that calibre's method of allowing users to edit AZW3s is somehow suspect or inferior. In any way. I think editing an AZW3 with calibre's editor is perfectly fine--I do it myself from time to time. I just find that many people are under the impression that azw3 is just a standard epub wrapped up in an Amazon package. I like to let people know it's not quite that simple. That's all.
My apologies if I touched a nerve. It wasn't my intention. |
08-11-2014, 10:23 AM | #30 |
creator of calibre
Posts: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Oh, I was just indulging in a bit of pedantry of my own, this is entirely off topic as far as editing mobi files goes
|
Tags |
edit, epub, mobi, mobipocket, sigil |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Release : New Tool to Edit ePubs TOC, Edit with Sigil and keep you TOC | Nigol | ePub | 105 | 10-29-2012 12:40 PM |
RPATHS - edit them by hand? a helpful tool | twobob | Kindle Developer's Corner | 14 | 10-01-2012 09:28 PM |
ePub Validation Fail after Sigil edit | dm1839 | Sigil | 7 | 10-16-2011 08:59 PM |
whishlist: button/command edit in Sigil | booksonthemove | Calibre | 3 | 03-03-2010 07:30 AM |