![]() |
#1 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,584
Karma: 14328510
Join Date: Nov 2019
Device: none
|
epub 3 and subtitles
If I add a subtitle with Sigil by adding the metadata for Title, then add to that the property for subtitle, that subtitle needs to be after the main title in the content.opf; it it's before the main title then Calibre displays the subtitle as the book's title. Maybe it's in the epub 3 standard that order is significant for title and subtitle?
Subtitle first: Code:
<dc:title id="tle">Subtitle</dc:title> <meta refines="#tle" property="title-type">subtitle</meta> <dc:title>Main title</dc:title> Main title first: Code:
<dc:title>Main title</dc:title>
<dc:title id="tle">Subtitle</dc:title>
<meta refines="#tle" property="title-type">subtitle</meta>
|
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,408
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Or just do it like this which is the most common way to do it and it works.
Code:
<dc:title>Main title: subtitle</dc:title> |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,321
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No calibre will only use the first title as the main title if there is no title that has the "main" title-type. So if you want to put a subtitle AND have it before the main title for some reason, be sure to add the refine to the main title saying it is the main title.
|
![]() |
![]() |
![]() |
#5 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,584
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre: Setting subtitles | Jonnan001 | Calibre | 2 | 04-04-2017 09:16 PM |
PRS-T2 is slow but work, and anyway I am prisoner of the subtitles | trocchietto | Sony Reader | 0 | 03-16-2015 10:14 AM |
Content Can I make Kindle Paperwhite collection subtitles? | Katdragon | Amazon Kindle | 1 | 06-29-2014 10:34 PM |
Bookdesigner loading Subtitles? | ProDigit | LRF | 2 | 02-03-2009 10:51 AM |