reference – Parerga und Paralipomena http://www.michelepasin.org/blog At the core of all well-founded belief lies belief that is unfounded - Wittgenstein Sun, 18 Nov 2012 00:19:49 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.11 13825966 Using Mendeley and Dropbox to sync your pdf library across computers http://www.michelepasin.org/blog/2012/08/07/using-mendeley-and-dropbox-to-sync-your-pdf-library-across-computers/ http://www.michelepasin.org/blog/2012/08/07/using-mendeley-and-dropbox-to-sync-your-pdf-library-across-computers/#comments Tue, 07 Aug 2012 11:35:54 +0000 http://www.michelepasin.org/blog/?p=1964 Mendeley is a pdf and reference manager software that has a number of cool features: online/offline support, tools for creating public groups (=collections of references), and last but not least, it’s fast and easy to use. Since your references are synchronised via the online service, you can run Mendeley on more than one computer/device. However unless you pay for a fee you will be able to synchronise only up to 1 gig of data through it, which is probably not enough for some people. So here’s a simple method for using a cloud service like Dropbox to sync your entire pdf library without having to pay a cent.

The basic idea: keep all of your pdf files in the cloud using a Dropbox folder; also, keep the Mendeley database and preferences in the cloud, so that they are shared across computers. Finally, point Mendeley to that Dropbox folder and let it do the rest for us (e.g. keeping it organised etc.).

Warning: since with this method the preferences and database are shared across computers, you must make sure you don’t use Mendeley at the same time on both computers as that could lead to some conflict!

This recipe assumes that you have two macs and both Dropbox and Mendeley installed on both of them. We’ll call one of the two machines mac-1, and the other one mac-2.
Also, the method requires that you are using the same username on both macs. I know, this is a big limitation, but since Mendeley indexes pdf files using their full path that’s the only way for things to be wired up correctly (otherwise on one of the two macs the path of the pdf files will be broken).

1. Set up Mendeley and DropBox on mac-1

On Mac-1, create a Mendeley folder in your Dropbox. Within that, create two new folders, pdf and db.
Now launch Mendeley Desktop and in the preferences panel set the pdf-files location to the pdf folder you just created. After clicking on ‘apply’ Mendeley will move your existing library (if you have one) into the new folder. Wait till that’s finished before moving on to step 2.

Mendeley Prefs

2. Add Mendeley database to DropBox on mac-1

Close Mendeley Desktop on mac-1. Now open up the terminal and symlink the ~/Library/Application Support/Mendeley Desktop folder to the db folder just created in Dropbox. This way the DB and preferences can be shared across computers.


[mac]@mac1:~/Library/Application Support>cp -r Mendeley\ Desktop/ ~/Dropbox/Mendeley/db/
[mac]@mac1:~/Library/Application Support>mv Mendeley\ Desktop/ _backup_Mendeley_Desktop/
[mac]@mac1:~/Library/Application Support>ln -s ~/Dropbox/Mendeley/db/Mendeley\ Desktop .

Dropbox will start cloud-syncing the new folder we added. In the meantime, you can try launching Mendeley and checking that everything works at it should.

3. Set things up on mac-2

Put to sleep mac-1 and wake up mac-2. If you’re online, Dropbox on mac-2 will immediately start downloading all the new stuff you previously added to it (via mac-1). In the meantime, quickly open up Mendely and update the preferences as we did in step 1 above. Then closed it down.

Once the Dropbox download is finished, we can set up the symlink to the Mendeley database as we did in step 2 (no need to copy the db folder this time, because we’re using the folder already present in Dropbox/Mendeley/db):


[mac]@mac2:~/Library/Application Support>mv Mendeley\ Desktop/ _backup_Mendeley_Desktop/
[mac]@mac2:~/Library/Application Support>ln -s ~/Dropbox/Mendeley/db/Mendeley\ Desktop .

That’s it. You now should be able to open up Mendeley and have your entire library synchronised across the two computers (effectively, you’re working on a single library since your database is shared too).

Obviously you can still use the web-sync service, which is handy for example if you use also some mobile device. There you’ll still have the 1gig limitation for the pdf files, but at least for me that’s hardly a problem cause I don’t need to have my entire library on the go all the time (I just have a folder called ‘syncedStuff’ in Mendeley Desktop and synchronise only the files attached to that).

If things go wrong..

Well, I’d expect any wise pdf-collectors to make regular backups of their precious databases. In some cases though it’s not just a matter of putting things back as they were; for example once I moved the pdf source files to a different location, launched Mendeley and discovered that although my library was still there all the pdf links were broken.
Since I wanted to keep the new paths for all the pdf files, as a last resort I tried to hack into Mendeley’s own SQLite database and clean things up myself.

Here’s another post that explains how to modify Mendeley’s database manually: Using Mendeley effectively on multiple systems using an external storage drive

This is pretty easy actually. Mendeley stores the full file paths to your files in its database. In particular, the database file can be found in /Application Support/Mendeley Desktop, and it is named like this: youremail@www.mendeley.com.sqlite.

All you have to do is this: close down Mendeley (if it’s running), make a backup copy of the database file for safety purposes, then open it up using a SQLite GUI (e.g. on mac you can use SQLite Browser which is free). You’ll see that the Files table contains all the (wrong) paths to your pdf files; now you can update these paths by launching a simple ‘execute’ command, e.g.:


update Files set 
  localurl = replace(localurl, '/Users/me/Dropbox/Mendeley/old/path/', '/Users/me/Dropbox/Mendeley/new/path/');

Make sure the command did its job by checking the Files table contents; if that’s the case, the next time you launch Mendeley it won’t have no broken links anymore!

 

]]>
http://www.michelepasin.org/blog/2012/08/07/using-mendeley-and-dropbox-to-sync-your-pdf-library-across-computers/feed/ 44 1964
Social Reference Manager: Mendeley http://www.michelepasin.org/blog/2009/08/21/social-reference-manager-mendeley/ http://www.michelepasin.org/blog/2009/08/21/social-reference-manager-mendeley/#comments Fri, 21 Aug 2009 09:58:49 +0000 http://magicrebirth.wordpress.com/?p=287 A colleague mentioned the existence of Mendeley to me – a new and free reference manager. I’ve stuck with Papers for a while and was really really happy with it, but I have to admit that Mendeley seems to have quite a few cool features there.

For example:
1) it’s free (and hopefully it’ll remain like that forever)
2) it provides an online counterpart, so that you can check/manage your reference library online too
3) it’s a social application – it aims at building up a community of researchers/users based on the categorization of one of their primary interests: papers
4) it can be used by researchers as a ‘research homepage’ which features quite a lot about their academic profile..

Conclusion: definitely worth a try!

Mendeley #3

Mendeley #4

 

What else is available in the market?

Not much that handles well both the tasks of a document manager and a social application; however these other tools/apps are worth checking out:

  • Zotero: http://www.zotero.org/, “Zotero [zoh-TAIR-oh] is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources. It lives right where you do your work—in the web browser itself.”
  • Papers: http://www.mekentosj.com/, “Award winning applications for scientific research”
  • Citeulike: http://www.citeulike.org/, “citeulike is a free service for managing and discovering scholarly references”
  • Qiqqa: http://www.qiqqa.com/, “The essential software for academic and research work”
  • Sente: http://www.thirdstreetsoftware.com/site/SenteForMac.html, “Sente 6 for Mac will change the way you think about academic reference management. It will change the way you collect your reference material, the way you organize your library, the way you read papers and take notes, and the way you write up your own research.”
  • Wizfolio: http://wizfolio.com/, “WizFolio is an online research collaboration tool for knowledge discovery. With WizFolio you can easily manage and share all types of information in a citation ready format including research papers, patents, documents, books, YouTube videos, web snippets and a lot more. “
  • Refworks: http://www.refworks.com/, “RefWorks — an online research management, writing and collaboration tool — is designed to help researchers easily gather, manage, store and share all types of information, as well as generate citations and bibliographies.”
  • For a more extensive list and analysis, check out this awesome wikipedia page: Comparison_of_reference_management_software

     

    ]]>
    http://www.michelepasin.org/blog/2009/08/21/social-reference-manager-mendeley/feed/ 6 287
    Zotero – is the browser enough to do research? http://www.michelepasin.org/blog/2007/09/24/zotero-is-the-browser-enough-to-do-research/ http://www.michelepasin.org/blog/2007/09/24/zotero-is-the-browser-enough-to-do-research/#comments Mon, 24 Sep 2007 09:16:43 +0000 http://people.kmi.open.ac.uk/mikele/blog/?p=252 Zotero, a personal research assistant, directly into your browser. When I was told about it, was quite impressed. I’ve been dreaming of disposing of the ugly looking Endnote – and the feature list of zotero seemed pretty attractive!

    Automatic capture of citation information from web pages
    Storage of PDFs, files, images, links, and whole web pages
    Flexible notetaking with autosave
    Fast, as-you-type search through your materials
    Playlist-like library organization, including saved searches (smart collections) and tags
    Platform for new forms of digital research that can be extended with other web tools and services
    Runs right in your web browser
    Formatted citation export (style list to grow rapidly)
    Free and open source
    Integration with Microsoft Word and OpenOffice

    Not that easy, however. Zotero is great when it comes to extract and format citation data from a webpage, and maybe add notes and tags, but it slows down considerably when you import large libraries of citations into it (the sort of libraries we are all likely to have in endnote or other similar softwares). I havent tried it myself yet (sorry too risky -  my firefox on the mac is already bogged down by something at times), but you can check out some reviews here, here and here. ….. so, altough a major step in the right direction, i guess i’ll have to use both for a little while….

     

    ]]>
    http://www.michelepasin.org/blog/2007/09/24/zotero-is-the-browser-enough-to-do-research/feed/ 1 252