![]() |
#1 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Sep 2005
Location: Atlanta, GA, US
Device: Kindle Colorsoft & Paperwhite, iPad Pro, iPhone 15 Pro Max
|
![]()
I have to think this topic has come up before, but I searched in this topic (which seemed the logical place) and couldn't find anything about it, so I'm asking. Please forgive me and just redirect me if it has already been discussed ad nauseum. My normal searching skills just don't seem to work so very well here.
Many technical books come with samples of the code being discussed. If you buy the physical book, you get the code on a physical disk. In our household, that has always resulted in me getting the book off the shelf, finding the little plastic pouch where the disk should be empty, then asking my husband and daughter what they did with it. The ensuing goose hunt often ends up finding a scratched and useless disk somewhere hours later (out comes the toothpaste!), or never finding the disk at all. ![]() So - happiness! eBooks come, instead, with a the code included as an accompanying download, right? And since I store my eBooks in Calibre, and I don't lose my eBooks, I'm not going to lose the code either. ![]() But - Calibre stores the eBook. Where am I going to put the code to have it with the book, never separated? ![]() Can I place the code archive in the book's Calibre folder without causing some terrible error? I normally keep my fingers OUT of Calibre's file structure completely, fearing disaster! Advice? Tested solutions? Pretty please? ![]() Thank you! Cyn |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Calibre will also let you add any file format/file extension you want and will track, but ignore it (if it's not a recognized ebook format). Put your code into a zip file having the extension .zip.code and Calibre will see it as a .code file and ignore it, but list it as a stored format of type CODE. Last edited by Starson17; 03-24-2011 at 02:37 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I tend to use a RAR file instead of a ZIP file as that does not conflict with Calibre's use of ZIP files for HTML documents.
I have also used .iso files where the relevant files come on a CD by just making an image of the CD and storing that in Calibre. If I later need to us the .iso file I can use a utility such as Daemon Tools to allow me to mount the image and get at the contained files. |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Sep 2005
Location: Atlanta, GA, US
Device: Kindle Colorsoft & Paperwhite, iPad Pro, iPhone 15 Pro Max
|
![]()
I was considering using an .ISO file. I think Calibre can also handle .RAR files for HTML documents, although that isn't its default.
I appreciate both answers! ![]() |
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,917
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Are we talking code: as in Text source LISTING?
Why not add an Appendix or 2 or 3... ![]() to your book? |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
That will work fine. Just drag the ISO into calibre and merge the new record, or drag it into the edit metadata screen for the book.
Quote:
In your case, I'd just stick with the ISO format. |
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Sep 2005
Location: Atlanta, GA, US
Device: Kindle Colorsoft & Paperwhite, iPad Pro, iPhone 15 Pro Max
|
That's a good idea when they are just text source listings. Sometimes they aren't. That's a very good idea, though, for the eBooks I can edit. I don't know how to deal with appendices in Calibre otherwise.
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Code listings in text form may/will suffer if you convert them. You may want to convert the book, but not the code.
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Sep 2005
Location: Atlanta, GA, US
Device: Kindle Colorsoft & Paperwhite, iPad Pro, iPhone 15 Pro Max
|
Thank you, Starson17. I certainly don't want to mess up the code and make it useless.
|
![]() |
![]() |
![]() |
#10 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,917
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
It should. (You wouldn't have asked, I suspect, if you didn't already know that
![]() |
![]() |
![]() |
![]() |
Tags |
code, folders, library management, technical books |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ebook for technical books | ziNde | Which one should I buy? | 13 | 02-21-2010 08:52 AM |
technical books in epub | wang960 | ePub | 3 | 10-07-2009 06:13 PM |
20% Discount Code for 1 book at Sony store | DojoPat | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 09-03-2008 03:58 PM |
Best E-Reader for Technical Books | rndinit0 | Which one should I buy? | 6 | 06-10-2008 07:07 PM |
Error-code: 3-007 in connect store | diabloNL | Sony Reader | 9 | 01-18-2007 09:49 AM |