Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2023, 07:07 PM   #16
Geremia
Addict
Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!
 
Posts: 235
Karma: 100000
Join Date: Oct 2012
Device: Calibre
Quote:
Originally Posted by kovidgoyal View Post
convert a file with tthat extension
I get
Quote:
calibre, version 6.16.0
WARNING: Could not convert some books: Could not convert the book because no supported source format was found

Manuale Theologiæ Moralis II (14ᵃ ed.) - No supported formats (Available formats: pdf_ocr)
Geremia is offline   Reply With Quote
Old 04-23-2023, 10:22 PM   #17
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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Did you install the plugin?
kovidgoyal is offline   Reply With Quote
Old 04-23-2023, 10:51 PM   #18
Geremia
Addict
Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!
 
Posts: 235
Karma: 100000
Join Date: Oct 2012
Device: Calibre
Quote:
Originally Posted by kovidgoyal View Post
Did you install the plugin?
Yes, MyPDFInput appears in the "Conversion input" section of the "Plugin" preferences.
Geremia is offline   Reply With Quote
Old 04-24-2023, 12:48 AM   #19
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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you need

file_types not supported_extensions.

It really would go a lot faster if you just read the builtin plugin for pdf input instead of trying to get chatgpt to do it for you. Just look at the existing PDFInput class and override the appropriate methods/fields.
kovidgoyal is offline   Reply With Quote
Old 04-24-2023, 04:47 AM   #20
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,165
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Also Chatgpt makes up stuff (lies). Proven. It's an environmentally damaging toy.
Quoth is offline   Reply With Quote
Old 04-24-2023, 10:58 PM   #21
Geremia
Addict
Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!
 
Posts: 235
Karma: 100000
Join Date: Oct 2012
Device: Calibre
Question

Quote:
Originally Posted by kovidgoyal View Post
you need

file_types not supported_extensions.
Thanks. That fixed the issue.
Updated __init__.py:
Code:
from calibre.ebooks.conversion.plugins.pdf_input import PDFInput

class MyPDFInput(PDFInput):
    name = "MyPDFInput"
    description = "Adds support for additional file extensions to PDF input"
    file_types = ['pdf_original', 'pdf_answers', 'pdf_booklet', 'pdf_oa', 'pdf_ocr', 'pdf_old', 'pdf_original', 'pdf_tesseract']
However, this plugin only allows the indexing of .pdf_* files that were imported after enabling this plugin. Is there a way to make it retroactively apply to previously-imported .pdf_* files?

Last edited by Geremia; 04-24-2023 at 11:37 PM.
Geremia is offline   Reply With Quote
Old 04-24-2023, 11:34 PM   #22
Geremia
Addict
Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!
 
Posts: 235
Karma: 100000
Join Date: Oct 2012
Device: Calibre
Quote:
Originally Posted by kovidgoyal View Post
instead of trying to get chatgpt to do it for you.
Quote:
Originally Posted by Quoth View Post
Also Chatgpt makes up stuff
Yes, but it gave me a good start.
Geremia is offline   Reply With Quote
Old 04-25-2023, 12:50 AM   #23
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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can manually re-index any book by right clicking ont he book details panel or simply re-index your whole library.
kovidgoyal is offline   Reply With Quote
Old 04-25-2023, 07:32 PM   #24
Geremia
Addict
Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!Geremia rocks like Gibraltar!
 
Posts: 235
Karma: 100000
Join Date: Oct 2012
Device: Calibre
Question

Quote:
Originally Posted by kovidgoyal View Post
You can manually re-index any book by right clicking ont he book details panel
Thanks. I was looking for book re-indexing in the right-click contextual menu.
There's no way to bulk re-index select books?

Last edited by Geremia; 04-25-2023 at 07:52 PM.
Geremia is offline   Reply With Quote
Reply

Tags
calibre, djvu, fulltext, indexing


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Choice for PDF/Djvus under 120$ ehesvagyokmar Which one should I buy? 1 05-17-2017 01:47 AM
Fulltext Search on M92 Valec Onyx Boox 1 05-21-2012 05:14 AM
solution for reading .pdfs, .djvus and .tiffs? pan.sapiens Which one should I buy? 5 04-21-2012 04:26 PM
fulltext search guly Calibre 2 01-10-2010 06:49 AM


All times are GMT -4. The time now is 03:32 PM.


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