Quote:
Originally Posted by DiapDealer
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.
|
Let's apply a bit of reductio ad absurdum to that.
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".