Prevent escaping of curly braces in bibtex export

edited October 20, 2021
Hi, I am using BetterBibTex to export my libraries. The problem is, the title and other fields of some articles (obtained using the browser connector), have case protection pre-installed around them (e.g., {ERIM}: Secure, Efficient In-process Isolation with Protection Keys ({MPK})).
When the library is exported, the curly braces are escaped to "\{\vphantom\}":
{\{\vphantom\}{{ERIM}}\vphantom\{\}: Secure, {{Efficient In}}-Process {{Isolation}} with {{Protection Keys}} (\{\vphantom\}{{MPK}}\vphantom\{\})},
which show up in the text :(.

Is there any way that I can prevent this behavior?
  • edited October 20, 2021
    You should just remove that case protection. Store your titles in sentence case with only proper nouns in uppercase. BetterBibTeX will generate the case protection for you. If you store non-case protected words in uppercase, those will be case protected on export.

    ERIM: secure, efficient in-process isolation with protection keys (MPK)
  • I am having the same issue but for an institution name that has an "and" in it.
    For example:
    @techreport{eccc_scientific_2024,
    address = {Ottawa},
    title = {Scientific assessment of federal and provincial frameworks for the conservation of boreal caribou in {Ontario}},
    url = {https://www.canada.ca/en/environment-climate-change/services/species-risk-public-registry/related-information/boreal-caribou-scientific-assessment-federal-and-provincial-frameworks-for-conservation-ontario.html},
    language = {eng},
    urldate = {2024-05-22},
    institution = {Environment and Climate Change Canada},
    author = {{ECCC}},
    year = {2024},
    note = {Last Modified: 2024-05-16},
    }

    This produces a reference with "Environment; Climate Change Canada"

    I know that if I change the .bib file to include additional braces around the institution it will work as desired.

    {{Environment and Climate Change Canada}}

    But if I include braces in the name in Zotero they are escaped.

    {\{Environment and Climate Change Canada\}}

    I don't want to need to remember to add these braces every time I update the .bib file from Zotero. Is there a way to tell Zotero to either not escape the braces or a different way for Zotero to tell BibTex not to change the and to a semicolon?
Sign In or Register to comment.