How to export item & pdf from Zotero to Endnote
I am a new Zotero user but experienced Endnote user and want the flexibility to move between the two, at least for some time.
I have searched the Zotero support forum and documentation for 'export pdf endnote' but can only find advice for how to import FROM Endnote TO Zotero (e.g. http://www.zotero.org/support/kb/importing_records_from_endnote and http://www.zotero.org/support/kb/exporting_from_endnote_with_pdfs). However I need help the other way: export TO Endnote FROM Zotero WITH pdfs. Curiously I have been unable to find resolution.
I've managed to find advice for how to export using the Zotero RDF option (including files and notes) but Endnote does not want to import the pdf(s) along with the item(s).
My current Endnote X1 library is ca 1500 most with pdf attachments. I am considering importing them into Zotero but I want the option of exporting them out again for my colleagues who still use Endnote.
I have searched the Zotero support forum and documentation for 'export pdf endnote' but can only find advice for how to import FROM Endnote TO Zotero (e.g. http://www.zotero.org/support/kb/importing_records_from_endnote and http://www.zotero.org/support/kb/exporting_from_endnote_with_pdfs). However I need help the other way: export TO Endnote FROM Zotero WITH pdfs. Curiously I have been unable to find resolution.
I've managed to find advice for how to export using the Zotero RDF option (including files and notes) but Endnote does not want to import the pdf(s) along with the item(s).
My current Endnote X1 library is ca 1500 most with pdf attachments. I am considering importing them into Zotero but I want the option of exporting them out again for my colleagues who still use Endnote.
Seriously, though, export/import both ways isn't really good enough to "go back and forth".
From Zotero you would probably want to use the RIS export - that does include links to files, though possibly you need to fix them - you would have to look at the RIS output if this doesn't work automatically. Endnote reads RIS without problems, though.
Maybe you would need to tinker with Endnotes import filter, too.
This won't be entirely lossless, it's just not there yet (and Endnote, of course, has no interest in it ever being...)
If all my partners use endnote and i can't exchange or share all my work with them, i think i have to use one note...is just a example...
Then in Endnote on the same computer you can convert file attachments to relative links (via References / File Attachments menu item). Then the endnote file and data directory is transportable across computers with associated pdfs.
Bringing them back into zotero means that you ahve to work out the file paths for the internal-pdf pseudo-urls, and convert them into absolute paths before importing the RIS into zotero.
To be honest I don't think RIS export of links to pdfs would be terribly difficult for the zotero developers to add (via a checkbox like export files in the RDF format), and it would reduce the irritation of having to collaborate with Endnote users a bit (poor souls).
Btw, I recommended Zotero to him. Hopefully he can convert the rest of the institution ;)
I could of course do what 'migugg' suggests above and manually import the PDFs and then create new reference items for each PDF. But this would take considerable time, especially since I already spent much time in Endnote editing the item details and abstracts (they often download from the net (metadata) with missing or incorrect information).
My point is not whether or not there exists feasible 'workarounds' but that these are impractical and time consuming. Fixing a filter that automatically interprets the location of the PDF and links it to the appropriate reference item would save much valuable time.
http://groups.google.com/group/zotero-dev/browse_thread/thread/ad55d89ed54a0a91
I'm not sure if that will include import of files from Zotero back to Endnote - although I still think that should be addressed - but importing files from Endnote to Zotero (what you seem to be asking for now) seems to work relatively smoothly.
And please don't triple post - if you bump one thread that's absolutely enough to get people's attention.
I will try that and report back here.
Oh, and PS, I only noted this issue twice today (the other as a 'feature request' and the third was a different issue). I simply assumed that different developers monitor different 'boards' but I'll not repeat. ;)
I replaced the zotero RIS.js file with the fixed RIS.js (https://github.com/jonathanmorgan/jsm-zotero/blob/master/RIS.js) and saved the original as RISold.js, both in the zotero 'translators' folder.
Next I exported the entire Endnote bibliography using refman RIS export style.
I was unable to open the RIS file to edit in Endnote (as described here: https://github.com/jonathanmorgan/jsm-zotero/blob/master/README).
Instead I ran the ris-fix.vbs tool as explained here (http://forums.zotero.org/discussion/70/3/importing-endnote-files-into-zotero/) to change the LI path in the RIS file (exported endnote library) to the actual pdf folder in Endnote.
Results:
Only 500 out 1300 references imported.
Many had strange notes attached.
None of the PDFs imported correctly. Instead I get the error message: "The attached file could not be found. It may have been moved or deleted outside of Zotero.'
Any advice?
Thank you!
Peter
I found where to edit the style in Endnote X1: Edit>Output Styles>Open Style Manager>Bibliography>Templates which opens the RIS fields (e.g. L1).
Like the fix help instructs https://github.com/jonathanmorgan/jsm-zotero/blob/master/README I checked that all L1 fields are changed to L1 - `File Attachments|` in the RIS style for Export
Then in the txt output file (which I renamed with a *.ris extension) I did the following find/replace
L1 - internal-pdf://
to
L1 - <path_to_folder_where_EndNote_library_lives>/<EndNote_library_name>.Data/PDF/
However, since Zotero was not reading the *.ris (txt) file on import
I also replace "internal-pdf://" in the exported endnote *.ris (txt) file with "file\\" so for example L1 can read
L1 - file\\C:\PeteronC\Literature\EndnoteBackup\EndnoteCopy.Data\PDF-The acceptabil-1261011968/-The acceptability of assistive technology to older people.pdf
This time I didn't run the ris-fix.vbs tool on the generated Endnote ris file.
Then I edited the RIS.js file, adding the <path_to_folder_where_EndNote_library_lives> to the line: var RIS_internalPDFPath =
Then I ran Zotero import.
I let Firefox/Zotero 'import items' for about 3 hours and then accidentally closed Firefox. However when I started it again nothing had imported.
tried fiddling with the *.ris LI field (with and without 'file:///' or 'internal-pdf:').
Most current attempt is without:
L1 - C:/<path_to_folder_where_EndNote_library_lives>
The path is correct. I checked and was able to open the pdf by pasting it into an explorer path window, however none imported into zotero.
I let Firefox/Zotero run for about 5 minutes and then closed it and reopened - no imports. Importing begins with error message 'could not save item'
using https://github.com/jonathanmorgan/jsm-zotero/blob/master/RIS.js with modified 'RIS_internalPDFPath.'-to match Endnote's pdf folder as instructed (see L1 above).
Here is the Debug ID: D1362099219.
another point: the instructions here https://github.com/jonathanmorgan/jsm-zotero/blob/master/README read:
- To correctly import File Attachments, you must edit RIS.js and place the
absolute path to your EndNote PDF folder:
<path_to_folder_where_EndNote_library_lives>/<EndNote_library_name>.Data/PDF/
in the variable "RIS_internalPDFPath."
however I can not find 'RIS_internalPDFPath' in the original 'translator' (RIS.js) included with Zotero so I have replaced it with this https://github.com/jonathanmorgan/jsm-zotero/blob/master/RIS.js - along with the correct <path_to_folder_where_EndNote_library_lives>
Is one option to insert the variable "RIS_internalPDFPath" into the original Zotero RIS.js translator?
(getting desperate here)
Another general troubleshooting step here is to split your RIS file into pieces and try to import smaller pieces-- sometimes malformed entries can stop the whole import, or perhaps there is an entry (even a correct one) that is exposing a bug in the import system. So break the file up and try smaller pieces.
To get a sense of what is going on I imported 10 references to generate a debug report ID. The Debug ID is D1713612250 .
Here are the adjustments I've made for the last few imports:
1. I made a complete new backup copy of my Endnote library from within Endnote, and closed the application.
2. I downloaded the most recent style file 'RefMan (RIS) Export.ens' (2010) http://www.endnote.com/support/enstyles.asp and copied (replaced) it in the Endnote 'styles' folder.
3. I reopened the new (backup copy) Endnote library and I edited the L1 line for the 'RefMan (RIS) Export' style in Endnote's style manager as Jonathan instructs here: https://github.com/jonathanmorgan/jsm-zotero. (FYI - all reference type L1 lines were changed with the edit of L1 for 'journal articles'.)
4. I stopped renaming the extension of the output file from *.txt to *.ris. Jonathan's RIS.js seems not to mind the .txt extension. (I don't remember why I thought I should change the extension... perhaps linked with the attempt to use the ris-fix.vbs tool which I have stopped using.)
5. I pasted Jonathan's RIS.js file https://github.com/jonathanmorgan/jsm-zotero/blob/master/RIS.js into Zotero's 'translators' folder, and updated the pdf path as he instructs here: https://github.com/jonathanmorgan/jsm-zotero.
6. I opened Zotero and (sadly) deleted all the recently imported references, selecting by 'date added' and ready to try importing again with your advice. :)
I am making headway but there are still many bugs being generated. It looks like there are many unknown tags that are creating problems. Also, with the 376 imported items Zotero stopped. (I don't remember exactly what the error message read and couldn't send the debug report.) That's why I imported only 10 to create the debug ID that I was hoping someone could look at. Any ideas?
Perhaps taking a look at the Debug ID is D1713612250 could offer some clues (created while importing only 10 references).
Also, is there a suggested max number of imported references that Zotero can handle at once, each with at least one note and a PDF attachment?