BibTex import from citavi including pdf attachments
Hi everyone,
I´d like to import my citavi library (export via bibtex) into zotero. Unfortunately zotero doesn´t recognize the attached pdf files at all (unlike here https://forums.zotero.org/discussion/22579/bibtex-import-pdf-not-found/). My bibtex entry looks like this:
@article{Anderson.2011,
author = {Anderson, Melissa S. and Steneck, Nicholas H.},
year = {2011},
title = {The problem of plagiarism},
pages = {90--94},
volume = {29},
number = {1},
issn = {10781439},
journal = {Urologic Oncology: Seminars and Original Investigations},
doi = {\url{10.1016/j.urolonc.2010.09.013}},
file = {Anderson 2011 the problem of plagiarism :Q\:\\10_Projekte\\Beschaemte_Wissenschaft\\10_Material\\Literatur\\Citavi_Beschämte_Wissenschaft\\CitaviFiles\\Anderson 2011 the problem of plagiarism .pdf:pdf}
}
How can I get my pdfs into zotero?
Thanks a lot!
I´d like to import my citavi library (export via bibtex) into zotero. Unfortunately zotero doesn´t recognize the attached pdf files at all (unlike here https://forums.zotero.org/discussion/22579/bibtex-import-pdf-not-found/). My bibtex entry looks like this:
@article{Anderson.2011,
author = {Anderson, Melissa S. and Steneck, Nicholas H.},
year = {2011},
title = {The problem of plagiarism},
pages = {90--94},
volume = {29},
number = {1},
issn = {10781439},
journal = {Urologic Oncology: Seminars and Original Investigations},
doi = {\url{10.1016/j.urolonc.2010.09.013}},
file = {Anderson 2011 the problem of plagiarism :Q\:\\10_Projekte\\Beschaemte_Wissenschaft\\10_Material\\Literatur\\Citavi_Beschämte_Wissenschaft\\CitaviFiles\\Anderson 2011 the problem of plagiarism .pdf:pdf}
}
How can I get my pdfs into zotero?
Thanks a lot!
I think that Windows should be able the double slashes, but I don't think the URL handler assumes that you can escape characters (and I don't think most other apps use them) & I would guess it is failing on that first slash.
A work around for now may be to find/replace "\\" with "\" and "\:" with ":".
This assumes, of course, that you have Q: mounted. Because files are copied to the zotero storage directory, broken links will not be imported.
Anyway, I decided to add all my files manually which in the end might not be the fastest but maybe easiest way...
What is the real path to the file? Does putting:
Q:\10_Projekte\Beschaemte_Wissenschaft\10_Material\Literatur\Citavi_Beschämte_Wissenschaft\CitaviFiles\Anderson 2011 the problem of plagiarism .pdf
in your browser's location bar open it?I've been developing a small tool to facilitate people migrating from Mendeley to other alternatives, and I'm working on zotero specific exports now. Currently it works OK on linux, but when testing out on windows the import of the .bib file couldn't fetch the PDFs. I believe it is due to incorrect file path formatting.
My .bib entry now looks like this:
file = {Allan - 2012 - The Role of Water Vapour in Earth's Energy Flows.pdf:D:\Downloads\Menotexport-master\Menotexport-master\test\Allan - 2012 - The Role of Water Vapour in Earth's Energy Flows.pdf:pdf}
The zotero version is 4.0.28.7.
Please help.
To answer myself: I think @emilianoeheyns's solution still works, I do need to add "file\:///" in front of the driver, and escape the colon after the driver letter.
Anyway, please check out my little tool: Menotexport, which can be found on Github.