Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2015, 10:04 AM   #1
Francois_C
Zealot
Francois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipse
 
Francois_C's Avatar
 
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
"Add file" security, please;)

There is a fine feature in Calibre, which allows adding a new file (ODT, DOCX, etc) file into an existing book folder.
But I had just a rather annoying misadventure: I often convert epubs with lots of mistakes into DOCX, then I save them into ODT, and work on the ODT with Libreoffice before I convert them back to epub. So I had worked for hours on an ODT, and corrected thousands of mistakes; the file was already nearly clean, I made an epub with Amanuensis, then thought that having my ODT known by Calibre would be pretty secure, in case one change in the metadata would have modified the name of the folder and erased all files which were unknown to Calibre.
So I added my ODT to Calibre (right-click on add books and so on)… then, in order to check the result, I converted the ODT into epub with Calibre. Horror! I got another book by the same writer!
What happened to me? When importing my ODT I chose the wrong folder, and Calibre silently overwrote my existing copy which cost me so much work with a renamed copy of the other book.
I had noticed this eventuality before, but this is the first time I'm completely unable to recover my work, for I usually keep several safety copies: The ODT was overwritten by the renamed one, and, of course, even the Amanuensis epub which would have kept my work had just been overwritten by my unfortunate test.
I know I was wrong, an totally ridiculous, as I lost my work by fear of losing it, but maybe a small "if exist" test when importing a new file would avoid this?
Francois_C is offline   Reply With Quote
Old 08-30-2015, 11:14 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
You can also drag and drop onto the wrong Book. That assumes you know what you have (bypasses extract/decode the metadata)

Add books has a safety (of sort) setting (see image)

Tweaks also has settings if you use the Copy To Library feature
Attached Thumbnails
Click image for larger version

Name:	Add Books.JPG
Views:	173
Size:	74.1 KB
ID:	141520  
theducks is offline   Reply With Quote
Advert
Old 08-30-2015, 07:14 PM   #3
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Francois_C - FWIW I find the easiest way to add a new ebook format (eg ODT) to an existing book, is to drag the file from a file manager and drop it onto the book details panel - its a big target and therefore not easily missed

I do something very similar to what you seem to be doing on 10-20 'books' every day.
  • I first convert <whatever> to RTF in calibre.
  • From calibre I open the RTF in Word.
  • After a applying a couple of RTF-only macros I save as DOCX.
  • I close the DOCX in Word.
  • I go back to calibre and open the book folder (press 'O')
  • I drag/drop the just created DOCX file to the book details panel.
  • I then 'View' the DOCX from calibre in Word and do my editing.
  • As and when I 'feel like it' I close the DOCX in Word, go back to calibre convert the DOCX to EPUB and have a look at it.
I keep the RTF until I have an acceptable EPUB then I remove it via Alt+Del.

In Windows Word locks the files it has open, if I try to do anything with such a file in calibre (e.g. convert) then calibre will pop a message telling me the file is locked. File locking is a Windows feature, I don't know if Open Office makes use of it.

I often make 'mistakes' when I get an interrupt, phone, door, text message etc. So, I put a pro-forma check list into the books I'm working on. Its in the form of a OneNote note (.ONE file), it gets removed along with RTF when I have 'finished' a book. My 'mistake' rate has dropped to near zero since I started to do this.

Occasionally I will have a book that requires extra steps in the process, often using software other than calibre, word and irfanview. I those instances I create a directory out of calibres reach and copy what I have in the calibre book folder to that location. I then use whatever tools are needed - including calibre command line tools - to get the job done. When I'm done I copy the files I want to have in the calibre book folder via drag/drop into the book details panel.

BR
BetterRed is offline   Reply With Quote
Old 08-31-2015, 01:21 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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Umm there is already a confirmation popup when you use Add Books->Add files to selected book records or drag and drop onto the book details panel. Perhaps you disabled it? If so, go to Preferences->Behavior->Reset disabled confirmation dialogs.
Attached Thumbnails
Click image for larger version

Name:	confirm.png
Views:	161
Size:	14.1 KB
ID:	141534  

Last edited by kovidgoyal; 08-31-2015 at 01:24 AM.
kovidgoyal is offline   Reply With Quote
Old 09-04-2015, 12:39 PM   #5
Francois_C
Zealot
Francois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipse
 
Francois_C's Avatar
 
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
Thanks Kovid. I have just reset the dialogs; never noticed I disabled them, but my Calibre installations are so ancient…
Do you still convert to RTF, BetterRed? DOCX conversion is so more powerful that I only convert with it.
Sometimes I still merge all HTML, change the header and the paths to stylesheet and images, then open with Libroffice, but it became nearly useless.
I have only two little issues with DOCX conversion:
* Character styles may be a little tricky to handle if you want to modify with a word processor, so I often open-save the DOCX with a word processor like Atlantis which does not know character styles and converts to direct formatting. (The names of these styles begin with numbers, so that I also have to change them when making ebooks with Amanuensis.
* When a paragraph contains mostly italics, an italic paragraph style is created and all the text is in italics (But maybe this has been improved…)
Francois_C is offline   Reply With Quote
Advert
Old 09-04-2015, 04:47 PM   #6
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: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Francois_C View Post
Do you still convert to RTF, BetterRed? DOCX conversion is so more powerful that I only convert with it.
@Francois_C - yes, it works better for me because I have some Word macros that expect what I get from RTF. I took a look at going straight to DOCX when Kovid released the DOCX output feature, but I would have needed to change some macros, some of which are from last century I only change things when the cost of doing the same exceeds the cost of doing the change.

Besides I like having the RTF as a backstop, I never save the RTF from Word, once I have passed it through a couple of primary macros I save the document as DOCX, close the DOCX, drop it onto Book Details and then continue to work on the DOCX. The RTF get's deleted once I have a 'final' DOCX.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apple Mac now have a file extension ".iba" for the program "iBooks Author." brucehobson Calibre 3 09-15-2014 07:46 PM
A warning for Linux users: slow "Add Books", "Unknown" title and Author rolgiati Library Management 8 07-24-2013 04:36 PM
Custom column: "Updated date", when adding new "versions" of the same file? enriquep Library Management 16 11-03-2011 10:46 AM
"Add new format" to text file without extension myudkowsky Calibre 4 11-25-2010 02:00 PM


All times are GMT -4. The time now is 12:44 PM.


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