![]() |
#1 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Kobo Aura2 title wierdness
I am asking here because I don't know where it is going bad.
I send an AZW3 original to my Aura2 as a KEPUB ALL the chapter titles lose their space I don't see any thing odd in the CSS Code:
<h1 class="title">Chapter*Seven</h1> It renders fine in Calibres viewer and Editor (preview):CHAPTER SEVEN I tried changing the standard space to non-breaking. No change Is there a odd strip space CSS attribute that Kobo KEPUB recognizes but Calibre does not? |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
If you USB connect to the Kobo and find the book which actually arrived there. If it's a KEPUB it will have a .kepub.epub extension in the Kobo's file system. Then copy it back to a PC directory and open it in the calibre Editor, or unzip it, whatever you prefer.
Then you can dig a bit deeper. How did you create the KEPUB? Was it with the Kepub Output plugin? Are you using the KoboTouchExtended driver? If your source was AZW3 I'm not sure what happens if you're using KTE. I thought only EPUB got transformed to KEPUB on-the-fly. |
![]() |
![]() |
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
<div class="title-page-contributor-primary-block"> <h1 id="calibre_pb_0" class="title"><span class="koboSpan" id="kobo.2.1">Chapter Seven</span></h1> </div> ![]() Yes I just sent the book, so the KEPUB output plugin must have taken care of it because Calibre only shows AZW3 in the Library and (yes) kepub.epub on the device. It is I also have the Extended edition PI in use. ![]() Kobo must override P ![]() |
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Is that an actual space, and not a fancy narrow/invisible space unicode glyph?
|
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Since the kepu has the space, I noticed that there is a text-transform: uppercase; being applied. I will comment that out and try that tomorrow. I suspect that the Kobo is losing the space when it transforms |
|
![]() |
![]() |
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
For text-align, kepub override CSS is Code:
div, p { text-align: %1 !important; } Code:
body { text-align: %1 !important; } ![]() If you think this might be an on-going aggravation for you (it certainly was for me), you might consider dipping your toes in kobopatch waters. There is a handy patch to change the kepub override CSS to match the epub override. I won't go into detail here but don't hesitate to ask if you go down the kobopatch path. However, kobopatch is in a state of flux this week due to the big new Kobo firmware upgrade which broke some patches, but I'm hoping order will be restored quite soon. Just what I needed, calibre 4 beta and a major Kobo update, both happening at the same time, both needing quite a bit of effort. |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
I couldn't reproduce this problem, so I'm interested to hear what you discover.
|
![]() |
![]() |
![]() |
#8 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
but the space was still AWOL Here is the CSS (this is Amazon purchased book isbn:1230003162453, No ASIN?, but there was a Kobi ID when I downloaded metadata. I discovered Identifiers was blank) Code:
.title { -webkit-font-kerning: auto; -webkit-hyphens: manual; adobe-hyphenate: none; background-image: url(kindle:flow:0002?mime=image/svg+xml); background-position: center bottom; background-repeat: no-repeat; background-size: 4em; display: block; font-family: Alegreya, Palatino, serif; font-size: 100%; font-weight: normal; hyphens: manual; letter-spacing: 0.2em; line-height: 1.2; min-height: 28px; min-width: 7em; padding-bottom: 2.75em; page-break-inside: avoid; text-align: center; text-transform: uppercase; margin: 0 } |
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Take the Kf8 eBook and using the KindleUnpack plugin, shift it to ePub. Load the ePub into the editor and use the epubcheck plugin to check for errors. Fix all the errors (there will be some). Then once you are sue the ePub is OK, try sending that to your Kobo as kepub and see what happens. Maybe there's something funky with the KF8. I've seen some pretty funky coding with KF8.
What is the link to the eBook from Amazon? |
![]() |
![]() |
![]() |
#10 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I ran it thru Calibres Editor check. (I also tweak indents and spacing's to that you don't like. My Use only ![]() It renders in the Kindle App (OMG there is a SVG coded under it ![]() Code:
@media not amzn-mobi { .element-bodymatter .heading-without-image .title, div.title-page-title-subtitle-block { background-image: url(kindle:flow:0002?mime=image/svg+xml); } } This does SVG not render (on the page) in Calibre/Sigil editors As a matter, Calibre does not even include the SVG0004 file in the KEPUB conversion. BUT the text above renders properly. One more test. I will USE convert, rather than relying on on-the-fly |
|
![]() |
![]() |
![]() |
#11 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
I do think it's probably "safer" to be sending a calibre EPUB rather than calibre KF8/MOBI.
If it was me I'd do a calibre conversion KF8 to EPUB or, as Jon said, KindleUnpack KF8 to EPUB to get an EPUB in my library. I'm pretty sure you know enough about calibre to know the pros & cons of each ![]() Once you've got the master EPUB you can do a full conversion to KEPUB (via Kepub Output) if you really want to clutter your library with KEPUBs or you can use KTE's on-the-fly transform EPUB to KEPUB. The KTE transform is much faster than a conversion because it only adds the horrible (but necessary) koboSpans and a couple of <div> wrappers to each HTML file rather than a complete re-jig of the whole book. |
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
The calibre drivers will automatically change the .kepub file extension to .kepub.epub on the Kobo itself. Also, in the driver, make sure your list of allowable transfer formats has kepub at the correct priority.
|
![]() |
![]() |
![]() |
#14 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
OK here is more sad news and then I am dropping this SVG chase (it was just something else I had noticed).
I sent the AZW3 into Kindle Previewer 3. The SVG was not rendered there either. OK I converted to EPUB first, the sent that. ![]() I give up. It ain't worth the effort. It is probably just a bug in the Aura2 |
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
If you want to PM me a link to your EPUB, I'd be happy to do some more investigating once I have a bit more free time. If you've already had enough that's OK, too ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Kobo] Unknown title | fictions | Devices | 15 | 12-13-2018 07:18 PM |
Metadata Plugboard to change title of same-title books in series for Kobo Touch | il_mix | Library Management | 5 | 03-15-2018 04:59 PM |
Kobo: same title / different language | fxp33 | Plugins | 10 | 05-07-2015 07:35 PM |
Upgrade wierdness | Fiat_Lux | Devices | 4 | 05-04-2015 01:30 AM |
Get a title off an offline kobo | biffysmalls | Kobo Reader | 5 | 08-13-2014 04:19 AM |