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 12-20-2016, 11:48 AM   #1
skorasaurus
Junior Member
skorasaurus began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2016
Device: none
Question Store Code etc for technical books

I've started using calibre since my library has grown (my books are in a series of different folders but I haven't figured out a good answer of where to store my code as the zip and HTML files are being identified as books when I import my existing files into the calibre library.

I'm thinking perhaps I should move all of the code to a separate folders outside of the folder where I current store my books as I import them into Calibre. Any other strategies or configurable options that you've found?
skorasaurus is offline   Reply With Quote
Old 12-20-2016, 03:32 PM   #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: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
'Code' as in Source code?

Calibre will store single (occurrence) files with non-book type extensions.
foo.bas, bar.pas

but I suspect you want to sore all the 'exercises'.
theducks is offline   Reply With Quote
Advert
Old 12-20-2016, 04:06 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: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice
@skorasaurus - I moved your post to its own thread. The thread you added to was ancient (2011), things have moved on since then. Although there's still no 'official' solution to the problem you pose

You could bundle the code etc into an archive format that calibre won't interpret as an ebook format (such as .7Z) and add that to the book, just drag and drop onto the book details panel. Calibre will register its existence in its database, hence it will survive edits to title and author names and inter library moves etc. The downside is that you have to unpack the archive to see the contents.

You could keep the files in a separate folder and link the folder into the book.
  • On Windows you could create a shortcut (.LNK file) to the folder and drag drop it into the Book details. The advantage of this method is that the Windows Distributed Link Tracking (DLT) service will attempt repair .LNK files if the target is relocated, on later versions of Windows it's normally successful.
  • The above might also work on OSX using ALIAS files, I don't know if OSX has an equivalent to the Windows DLT service.
  • A more general way would be to insert a file URI link into a custom long text column, but if you move or rename the folder the link will break. The long text (comments) editor has a tool to facilitate easy creation of file URIs.
Or you could do what I do, create a 'note' for the book in an Evernote notebook and add the code and other extras to it. An EN note can be a container for any number of files of practically any type and each note has a unique URI, which I copy and paste into a calibre long text custom column.

I prefer this method because I can organise the extra files as I want them, without the limitations of a file manager. I can also scribble my own notes in the EN note, add links to sites such as stackoverflow, and I can access the notes online via a tablet and/or a phone.

BR
BetterRed is offline   Reply With Quote
Old 12-20-2016, 10:34 PM   #4
bdillahu
Member
bdillahu began at the beginning.
 
bdillahu's Avatar
 
Posts: 21
Karma: 10
Join Date: Aug 2009
Device: iPhone 6s with Marvin
Some good ideas there...

I wish Calibre allowed you to store a directory/folder as an attached "file" - or even just two of the same file type.

Then it would handle being a personal document management tool quite nicely.
bdillahu is offline   Reply With Quote
Old 12-29-2016, 02:00 PM   #5
skorasaurus
Junior Member
skorasaurus began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2016
Device: none
Thanks for the tips, I think I'll keep the code in zip or 7z files and then just select within calibre's options to not detect books that are in .zip or 7z

(yes, source code and exercises, many of them are technical books)
skorasaurus is offline   Reply With Quote
Advert
Old 12-29-2016, 06:03 PM   #6
Zealousky
Member
Zealousky began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2014
Device: Nexus 7
Quote:
Originally Posted by skorasaurus View Post
Thanks for the tips, I think I'll keep the code in zip or 7z files and then just select within calibre's options to not detect books that are in .zip or 7z

(yes, source code and exercises, many of them are technical books)
Calibre doesn't detect .7z (7Zip files) natively, so when I have multiple pdfs as part of a single title (typically RPG book "files") I just use 7Zip to archive the support documents like maps or handouts. It's my easiest solution to multiple files of the same file types associated with a single file.

Simon
Zealousky is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony 40% off Code (US Store) AnemicOak Deals and Resources (No Self-Promotion or Affiliate Links) 5 10-03-2013 03:17 PM
Technical books... Threedog1421 Which one should I buy? 3 03-19-2013 02:57 AM
Where do YOU store the code that goes with technical books? technomom Library Management 10 03-25-2011 03:38 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
Error-code: 3-007 in connect store diabloNL Sony Reader 9 01-18-2007 09:49 AM


All times are GMT -4. The time now is 11:26 PM.


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