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 05-10-2023, 12:24 PM   #1
Jaws
JCL Punch-Card Collector
Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 75
Karma: 34468
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
Internal filenames (mobi/azw --> epub) cover named as title page

I'm not sure where this is coming from; there could well be some deep, dark, barely-documented directive that's outside of Calibre regarding internal filenaming conventions, it could be a pure accident, it could be inside of Calibre.

When I convert files that originated as mobi, azw, and kfx to epub, about 90% of the time the assigned filename in the /text folder for the cover is "titlepage.xhtml." (The other 10% of the time it's completely unpredictable.) The actual title page, however, is given an index_splitxxx.xhtml name.

Do. Not. Want. That is, don't call it a variable if it's a constant sort of thing. But it might not be Calibre, which is why I'm asking this as a question, all the while muttering as I manually correct internal filenames to satisfy that OCD-like impulse to comply with several hundred years of naming conventions for parts of "books" (at least in Europe, and if India's conventions are/have been different and that's what Kovid is following I just don't know that).

So:

(1) Is this something that's being imposed at the source level and Calibre is just silently (and properly) not changing it?

(2) Is this a default naming convention in Calibre — and if so, is there a setting that can be changed so it doesn't do it?

What's annoying about this is that it's not completely consistent, so I can't seem to automate a "correction" at this end. Perhaps the hobgoblins of foolish consistency are taking over my brain, but persistent misnaming of parts makes later updates and analyses more difficult. (And admittedly, this is as much an aesthetic impulse in favor of "neatly-formatted code" as anything else, because the actual filename doesn't ordinarily affect any display or function of the ebook. For my conception of "neatly-formatted code," which to some people probably verges on "Are indents in source code two spaces or four?")
Jaws is offline   Reply With Quote
Old 05-10-2023, 04:41 PM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
No-one reading sees any of the internal filenames.
Quoth is offline   Reply With Quote
Advert
Old 05-10-2023, 06:04 PM   #3
Jaws
JCL Punch-Card Collector
Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 75
Karma: 34468
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
Quote:
Originally Posted by Quoth View Post
No-one reading sees any of the internal filenames.
Agreed. Known; it's why I specifically mentioned that I am seeing this when I edit a book, not when I read it. It's still annoying to me, especially when it comes time to remove all the advertising crap (some of which exceeds the size of the rest of the book. slows down readers on legacy devices, and includes dead/nonverifiable links) before transferring it to my library.

It's entirely possible that it's either an external sloppy or a "the programmer who set this up has a different tradition than I do" silent assumption. That's why I'm asking it as a question first.
Jaws is offline   Reply With Quote
Old 05-10-2023, 06:09 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,206
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The file names with split in the file name can happen when a file matches calibre's file splitting rules. See Structure detection in the calibre FAQ section for e-book conversion.
DNSB is offline   Reply With Quote
Old 05-10-2023, 06:37 PM   #5
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Jaws View Post
however, is given an index_splitxxx.xhtml name.
Where do you see that? Is it in the opf file?
I've not noticed the actual xhtml file having a different name to what is listed in the opf file. (but I've never actively looked for it either)

The titlepage/cover naming issue has been briefly discussed here... https://www.mobileread.com/forums/sh...d.php?t=342830
Karellen is offline   Reply With Quote
Advert
Old 05-10-2023, 09:39 PM   #6
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: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There are no filenames in amazon ebook formats. The filenames you see are generated. And whether something gets named cover or titlepage depends on the metadata in the book about that file.
kovidgoyal is online now   Reply With Quote
Old 05-11-2023, 06:33 PM   #7
Jaws
JCL Punch-Card Collector
Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 75
Karma: 34468
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
It's the filenames assigned in the upper-left-hand panel of the editor. Remember, the .opf was generated from the source, non-epub-formatted book, and unless it was a highly unusual mobi-family book (by inference although there's really no way to test this, a well-formed-and-named epub at the publisher, which the publisher then converted to azw/mobi/kfx instead of allowing the 'zon to do it) those well-formed filenames are not preserved when converting back to epub in Calibre.

But I have no way to test this, which is why I'm asking here.
Jaws is offline   Reply With Quote
Old 05-11-2023, 06:35 PM   #8
Jaws
JCL Punch-Card Collector
Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.Jaws is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 75
Karma: 34468
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
Which metadata? If I could edit the metadata prior to conversion so that this is consistent, that would work. But if I can't, I guess I'm stuck with the existing annoyances...
Jaws is offline   Reply With Quote
Old 05-11-2023, 10:03 PM   #9
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: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This is not user visible metadata, and again there are no filenames in amazon formats. So roundtripping an epub through an amazon format will always use the filenames.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Generate same page numbers for epub und mobi/azw marcl Calibre 12 10-14-2013 08:06 AM
ePub to mobi cover page problem AlexBell Conversion 4 06-03-2011 07:07 AM
EPUB=>Mobi: Start/open at cover page - how to? Skydog Calibre 6 10-16-2009 09:43 PM


All times are GMT -4. The time now is 10:07 PM.


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