Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-28-2026, 11:54 PM   #31
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,052
Karma: 29579868
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by jjk View Post
OK, I understand. But I have known interesting things about management of Calibre files thanks to you all. Yet, write a plugin is not a thing I know to do.
Ask AI it will write one for you pretty well that you can then modify.

Quote:
Sure, but how can I repack book after have modified some files ?
Repackaging happens automatically when you click the rebuild book button.
kovidgoyal is offline   Reply With Quote
Old 03-01-2026, 01:06 PM   #32
jjk
Connoisseur
jjk began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
Quote:
Originally Posted by kovidgoyal View Post
Ask AI it will write one for you pretty well that you can then modify.



Repackaging happens automatically when you click the rebuild book button.
Many thanks, Kovid. I didn't understand because I thought that it was in Calibre-editor. I looked in Calibre main program, and all is clearer
jjk is offline   Reply With Quote
Advert
Old 03-01-2026, 04:23 PM   #33
jjk
Connoisseur
jjk began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
User plugin doesn't appear

Quote:
Originally Posted by kovidgoyal View Post
Ask AI it will write one for you pretty well that you can then modify.
I asked to Chat-GPT. It created a simple plugin that appears in "EditBookTool" category. Also, when I boot Calibre in debuging mode, log file contains this line :
Successfully initialized third party plugins: Italic spans to I (0, 5, 0)
where "Italic spans to I" is my plugin.
But no "Italic spans to I" button appears in any toolbars, nor in Calibre main, neither in Calibre-editor.
Why ?
And, have I to ask this question in the forum Plugin section ?

Last edited by jjk; 03-01-2026 at 04:26 PM.
jjk is offline   Reply With Quote
Old 03-01-2026, 04:40 PM   #34
lomkiri
Groupie
lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.
 
lomkiri's Avatar
 
Posts: 187
Karma: 1537710
Join Date: Jul 2021
Device: N/A
In the editor : menu Edit / Prefs, Icone Toolbars, choose a toolbar and add your plugin
lomkiri is offline   Reply With Quote
Old 03-01-2026, 04:51 PM   #35
jjk
Connoisseur
jjk began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
Quote:
Originally Posted by lomkiri View Post
In the editor : menu Edit / Prefs, Icone Toolbars, choose a toolbar and add your plugin
Thanks, but my plugin is not in any left list ("Actions available")
jjk is offline   Reply With Quote
Advert
Old 03-01-2026, 05:43 PM   #36
lomkiri
Groupie
lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.
 
lomkiri's Avatar
 
Posts: 187
Karma: 1537710
Join Date: Jul 2021
Device: N/A
You have to install it first with calibre (the main interface), It must be in a form of a zip file,
Button Prefs, section "Advanced", Plugin, button "Load plugin from file".

Restart Calibre.
Then you'll be able to put it in a toolbar of the editor,
lomkiri is offline   Reply With Quote
Old Yesterday, 08:08 AM   #37
jjk
Connoisseur
jjk began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Aug 2018
Location: Paris (France)
Device: Kobo Kindle Vivlio-Inkpad3
Quote:
Originally Posted by lomkiri View Post
You have to install it first with calibre (the main interface), It must be in a form of a zip file,
Button Prefs, section "Advanced", Plugin, button "Load plugin from file".

Restart Calibre.
Then you'll be able to put it in a toolbar of the editor,
That is all I did. As I said :
Quote:
Originally Posted by jjk View Post
when I boot Calibre in debuging mode, log file contains this line :
Successfully initialized third party plugins: Italic spans to I (0, 5, 0)
where "Italic spans to I" is my plugin.
More : on Calibre main, menu Pref/Plugins, I see my plugin in EditBook tool catagory. So, I presume that it is well installed. And booting log says "Successfully installed...".
But no way, in Calibre main neither in Calibre-editor, to discover it anywhere, even when I try to add it to some toolbar.

Last edited by jjk; Yesterday at 08:11 AM.
jjk is offline   Reply With Quote
Old Yesterday, 09:03 AM   #38
lomkiri
Groupie
lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.
 
lomkiri's Avatar
 
Posts: 187
Karma: 1537710
Join Date: Jul 2021
Device: N/A
Maybe it goes in error at starting, after the rough initialization. Try to start calibre or editor in a terminal and see the output. You can also put some debug msgs in your plugin (a print() will be shown in the terminal output) to see if it loads completely, or where it aborts if it's the case.

Well, I won't learn you how to debug, I suppose you already know all that.

A tip : if you change your code, no need to reinstall the plugin, just update the zip and restart calibre or editor.
lomkiri is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"open containing folder" gives no such directory under Linux exachillus Calibre 1 01-30-2014 02:02 AM
Conversion from "open ebook" directory? ysth Conversion 2 07-26-2012 05:15 PM
Open Source Font Directory for 1.9.5 Toastedpine Kobo Reader 3 06-29-2011 03:16 PM
ebook-convert: access current working directory inside recipe jens32 Recipes 3 06-03-2011 11:57 AM
Calibre working directory paulfiera Calibre 17 01-02-2011 03:28 AM


All times are GMT -4. The time now is 12:21 PM.


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