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 10-26-2022, 01:16 PM   #2821
Matze1810
Junior Member
Matze1810 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2022
Device: Kobo Libra 2
Quote:
Originally Posted by Sirtel View Post
All books or only this one book?
All books. But the gap varies between the books.

If I convert the book in Calibre and then send it to my Kobo, everything is fine. The strange formatting only occurs when I send the ebook directly via Kobo Touch Extended
Matze1810 is offline   Reply With Quote
Old 11-25-2022, 02:44 PM   #2822
antifuchs
Junior Member
antifuchs began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2022
Device: Kobo Libra
kepub - chapters missing/not rendered in output

Quote:
Originally Posted by fogice View Post
And yet *another* missing chapter, this book was missing Chapter 6. I find it weird that I'm the only one with this issue, I feel like it must be something in my configuration. Is there anything I should try to change or redo on my side? I'm on an M1 Mac.
Oh man, I'm so glad I found your posts. I'm on an M1 Mac as well, and have been seeing that exact problem on occasion, up to the latest calibre (6.9) and KTE plugin (3.6.3), as of a few days ago.

For the longest time, I thought this was related to page breaks on the chapter marker - I would edit the html around the chapter, removing any page breaks, and then on updating the book on the device, that chapter appeared; but from the debugging notes downthread, that sounds like a red herring - if there's a async/threading-related issue, of course re-generating the book would mask the problem with that exact chapter also.

What can I do to help you all debug this? Run in debug mode and check logs? Maybe upload the same book over and over and compare html contents in the epub archive?
antifuchs is offline   Reply With Quote
Old 12-17-2022, 01:09 PM   #2823
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Could anybody help me with title, subtitle and the template editor?

My titles in Calibre are like "title: subtitle". I want to extract the subtile after the colon and put in the kobo-subtitle, and kobo-title is the "title" part only.

Unfortunately I don't have any clue.
Wiggo is offline   Reply With Quote
Old 12-17-2022, 01:42 PM   #2824
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Wiggo View Post
Could anybody help me with title, subtitle and the template editor?

My titles in Calibre are like "title: subtitle". I want to extract the subtile after the colon and put in the kobo-subtitle, and kobo-title is the "title" part only.

Unfortunately I don't have any clue.
For the subtitle in the driver:
Code:
program:
	list_split($title, ':', 'v');
# Enter v_0 for the text before the colon, v_1 for the text after the colon
# This doesn't work if the title or subtitle part contains extra colons
# v_1 is empty if there are no colons at all
	v_1
I think you must use a plugboard to change the title -- at least I don't see any way to set the title from inside the driver. The plugboard template would be similar to the above but with v_0 instead of v_1
Code:
program:
	list_split($title, ':', 'v');
# Enter v_0 for the text before the colon, v_1 for the text after the colon
# This doesn't work if the title or subtitle part contains extra colons
# v_1 is empty if there are no colons at all
	v_0
chaley is offline   Reply With Quote
Old 12-17-2022, 03:43 PM   #2825
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Thanks again, chaley. I will try it and report.
Wiggo is offline   Reply With Quote
Old 12-18-2022, 05:53 AM   #2826
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Unfortunately it doesn't work well.

All books get subtitles (=title), even if there is no colon in the title, and the plugboard changes the title to the subtitle.

If I test
Code:
program:
	list_split($title, ':', 'v_0');
in the template editor the result is always "subtitle", no matter what 'v_n' I fill in.
Wiggo is offline   Reply With Quote
Old 12-18-2022, 06:08 AM   #2827
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Wiggo View Post
Unfortunately it doesn't work well.

All books get subtitles (=title), even if there is no colon in the title, and the plugboard changes the title to the subtitle.

If I test
Code:
program:
	list_split($title, ':', 'v_0');
in the template editor the result is always "subtitle", no matter what 'v_n' I fill in.
That template is wrong.

It should be the one below, slightly modified from the one I suggested above because I forgot to initialize v_1. In particular the last line must be there, either v_0 if you want the title or v_1 if you want the subtitle. You can remove the comments (the lines beginning with #).
Code:
program:
	v_1 = '';
	list_split($title, ':', 'v');
# Enter v_0 for the text before the colon, v_1 for the text after the colon
# This doesn't work if the title or subtitle part contains extra colons
# v_1 is empty if there are no colons at all
	v_1
The template you wrote will always return the subtitle if there is one, otherwise it will return the title.
chaley is offline   Reply With Quote
Old 12-18-2022, 06:38 AM   #2828
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Now it works like a charm - thank you so much.

A bit embarrassing that I don't get anything at all.
I thought the last line is the "title" of the script.
Wiggo is offline   Reply With Quote
Old 01-05-2023, 01:13 PM   #2829
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
Hyperlinks not underlined

Hello,
Thanks for your plugin.
I've activated the option, in the "extended options" tab to send the books as kepubs
I've recently noticed the hyperlink is not underlined in the tranfered kepub file when I read on my Kobo Libra2.
If a transfer the file as a pure epub (by copying it on the device root folder), I get the underlined links.

Am I missing an option somewhere ?

Thanks four your reply
Villard
Villard is offline   Reply With Quote
Old 01-05-2023, 04:21 PM   #2830
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Villard View Post
Hello,
Thanks for your plugin.
I've activated the option, in the "extended options" tab to send the books as kepubs
I've recently noticed the hyperlink is not underlined in the tranfered kepub file when I read on my Kobo Libra2.
If a transfer the file as a pure epub (by copying it on the device root folder), I get the underlined links.

Am I missing an option somewhere ?
For kepubs the firmware contains a hard-coded style for anchor links, namely,
Code:
a:link, a:visited, a:hover, a:active { border-bottom: 1px dotted black !important; color: #696969 !important; }
You're not missing a built-in option but if it bothers you enough and you're comfortable using kobopatch, there is a patch you can use to disable the dotted underline.
jackie_w is offline   Reply With Quote
Old 01-06-2023, 04:14 AM   #2831
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
Quote:
Originally Posted by jackie_w View Post
For kepubs the firmware contains a hard-coded style for anchor links, namely,
Code:
a:link, a:visited, a:hover, a:active { border-bottom: 1px dotted black !important; color: #696969 !important; }
You're not missing a built-in option but if it bothers you enough and you're comfortable using kobopatch, there is a patch you can use to disable the dotted underline.
Thank you.
I've finally found the cause : when in the dark mode, the dotted lines are not visible. Switching back in the light mode, they are visible !
So it was not an issue with the plugin but a mere Kobo feature.
Villard
Villard is offline   Reply With Quote
Old 01-27-2023, 09:52 AM   #2832
robowolf
Member
robowolf began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2012
Device: Kobo Clara
Hi! Thank you for this plugin, I use it for managing collections and I love it. I have a question that I have tried to search the answer for, but I did not find it:

So I have the custom Collections column, I set up in Calibre and it syncs with my Kobo. My Kobo now has my custom collections; this is awesome.
When I read in Kobo, however, I move books between collections. For example, on my Kobo, I create a new collection, "Delete"; this is for books I read but do not care for, so I will delete them in Calibre later.
However, when I sync back into Calibre, all changes I made in Kobo have been erased; the Calibre set-up overwrites my changes.

Is there something I need to do so that when I sync my Kobo and Calibre, the changes I made in Kobo sync onto Calibre?
robowolf is offline   Reply With Quote
Old 01-27-2023, 10:54 AM   #2833
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
As far as I know it's always been a one-way sync only - calibre to Kobo.

For your future info, syncing Collections is unrelated to this plugin, it's handled by the main calibre driver, KoboTouch.
jackie_w is offline   Reply With Quote
Old 01-27-2023, 12:18 PM   #2834
isarl
Addict
isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.isarl ought to be getting tired of karma fortunes by now.
 
Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
Quote:
Originally Posted by robowolf View Post
Hi! Thank you for this plugin, I use it for managing collections and I love it. I have a question that I have tried to search the answer for, but I did not find it:

So I have the custom Collections column, I set up in Calibre and it syncs with my Kobo. My Kobo now has my custom collections; this is awesome.
When I read in Kobo, however, I move books between collections. For example, on my Kobo, I create a new collection, "Delete"; this is for books I read but do not care for, so I will delete them in Calibre later.
However, when I sync back into Calibre, all changes I made in Kobo have been erased; the Calibre set-up overwrites my changes.

Is there something I need to do so that when I sync my Kobo and Calibre, the changes I made in Kobo sync onto Calibre?
In the KoboTouch and KoboTouchExtended driver configuration, see the “Metadata, on device & advanced” tab, in particular the “Update metadata on the device” option at the top of the page. This setting controls whether Calibre will update your Kobo with new metadata automatically as soon as Calibre detects that it has been connected. If you disable it, then you should be able to see the modified state of the shelves on your device in the Device view. Note that when you change metadata in your Calibre library you will have to remember to send those updates to the books on your device manually.

E.g., series information only works once a book has already been added to the device library, which is why people install NickelSeries or reconnect their device to Calibre after sending sideloaded books for the first time – so that the KoboTouch[Extended] driver will automatically update the Series metadata when the device reconnects. This would then need to be done manually. (Or you can use NickelSeries. But if you altered something, e.g. the Subtitle or Collection of a book, in Calibre after first sending it, you would need to tell Calibre to send the new metadata.)
isarl is offline   Reply With Quote
Old 02-07-2023, 10:39 AM   #2835
robowolf
Member
robowolf began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2012
Device: Kobo Clara
Quote:
Originally Posted by isarl View Post
In the KoboTouch and KoboTouchExtended driver configuration, see the “Metadata, on device & advanced” tab, in particular the “Update metadata on the device” option at the top of the page. This setting controls whether Calibre will update your Kobo with new metadata automatically as soon as Calibre detects that it has been connected. If you disable it, then you should be able to see the modified state of the shelves on your device in the Device view. Note that when you change metadata in your Calibre library you will have to remember to send those updates to the books on your device manually.

E.g., series information only works once a book has already been added to the device library, which is why people install NickelSeries or reconnect their device to Calibre after sending sideloaded books for the first time – so that the KoboTouch[Extended] driver will automatically update the Series metadata when the device reconnects. This would then need to be done manually. (Or you can use NickelSeries. But if you altered something, e.g. the Subtitle or Collection of a book, in Calibre after first sending it, you would need to tell Calibre to send the new metadata.)
Thank you, this was what I needed!
robowolf 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:06 PM.


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