Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 09-19-2019, 09:23 PM   #1
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: 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>
renders as: CHAPTERSEVEN

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?
theducks is offline   Reply With Quote
Old 09-19-2019, 10:16 PM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
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.
jackie_w is offline   Reply With Quote
Old 09-19-2019, 11:02 PM   #3
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: 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:
Originally Posted by jackie_w View Post
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.
Thanks for the reply. Good points I have retrieved the book from the reader and opened it with the editor:
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>
The device is doing it

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.

FWIW I did find the cure for paragraphs not being centered. Simply change them from <P to <DIV , keeping the same selector
Kobo must override P
theducks is offline   Reply With Quote
Old 09-19-2019, 11:32 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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?
NiLuJe is offline   Reply With Quote
Old 09-20-2019, 01:50 AM   #5
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: 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:
Originally Posted by NiLuJe View Post
Is that an actual space, and not a fancy narrow/invisible space unicode glyph?
Was a standard space, then I changed it to a nbsp.

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
theducks is offline   Reply With Quote
Old 09-20-2019, 10:15 AM   #6
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by theducks View Post
FWIW I did find the cure for paragraphs not being centered. Simply change them from <P to <DIV , keeping the same selector
Kobo must override P
When it comes to applying user settings from the Kobo [Aa] font settings sliders/buttons, the Kobo kepub renderer uses a different override CSS than the Adobe renderer used for Kobo standard epubs.

For text-align, kepub override CSS is
Code:
div, p { text-align: %1 !important; }
whereas epub override is
Code:
body { text-align: %1 !important; }
So pressing the 'Left' or 'Justify' button can really mess up kepub appearance. Based on the above I am surprised your <p> to <div> trick worked.

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.
jackie_w is offline   Reply With Quote
Old 09-20-2019, 10:16 AM   #7
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by theducks View Post
Was a standard space, then I changed it to a nbsp.

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
I couldn't reproduce this problem, so I'm interested to hear what you discover.
jackie_w is offline   Reply With Quote
Old 09-20-2019, 11:20 AM   #8
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: 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:
Originally Posted by jackie_w View Post
I couldn't reproduce this problem, so I'm interested to hear what you discover.
Well I disabled Text-transform and the title text was now mixed case
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
    }
theducks is offline   Reply With Quote
Old 09-20-2019, 11:26 AM   #9
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,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?
JSWolf is offline   Reply With Quote
Old 09-20-2019, 12:04 PM   #10
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: 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:
Originally Posted by JSWolf View Post
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?
https://www.amazon.com/Dragon-Desert...s=books&sr=1-1

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 and I can't find where it is called in the CSS
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
theducks is offline   Reply With Quote
Old 09-20-2019, 12:28 PM   #11
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: 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:
Originally Posted by theducks View Post
https://www.amazon.com/Dragon-Desert...s=books&sr=1-1

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 and I can't find where it is called in the CSS
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
Well, My aura2 does not even see the bookname.KEPUB when I send that format after using Cabres KEPUB conversion (the file is there, but not on the Aura's book browser)
theducks is offline   Reply With Quote
Old 09-20-2019, 12:31 PM   #12
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
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 Then I'd remove the KF8 from my library never to be looked at again. The thought of relying on KF8/MOBI/KFX as my master archive format makes me shudder, but then again I don't own a Kindle.

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.
jackie_w is offline   Reply With Quote
Old 09-20-2019, 12:34 PM   #13
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by theducks View Post
Well, My aura2 does not even see the bookname.KEPUB when I send that format after using Cabres KEPUB conversion (the file is there, but not on the Aura's book browser)
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.
jackie_w is offline   Reply With Quote
Old 09-20-2019, 12:40 PM   #14
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: 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
theducks is offline   Reply With Quote
Old 09-20-2019, 01:41 PM   #15
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by theducks View Post
I give up. It ain't worth the effort. It is probably just a bug in the Aura2
I'm not going to argue with you because I don't have an Aura2, but most Kobos, and certainly the Aura2, use the same firmware/renderers so it's hard to see where this problem is arising.

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
jackie_w is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


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


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