

Something about how you're importing the regex module might be awry. It's possible this error has nothing to do with the script or your bibtexįile. Isinstance(re.match(r'.*(works).*', 'this is string works'), re.Match) Print('this re module ' + re.match(r'.*(works).*', 'this is string works').group(1)) add_argument( '-b', '-bibtex_lib', help = "Path to the BibTeX export")įrom the same folder as the script file, what happens if you run this? add_argument( '-p', '-papers_lib', help = "Path to Papers3 Library") * Also check that special characters in titles and journal names were imported correctly. * Be sure to check the 'Import errors found:' file if Zotero generates one (if it exists, it will be in whatever folder you imported the * Import the 'zotero_import.bib' file that gets generated with Zotero. * Run this script with python 3.7 or higher Papers_lib = "~/Documents/User Library/Library.papers3" # Path to Papers3 Libraryīibtex_lib = "/Desktop/full_library_export.bib" # Path to Papers BibTex library export * In this script, update the 'papers_lib' and 'bibtex_lib' variables with the paths to your Papers3 library and the BibTeX
#READCUBE PAPERS PUB DATE PDF#
This will cause papers to include the paths to the main PDF (or whatever) Make sure to set the "BibTex Record" option to "Complete". * Export your Papers3 library as a *.bib file.

* Make sure to have Better BibTeX pre-installed to Zotero if you want to preserve the Papers citekeys. Removes extraneous *.html and *.webarchive files that are often created by importing articles into Paper from a web browser. The script preserves your Papers citekeys, adds supplementary files from the Papers3 Library, removes duplicate links to PDFs and

This script takes as input a BibTeX library exported from readcube/mekentosj Papers3 and outputs a BibTex library for Zotero to import.
