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-30-2017, 03:02 PM   #1
MoeReed
Member
MoeReed began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Apr 2017
Device: none
Any extra Calibre options when copying text from a book?

I have sporadically used Calibre over the last year, but want to completely switch over from the Kindle app to Calibre. There is only one thing holding me back: When I copy a sentence or two from an eBook, the Kindle app appends the citation to the clipboard which is very helpful. Example:

In the Kindle App I copy this line from a book:
</i>those things that aren't wanted," she said, putting something more on the heap of frippery that lay in Annushka's arms.</i>

When I paste the text the Kindle app appends the reference information:

<i>those things that aren't wanted," she said, putting something more on the heap of frippery that lay in Annushka's arms.

Tolstoy, Leo. Anna Karenina (p. 577). . Kindle Edition.</i>

The feature is great (unless copying only a word or two, then it is annoying). Why is this important? I copy text out of books and paste it into an Anki cards for usage examples of words I am trying to learn - and obviously I want to cite the reference in such cases. (In the above example "frippery" was a new word for me).

Is there a way to do this with Calibre? If so, I can finally dump the Kindle app for good!
---
(BTW, I noticed that in firefox the mobileread.com bold/italics/underline features do not work. I tried to add html to the text and it does not help. Bummer.)
MoeReed is offline   Reply With Quote
Old 04-30-2017, 05:16 PM   #2
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,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@MoeReed - for the first request I can get the source (book name) from my clipboard manager

Click image for larger version

Name:	clipboardmanager.jpg
Views:	633
Size:	64.9 KB
ID:	156451

For most Windows applications I can also use the so-called Evernote 'Helper', but for some reason it can't detect text selections in the calibre viewer, instead it grabs a screen shot.

A new browser based version of the calibre viewer should be released within a month or or three, it may have an option to include book title and authors in clipboard copies (if not the so-called Evernote 'Clipper' might do it, as it does for regular web clippings). I'm hoping it will have text selection via common-or-garden keyboard sequences - Ctrl+Shift+arrow keys.

The bold, italics and underline features of MR forum work for me in Firefox 53.0 on Windows 10 1611 - by clicking buttons or Ctrl+B/I/U. Try running Firefox with Add-ons disabled (it's in the Help menu).

Added: - re your other issue, is this relevant ==>> Dealing with Kindle for PC/Mac 1.19 and KFX in calibre

BR

Last edited by BetterRed; 04-30-2017 at 07:27 PM. Reason: see Added
BetterRed is offline   Reply With Quote
Old 05-01-2017, 12:15 AM   #3
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: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I dont much like the idea of copy adding extra text automatically. I would find that extremely annoying.

Note that you can clickt he show book metadata button in the viewer and copy the title/author from there.

I also dont mind adding an extra "Copy with citation" action to the right click menu of the viewer -- unfortunately I am rather busy right now working on finishing up calibre 3 so either ping me about it after 3 or open a bug report
kovidgoyal is offline   Reply With Quote
Old 05-01-2017, 11:14 AM   #4
MoeReed
Member
MoeReed began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Apr 2017
Device: none
Quote:
Originally Posted by kovidgoyal View Post
I dont much like the idea of copy adding extra text automatically. I would find that extremely annoying.

Note that you can clickt he show book metadata button in the viewer and copy the title/author from there.

I also dont mind adding an extra "Copy with citation" action to the right click menu of the viewer -- unfortunately I am rather busy right now working on finishing up calibre 3 so either ping me about it after 3 or open a bug report
Yes! that would be perfect. You are right that is is annoying - unless you want to have the citation - then it is annoying to have to open the metadata to copy the title & author each time, and the reason I still use the (otherwise terrible) Kindle app.

Thanks for your help and hard work, Mr. Goyal. Some spondulicks on the way shortly.

**edit**
apparently there are others who would appreciate this functionality too:

https://www.mobileread.com/forums/sh...d.php?t=278125

Last edited by MoeReed; 05-01-2017 at 03:23 PM.
MoeReed is offline   Reply With Quote
Old 05-01-2017, 06:12 PM   #5
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,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
I dont much like the idea of copy adding extra text automatically. I would find that extremely annoying.
I don't mind the extras being copied, but I would find the extras always being pasted very annoying.

Right now, if I want the clip and the reference (window title of the source) I press Ctrl+Alt+V at paste time, if I use Ctrl+V and then realise I want the reference I can press Ctrl+Z, Ctrl+Alt+V. And it works irrespective of the clip source - browsers, text editors, pdf and comic book viewers, image viewers, file managers, epub viewers such as calibre's, azardi and balabolka's TTS reader...

Sure its not styled as a formal APA/Chicago/MLA/IEEE etc citation, but its probably enough to get such a thing should I actually need it.

At sometime in the future I will lose my current clipboard manager, I would gladly pay for a replacement with similar functionality - but I am yet to find one.

BR
BetterRed is offline   Reply With Quote
Old 05-01-2017, 07:18 PM   #6
MoeReed
Member
MoeReed began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Apr 2017
Device: none
Quote:
Originally Posted by BetterRed View Post
but I would find the extras always being pasted very annoying.
BR
Yes, me too, but nobody is talking about making it exactly like the Kindle app (this is how Kindle behaves). Even the developer says he would make this a right-click menu option rather than the default behavior - perfect.
MoeReed is offline   Reply With Quote
Old 05-01-2017, 08:03 PM   #7
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,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by MoeReed View Post
Yes, me too, but nobody is talking about making it exactly like the Kindle app (this is how Kindle behaves). Even the developer says he would make this a right-click menu option rather than the default behavior - perfect.
But only in the calibre ebook-viewer. I need something that works when viewing PDF's in Acrobat or picture books and comics in YacReader, or an image in FPV, a blog or newspaper in a browser...

If you forget to use the right click option, the 'citation' won't be there when you paste, so you'll have to go back and get it. That would irritate me even more than pasting a 'citation' I didn't want. For me removing it in situ would be far easier than going back to the source program and file, finding the text, recopying it via a right click option, and then going back to the target program and pasting it again.

To each his own.

BR

Last edited by BetterRed; 05-01-2017 at 10:14 PM.
BetterRed is offline   Reply With Quote
Old 04-29-2021, 10:26 AM   #8
davidhcje
Connoisseur
davidhcje began at the beginning.
 
Posts: 79
Karma: 10
Join Date: Mar 2021
Device: android phone
Quote:
Originally Posted by kovidgoyal View Post
I also don't mind adding an extra "Copy with citation" action to the right click menu of the viewer -- unfortunately I am rather busy right now working on finishing up calibre 3 so either ping me about it after 3 or open a bug report
Just wonder if this functionality has been implemented.
davidhcje is offline   Reply With Quote
Old 04-29-2021, 01:21 PM   #9
georgehuang
Enthusiast
georgehuang began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Oct 2020
Device: MacBook, iPhone, Kindle Paperwhite
Yes. Menu → Preferences → Selection Behavior → Add "Copy citation to clipboard"
georgehuang is offline   Reply With Quote
Old 05-04-2021, 01:39 AM   #10
davidhcje
Connoisseur
davidhcje began at the beginning.
 
Posts: 79
Karma: 10
Join Date: Mar 2021
Device: android phone
Thank you!
davidhcje is offline   Reply With Quote
Old 05-18-2021, 12:03 PM   #11
davidhcje
Connoisseur
davidhcje began at the beginning.
 
Posts: 79
Karma: 10
Join Date: Mar 2021
Device: android phone
Quote:
Originally Posted by georgehuang View Post
Yes. Menu → Preferences → Selection Behavior → Add "Copy citation to clipboard"
when I use this method to copy a sentence, I got the following copied, which I can hardly understand.

Quote:
[Feelings are not the real self. Whereas feelings are programs that come and go, the real inner Self always stays the same; therefore, it is necessary to stop identifying transient feelings as yourself](calibre://view-book/_hex_-43616c696272655f4c696272617279/43/EPUB?open_at=epubcfi%28/58/2/4/44/1:3%29)
Is this intended? How could I have the sentence with the book title copied instead?

Here's a video clip showing what I mean:
https://youtu.be/VvimLYQDcnI

Last edited by davidhcje; 05-26-2021 at 05:44 AM. Reason: adding a demonstration video clip
davidhcje is offline   Reply With Quote
Old 05-27-2024, 03:59 AM   #12
georgehuang
Enthusiast
georgehuang began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Oct 2020
Device: MacBook, iPhone, Kindle Paperwhite
The citation that "Copy citation to clipboard" creates is in Markdown format. It can be easily converted to an HTML link that will open the Calibre app and lead you straight to the exact text quoted. IMHO this is the ideal way to create citations for HTML-based books.

The citations might be different from those cited from a paper book and are not easily sharable with other people (unless you share the same library), but they are quite useful to the owner of the ebook.
georgehuang is offline   Reply With Quote
Reply

Tags
calibre, clipboard, reference


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying text with reference im2ofthem Library Management 1 09-07-2016 12:32 PM
BUG: Calibre 2.0 E-Book Viewer ePub extra space display problem trying Calibre 3 08-28-2014 08:56 AM
Calibre and Kobo: only 1 book in series copying over Grady Cole Devices 2 07-12-2014 10:35 AM
Copying options from one install to another JSWolf Calibre 4 07-26-2012 10:55 PM
Content copying and pasting text beppe Amazon Kindle 12 07-24-2011 04:09 PM


All times are GMT -4. The time now is 11:34 AM.


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