Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-10-2016, 05:25 AM   #1501
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
I have just tested with a newly converted "The Middle Temple Murder".

I did about 40-50 random highlights. At no time did I see an non-marked space in the middle of the highlight! Neither did I get the not underlined part of a highlight!
It may be simply random and I happened to choose areas in other ways, but it sure looks like what you did had an effect. Thanks Joel!

I did have some "not sticking" highlights.

The first was when I marked a complete page. Other complete pages worked fine.

The other is this:

Code:
  <div class="calibre">
    <span class="koboSpan" id="kobo.76.1">&nbsp;&nbsp;&nbsp;&nbsp;"Well, we may find out something about this scrap of paper," he observed.</span> <span class="koboSpan" id="kobo.76.2">And he waved a signal to the nearest taxi-cab driver.</span>
  </div>

  <p class="calibre" style="margin:0pt; border:0pt; height:1em">&nbsp;</p>

  <div class="mbp_pagebreak" id="calibre_pb_6"></div>
</body>
</html>
If I mark, say "he waved a signal to the nearest taxi-cab driver." it works.
If I mark beyond the ".", it doesn't.


Hmm, I just got a mark with missing underline. I marked from the last "." back up to "Rathbury" and most of the markings were not highlighted (and it didn't stick). I tried to replicate it a couple of times, but those tests all showed all underline.
patrik is offline   Reply With Quote
Old 04-10-2016, 07:27 AM   #1502
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Yes, the new version of the driver and the output plugin fixes the space between sentences/spans problem. I'm still seeing the end of paragraph problem. As I said last night, I'm pretty sure that this is a problem with the renderer, not the book.

And because of this, I have just submitted a report to Kobo describing what I am seeing. I have included references to this thread and purchased books that I have used to reproduce the problem.
davidfor is offline   Reply With Quote
Old 04-10-2016, 09:17 AM   #1503
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Quote:
Originally Posted by patrik View Post
I just updated to 2.6.0 and haven't done any reading/highlighting yet, but I did a quick comparison between the old kepub and the new. Maybe I'm doing something wrong but as far as I can see, they are the same regarding spaces between spans.

Code:
<span class="koboSpan" id="kobo.9.1">&nbsp;&nbsp;&nbsp;&nbsp;The barrister and the journalist, left thus unceremoniously on a crowded pavement, looked at each other.</span> <span class="koboSpan" id="kobo.9.2">Breton laughed.</span>
For the book on your device where you're not seeing the spaces moved to inside the span, do you have a KePub copy in your calibre library? If you have a KePub copy in calibre, the driver skips conversion and uploads that directly; also, if any content file within the book already contains the Kobo spans, the conversion code skips that file.
jgoguen is offline   Reply With Quote
Old 04-10-2016, 09:27 AM   #1504
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Quote:
Originally Posted by jgoguen View Post
For the book on your device where you're not seeing the spaces moved to inside the span, do you have a KePub copy in your calibre library?
Nope. Just the original mobi and the calibre-converted epub.

Quote:
also, if any content file within the book already contains the Kobo spans, the conversion code skips that file.
This is what the above kepub-fragment looks like in the epub:

Code:
<div class="calibre">
    &nbsp;&nbsp;&nbsp;&nbsp;The barrister and the journalist, left thus unceremoniously on a crowded pavement, looked at each other. Breton laughed.
  </div>
I find it interesting that "Breton laughed" is put into a different <span> than the text just before, but then I'm not sure I understand how the spans work.

Thanks Joel.
patrik is offline   Reply With Quote
Old 04-10-2016, 11:42 AM   #1505
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Text is split on sentence-ending punctuation and each resulting chunk of text gets its own span.
jgoguen is offline   Reply With Quote
Old 04-21-2016, 10:54 AM   #1506
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Would it be possible to have an easy-to-choose option for sending it as epub while still using the ext. plugin?

I prefer to read kepub, and want all my fiction to be kepubs. But the non-fiction (that I like to do highlights in) it seems to be better if they are epubs.

Something like in the "right-button-mouse-menu":
Send to device -> Send specific format to -> epub-orginal or something like that.


Today I send those I want to have as kepub, and manually copy those I want to keep as standard epubs. Is there a smarter way?
patrik is offline   Reply With Quote
Old 04-21-2016, 02:49 PM   #1507
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Right now you can open the Device menu, configure this device, and disable extended features. Many of the other options are applied regardless of extended features (which just adds the Kobo spans). I have no idea how I could add a "send specific format -> ePub-original" menu, but if there's a device plugin or docs I could reference I'll take a look at it.
jgoguen is offline   Reply With Quote
Old 04-21-2016, 10:41 PM   #1508
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
patrik: The way I do this is to convert the ones I want as kepubs in the library. Then use the KoboTouch driver and make sure that kepub is before epub in the formats list. And with this, I can send the epub separately if I want to compare them.
davidfor is offline   Reply With Quote
Old 05-01-2016, 02:27 PM   #1509
Aanti
Junior Member
Aanti began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2016
Device: Kobo aura H2O
Hello, could you help me?
I love Kobo Touch Extended and I like benefit's kepub except the "The book title"
how can I disable "The book title"?
I think is unnecessary and takes space useful for reading.
Aanti is offline   Reply With Quote
Old 05-01-2016, 04:04 PM   #1510
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
The only way to do that also gets rid of the page numbers at the bottom. You go into your Kobo device reading settings and enable fullscreen. If you want the page numbers, you must also have the top title.

There's no way to remove only top or bottom, only both or neither, and no customization of what gets shown.
jgoguen is offline   Reply With Quote
Old 05-01-2016, 04:25 PM   #1511
Aanti
Junior Member
Aanti began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2016
Device: Kobo aura H2O
Quote:
Originally Posted by jgoguen View Post
The only way to do that also gets rid of the page numbers at the bottom. You go into your Kobo device reading settings and enable fullscreen. If you want the page numbers, you must also have the top title.

There's no way to remove only top or bottom, only both or neither, and no customization of what gets shown.
Thanks, but in Kobo device reading settings there isn't option "enable fullscreen".
I have Kobo aura H2O firmware 3.19.5761
Aanti is offline   Reply With Quote
Old 05-01-2016, 05:33 PM   #1512
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Apparently you have to tweak the config file first. See http://blog.the-ebook-reader.com/201...kobo-ereaders/ for directions.
jgoguen is offline   Reply With Quote
Old 05-01-2016, 08:02 PM   #1513
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,943
Karma: 70766125
Join Date: Feb 2009
Device: Kobo Clara 2E
Quote:
Originally Posted by Aanti View Post
Thanks, but in Kobo device reading settings there isn't option "enable fullscreen".
I have Kobo aura H2O firmware 3.19.5761
If you look into patching, I believe you could make the header smaller (but don't quote me on this).
John F is offline   Reply With Quote
Old 05-14-2016, 02:13 PM   #1514
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
I have a couple of ebooks that I want to send to my kobo Glo HD with the extended driver (I just use the driver, i don't make kepubs of them) but while the book is normal readable in calibre and in Sigil, it gives the following error when I try to transfer it:
Failed to parse 'Mea culpa' by 'Clare Mackintosh' with error: '.html' (file: calibre_plugins.kobotouch_extended.container, line: 172)

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 584, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 294, in upload_books
File "site-packages\calibre\devices\kobo\driver.py", line 1918, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 231, in _modify_epub
InvalidEPub: Failed to parse 'Mea culpa' by 'Clare Mackintosh' with error: '.html' (file: calibre_plugins.kobotouch_extended.container, line: 172)

I have multiple books that gives an error when sending (error with connection of the device) but I don't know what is wrong.. ?
Version 2.6.1

When I use the normal Kobo touch by David Forrester ( 2.1.11 ) nothing is wrong and the book is normally send to the device.

Last edited by Nick_1964; 05-14-2016 at 02:24 PM.
Nick_1964 is offline   Reply With Quote
Old 05-14-2016, 06:34 PM   #1515
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
The main driver doesn't do any of the file manipulation my driver does. Even if you aren't making KePubs there's still a bunch of extra cleanup I do.

Upload two books that fail at https://www.dropbox.com/request/ggFXXxINqmQzzzY0HxUJ please.
jgoguen is offline   Reply With Quote
Reply

Tags
error, kobo aura one


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Device Driver Update davidfor Devices 284 05-24-2019 05:24 PM
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod cryzed Plugins 7 10-28-2012 04:58 PM
[Device Interface Plugin] Update for Nook Color Driver jmricker Plugins 0 10-22-2011 10:11 AM
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? EverC Kobo Reader 11 08-31-2011 11:47 PM
Touch Kobo Touch Extended Warranty Program SensualPoet Kobo Reader 1 07-17-2011 04:08 AM


All times are GMT -4. The time now is 06:09 PM.


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