Questions tagged [calibre]

calibre is a free and open source e-book library management application.

calibre is a free and open source e-book library management application. Key features are:

  • Library Management
  • E-book conversion
  • Syncing to e-book reader devices
  • Downloading news from the web and converting it into e-book form
  • E-book viewer
  • Content server for online access to your book collection

See calibre homepage.

94 questions
2
votes
1 answer

Regex and replacement with numbers and texts

In a epub code, I have this text: Capitulo 1 - Apple is red Capitulo 2 - Milk is white Capitulo 3 - Weeds are green I need to replace "span" tags with "h1" tags, and all instances of "capitulo" with "chapter",…
Luigi P.
  • 47
  • 6
2
votes
0 answers

initial-letter doesn't show the correct font

I'm creating an ebook with calibre but I can't set a good drop cap because the letter doesn't follow the font-family rule in the css. Here's my code: p:first-of-type:first-letter { font-family: "Dearest" !important; initial-letter: 3; …
Cristian
  • 654
  • 1
  • 13
  • 30
2
votes
1 answer

Where is directory of my custom plugin(python file) after install in calibre?

I wanna edit my plugin file without install it every time. I have to install plugin every time to debug it. So, I have a problem with that and I wanna find it's location and edit it (in Mac or Windows)? Where is my plugin file?
Hojjat
  • 815
  • 1
  • 10
  • 25
2
votes
1 answer

How to change application that is used to open a file by ``QDesktopServices.openUrl``

I'm trying to debug a problem with opening CBR files in Calibre (it was explained here). Specific Callibre problem is mostly not revelant, and it boild down to the issue that files and folders are opened by improper external programs. After some…
jb.
  • 23,300
  • 18
  • 98
  • 136
2
votes
1 answer

No plugin to handle input format: doc - Calibre

I am trying to convert a doc to an epub using calibre via the command line but I get this error. Traceback (most recent call last): File "site.py", line 61, in main File "site-packages/calibre/ebooks/conversion/cli.py", line 341, in main File…
Abs
  • 56,052
  • 101
  • 275
  • 409
2
votes
2 answers

Python look-behind regex issue: Invalid regular expression: look-behind requires fixed-width pattern

I need to match a linebreak in-between double quotes, as in:

“This is the first sentence.

And this is the second!”

This would match

Now, I got this working with the regex…

Zout
  • 821
  • 10
  • 18
2
votes
2 answers

Regex Pattern to Match Character Not Surrounded by Particular Characters

I'm trying to use a regular expression to match a certain character only when it isn't immediately adjacent to a certain character. (For an eBook in Calibre) Specifically, I want to match all ” that aren't at the end of a sentence, which means they…
Zout
  • 821
  • 10
  • 18
2
votes
0 answers

ebook-convert not converting epub to pdf

1% Converting input to HTML... InputFormatPlugin: EPUB Input running on /opt/lampp/htdocs/test.epub Found HTML cover content/calibre_title_page.html Parsing all content... 34% Running transforms on ebook... Merging user specified metadata...…
Kuldeep Singh
  • 451
  • 2
  • 13
1
vote
1 answer

Javascript to make Manage My Kindle delete matching items?

I have a kindle and use Calibre to send it documents. Because I have Personal Documents archival enabled (and don't want to disable it), Amazon stores all of my news items in the archive. These extraneous items make it hard to find the books that I…
idbrii
  • 10,975
  • 5
  • 66
  • 107
1
vote
1 answer

Python, Calibre, Open exe from URL Link

I would like to be able to open an .exe, from inside the Calibre program. http://calibre-ebook.com/ (Opensource coded in python) At present a details window will show a user defined URL, which will open in default browser, what I'm after is some way…
1
vote
1 answer

How do I write a waf file for a custom compiler?

I got sick of looking up the magic symbols in make and decided to try waf. I'm trying to use calibre to make ebooks and I'd like to create a wscript that takes in a file, runs a program with some arguments that include that file, and produces an…
idbrii
  • 10,975
  • 5
  • 66
  • 107
1
vote
0 answers

Calibre created EPUB: Why Pagina's EPUB Checker reports 2 types of errors concerning improper placement of "link" and "vlink" attributes in CSS?

How can I correct errors relating to improper placement of link and vlink attributes in EPUB’s CSS? Calibre automatically generated the CSS for each of the linked sections of the EPUB file, i.e., xxx_split_xxx.htm. These related to the H1 and H2…
trosoft
  • 11
  • 1
1
vote
0 answers

How can I convert epubs to txt from a (Windows) command line while preserving line breaks?

I'm trying to convert epubs to txt that preserves line break formatting. Using the Calibre app itself to convert works fine, but I work with several epubs daily and the process of having to drop the file itself into Calibre, convert, and extract,…
mysther
  • 51
  • 2
1
vote
1 answer

How is Calibre sending books to my Kindle from my personal email?

Basically this question - https://www.reddit.com/r/Calibre/comments/tcew2i/howcan_calibre_send_books_to_my_kindle_using_my/ I recently set up my Kindle to receive books by email. The only verified address is my personal email. In Calibre, I set up…
1
vote
0 answers

Navigation Epub3 on android

I've already built my app, I've got a backend CMS and whilst I can get it to work in opening my stories, I have an issue in being able to navigate within my stories. I've uploaded them using calibre and have the format in epub3 allowing extra…