Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2025, 11:17 AM   #1
sup
Zealot
sup began at the beginning.
 
Posts: 103
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
Is it time for proper handling of subtitles?

Right now, when Calibre encounters an epub with this in its OPF file:
Code:
<dc:title id="maintitle">Great Title</dc:title>
<meta property="title-type" refines="#maintitle">main</meta>
<meta property="display-seq" refines="#maintitle">1</meta>
<dc:title id="subtitle">Usually a Very Long Subtitle</dc:title>
<meta property="title-type" refines="#subtitle">subtitle</meta>
<meta property="display-seq" refines="#subtitle">2</meta>
it parses it into title with the content "Great title: Usually a Very Long Subtitle"

When one converts the EPUB*with Calibre into EPUB, it transforms into:

Code:
<dc:title id="id">Great title: Usually a Very Long Subtitle</dc:title>
leading to a loss of information, as it is not longer clear (at least to a machine) what is the main title and what is the subtitle.

Given this notation is now used in e-books in the wild (after the epub v3 specification no longer being a draft), is it not now time for Calibre to use it when writing epub files? The subtitle field would then need to be exposed in the UI too (a new column, a field in the "Edit metadata dialog" and probably elsewhere). I now use a custom column for it, but it is not an ideal solution.

Seems like I am not the only one interested in proper handling of subtitles:

https://www.mobileread.com/forums/sh...d.php?t=358483

https://www.mobileread.com/forums/sh...d.php?t=333157
sup is offline   Reply With Quote
Old 05-07-2025, 11:21 AM   #2
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,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, it isnt. calibre is not an EPUB program.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-07-2025, 11:55 AM   #3
sup
Zealot
sup began at the beginning.
 
Posts: 103
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
Well, it is not so much about EPUB, it would just be nice if Calibre handled subtitles natively. They are fairly standard for non-fiction books.
sup is offline   Reply With Quote
Old 05-07-2025, 12:09 PM   #4
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,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Create a custom column named subtitle and put whatever subtitles float your boat in it. They will even be written to the EPUB when exporting the epub from calibre as custom calibre metadata and if you re-import the epub into the same calibre library or another library with the same custom column, the metadata will even be read from the EPUB.

There is going to be no builtin subtitle column however.
kovidgoyal is offline   Reply With Quote
Old 05-07-2025, 12:11 PM   #5
sup
Zealot
sup began at the beginning.
 
Posts: 103
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite (2012)
Yes, that is what I do now. I do not think it is the best solution, but it indeed works.
sup is offline   Reply With Quote
Advert
Old 05-07-2025, 05:13 PM   #6
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: 13,683
Karma: 103503695
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Subtitles from a custom column on Calibre work fine on epubs to Kobo. They display on a separate line in the book browsers.
Quoth is offline   Reply With Quote
Old 05-07-2025, 06:33 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,897
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Besides, The way titles are currently being published (tith a sub or a mountain of other garbage ), they need a TON of cleanup.
I simply open the MDE, copy the good stuff and bin the fluff.
A novel is NOT a subtitle
The complete <seriesname> vols 1-3 Gets divvied up to the proper fields.

Other than the initial commissioning of Calibre with your massive archive, the Metadata cleanup just takes ~30 seconds (I also weed the comments of all the other ad hype. I want a synopsis, not a sales pitch)
theducks is offline   Reply With Quote
Old 05-08-2025, 06:56 AM   #8
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: 13,683
Karma: 103503695
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by theducks View Post
Besides, The way titles are currently being published (tith a sub or a mountain of other garbage ), they need a TON of cleanup.
I simply open the MDE, copy the good stuff and bin the fluff.
A novel is NOT a subtitle
The complete <seriesname> vols 1-3 Gets divvied up to the proper fields.

Other than the initial commissioning of Calibre with your massive archive, the Metadata cleanup just takes ~30 seconds (I also weed the comments of all the other ad hype. I want a synopsis, not a sales pitch)
Yes to all of that!
Quoth is offline   Reply With Quote
Old 05-08-2025, 07:51 AM   #9
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,626
Karma: 50808776
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Quote:
Originally Posted by theducks View Post
(I also weed the comments of all the other ad hype. I want a synopsis, not a sales pitch)
Ditto! I'd swear some of the 'promopsis" thes days are so long that cutting the ads makes a measurable difference to my disk space.

Last edited by chaley; 05-08-2025 at 08:24 AM. Reason: Fixed quote markup
Uncle Robin is offline   Reply With Quote
Old 05-08-2025, 10:29 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,088
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Uncle Robin View Post
Ditto! I'd swear some of the 'promopsis" thes days are so long that cutting the ads makes a measurable difference to my disk space.
The adds sometimes use hi-res images and can be rather large. Also, Penguin Random House adds a Next Reads advert with a medium size graphic and at least two embedded fonts. This is 100% useless. They could do this without the fonts and a much smaller graphic with the logo.

Last edited by JSWolf; 05-08-2025 at 10:31 AM.
JSWolf is offline   Reply With Quote
Old 05-08-2025, 01:40 PM   #11
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: 13,683
Karma: 103503695
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
15% of book file size or more.
Quoth is offline   Reply With Quote
Old 05-08-2025, 03:24 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,088
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Quoth View Post
15% of book file size or more.
I dump all the HTML files no needed in the eBook and all excess images and any embedded fonts I don't want. When I'm done, the eBook is going to be smaller and sometimes a lot smaller.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub 3 and subtitles hobnail Calibre 4 09-15-2020 02:36 AM
Calibre: Setting subtitles Jonnan001 Calibre 2 04-04-2017 09:16 PM
Marvin not handling not handling #151; pehkay Marvin 3 12-13-2013 07:27 AM
Bookdesigner loading Subtitles? ProDigit LRF 2 02-03-2009 10:51 AM


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


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