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 03-16-2020, 06:37 AM   #1336
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Well that was easy enough, I thwarted the Windows Permissions Beast by installing the portable version of the Windows Quicklook app. Hooked it up to calibre's Open With for PDF's and even gave it 'space' as a shortcut.

Cute and PDQ, I'll play with some other formats tomorrow.

Someone with a Mac will have to see if they can do the same.

BR
BetterRed is offline   Reply With Quote
Old 03-16-2020, 12:59 PM   #1337
nixsee
Connoisseur
nixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notes
 
Posts: 79
Karma: 24858
Join Date: Feb 2020
Device: none
Wow, I didnt expect such a fast response let alone success! Will you be trying to make it into a plugin or is it something I can/will have to configure myself?
nixsee is offline   Reply With Quote
Advert
Old 03-16-2020, 01:02 PM   #1338
nixsee
Connoisseur
nixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notes
 
Posts: 79
Karma: 24858
Join Date: Feb 2020
Device: none
And another idea - Indexed Full Text Searching. This is the one outstanding feature that keeps my waffling about Calibre vs Zotero for my academic papers (I've been all-in on Calibre for books for many years).

I have seen this in the forums already, but it doesnt look like there is a solution yet other than to just use your built-in operating system search indexer. I can do that, but it would be really nice to have it built into calibre - make saved searches, tag results, etc...

Perhaps there's a way to piggyback off of the Windows search index? Or something on Github that can be integrated?
nixsee is offline   Reply With Quote
Old 03-16-2020, 01:05 PM   #1339
nixsee
Connoisseur
nixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notes
 
Posts: 79
Karma: 24858
Join Date: Feb 2020
Device: none
Another idea: OCR, which goes hand-in-hand with search indexing. There's obviously other ways to do this with 3rd party applications, but a built-in, streamlined process (and without need for the command-line) would be great. Again, Zotero has a plugin for this, that is built off of the free Tesseract engine.

https://github.com/UB-Mannheim/zotero-ocr
nixsee is offline   Reply With Quote
Old 03-16-2020, 01:10 PM   #1340
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,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by nixsee View Post
Another idea: OCR, which goes hand-in-hand with search indexing. There's obviously other ways to do this with 3rd party applications, but a built-in, streamlined process (and without need for the command-line) would be great. Again, Zotero has a plugin for this, that is built off of the free Tesseract engine.

https://github.com/UB-Mannheim/zotero-ocr
It's a large effort for very little return.
JSWolf is offline   Reply With Quote
Advert
Old 03-16-2020, 01:20 PM   #1341
nixsee
Connoisseur
nixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notes
 
Posts: 79
Karma: 24858
Join Date: Feb 2020
Device: none
Fair enough. I know next to nothing about coding - just making suggestions. Thanks for the quick reply!
nixsee is offline   Reply With Quote
Old 03-16-2020, 05:04 PM   #1342
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by nixsee View Post
Wow, I didnt expect such a fast response let alone success! Will you be trying to make it into a plugin or is it something I can/will have to configure myself?
No need for a plugin, the following does exactly what you asked for - opens PDFs in Quicklook when you press spacebar in the book list - pretty cool

This is what I did on Windows - you or someone with a Mac will have to work out how to do the same on a Mac, there's only one unknown, where does Apple hide Quicklook in MacOS

Initially I installed Quicklook app from the MS Store, that was OK I could use it from File Explorer (Finder in Macspeak), but it was installed the C:\Program Files\WindowsApps folder which is where I ran into the Permissions Monster.

So I went looking for a portable version of Quicklook, I found it on the developers site ==>> Releases · QL-Win/QuickLook, so I installed the msi in C:\Program Files (Portable)\Quicklook (that's a folder)

Then in calibre:

I found a book with a PDF in my Test library and right clicked the PDF link in Book Details,

Click image for larger version

Name:	Annotation 2020-03-17 070327.jpg
Views:	258
Size:	395.9 KB
ID:	177768

After selecting Add other application for PDF files this popped up:

Click image for larger version

Name:	Annotation 2020-03-17 070443.jpg
Views:	261
Size:	27.5 KB
ID:	177769

After clicking Browse computer for program, Flle Manager kicked in and I went to C:\Program Files (Portable)\Quicklook

Click image for larger version

Name:	Annotation 2020-03-17 070708.jpg
Views:	256
Size:	106.4 KB
ID:	177770

So that hooked Quicklook into Calibres Open With for PDFs. I then went to Preferences->Shortcuts, scrolled down to Open With, then to Open PDF Files with Quicklook and gave it a custom short cut of 'space'

Click image for larger version

Name:	Annotation 2020-03-17 070922.jpg
Views:	252
Size:	202.0 KB
ID:	177771

Then I found another book with a PDF

Click image for larger version

Name:	Annotation 2020-03-17 071233.jpg
Views:	257
Size:	370.6 KB
ID:	177772

Pressed the spacebar and up popped Quicklook

Click image for larger version

Name:	Annotation 2020-03-17 071355.jpg
Views:	268
Size:	345.1 KB
ID:	177773

The unknown on a Mac is where to find the Quicklook app, if you can find it then just follow the above steps.

BR

Last edited by BetterRed; 03-16-2020 at 07:18 PM.
BetterRed is offline   Reply With Quote
Old 03-16-2020, 05:24 PM   #1343
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by nixsee View Post
And another idea - Indexed Full Text Searching. This is the one outstanding feature that keeps my waffling about Calibre vs Zotero for my academic papers (I've been all-in on Calibre for books for many years).

I have seen this in the forums already, but it doesnt look like there is a solution yet other than to just use your built-in operating system search indexer. I can do that, but it would be really nice to have it built into calibre - make saved searches, tag results, etc...

Perhaps there's a way to piggyback off of the Windows search index? Or something on Github that can be integrated?
There are a couple of plugins with content search, MultiColumnSearch and ????????????????????????

But I don't use either of them, instead I use Windows Search and X1 Search. I 'integrate' them into calibre via the Drop Search Results (DSR) plugin. I don't know if DSR works with Spotlight on Macs, ask in the DSR thread.

Index of plugins

Help: Can someone remember the other one - it's one of kiwidudes

BR
BetterRed is offline   Reply With Quote
Old 03-16-2020, 05:42 PM   #1344
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by nixsee View Post
Another idea: OCR, which goes hand-in-hand with search indexing. There's obviously other ways to do this with 3rd party applications, but a built-in, streamlined process (and without need for the command-line) would be great. Again, Zotero has a plugin for this, that is built off of the free Tesseract engine.

https://github.com/UB-Mannheim/zotero-ocr
See previous response - re searching,

Kovid has indicated in the past that he intends adding content search to calibre, I think he mentioned using the Lucene engine, it may search OCR search image PDFs.

This also looks interesting Dropbox's AutoOCR can index text from PDFs and images

BR
BetterRed is offline   Reply With Quote
Old 03-16-2020, 09:33 PM   #1345
nixsee
Connoisseur
nixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notesnixsee can name that song in three notes
 
Posts: 79
Karma: 24858
Join Date: Feb 2020
Device: none
@BetterRed Wow, thanks so much! I was unaware of the Open With features and menus - I'll poke around there some more, and in the menus in general.

Neat feature, eh? Now to have something like that built right into Calibre - like the Windows Explorer Preview Pane, so you can preview files while scrolling through them! (wishful thinking?)

And thanks for the tips on the various Search Plugins - I'll explore them, and look closer at the Index of Plugins as well.

Last edited by nixsee; 03-16-2020 at 09:37 PM.
nixsee is offline   Reply With Quote
Old 03-16-2020, 10:51 PM   #1346
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If anyone is interested in Quicklook for EPUB, the QL plugins are at ==>> Available Plugins · QL-Win/QuickLook Wiki

install it into Quicklook, add Quicklook to the EPUB Open With list, and give it a shortcut e.g. Shift Q.

It's very quick to open, UI is not great, actually it's awful, but it works. It's written in C# and the source is licensed GPL-3.0.

BR
BetterRed is offline   Reply With Quote
Old 03-21-2020, 08:58 AM   #1347
The_book
Zealot
The_book began at the beginning.
 
Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
I have an idea. Create an input plugin and a output plugin to deal markdown. This two plugin do exactly what txt plugin dose, just aim to auto convert .md file, because I am somehow tired to rename file from txt to md everytime. What can I do to start? Is there any direct api to using built-in input and output plugins in new plugin?
The_book is offline   Reply With Quote
Old 03-21-2020, 09:05 AM   #1348
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,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by The_book View Post
I have an idea. Create an input plugin and a output plugin to deal markdown. This two plugin do exactly what txt plugin dose, just aim to auto convert .md file, because I am somehow tired to rename file from txt to md everytime. What can I do to start? Is there any direct api to using built-in input and output plugins in new plugin?
What is a .md file? If it's just a text file, then nobody is going to write these plugins because there's not need as Calibre already converts text files.
JSWolf is offline   Reply With Quote
Old 03-21-2020, 09:30 AM   #1349
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by The_book View Post
I have an idea. Create an input plugin and a output plugin to deal markdown.
Calibre already supports the import and export of markdown and textile files.
Doitsu is offline   Reply With Quote
Old 03-21-2020, 10:47 AM   #1350
The_book
Zealot
The_book began at the beginning.
 
Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
Quote:
Originally Posted by JSWolf View Post
What is a .md file? If it's just a text file, then nobody is going to write these plugins because there's not need as Calibre already converts text files.
I use ebook-convert cli to convert books. So when I want to get a markdwon from an epub, I need to set --txt-output-formatting=markdown everytime and rename the file from .txt to .md everytime. I think to use ebook-convert xxx.epub .md is not a bad idea.
By the way, I find this post after post another post with the same content. I'm sorry for this action, and as that post have been closed, I can only thank jhowell here for the suggestion to look at the implementation of the TXTZ Output plugin in txt_output.py. It seems helpful to me.
The_book is offline   Reply With Quote
Reply

Tags
calibre, chatbot, cover, epub fix, epub-fix, google books, kindle, metadata calibre title, missing, pdf, pdf and calibre, plugin development, scribe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-505 Any ideas what this might be? Neupy Sony Reader 4 07-03-2012 07:19 AM
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 12:11 PM
Ideas? mike_bike_kite Which one should I buy? 10 06-13-2010 03:37 PM
Ideas F1Wild Amazon Kindle 4 07-10-2009 06:01 AM


All times are GMT -4. The time now is 12:53 AM.


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