zotero-better-bibtex: BBT + Zotfile creating duplicate attachments during import
Debug log id: 9BARMPSF-euc
Apologies, I’m not sure what I’m doing wrong here. I thought I had this working a few days ago, but I’ve been trying to solve so many little migration issues, I have lost track.
I have Zotfile set up to file automatically to a custom location, with custom naming patterns. When I import a bibtex library without BBT, the filing works properly (except that Zotero chokes on paths with “;” in them).
When I enable BBT, filing stops working properly.
- Instead of the custom location, the files are put into Zotero’s default storage directory, using the normal subdirectory structure.
- Some files are duplicated. So, instead of one PDF listed under an item, I now see two: one file with a .pdf extension, and one without. Both files actually have a .pdf extension in the file system, but that’s not how they show in Zotero. This does not happen to all files! But I can’t figure out the conditions of duplication. It is always the same enties, however. In the sample .bib file below, they are the ones associated with: sakellariou202228, westfall1973a, gocl1613, and ducheyne_2015. Duplication does not happen with garberayers1998b and zcosm02.
Any tips would be appreciated.
The .bib file is (with some paths shortened):
@book{gocl1613,
address = {Hildesheim},
author = {Goclenius, Rudolph},
category = {Primary},
date = {1964},
keywords = {Dictionaries, Scholasticism},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Primary/Goclenius.R/Goclenius - Lexicon philosophicum, quo tanquam clave philosophicae (1964).pdf},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Primary/Goclenius.R/Goclenius - Lexicon philosophicum, quo tanquam clave philosophicae (1964)a.pdf},
note = {Rodolphus Goclenius. Reprint (1st work). Originally published: Francofurti : M. Becker, 1613. Added title page, engr. of original edition.},
origdate = {1613},
publisher = {G. Olms},
title = {Lexicon philosophicum, quo tanquam clave philosophicae fores aperiuntur},
annote = {B51 .G576 1964}}
@book{garberayers1998b,
title = {The {Cambridge} History of Seventeenth-Century Philosophy},
category = {Secondary},
date = {1998},
date-added = {2022-10-26 18:58:57 -0400},
date-modified = {2022-10-26 18:58:57 -0400},
edition = {2Rev Ed},
editor = {Garber, Daniel and Ayers, Michael},
isbn = {0521531802},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Secondary/Garber.D;Ayers.M/GarberAyers - The Cambridge History of Seventeenth-Century Philosophy (2003).pdf},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Secondary/Garber.D;Ayers.M/GarberAyers - The Cambridge History of Seventeenth-Century Philosophy (2003)a.pdf},
month = {May},
price = {\$80.00},
publisher = {Cambridge University Press},
title = {The Cambridge History of Seventeenth-Century Philosophy}}
@book{ZGaukroger1998a,
address = {London},
category = {Secondary},
date = {1998},
date-added = {2015-09-09 17:10:49 +0000},
date-modified = {2019-04-20 15:19:21 -0400},
editor = {Gaukroger, Stephen},
isbn = {0415170540 (hardcover)},
keywords = {Emotions},
library-id = {97024517},
publisher = {Routledge},
title = {The Soft Underbelly of Reason : The Passions in the Seventeenth Century},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Secondary/Gaukroger.S/Gaukroger - The Soft Underbelly of Reason The Passions in the Seventeenth (1998).pdf}}
@book{zcosm02,
address = {Cambridge},
booktitle = {The {Cambridge} Companion to {Newton}},
category = {Secondary},
date = {2002},
date-added = {2022-10-26 18:58:57 -0400},
date-modified = {2022-10-26 18:58:57 -0400},
edition = {2nd},
editor = {Cohen, I. Bernard and Smith, George E.},
isbn = {0521651778},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Secondary/Iliffe.R;Smith.G/IliffeSmith - The Cambridge Companion to Newton (2016).pdf},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Secondary/Cohen.I;Smith.G/CohenSmith - The Cambridge Companion to Newton (2002).pdf},
price = {\$85.00},
publisher = {Cambridge University Press},
title = {The Cambridge Companion to {Newton}}}
@article{ducheyne_2015,
author = {Ducheyne, Steffen},
category = {Secondary},
date = {2015},
date-added = {2022-10-26 18:58:57 -0400},
date-modified = {2022-10-26 18:58:57 -0400},
journal = {Estudios de Filosofía},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Secondary/Ducheyne.S/Ducheyne - An editorial history of Newton’s regulae philosophandi (2015).pdf},
month = {Jun.},
number = {51},
pages = {143–164},
title = {An editorial history of Newton’s regulae philosophandi},
year = {2015},
annote = {In the paper at hand, I provide an editorial history of
Isaac Newton’s famous regulae philosophandi on the basis
of extant manuscript material.</p>}}
@article{westfall1973a,
author = {Westfall, Richard S.},
category = {Secondary},
date = {1973},
date-added = {2022-10-26 18:58:57 -0400},
date-modified = {2022-10-26 18:58:57 -0400},
issn = {00368075, 10959203},
journal = {Science},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Secondary/Westfall.R/Westfall - Newton and the Fudge Factor (1973).pdf},
number = {4075},
pages = {751--758},
publisher = {American Association for the Advancement of Science},
title = {Newton and the Fudge Factor},
urldate = {2022-09-27},
volume = {179},
year = {1973}}
@article{sakellariou202228,
author = {Sakellariou, Vassilis and Test, User},
category = {Secondary},
date = {2022},
date-added = {2022-10-26 18:58:57 -0400},
date-modified = {2022-10-26 18:58:57 -0400},
issn = {0039-3681},
journal = {Studies in History and Philosophy of Science},
keywords = {Constitutive, Synthesis, Historicised, Dynamical laws},
file = {/Users/.../OneDrive-University/Reference/Bibdesk/Secondary/Sakellariou.V/Sakellariou - Constituting the ‘object’ of science in Newton's Principia (2022).pdf},
pages = {28-36},
title = {Constituting the ‘object’ of science in Newton's Principia: the many faces of Janus},
url = {https://doi.org/10.1016/j.shpsa.2022.07.002},
volume = {95},
year = {2022}}
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (8 by maintainers)
Commits related to this issue
- Merge branch 'master' into gh-2300 — committed to retorquere/zotero-better-bibtex by retorquere 2 years ago
I wouldn’t be at all surprised if the standard bibtex exporter does not support multiple attachments.
Never a problem. BBT is a complex beast and I’m not at all surprised it causes problems sometimes. Better one diagnosis too many than too few.
Thanks for the quick turnaround!! Yes, that fixed it.