Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-10-2021, 05:08 AM   #1
mauli
Junior Member
mauli began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2021
Device: calibre
Copy/Paste and ZWSP

Hi,

I read a technical book with code snippets. Every time I copy a code snippet in my IDE (Rubymine) I have to remove the ZWSP (zero-white-space) from the copied strings. This is annoying. How can I fix it?
(I'm under Linux/Ubuntu)

Thomas
mauli is offline   Reply With Quote
Old 03-10-2021, 06:25 AM   #2
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Remove the zwsp from the book using the edit book tool.
kovidgoyal is online now   Reply With Quote
Advert
Old 03-12-2021, 01:40 AM   #3
mauli
Junior Member
mauli began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2021
Device: calibre
Thank you. I found the tool. Could you give some details how to do it? The book has many pages and I never did use the editor until now. Do I have to edit every single page? How to specify "ZWSP" as the character for replacing?
mauli is offline   Reply With Quote
Old 03-12-2021, 07:09 AM   #4
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You do a search replace you can tell the search replace to run over all files if you like. https://manual.calibre-ebook.com/edit.html

And if you want to do it from the command line use the search replace features of ebook-convert
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy and paste Alpha o Calibre 29 05-06-2016 06:28 AM
Copy PAste Fizzyfi Calibre 2 04-10-2015 02:55 PM
Copy/Paste PalingB Sigil 10 10-15-2014 03:17 PM
Copy and Paste JDavid Sigil 4 08-23-2012 04:02 PM
Copy and Paste Gunnerp245 enTourage eDGe 1 04-03-2010 02:45 PM


All times are GMT -4. The time now is 10:26 AM.


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