BibLatex export isn't including library catalog

Hi,

I I currently have an issue where the BibLatex export is not exporting the library catalog value to the exported .bib file. This is a problem because I need to reference the online database I used to get this resource (in my case, it's EBSCOhost).

For example, for an entry with a title, author, abstract, series, edition, place, publisher, date, language, ISBN, short title, url, **library catalog**, date added, and modified values, I get the following:

@book{churchland_braintrust_2018,
location = {Princeton},
edition = {Paperback},
title = {Braintrust : What Neuroscience Tells Us About Morality},
isbn = {978-0-691-18097-7},
url = {search.ebscohost.com/login.aspx?direct=true&db=nlebk&AN=1636276&site=ehost-live},
series = {Princeton Science Library},
shorttitle = {Braintrust},
abstract = {A provocative new account of how morality...},
publisher = {Princeton University Press},
author = {Churchland, Patricia S.},
date = {2018},
keywords = {Ethics, {MEDICAL} / Neuroscience, Neurobiology, {PHILOSOPHY} / Ethics \& Moral Philosophy, {PSYCHOLOGY} / Applied Psychology, {PSYCHOLOGY} / Neuropsychology},
}

Is there anything I can do to resolve this issue?
  • Check if the BBT add-on does this out of the box. If it doesn't, you can add fields in a post process hook
  • Unfortunately, I already tried the Better BibLatex plugin to no avail. How exactly would I add fields in a post process hook?
  • Excellent. I looked through that page and added this postscript:

    if (Translator.BetterBibLaTeX) {
    // biblatex-mla
    if (zotero.archive) {
    tex.entrytype = 'unpublished'
    tex.add({ name: 'library', value: zotero.archive})
    tex.add({ name: 'number', value: zotero.archiveLocation })
    }
    }

    This appears to mostly be working, but now I have an issue where biblatex-mla isn't correctly italicizing the database name. Then again, that probably isn't a zotero issue, so maybe I will have to contact the developers of that package instead. Thanks for your help!
  • yup, that'd be on the biblatex style, nothing we can do about that, glad the export worked for you.
  • edited July 25, 2023
    For anyone who comes across this thread at a later date, I fixed the problem by installing Better BibLatex, then adding the following code to Tools -> Better BibTex -> Open Better BibTex preferences -> Export -> postscript:

    if (Translator.BetterBibLaTeX) {
    // biblatex-mla
    if (zotero.archive) {
    //tex.entrytype = 'unpublished'
    tex.add({ name: 'eprint', value: zotero.archive})
    tex.add({ name: 'number', value: zotero.archiveLocation })
    }
    }

    I had to use the "eprint" entry instead of the "library" one in the .bib file because "library" wasn't getting picked up by biblatex-mla. Then, I put the database name (e.g. EBSCOhost) in Zotero's "Archive" field instead of the "Library Catalog" one, and everything seemed to be working correctly.
Sign In or Register to comment.