How to export archive and archive_location to bibtex?

Hello,

I'm trying to setup a workflow with atom and pandoc, that can use a bibtex-file to generate bibliographies. I have setup zotero with the better-bibtex plugin to auto-export my zotero collection to a bibtex file. This works generally great, but not for archival sources, that I have entered in zotero as "manuscript", with information in the "archive", "archive-location" and "call_number" ("Signatur" in German). On exporting, these fields don't show up in the .bib file.
Is there a way to export those fields?

Thanks
  • pandoc can read CSL JSON directly. I'd recommend using that instead of bibtex. I'm not aware of a way to get archive etc. into bibtex, as there isn't anything even resembling a standard for those in bibtex that I'm aware of.
    There might be in BibLaTex -- I'm not sure -- but at least currently Zotero doesn't export those either.

    If you want to, the exports scripts aren't terribly hard to modify and I can give you some points, but I'd really start with the CSL JSON route above.
  • Yes, great, that works! Thanks!
    I had tried with bibtex export because of autocomplete-bibtex in atom, but just found out there is also a new autocomplete-citeproc package!

    If you could give me some points for modifying the export scripts, that would be great. Or do you know of any citation style that uses call_number (actually I'm not sure if this is even the best way to store information for reference numbers of primary sources, or if I should just put everything in archive_location)?
  • IIRC, Pandoc requires the "id" field in the CSL-JSON to have the citekey, but maybe autocomplete-citeproc makes that connection on the users' behalf?
  • AFAIK autocomplete-citeproc just takes the id from the json file produced by better bibtex, so everything works as expected. The only downside so far is, that autocomplete-citeproc cannot reload the json file, so you can only insert the references you had exported at atom startup.

    And if anyone has any hints on how to make "call-number" be used by the citation style, that would be greatly appreciated!
  • Oh, I thought you were using the stock Zotero CSL-JSON.

    There is code in autocomplete-citeproc that hints that the author is considering doing auto-updates when the reference file changes -- why not register your interest? Perhaps it will bump up the priority.

    In the general sense, to get anything used by the citation style, you edit the citation style. You can download your style of choice here (https://www.zotero.org/styles) and edit it here (http://editor.citationstyles.org/visualEditor/)

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.