![]() |
#1 |
JCL Punch-Card Collector
![]() Posts: 53
Karma: 10
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
|
Internal Filenames AZW/KFX --> Epub
When converting books from AZW and KFX formats (and, in my recollection, mobi) to Epub, the cover is assigned the filename (inside the epub, visible in the editor) "titlepage.xhtml," which is then marked as the "cover." Usually (sometimes there's a duplicate at the bottom of the epub text\ file list that's marked as the cover).
The W3C documents don't specify a name for the cover, or for the title page, but it's a lot easier if I need to go back later if the "wrapper parts" of a book are named consistently. So I end up manually renaming... which is annoying for a batch conversion... and leads to a two-part question: (1) Is the postconversion filename for "titlepage.xhtml from Kindle-family files to epub" hardcoded into Calibre? (2) If it is, instead, somehow available for user choice, how would a user do that (and have that choice persist through version updates)? If this is just not possible, it's just not possible... but when version 8 gets released, maybemaybemaybe reset anything that's hardcoded in Calibre so it calls the cover "cover.xhtml" (or "coverpage.xhtml" if there's possible confusion with "cover.jpeg"/"cover.jpg") instead? |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,656
Karma: 85000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Whenever calibre is instructed to replace the cover of a book, either during a conversion or polish operation, it will change the name of the HTML file containing the cover to titlepage.xhtml. That name is hardcoded into calibre. I do not know why that name was chosen but it has long been the case. There is a recent thread somewhat related to this: giude item "cover" displayed as "Title page"
Avoid replacing the original cover in the book to prevent the change of the file name during conversion. In the metadata tab of the conversion options select "Use cover from source file". |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
JCL Punch-Card Collector
![]() Posts: 53
Karma: 10
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,656
Karma: 85000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
You can avoid that change by selecting "Use cover from source file" in the conversion options. That will leave the original cover file with the original name in place when converting. |
|
![]() |
![]() |
![]() |
#5 |
JCL Punch-Card Collector
![]() Posts: 53
Karma: 10
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
|
That's not much of an improvement, it's now automatically "part0000.xhtml" and not "titlepage.xhtml." That is, it still needs a name change to reflect its function. (I'm old-school that way. Now get off my lawn, you noisy kids!)
Sigh. But if this is the worst thing I have to deal with, it sure beats getting stuck with a VHS VCR in a cabin full of Beta tapes... |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,257
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The names inside the book can really be anything. The only reason for otherwise is for HUMAN Editors. The OPF set the order presented on the reader. The cover (HTML) could be called Foo and the image Bar, as long as they are declare as Cover role, it works.
Having chapters sequentially, just makes it easy to put them back in order OT Why collect JCL cards. is there sill card readers around ? |
![]() |
![]() |
![]() |
#7 |
JCL Punch-Card Collector
![]() Posts: 53
Karma: 10
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
|
I'm not going to get into an argument that parallels "appropriate variable-naming conventions." This is a forum for e-books, not obscure quasireligious arguments that nobody can ever win... although "standards compliance" actually matters in the real world. (Don't get me started on "copyright pages have been at the front of the book for a couple of centuries, and actual scholars depend on it, but us kewl kidz are going to put them at the end of our e-books just to show we're kewl and have the most-up-to-date-and-overpriced dedicated name-brand e-book readers" — I'll resemble the Tasmanian Devil within two or three minutes.)
All seriousness aside, it matters when one needs to go back and debug something later. I am not looking forward to that when some standard/assumption/file format changes down the road — and it will happen; I remember the "WordStar standard file format" all too well (I'm old; I also remember EBCDIC character coding). Yes. In museums. That said, I have a working external 5.25" floppy drive I backended into a USB interface with a soldering iron, some ingenuity, and breadboarding skillz from the 70s — if I can find the bloody power cable... Not to mention the collection of five-pin DIN-connector spare keyboards. |
![]() |
![]() |
![]() |
#8 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,257
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,831
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Want a couple of 2.88MB floppy drives and ~10 of the matching floppies?
|
![]() |
![]() |
![]() |
#10 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,233
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
|
![]() |
![]() |
![]() |
#11 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,257
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I forgot about that switch that some after market keyboards offered.
![]() For years, I used to haunt the Electronic Surplus stores for used IBM (brand) or Dell keyboards. They had a solid feel (clickey) to the keys. (The Duck used keyboards in dusty places and they did not last long). |
![]() |
![]() |
![]() |
#12 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,233
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I've a selection of old good clunky keyboards. Maybe no PC/XT ones.
The best modern one I've used is a Cherry STREAM TKL. I've standard DIN to mini-DIN adaptors (and some vice versa) and I've mini-DIN Y cables that work on any fully wired mini-DIN PS/2 socket to allow mouse and keyboard. The USB to mini-DIN adaptors only work with some older Trust, Genius, MS and Logitech mice. And vice-versa. The PS/2 to Serial mouse adaptors and vice-versa probably don't work with any of my mice. Date from when mice had balls. I've some PS/2 (mini-DIN) to USB adaptors that mostly work with XP, Win7, Win10, Linux and most mice and keyboards but not always. If anyone is passing they are welcome to have stuff for free. Boxes of it in the attic. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Internal filenames (mobi/azw --> epub) cover named as title page | Jaws | Conversion | 8 | 05-11-2023 10:03 PM |
DRM issues with azw converted to KFX Zip | archz2 | Conversion | 2 | 12-10-2022 11:23 AM |
Internal Filenames in MOBI/AZW to EPUB Conversion | Jaws | Conversion | 3 | 05-10-2021 10:31 PM |
[Mobi/AZW -> ePub] Internal Filename Screwed Up After Conversion | Jaws | Conversion | 1 | 04-21-2020 02:15 AM |