Advice on import of large Papers3 (formerly mekentosj papers) library
Hi,
After years of gradual degradation, it looks like the Papers app is finally coming to a hard stop. So I am looking to move on with minimal disruption, but am not hopeful that can be done.
I did quite a bit of searching for alternatives that allow for some sort of import of the information (notes, PDFs, collections, etc), without much luck. I was hoping that maybe others have some experience that could be helpful. It seems to me that some sort of scripting is in principle possible, but I have not found any evidence that this has been done (at least not recently). I suppose most sensible people have abandoned Papers at v2...
Any advice would be appreciated.
Thanks!
Patrick
PS. I have a huge array of collections and sub-collections (many levels), and >8K entries, so any overly manual solutions are not appealing (although possibly unavoidable).
After years of gradual degradation, it looks like the Papers app is finally coming to a hard stop. So I am looking to move on with minimal disruption, but am not hopeful that can be done.
I did quite a bit of searching for alternatives that allow for some sort of import of the information (notes, PDFs, collections, etc), without much luck. I was hoping that maybe others have some experience that could be helpful. It seems to me that some sort of scripting is in principle possible, but I have not found any evidence that this has been done (at least not recently). I suppose most sensible people have abandoned Papers at v2...
Any advice would be appreciated.
Thanks!
Patrick
PS. I have a huge array of collections and sub-collections (many levels), and >8K entries, so any overly manual solutions are not appealing (although possibly unavoidable).
Some previous discussions on this issue:
https://forums.zotero.org/discussion/34363/how-to-migrate-from-papers-3-0-to-zotero
https://forums.zotero.org/discussion/35693/importing-from-papers3-into-zotero4
@emilianoeheyns did you write a script to migrate the collections into Zotero? That would be pretty slick.
Here's some basic examples: I.e., you could write a script that iterates over each manual collection, gets all of its contained publications and exports them as a group.
Similarly, Papers also offers scripting access to the PDF files and the individual annotations.
For Bookends, I've written a "Papers to Bookends" script which exports all publications selected in your Papers 3 library to Bookends. This script could serve as an example how to get access to Papers elements via the scripting API:
https://github.com/extracts/mac-scripting/tree/master/Papers3/Papers_To_Bookends
The script will also transfer the publication's primary PDF (if there's any) and can also transfer the publication's rating, color label, flagged status, language, edition, citekey, and "papers://..." link. The PDF file's annotations can be also transferred (see the README file).
An intro to scripting Papers 3 can be found here: https://extracts.github.io/mac-scripting/Papers3/Getting_Started
I could help developing a "Papers to Zotero" export script, but I would need firm advice how to automate the import on the Zotero side.
thanks,
Catherine
Matthias
Do you have any advice how to transfer ReadCube's "flags", "color labels" and "reading status" to Zotero? They are not included in the BibTex or RIS export from ReadCube. See also my post here:
https://forums.zotero.org/discussion/comment/336191#Comment_336191
file
lines, I assume to change the input such that supplementary attachments are properly imported? I might be able to just add that to BBT so these files would always import without further action.@ChrisWaloszek does Zotero have things equivalent to colors and flags?
One dumb manual solution might include making a collection of the relevant category in Papers (e.g. a Collection of all the items that have a red color label), export that Collection like I describe in the instructions for the script (i.e. with the "BibTex Record" set to "Standard"), and then import it to Zotero.
That will give you a new Zotero Group of all the items from your Zotero library that had the color label 'red' in Papers. Then you can easily batch-change the metadata for all the items in that Group in one go. But again, I'm not sure what the Zotero equivalent to color labels is (I imagine there's an add-on but I'm new to the Zotero ecosystem).
papers_library
.Using the scripting access in Papers 3, you can easily get programmatic access to say, primary attachments or supplementary files for a publication, or get the publication's color label, flagged status, read status, rating, or the names of the manual collections the paper is contained in, etc. I.e., for a given publication, you can programmatically access many properties which aren't readily available in one of the standard export formats.
Note that you can also run AppleScript code from the command line. See e.g. https://alvinalexander.com/source-code/mac-os-x/how-run-multiline-applescript-script-unix-shell-script-osascript. So if you prefer other scripting languages, it's still possible to benefit from the scriptability in Papers 3.
As mentioned in a post above, I had plans to write a fully-featured "Papers To Zotero" migration script, but I still lack the knowledge on the Zotero side, and unfortunately haven't found time to learn its sync API. Still, the above mentioned "Papers To Bookends" script can give clues how to script Papers 3.