![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 117
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
|
adding a book in zip format
For some reasons, I need to keep 2 versions of a book into PDF: same book, different pdf files.
Calibre does not allow to keep more than one format of the same kind into the library, so I had thought I had found a workaround: zip the second pdf file and add to the record. I did it with one book and everything went smooth: now the record shows 2 formats, PDF and ZIP. The zip is good for me for the first pdf is a matter of fact a copy without any changes, straight out from the scans, for backup purposes, a copy I get only if something goes wrong with the other one, to restore the file. Well, after that book I tried to insert another one; I put first the pdf, and then the zip. This time, instead of adding the zip to the record as a new format of the same book, I just plain overwrite the other pdf with the one contained into the zip... Shit ;-) I guess Calibre recognizes the zip as a pdf for its content, unwrap it and accomodate into the record, deleting the old one. Correct, I guess, but not I would like it to do. So I wonder how come in the first book it did not go that way and wether there is a way to reach what I want. Thank you. – cordialmente, [Promotion deleted - MODERATOR] Last edited by Dr. Drib; 01-07-2014 at 10:58 AM. |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,599
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Calibre will process zips and rars as ebooks if they conform to certain structures. For purposes such as yours I avoid zip & rar and use another archive format such as 7z.
However if I have two pdf's (e.g. English and French) of the same book, as you appear to have, then before adding the second book I will rename it to '<whatever>.PDF2'. I then have to do the add via Add files to selected book. And in the OS I associate .PDF2 with my normal PDF reader There are some things I can't do with the PDF2 from within the Calibre GUI, such as conversion, for which I would use the CLI; but many other operations such as send to device, save to disk etc should work. I also put a note in Comments to remind me what the PDF2 is - eg it's in French. If you use Spotlight you might have to tell it to handle PDF2 files like PDF files. I use 7z containers for things like multi file audio-books BR Last edited by BetterRed; 08-01-2013 at 09:12 AM. Reason: Add Spotlight reminder & 7z usage |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Calibre treats ZIP/RAR files containing a single ebook as though they were the unzipped version of the book. If you add some other dummy file to the ZIP/RAR so it contains files for more than a single book then it will leave it unchanged.
Just a bit of advice - you might be better off using RAR as your archive format. Calibre uses ZIP as a way of storing HTML based books (which typically consist of multiple files). It is therefore a good idea (although not mandated) to reserve ZIP for this type of book. I must admit I have no idea what would happen if you tried to add a HTML book (which Calibre puts into a ZIP) if you already have a ZIP containing books not in HTML format - my guess is it will replace them which will not be what you want. |
![]() |
![]() |
![]() |
#4 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 117
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
|
Quote:
Have a nice day, thanks again. – cordialmente, [Promotion deleted - MODERATOR] Last edited by Dr. Drib; 01-07-2014 at 10:57 AM. |
|
![]() |
![]() |
![]() |
#5 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 117
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
|
Quote:
Thank you. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,888
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Last edited by DoctorOhh; 08-02-2013 at 08:11 AM. |
|
![]() |
![]() |
![]() |
#7 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,599
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
![]() The problem with spoofing a zip or rar by adding an extraneous file so that it does not conform to Calibre's normal usage of zips and rars is:- how will you know at glance that you did that on a case by case basis; whereas if its another archive type, eg 7z, it will be quite obvious. BR |
||
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
One reason for preferring .rar over something like .7z is that .rar is recognised as valid for drag-and-drop whereas .7z s not, which makes the .7z format more cumbersome to use. Last edited by itimpi; 08-02-2013 at 07:28 PM. |
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,145
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre never creates rar files, it cannot since there is no open source implementation of the rar encoder and I have better things to do that write one
![]() The most it will do with rar is unwrap single ebook files inside RAR when adding and also automatically import rar as cbr if the rar file is jsta collection of images. |
![]() |
![]() |
![]() |
#10 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,599
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
And as I just discovered calibre will also "automatically import" a zip full of images as a CBZ. EDIT : Just remembered why I started to use 7z for 'extra' things. BR
RAR will appear in the Conversion->Input from list. One time I wanted to convert an RTF file, so I pressed 'C' followed by an 'R', and discovered Calibre won't convert a RAR that contains a dozen or so URL and shortcut files :lol: Lack of drag drop doesn't bother me, although it would be nice to have a tweak that would allow user to set the file type selector - I would set it to All files. Last edited by BetterRed; 08-03-2013 at 01:14 AM. Reason: Add EDIT |
|
![]() |
![]() |
![]() |
#11 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 117
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
|
Right. I did some tries and with a readme txt file everything went ok. But I understand I could fail sometimes. Thank you.
|
![]() |
![]() |
![]() |
#12 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 117
Karma: 38608
Join Date: May 2012
Location: Vignola, Modena, Italy
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,599
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
What archive formats can you create natively on the Mac, I have a memory that might support gzip - if so then I'd go with that. Then you'll be able to create and read them on each of the Macs that you use, without any need to install 3rd party programs on each of them. gzip comes from BSD Unix, there's a lot of BSD under the covers of OS/X ? BR |
|
![]() |
![]() |
![]() |
Tags |
book format, pdf, zip |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combing ZIP version with MOBI (or AZW,etc) format of the same book | HFC3 | Conversion | 11 | 07-07-2013 08:04 PM |
Adding another format to an existing book | Len666 | Library Management | 11 | 04-15-2012 01:22 PM |
Adding Empty Book No Format | onedot3 | Library Management | 3 | 10-26-2011 07:01 AM |
Possible error with adding new format of book already in Calibre | TalpaEuropea | Calibre | 1 | 02-14-2010 08:51 AM |
Adding new format to a book doesn't work | owockadoy | Calibre | 3 | 11-09-2009 11:52 AM |